Skip to content
This repository has been archived by the owner on Nov 27, 2017. It is now read-only.

DeploymentTest fails frequently #28

Open
KurtStam opened this issue Oct 12, 2017 · 2 comments
Open

DeploymentTest fails frequently #28

KurtStam opened this issue Oct 12, 2017 · 2 comments

Comments

@KurtStam
Copy link
Contributor

I'm disabling the test but it should get fixed so it passes all the time.

https://jenkins-syndesis-ci.b6ff.rh-idev.openshiftapps.com/blue/organizations/jenkins/syndesis-rest/detail/PR-703/1/pipeline

method: [keycloakShouldBeReady] state:[RUNNING]�[m
�[33mCould not annotate namespace:[syndesis-rest-pr-703-1-201710121321] with test: [io.syndesis.systests.DeploymentTest] method: [keycloakShouldBeReady] result:[PASSED]�[m
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 109.079 sec <<< FAILURE!
uiShouldBeReady(io.syndesis.systests.DeploymentTest) Time elapsed: 0.837 sec <<< FAILURE!
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at io.syndesis.systests.DeploymentTest.uiShouldBeReady(DeploymentTest.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379)
at org.jboss.arquillian.junit.standalone.LocalTestMethodExecutor.execute(LocalTestMethodExecutor.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85)
at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136)
at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372)
at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431)
at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55)
at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260)
at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324)
at org.jboss.arquillian.junit.standalone.AllLifecycleEventExecutor.execute(AllLifecycleEventExecutor.java:51)
at org.jboss.arquillian.junit.standalone.AllLifecycleEventExecutor.on(AllLifecycleEventExecutor.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85)
at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159)
at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431)
at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167)
at org.arquillian.cube.requirement.ArquillianConditionalRunner.run(ArquillianConditionalRunner.java:28)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

Oct 12, 2017 1:41:26 PM org.jboss.arquillian.core.impl.ObserverImpl resolveArguments
WARNING: Argument 1 for OpenShiftSuiteLifecycleController.stopAutoContainers is null. It won't be invoked.
Executing environment teardown script from:file:/home/jenkins/workspace/syndesis-rest_PR-703-PFXJTOX466RBTJWPNHVO5AIYP5BQM5JLMGWH6E4S5WHIVF5CQNJQ/target/test-classes/teardown.sh
Remove Syndesis from syndesis-rest-pr-703-1-201710121321
Already on project "syndesis-rest-pr-703-1-201710121321" on server "https://172.30.0.1:443".
Displaying the list of Pods in project: syndesis-rest-pr-703-1-201710121321
NAME READY STATUS RESTARTS AGE
syndesis-atlasmap-2-jhft9 1/1 Running 0 54s
syndesis-db-1-c94wj 1/1 Running 0 54s
syndesis-keycloak-1-wzc7t 1/1 Running 0 56s
syndesis-rest-1-k467g 1/1 Terminating 0 53s
syndesis-rest-2-047b9 1/1 Running 0 30s
syndesis-ui-2-8txh2 0/1 Pending 0 32s
syndesis-ui-2-deploy 1/1 Running 0 43s
syndesis-verifier-2-8wbf4 0/1 PodInitializing 0 14s
syndesis-verifier-2-deploy 1/1 Running 0 37s
todo-1-build 1/1 Terminating 0 1m
Removing Syndesis from syndesis-rest-pr-703-1-201710121321
�[31merror: template "syndesis-ci" could not be found�[m
No resources found
�[32mDestroying Session:86baa286-d6a7-4905-bc5e-a666d8a00e34�[m
Terminating process [/bin/sh -c]
Terminating process [/bin/sh -c]

Results :

Failed tests: uiShouldBeReady(io.syndesis.systests.DeploymentTest)

Tests run: 4, Failures: 1, Errors: 0, Skipped: 1

KurtStam pushed a commit to KurtStam/syndesis-system-tests that referenced this issue Oct 12, 2017
@KurtStam
Copy link
Contributor Author

The UI is still pending it seems: syndesis-ui-2-8txh2 0/1 Pending 0 32s

@KurtStam
Copy link
Contributor Author

KurtStam commented Oct 12, 2017

Looks like it can happen to any of the pods.

syndesis-atlasmap-1-t15lx 0/1 Terminating 0 38s
syndesis-atlasmap-2-c32m8 0/1 PodInitializing 0 28s
syndesis-atlasmap-2-deploy 1/1 Running 0 36s
syndesis-db-1-29dlh 0/1 ContainerCreating 0 34s
syndesis-db-1-deploy 1/1 Running 0 42s
syndesis-keycloak-1-qp0g8 1/1 Running 0 33s
syndesis-rest-1-qb8bl 1/1 Terminating 0 38s
syndesis-rest-2-deploy 1/1 Running 0 25s
syndesis-rest-2-tbm8z 0/1 Init:0/1 0 5s
syndesis-ui-1-nlb39 1/1 Running 0 32s
syndesis-ui-2-3vsl5 0/1 ContainerCreating 0 4s
syndesis-ui-2-deploy 1/1 Running 0 23s
syndesis-verifier-2-deploy 1/1 Running 0 23s
syndesis-verifier-2-k5nx5 0/1 PodInitializing 0 15s
todo-1-build 1/1 Terminating 0 39s
Removing Syndesis from syndesis-rest-pr-699-7-201710121341
�[31merror: template "syndesis-ci" could not be found�[m
No resources found
�[32mDestroying Session:9b96ae34-ec3a-45ae-8f8a-cff0f81262d4�[m
Terminating process [/bin/sh -c]
Terminating process [/bin/sh -c]

Results :

Failed tests: restShouldBeReady(io.syndesis.systests.DeploymentTest)

KurtStam pushed a commit to KurtStam/syndesis-system-tests that referenced this issue Oct 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant