-
Notifications
You must be signed in to change notification settings - Fork 244
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
odo dev
prints ✗ Executing the application
after cleaning up the resources
#5881
Comments
Do not print the error message, since the cleaning up is already done, and the message doesn't make sense. |
Please take #5933 into account, as it works around this |
Do you mean that PR addresses this issue? 🤔 |
I just checked this out myself and it seems like your PR doesn't address this issue: $ odo dev
__
/ \__ Developing using the devfile-nodejs-deploy Devfile
\__/ \ Namespace: myproject
/ \__/ odo version: v3.0.0-beta1
\__/
↪ Deploying to the cluster in developer mode
• Waiting for Kubernetes resources ...
✓ Creating kind Pod
⚠ Pod is Pending
⚠ 0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.
✓ Pod is Running
✓ Syncing files into the container [232ms]
✓ Building your application in container on cluster (command: install) [2s]
• Executing the application (command: run) ...
- Forwarding from 127.0.0.1:40001 -> 3000
Watching for changes in the current directory /home/dshah/src/devfile-nodejs-deploy
Press Ctrl+c to exit `odo dev` and delete resources from the cluster
Pushing files...
File /home/dshah/src/devfile-nodejs-deploy/sedunRjCg changed
File /home/dshah/src/devfile-nodejs-deploy/server.js changed
• Waiting for Kubernetes resources ...
✓ Syncing files into the container [96ms]
✓ Building your application in container on cluster (command: install) [1s]
✗ Executing the application (command: run) [21s]
• Executing the application (command: run) ...
Watching for changes in the current directory /home/dshah/src/devfile-nodejs-deploy
Press Ctrl+c to exit `odo dev` and delete resources from the cluster
^C
Cancelling deployment.
This is non-preemptive operation, it will wait for other tasks to finish first
Cleaning resources, please wait
✗ Executing the application (command: run) [2m] It prints the message in question just like the code from |
/kind bug
/area dev
What versions of software are you using?
Operating System: all
Output of
odo version
:main
How did you run odo exactly?
main
branch and ranodo dev
Ctrl+C
to stop theodo dev
sessionActual behavior
odo prints
✗ Executing the application (command: run) [1m]
after cleaning up the resources. But it doesn't error out -echo $?
output is 0.Expected behavior
odo shouldn't print such a message
The text was updated successfully, but these errors were encountered: