Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running the automated binary scanner tests #1688

Open
turkeylurkey opened this issue Jun 8, 2023 · 0 comments
Open

Error running the automated binary scanner tests #1688

turkeylurkey opened this issue Jun 8, 2023 · 0 comments
Labels
automated tests devMode generateFeatures Issues that target the generateFeatures branch
Milestone

Comments

@turkeylurkey
Copy link
Member

The following error appears on Windows and Linux whereas the tests run correctly on MacOS. For instructions to reproduce see liberty-maven-plugin/src/it/binary-scanner-it/run-binary-scanner-it

[INFO] java.lang.AssertionError
[INFO] 	at org.junit.Assert.fail(Assert.java:87)
[INFO] 	at org.junit.Assert.assertTrue(Assert.java:42)
[INFO] 	at org.junit.Assert.assertFalse(Assert.java:65)
[INFO] 	at org.junit.Assert.assertFalse(Assert.java:75)
[INFO] 	at net.wasdev.wlp.test.dev.it.BaseScannerTest.runProcess(BaseScannerTest.java:199)
[INFO] 	at net.wasdev.wlp.test.dev.it.BaseScannerTest.runCompileAndGenerateFeatures(BaseScannerTest.java:320)
[INFO] 	at net.wasdev.wlp.test.dev.it.BaseScannerTest.runCompileAndGenerateFeatures(BaseScannerTest.java:317)
[INFO] 	at net.wasdev.wlp.test.dev.it.ScannerTest.featureConflictExceptionTest(ScannerTest.java:134)
[INFO] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[INFO] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[INFO] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[INFO] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
[INFO] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[INFO] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
[INFO] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[INFO] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
[INFO] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
[INFO] 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[INFO] 	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
[INFO] 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
[INFO] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
[INFO] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
[INFO] 	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
[INFO] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
[INFO] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
[INFO] 	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
[INFO] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
[INFO] 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[INFO] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
[INFO] 	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
[INFO] 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
[INFO] 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
[INFO] 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
[INFO] 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
[INFO] 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
[INFO] 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
@turkeylurkey turkeylurkey added devMode generateFeatures Issues that target the generateFeatures branch automated tests labels Jun 8, 2023
@turkeylurkey turkeylurkey added this to the release_1.3 milestone Jun 8, 2023
@turkeylurkey turkeylurkey added this to New Issues in Open Liberty Developer Experience via automation Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated tests devMode generateFeatures Issues that target the generateFeatures branch
Development

No branches or pull requests

1 participant