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

E2e images test script fails while image verification on windows platform #4235

Closed
anandrkskd opened this issue Nov 18, 2020 · 0 comments · Fixed by #4234
Closed

E2e images test script fails while image verification on windows platform #4235

anandrkskd opened this issue Nov 18, 2020 · 0 comments · Fixed by #4234
Assignees
Labels
area/Windows Issues or PRs specific to Windows kind/bug Categorizes issue or PR as related to a bug.

Comments

@anandrkskd
Copy link
Contributor

anandrkskd commented Nov 18, 2020

/kind bug

What versions of software are you using?

Operating System: Win10

Output of odo version:
master

How did you run odo exactly?

>make test-e2e-images

Actual behavior

Test is failing on verifying images in e2e test on windows10

Expected behavior

Test should pass on win10

Any logs, error output, etc?

[2] [odo] Instead of attaching the assembly file: /tmp/src/target/javalin-hello-world-0.1-SNAPSHOT.jar, it will become the file for main project artifact.
[2] [odo] NOTE: If multiple descriptors or descriptor-formats are provided for this project, the value of this file will be non-deterministic!
[2] [odo] [WARNING] Replacing pre-existing project main-artifact file: /tmp/src/target/javalin-hello-world-0.1-SNAPSHOT.jar
[2] [odo] with assembly file: /tmp/src/target/javalin-hello-world-0.1-SNAPSHOT.jar
[2] [odo] [INFO] ------------------------------------------------------------------------
[2] [odo] [INFO] BUILD SUCCESS
[2] [odo] [INFO] ------------------------------------------------------------------------
[2] [odo] [INFO] Total time:  4.214 s
[2] [odo] [INFO] Finished at: 2020-11-18T13:16:34Z
[2] [odo] [INFO] ------------------------------------------------------------------------
[2] [odo] [WARNING] The requested profile "openshift" could not be activated because it does not exist.
[2] [odo] INFO Copying deployments from target to /deployments...
[2] [odo] '/tmp/src/target/javalin-hello-world-0.1-SNAPSHOT.jar' -> '/deployments/javalin-hello-world-0.1-SNAPSHOT.jar'
[2] [odo] + '[' '!' -z /home/jboss ']'
[2] [odo] + '[' -n /opt/app-root/src-backup ']'
[2] [odo] + '[' /tmp '!=' /home/jboss ']'
[2] [odo] + '[' /deployments '!=' /home/jboss ']'
[2] [odo] + rsync -rlO /opt/app-root/src-backup/src/. /tmp/src/
[2] [odo] + '[' -z '' ']'
[2] [odo] + PV_MNT_PT=/opt/app-root
[2] [odo] + sed -i s/autostart=false/autostart=true/g /opt/app-root/conf/supervisor.conf
[2] [odo] + /opt/odo/bin/supervisord ctl stop run
[2] [odo] + /opt/odo/bin/supervisord ctl start run
[2] [odo] run: stopped
[2] [odo] run: started
 V  Building component [8s]
[2] [odo]  V  Changes successfully pushed to component
[2] [odo] I1118 13:16:36.220633    5080 odo.go:72] Could not get the latest release information in time. Never mind, exiting gracefully :)
[2] Checking http://openjdk-app-8080-app-hlongqcuop.apps.ci-ln-jyvbx3b-d5d6b.origin-ci-int-aws.dev.rhcloud.com, for Hello Java UPDATED
[2] try 0 of 90
[2] Running command:  [odo watch -v 4 --context C:\Users\Admin\AppData\Local\Temp\192507358]
[2] Running curl.exe with args [curl http://openjdk-app-8080-app-hlongqcuop.apps.ci-ln-jyvbx3b-d5d6b.origin-ci-int-aws.dev.rhcloud.com]
[2] Deleting dir: C:\Users\Admin\AppData\Local\Temp\192507358\abcd
[2] Replacing "Hello" with "Hello odo" in C:\Users\Admin\AppData\Local\Temp\192507358\src\main\java\MessageProducer.java
[2] [curl]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[2] [curl]                                  Dload  Upload   Total   Spent    Left  Speed
100    38  100    38    0     0     38      0  0:00:01 --:--:--  0:00:01   304
[2] [curl] Hello Java UPDATED World from Javalin!Running curl.exe with args [curl http://openjdk-app-8080-app-hlongqcuop.apps.ci-ln-jyvbx3b-d5d6b.origin-ci-int-aws.dev.rhcloud.com]
[2] [curl]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[2] [curl]                                  Dload  Upload   Total   Spent    Left  Speed
100    42  100    42    0     0     42      0  0:00:01 --:--:--  0:00:01   206
[2] [curl] Hello odo Java UPDATED World from Javalin!Running oc.exe with args [oc get pods --namespace hlongqcuop --show-labels]
[2] [oc] NAME                       READY   STATUS      RESTARTS   AGE   LABELS
[2] [oc] openjdk-app-app-1-deploy   0/1     Completed   0          80s   openshift.io/deployer-pod-for.name=openjdk-app-app-1
[2] [oc] openjdk-app-app-1-q6drm    1/1     Running     0          78s   deployment=openjdk-app-app-1,deploymentconfig=openjdk-app-app
[2] Running oc.exe with args [oc get dc openjdk-app-app --namespace hlongqcuop -o jsonpath='{range .spec.template.spec.containers[0].env[*]}{.name}:{.value}{"\n"}{end}']
[2] [oc] 'DEBUG_PORT:5858
[2] [oc] ODO_S2I_SCRIPTS_URL:/usr/local/s2i
[2] [oc] ODO_S2I_SCRIPTS_PROTOCOL:image://
[2] [oc] ODO_S2I_SRC_BIN_PATH:/tmp
[2] [oc] ODO_S2I_DEPLOYMENT_DIR:/deployments
[2] [oc] ODO_S2I_WORKING_DIR:/home/jboss
[2] [oc] ODO_S2I_BUILDER_IMG:redhat-[openjdk-18](https://issues.redhat.com/browse/openjdk-18)/openjdk18-openshift
[2] [oc] ODO_SRC_BACKUP_DIR:/opt/app-root/src-backup
[2] [oc] 'Running oc.exe with args [oc exec openjdk-app-app-1-q6drm --namespace hlongqcuop -- ls -lai \tmp\src]
[2] [oc] ls: cannot access \tmp\src: No such file or directory
[2] [oc] command terminated with exit code 2
[2] Deleting project: hlongqcuop
[2] Running odo.exe with args [odo project delete hlongqcuop -f]
[2] [odo] I1118 13:16:58.969738    9976 util.go:770] Cached response used.
[2] [odo]  V  Deleted project : hlongqcuop
[2] [odo]  !  Warning! Projects are deleted from the cluster asynchronously. Odo does its best to delete the project. Due to multi-tenant clusters, the project may still exist on a different 
node.
[2] [odo] I1118 13:16:58.997882    9976 odo.go:72] Could not get the latest release information in time. Never mind, exiting gracefully :)
[2] Setting current dir to: C:\Users\Admin\go\src\github.com\openshift\odo\tests\e2escenarios
[2] Deleting dir: C:\Users\Admin\AppData\Local\Temp\192507358```
@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Nov 18, 2020
@anandrkskd anandrkskd added the area/Windows Issues or PRs specific to Windows label Nov 18, 2020
@anandrkskd anandrkskd self-assigned this Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/Windows Issues or PRs specific to Windows kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants