Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903766

affinity detected but later marked as invalid argument

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      {{
      10:52:54 TESTING:
      10:52:54 Java Concurrency Stress Tests
      10:52:54 ---------------------------------------------------------------------------------
      10:52:54 Rev: 86dd040fcfa55590, built by buildbot with 17.0.9 at 2024-02-22T22:01:14Z
      10:52:54
      10:52:55 Burning up to figure out the exact CPU count....... done!
      10:52:55
      10:52:55 Probing the target OS:
      10:52:55 (all failures are non-fatal, but may affect testing accuracy)
      10:52:55
      10:52:55 ----- [OK] Trying to set global affinity with taskset
      10:52:55 ----- [OK] Trying to set per-thread affinity with syscalls
      10:52:55
      10:52:55 Initializing and probing the target VM:
      10:52:55 (all failures are non-fatal, but may affect testing accuracy)
      10:52:55
      10:52:56 ----- [OK] Unlocking diagnostic VM options
      10:52:56 ----- [OK] Disabling performance data collection
      10:52:56 ----- [OK] Checking for C1 availability
      10:52:56 ----- [OK] Checking for C2 availability
      10:52:56 ----- [OK] Checking for biased locking support
      10:52:56 ----- [OK] Trimming down the VM heap size to 256M
      10:52:56 ----- [OK] Enabling Java heap pre-touch
      10:52:57 ----- [OK] Trimming down the number of parallel GC threads
      10:52:57 ----- [OK] Trimming down the number of concurrent GC threads
      10:52:57 ----- [OK] Trimming down the number of G1 concurrent refinement GC threads
      10:52:57 ----- [OK] Trimming down the number of compiler threads
      10:52:59 ----- [OK] Testing @Contended works on all results and infra objects
      10:52:59 ----- [OK] Unlocking debug information for non-safepoints
      10:52:59 ----- [OK] Unlocking C2 local code motion randomizer
      10:53:00 ----- [OK] Unlocking C2 global code motion randomizer
      10:53:00 ----- [OK] Unlocking C2 iterative global value numbering randomizer
      10:53:00 ----- [OK] Unlocking C2 conditional constant propagation randomizer
      10:53:00 ----- [N/A] Unlocking C2 incremental inlining randomizer
      10:53:00 Unrecognized VM option 'StressIncrementalInlining'
      10:53:00 Did you mean '(+/-)IncrementalInline'? Error: Could not create the Java Virtual Machine.
      10:53:00 Error: A fatal exception has occurred. Program will exit.
      10:53:00
      10:53:00 ----- [N/A] Unlocking C2 macro expansion randomizer
      10:53:00 Unrecognized VM option 'StressMacroExpansion'
      10:53:00 Error: Could not create the Java Virtual Machine.
      10:53:00 Error: A fatal exception has occurred. Program will exit.
      10:53:00
      10:53:00 ----- [OK] Checking if C2 randomizers accept stress seed
      10:53:00 ----- [OK] Testing allocation profiling
      10:53:00 ----- [OK] Testing Thread.onSpinWait
      10:53:01 ----- [OK] Testing PrintAssembly
      10:53:01 ----- [OK] Testing compiler directives
      10:53:01
      10:53:01 Probing what VM configurations are available:
      10:53:01 (failures are non-fatal, but may miss some interesting cases)
      10:53:01 (split compilation is requested and compiler directives are available)
      10:53:01
      10:53:01 ----- [OK] [-XX:+UseBiasedLocking]
      10:53:02 ----- [OK] [-XX:-UseBiasedLocking]
      10:53:02 ----- [OK] [-XX:+UseBiasedLocking, -XX:+StressLCM, -XX:+StressGCM, -XX:+StressIGVN, -XX:+StressCCP]
      10:53:02 ----- [OK] [-XX:-UseBiasedLocking, -XX:+StressLCM, -XX:+StressGCM, -XX:+StressIGVN, -XX:+StressCCP]
      10:53:02
      10:53:03 Detecting CPU topology and computing scheduling classes:
      10:53:03 Linux, using /sys/devices/system/cpu, /sys/devices/system/node
      10:53:03 2 packages, 80 cores per package, 1 thread per core
      10:53:03
      10:53:03 CPU topology:
      10:53:03 CPU #18: package #0, core #0, thread #18
      10:53:03 CPU #58: package #0, core #1, thread #58
      10:53:03 CPU #38: package #0, core #2, thread #38
      10:53:03 CPU #78: package #0, core #3, thread #78
      10:53:03 CPU #16: package #0, core #4, thread #16
      10:53:03 CPU #56: package #0, core #5, thread #56
      10:53:03 CPU #36: package #0, core #6, thread #36
      10:53:03 CPU #76: package #0, core #7, thread #76
      10:53:03 CPU #17: package #0, core #8, thread #17
      10:53:03 CPU #57: package #0, core #9, thread #57
      10:53:03 CPU #37: package #0, core #10, thread #37
      10:53:03 CPU #77: package #0, core #11, thread #77
      10:53:03 CPU #19: package #0, core #12, thread #19
      10:53:03 CPU #59: package #0, core #13, thread #59
      10:53:03 CPU #39: package #0, core #14, thread #39
      10:53:03 CPU #79: package #0, core #15, thread #79
      10:53:03 CPU #12: package #0, core #16, thread #12
      10:53:03 CPU #52: package #0, core #17, thread #52
      10:53:03 CPU #32: package #0, core #18, thread #32
      10:53:03 CPU #72: package #0, core #19, thread #72
      10:53:03 CPU #8: package #0, core #20, thread #8
      10:53:03 CPU #48: package #0, core #21, thread #48
      10:53:03 CPU #28: package #0, core #22, thread #28
      10:53:03 CPU #68: package #0, core #23, thread #68
      10:53:03 CPU #10: package #0, core #24, thread #10
      10:53:03 CPU #50: package #0, core #25, thread #50
      10:53:03 CPU #30: package #0, core #26, thread #30
      10:53:03 CPU #70: package #0, core #27, thread #70
      10:53:03 CPU #14: package #0, core #28, thread #14
      10:53:03 CPU #54: package #0, core #29, thread #54
      10:53:03 CPU #34: package #0, core #30, thread #34
      10:53:03 CPU #74: package #0, core #31, thread #74
      10:53:03 CPU #4: package #0, core #32, thread #4
      10:53:03 CPU #44: package #0, core #33, thread #44
      10:53:03 CPU #24: package #0, core #34, thread #24
      10:53:03 CPU #64: package #0, core #35, thread #64
      10:53:03 CPU #0: package #0, core #36, thread #0
      10:53:03 CPU #40: package #0, core #37, thread #40
      10:53:03 CPU #20: package #0, core #38, thread #20
      10:53:03 CPU #60: package #0, core #39, thread #60
      10:53:03 CPU #2: package #0, core #40, thread #2
      10:53:03 CPU #42: package #0, core #41, thread #42
      10:53:03 CPU #22: package #0, core #42, thread #22
      10:53:03 CPU #62: package #0, core #43, thread #62
      10:53:03 CPU #6: package #0, core #44, thread #6
      10:53:03 CPU #46: package #0, core #45, thread #46
      10:53:03 CPU #26: package #0, core #46, thread #26
      10:53:03 CPU #66: package #0, core #47, thread #66
      10:53:03 CPU #5: package #0, core #48, thread #5
      10:53:03 CPU #45: package #0, core #49, thread #45
      10:53:03 CPU #25: package #0, core #50, thread #25
      10:53:03 CPU #65: package #0, core #51, thread #65
      10:53:03 CPU #1: package #0, core #52, thread #1
      10:53:03 CPU #41: package #0, core #53, thread #41
      10:53:03 CPU #21: package #0, core #54, thread #21
      10:53:03 CPU #61: package #0, core #55, thread #61
      10:53:03 CPU #3: package #0, core #56, thread #3
      10:53:03 CPU #43: package #0, core #57, thread #43
      10:53:03 CPU #23: package #0, core #58, thread #23
      10:53:03 CPU #63: package #0, core #59, thread #63
      10:53:03 CPU #7: package #0, core #60, thread #7
      10:53:03 CPU #47: package #0, core #61, thread #47
      10:53:03 CPU #27: package #0, core #62, thread #27
      10:53:03 CPU #67: package #0, core #63, thread #67
      10:53:03 CPU #13: package #0, core #64, thread #13
      10:53:03 CPU #53: package #0, core #65, thread #53
      10:53:03 CPU #33: package #0, core #66, thread #33
      10:53:03 CPU #73: package #0, core #67, thread #73
      10:53:03 CPU #9: package #0, core #68, thread #9
      10:53:03 CPU #49: package #0, core #69, thread #49
      10:53:03 CPU #29: package #0, core #70, thread #29
      10:53:03 CPU #69: package #0, core #71, thread #69
      10:53:03 CPU #11: package #0, core #72, thread #11
      10:53:03 CPU #51: package #0, core #73, thread #51
      10:53:03 CPU #31: package #0, core #74, thread #31
      10:53:03 CPU #71: package #0, core #75, thread #71
      10:53:03 CPU #15: package #0, core #76, thread #15
      10:53:03 CPU #55: package #0, core #77, thread #55
      10:53:03 CPU #35: package #0, core #78, thread #35
      10:53:03 CPU #75: package #0, core #79, thread #75
      10:53:03 CPU #98: package #1, core #80, thread #98
      10:53:03 CPU #138: package #1, core #81, thread #138
      10:53:03 CPU #118: package #1, core #82, thread #118
      10:53:03 CPU #158: package #1, core #83, thread #158
      10:53:03 CPU #96: package #1, core #84, thread #96
      10:53:03 CPU #136: package #1, core #85, thread #136
      10:53:03 CPU #116: package #1, core #86, thread #116
      10:53:03 CPU #156: package #1, core #87, thread #156
      10:53:03 CPU #97: package #1, core #88, thread #97
      10:53:03 CPU #137: package #1, core #89, thread #137
      10:53:03 CPU #117: package #1, core #90, thread #117
      10:53:03 CPU #157: package #1, core #91, thread #157
      10:53:03 CPU #99: package #1, core #92, thread #99
      10:53:03 CPU #139: package #1, core #93, thread #139
      10:53:03 CPU #119: package #1, core #94, thread #119
      10:53:03 CPU #159: package #1, core #95, thread #159
      10:53:03 CPU #92: package #1, core #96, thread #92
      10:53:03 CPU #132: package #1, core #97, thread #132
      10:53:03 CPU #112: package #1, core #98, thread #112
      10:53:03 CPU #152: package #1, core #99, thread #152
      10:53:03 CPU #88: package #1, core #100, thread #88
      10:53:03 CPU #128: package #1, core #101, thread #128
      10:53:03 CPU #108: package #1, core #102, thread #108
      10:53:03 CPU #148: package #1, core #103, thread #148
      10:53:03 CPU #90: package #1, core #104, thread #90
      10:53:03 CPU #130: package #1, core #105, thread #130
      10:53:03 CPU #110: package #1, core #106, thread #110
      10:53:03 CPU #150: package #1, core #107, thread #150
      10:53:03 CPU #94: package #1, core #108, thread #94
      10:53:03 CPU #134: package #1, core #109, thread #134
      10:53:03 CPU #114: package #1, core #110, thread #114
      10:53:03 CPU #154: package #1, core #111, thread #154
      10:53:03 CPU #84: package #1, core #112, thread #84
      10:53:03 CPU #124: package #1, core #113, thread #124
      10:53:03 CPU #104: package #1, core #114, thread #104
      10:53:03 CPU #144: package #1, core #115, thread #144
      10:53:03 CPU #80: package #1, core #116, thread #80
      10:53:03 CPU #120: package #1, core #117, thread #120
      10:53:03 CPU #100: package #1, core #118, thread #100
      10:53:03 CPU #140: package #1, core #119, thread #140
      10:53:03 CPU #82: package #1, core #120, thread #82
      10:53:03 CPU #122: package #1, core #121, thread #122
      10:53:03 CPU #102: package #1, core #122, thread #102
      10:53:03 CPU #142: package #1, core #123, thread #142
      10:53:03 CPU #86: package #1, core #124, thread #86
      10:53:03 CPU #126: package #1, core #125, thread #126
      10:53:03 CPU #106: package #1, core #126, thread #106
      10:53:03 CPU #146: package #1, core #127, thread #146
      10:53:03 CPU #85: package #1, core #128, thread #85
      10:53:03 CPU #125: package #1, core #129, thread #125
      10:53:03 CPU #105: package #1, core #130, thread #105
      10:53:03 CPU #145: package #1, core #131, thread #145
      10:53:03 CPU #81: package #1, core #132, thread #81
      10:53:03 CPU #121: package #1, core #133, thread #121
      10:53:03 CPU #101: package #1, core #134, thread #101
      10:53:03 CPU #141: package #1, core #135, thread #141
      10:53:03 CPU #83: package #1, core #136, thread #83
      10:53:03 CPU #123: package #1, core #137, thread #123
      10:53:03 CPU #103: package #1, core #138, thread #103
      10:53:03 CPU #143: package #1, core #139, thread #143
      10:53:03 CPU #87: package #1, core #140, thread #87
      10:53:03 CPU #127: package #1, core #141, thread #127
      10:53:03 CPU #107: package #1, core #142, thread #107
      10:53:03 CPU #147: package #1, core #143, thread #147
      10:53:03 CPU #93: package #1, core #144, thread #93
      10:53:03 CPU #133: package #1, core #145, thread #133
      10:53:03 CPU #113: package #1, core #146, thread #113
      10:53:03 CPU #153: package #1, core #147, thread #153
      10:53:03 CPU #89: package #1, core #148, thread #89
      10:53:03 CPU #129: package #1, core #149, thread #129
      10:53:03 CPU #109: package #1, core #150, thread #109
      10:53:03 CPU #149: package #1, core #151, thread #149
      10:53:03 CPU #91: package #1, core #152, thread #91
      10:53:03 CPU #131: package #1, core #153, thread #131
      10:53:03 CPU #111: package #1, core #154, thread #111
      10:53:03 CPU #151: package #1, core #155, thread #151
      10:53:03 CPU #95: package #1, core #156, thread #95
      10:53:03 CPU #135: package #1, core #157, thread #135
      10:53:03 CPU #115: package #1, core #158, thread #115
      10:53:03 CPU #155: package #1, core #159, thread #155
      10:53:03
      10:53:03 Scheduling classes for matching tests:
      10:53:03 1 actors:
      10:53:03 (PG 0, CG 0)
      10:53:03 2 actors:
      10:53:03 (PG 0, CG 0), (PG 0, CG 1)
      10:53:03 (PG 0, CG 0), (PG 1, CG 1)
      10:53:03 3 actors:
      10:53:03 No scheduling is possible, these tests would not run.
      10:53:03 4 actors:
      10:53:03 No scheduling is possible, these tests would not run.
      10:53:03
      10:53:03 Test configuration:
      10:53:03 Hardware CPUs in use: 2
      10:53:03 Spinning style: Thread.onSpinWait()
      10:53:03 Test selection: ".*"
      10:53:03 Forks per test: 1 normal, 3 stress
      10:53:03 Test stride: 40 strides x 256 tests, but taking no more than 64 Mb
      10:53:03 Test result blob: "jcstress-results-2024-07-04-08-52-54.bin.gz"
      10:53:03 Test results: "results/"
      10:53:03
      10:53:03 Time budget:
      10:53:03 Initial completion estimate: 00:59:59 left; at Thu, 2024-07-04 09:53:02
      10:53:03 Initial test time: 30 ms
      10:53:03
      10:53:03 Attached the non-interactive output stream.
      10:53:03 Printing the progress line at most every 15000 milliseconds.
      10:53:03
      10:53:04
      10:53:04 .... [VM ERROR] o.o.j.t.accessAtomic.varHandles.fields.volatiles.BooleanTest
      10:53:04
      10:53:04 Scheduling class:
      10:53:04 actor1: package group 0, core group 0
      10:53:04 actor2: package group 1, core group 1
      10:53:04
      10:53:04 CPU allocation:
      10:53:04 actor1: CPU #18 (package #0, core #0, thread #18)
      10:53:04 actor2: CPU #98 (package #1, core #80, thread #98)
      10:53:04
      10:53:04 Compilation: split
      10:53:04 actor1: Interpreter
      10:53:04 actor2: C2
      10:53:04
      10:53:04 JVM args: [-XX:+UseBiasedLocking, -XX:+StressLCM, -XX:+StressGCM, -XX:+StressIGVN, -XX:+StressCCP, -XX:StressSeed=502049287]
      10:53:04 Fork: #1
      10:53:04
      10:53:04 Messages:
      10:53:04 Failed with error code 1
      10:53:04
      10:53:04 VM error stream:
      10:53:04 taskset: failed to set pid 11434's affinity: Invalid argument
      10:53:04
      10:53:04 (Time: 00:59:58 left, 0 tests in flight, 30 ms per test)
      10:53:04 (Sampling Rate: N/A)
      10:53:04 (JVMs: 0 starting, 1 running, 0 finishing)
      10:53:04 (CPUs: 2 configured, 2 allocated)
      10:53:04 (Results: 337416 planned; 0 passed, 0 failed, 0 soft errs, 1 hard errs)
      10:53:04
      10:53:05
      10:53:05 .... [VM ERROR] o.o.j.t.atomicity.varHandles.arrays.WeakCASTest.WeakCompareAndSetAcquireFloat
      10:53:05
      10:53:05 Scheduling class:
      10:53:05 actor1: package group 0, core group 0
      10:53:05 actor2: package group 1, core group 1
      10:53:05
      10:53:05 CPU allocation:
      10:53:05 actor1: CPU #18 (package #0, core #0, thread #18)
      10:53:05 actor2: CPU #98 (package #1, core #80, thread #98)
      10:53:05
      10:53:05 Compilation: split
      10:53:05 actor1: Interpreter
      10:53:05 actor2: C2
      10:53:05
      10:53:05 JVM args: [-XX:-UseBiasedLocking, -XX:+StressLCM, -XX:+StressGCM, -XX:+StressIGVN, -XX:+StressCCP, -XX:StressSeed=637079681]
      10:53:05 Fork: #3
      10:53:05
      10:53:05 Messages:
      10:53:05 Failed with error code 1
      10:53:05
      10:53:05 VM error stream:
      10:53:05 taskset: failed to set pid 11437's affinity: Invalid argument
      10:53:05
      10:53:05 (Time: 00:59:57 left, -1 tests in flight, 30 ms per test)
      10:53:05 (Sampling Rate: N/A)
      10:53:05 (JVMs: 1 starting, 0 running, 0 finishing)
      10:53:05 (CPUs: 2 configured, 2 allocated)
      10:53:05 (Results: 337416 planned; 0 passed, 0 failed, 0 soft errs, 2 hard errs)
      }}

      I currently do not have access to those sytem. A full log may be found for a while at https://ci.adoptium.net/view/Test_grinder/job/Grinder/10506/console . Any idea? Btw, this is the reason for having https://bugs.openjdk.org/browse/CODETOOLS-7903754

            Unassigned Unassigned
            jvanek Jiří Vaněk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: