vieiro commented on issue #4211: URL: https://github.com/apache/netbeans/issues/4211#issuecomment-1174228117
Hi, this failed today in #4327 . Quoting from [the build log before it's deleted](https://pipelines.actions.githubusercontent.com/serviceHosts/3cf2747f-b5d6-4e8e-a999-150ff8ae61e1/_apis/pipelines/1/runs/14447/signedlogcontent/27?urlExpires=2022-07-04T19%3A53%3A52.3509175Z&urlSigningMethod=HMACV1&urlSignature=B%2F1ebm944H05FHqApuIBJIteUXxRaP5LG6zHeEUWXI4%3D) we can read (1) ``` 2022-07-03T20:40:22.2367088Z [junit] WARNING [org.openide.util.lookup.MetaInfServicesLookup]: org.openide.filesystems.Repository is not the real McCoy! Actually found it in org.netbeans.MainImpl$BootClassLoader@77e9807f (from SystemClassLoader[820 modules]) but searched for from org.netbeans.MainImpl$BootClassLoader@1a677343 2022-07-03T20:40:22.2368142Z [junit] WARNING [org.openide.util.lookup.MetaInfServicesLookup]: org.openide.filesystems.spi.ArchiveRootProvider is not the real McCoy! Actually found it in org.netbeans.MainImpl$BootClassLoader@77e9807f (from SystemClassLoader[820 modules]) but searched for from org.netbeans.MainImpl$BootClassLoader@1a677343 ``` Question is, if `org.openide.filesystems.Repository` is not "the real McCoy", how is the `synchronized(Repository.class)` block that @matthiasblaesing quoted above expected to behave? I mean, if `Repository.class` is not "the real McCoy" then the `synchronized(Repository.class)` must be synchronizing in a "fake McCoy" and not in the "real McCoy", right? BTW, who is McCoy? Cheers, Antonio (1) ``` 2022-07-03T20:40:22.2342797Z [junit] java.lang.AssertionError: Has to be NbRepository: org.openide.filesystems.Repository@51b9c375 2022-07-03T20:40:22.2353885Z [junit] at org.netbeans.core.startup.Main.start(Main.java:298) 2022-07-03T20:40:22.2354312Z [junit] at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98) 2022-07-03T20:40:22.2354723Z [junit] at java.base/java.lang.Thread.run(Thread.java:829) 2022-07-03T20:40:22.2355358Z [junit] ------------------------------------------------------------------------------- 2022-07-03T20:40:22.2355740Z [junit] >Log Session: Sunday, July 3, 2022 at 8:40:21 PM Coordinated Universal Time 2022-07-03T20:40:22.2356013Z [junit] >System Info: 2022-07-03T20:40:22.2356487Z [junit] Product Version = Apache NetBeans Platform Dev (Build dev-53a6ce54c0cf1cae704977185237f5125c3aa361) 2022-07-03T20:40:22.2356976Z [junit] Operating System = Linux version 5.13.0-1031-azure running on amd64 2022-07-03T20:40:22.2357445Z [junit] Java; VM; Vendor = 11.0.15; OpenJDK 64-Bit Server VM 11.0.15+10-LTS; Azul Systems, Inc. 2022-07-03T20:40:22.2357895Z [junit] Runtime = OpenJDK Runtime Environment 11.0.15+10-LTS 2022-07-03T20:40:22.2358317Z [junit] Java Home = /opt/hostedtoolcache/Java_Zulu_jdk/11.0.15-10/x64 2022-07-03T20:40:22.2358666Z [junit] System Locale; Encoding = en (nb); UTF-8 2022-07-03T20:40:22.2358932Z [junit] Home Directory = /home/runner 2022-07-03T20:40:22.2359232Z [junit] Current Directory = /home/runner/work/netbeans/netbeans 2022-07-03T20:40:22.2359744Z [junit] User Directory = /home/runner/work/netbeans/netbeans/platform/o.n.core/build/test/qa-functional/work/userdir1 2022-07-03T20:40:22.2360337Z [junit] Cache Directory = /home/runner/work/netbeans/netbeans/platform/o.n.core/build/test/qa-functional/work/userdir1/var/cache 2022-07-03T20:40:22.2360747Z [junit] Installation = /home/runner/work/netbeans/netbeans/nbbuild/netbeans/ide 2022-07-03T20:40:22.2361112Z [junit] /home/runner/work/netbeans/netbeans/nbbuild/netbeans/platform 2022-07-03T20:40:22.2361512Z [junit] Boot & Ext. Classpath = 2022-07-03T20:40:22.2362980Z [junit] Application Classpath = loaded by URLClassLoader file:/home/runner/work/netbeans/netbeans/nbbuild/netbeans/platform/lib/org-openide-util-ui.jar file:/home/runner/work/netbeans/netbeans/nbbuild/netbeans/platform/lib/boot.jar file:/home/runner/work/netbeans/netbeans/nbbuild/netbeans/platform/lib/org-openide-util.jar file:/home/runner/work/netbeans/netbeans/nbbuild/netbeans/platform/lib/org-openide-util-lookup.jar file:/home/runner/work/netbeans/netbeans/nbbuild/netbeans/platform/lib/org-openide-modules.jar file:/opt/hostedtoolcache/Java_Zulu_jdk/11.0.15-10/x64/lib/jrt-fs.jar 2022-07-03T20:40:22.2365166Z [junit] Startup Classpath = /home/runner/work/netbeans/netbeans/nbbuild/netbeans/platform/core/core-base.jar:/home/runner/work/netbeans/netbeans/nbbuild/netbeans/platform/core/org-openide-filesystems-compat8.jar:/home/runner/work/netbeans/netbeans/nbbuild/netbeans/platform/core/asm-9.3.jar:/home/runner/work/netbeans/netbeans/nbbuild/netbeans/platform/core/org-netbeans-libs-asm.jar:/home/runner/work/netbeans/netbeans/nbbuild/netbeans/platform/core/org-openide-filesystems.jar:/home/runner/work/netbeans/netbeans/nbbuild/netbeans/platform/core/asm-commons-9.3.jar:/home/runner/work/netbeans/netbeans/nbbuild/netbeans/platform/core/asm-tree-9.3.jar:/home/runner/work/netbeans/netbeans/nbbuild/netbeans/platform/core/core.jar 2022-07-03T20:40:22.2366364Z [junit] ------------------------------------------------------------------------------- 2022-07-03T20:40:22.2367088Z [junit] WARNING [org.openide.util.lookup.MetaInfServicesLookup]: org.openide.filesystems.Repository is not the real McCoy! Actually found it in org.netbeans.MainImpl$BootClassLoader@77e9807f (from SystemClassLoader[820 modules]) but searched for from org.netbeans.MainImpl$BootClassLoader@1a677343 2022-07-03T20:40:22.2368142Z [junit] WARNING [org.openide.util.lookup.MetaInfServicesLookup]: org.openide.filesystems.spi.ArchiveRootProvider is not the real McCoy! Actually found it in org.netbeans.MainImpl$BootClassLoader@77e9807f (from SystemClassLoader[820 modules]) but searched for from org.netbeans.MainImpl$BootClassLoader@1a677343 2022-07-03T20:40:22.5039755Z [junit] Testsuite: org.netbeans.core.validation.ValidateLayerConsistencyTest 2022-07-03T20:40:22.5108340Z [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec 2022-07-03T20:40:22.5109036Z [junit] 2022-07-03T20:40:22.5109530Z [junit] Testcase: org.netbeans.core.validation.ValidateLayerConsistencyTest:testActionInstancesOnlyInActionsFolder: Caused an ERROR 2022-07-03T20:40:22.5110096Z [junit] Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit. 2022-07-03T20:40:22.5110632Z [junit] junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit. 2022-07-03T20:40:22.5111165Z [junit] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) 2022-07-03T20:40:22.5113034Z [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2022-07-03T20:40:22.5113714Z [junit] at java.base/java.util.Vector.forEach(Vector.java:1388) 2022-07-03T20:40:22.5114263Z [junit] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) 2022-07-03T20:40:22.5114848Z [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2022-07-03T20:40:22.5115435Z [junit] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) 2022-07-03T20:40:22.5117187Z [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2022-07-03T20:40:22.5117766Z [junit] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) 2022-07-03T20:40:22.5119554Z [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2022-07-03T20:40:22.5120205Z [junit] at java.base/java.util.Vector.forEach(Vector.java:1388) 2022-07-03T20:40:22.5120739Z [junit] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) 2022-07-03T20:40:22.5121244Z [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2022-07-03T20:40:22.5121926Z [junit] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) 2022-07-03T20:40:22.5122469Z [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2022-07-03T20:40:22.5122965Z [junit] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) 2022-07-03T20:40:22.5123470Z [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2022-07-03T20:40:22.5123843Z [junit] 2022-07-03T20:40:22.5124022Z [junit] 2022-07-03T20:40:22.5554527Z [junit] Test org.netbeans.core.validation.ValidateLayerConsistencyTest FAILED (crashed) 2022-07-03T20:40:22.7809459Z [junit] WARNING: package com.apple.eio not in java.desktop 2022-07-03T20:40:22.8727524Z [junit] Testsuite: org.netbeans.core.validation.ValidateModulesTest 2022-07-03T20:40:23.4814479Z [junit] System class loader patches: /home/runner/work/netbeans/netbeans/platform/o.n.core/build/test/qa-functional/classes ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
