odo
odo copied to clipboard
Autodetect project name via Alizer
What type of PR is this:
/kind feature
What does this PR do / why we need it:
This PR:
- Detects the project name via pom.xml (java), package.json (node.js), etc. with alizer.
- If the detection fails, default to using the directory name.
Which issue(s) this PR fixes:
Fixes https://github.com/redhat-developer/odo/issues/5847
PR acceptance criteria:
-
[ ] Unit test
-
[ ] Integration test
-
[ ] Documentation
How to test changes / Special notes to the reviewer:
Signed-off-by: Charlie Drage [email protected]
Deploy Preview for odo-docusaurus-preview ready!
| Name | Link |
|---|---|
| Latest commit | 9d1b5e1fa3e3f7f495f1c3a94f8488352c2faa43 |
| Latest deploy log | https://app.netlify.com/sites/odo-docusaurus-preview/deploys/63036d9c0ead790008ae21ea |
| Deploy Preview | https://deploy-preview-5989--odo-docusaurus-preview.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
WIP (pushed PR to see if all tests pass)
Unit Tests on commit 2a52646becc3226e5b2f2e2cecd64e4a8df4e723 finished successfully. View logs: TXT HTML
Validate Tests on commit 2a52646becc3226e5b2f2e2cecd64e4a8df4e723 finished successfully. View logs: TXT HTML
Windows Tests (OCP) on commit 2a52646becc3226e5b2f2e2cecd64e4a8df4e723 finished successfully. View logs: TXT HTML
Rebasing and re-pushing.
Still WIP but for some reason with the label it's not trigger the tests.
I am manually cancelling the IBM Cloud k8s tests for this PR as it's running since 19 hours. Attached the screenshot and logs below.
Screenshot

Here's the logs, in case it's needed:
Logs
Preparing to start the job...
Running on public worker: eu-depublicworker04-3
Pulling image quay.io/odo-dev/ibmcloudtest-image:latest ...
Job execution started at Tue Aug 2 12:12:17 UTC 2022
Custom image
Cloning the 'main' branch from repo 'https://github.com/redhat-developer/odo.git'
Repository successfully cloned
Performing Pull Request Checkout
From https://github.com/redhat-developer/odo
* [new ref] refs/pull/5989/head -> ids-pipeline-temp-branch-for-pr
Switched to branch 'ids-pipeline-temp-branch-for-pr'
API endpoint: https://cloud.ibm.com
Authenticating...
OK
Targeted account Developer QE (a60f5b77bdd84df184ed90ac66406aae)
Select a region (or press enter to skip):
1. au-syd
2. in-che
3. jp-osa
4. jp-tok
5. kr-seo
6. eu-de
7. eu-gb
8. ca-tor
9. us-south
10. us-east
11. br-sao
Enter a number>
API endpoint: https://cloud.ibm.com
Region:
User: ServiceId-b721d6d0-9851-4a60-a8f9-80a565da8b34
Account: Developer QE (a60f5b77bdd84df184ed90ac66406aae)
Resource group: No resource group targeted, use 'ibmcloud target -g RESOURCE_GROUP'
CF API endpoint:
Org:
Space:
Could not read from input: EOF
New version 2.9.0 is available.
Change logs: https://github.com/IBM-Cloud/ibm-cloud-cli-release/releases/tag/v2.9.0
TIP: use 'ibmcloud config --check-version=false' to disable update check.
FAILED
Could not read from input: EOF
Do you want to update? [y/N] >
Switched to region eu-de
API endpoint: https://cloud.ibm.com
Region: eu-de
User: ServiceId-b721d6d0-9851-4a60-a8f9-80a565da8b34
Account: Developer QE (a60f5b77bdd84df184ed90ac66406aae)
Resource group: No resource group targeted, use 'ibmcloud target -g RESOURCE_GROUP'
CF API endpoint:
Org:
Space:
Plug-in 'container-service 1.0.431' is now available (you have 1.0.415).
Use 'ibmcloud plugin update container-service' to upgrade the plug-in.
Use 'ibmcloud config --check-version=false' to disable update check.
OK
The configuration for c8giauof0f337j4pe5u0 was downloaded successfully.
Added context for c8giauof0f337j4pe5u0 to the current kubeconfig file.
You can now execute 'kubectl' commands against your cluster. For example, run 'kubectl get nodes'.
If you are accessing the cluster for the first time, 'kubectl' commands might fail for a few seconds while RBAC synchronizes.
Using Devfile proxy: 12659208-eu-de.lb.appdomain.cloud
go install -mod=vendor -ldflags="-X github.com/redhat-developer/odo/pkg/version.GITCOMMIT=38aa31dc0" ./cmd/odo/
go run -mod=vendor github.com/onsi/ginkgo/v2/ginkgo --randomize-all --slow-spec-threshold=120s -timeout 14400s --no-color -nodes=32 tests/integration
Running Suite: Integration Suite - /go/odo_1/tests/integration
==============================================================
Random Seed: 1659442555 - will randomize all specs
Will run 283 of 283 specs
Running in parallel across 32 processes
••••••••••••••••••••••••••••••
------------------------------
S [SKIPPED] [25.430 seconds]
odo dev command tests
/go/odo_1/tests/integration/cmd_dev_test.go:27
when Starting a PostgreSQL service [BeforeEach]
/go/odo_1/tests/integration/cmd_dev_test.go:758
when creating local files and dir and running odo dev
/go/odo_1/tests/integration/cmd_dev_test.go:773
should correctly propagate changes to the container
/go/odo_1/tests/integration/cmd_dev_test.go:798
Begin Captured GinkgoWriter Output >>
Created dir: /tmp/2672251088
Created dir: /tmp/439384239
Setting KUBECONFIG=/tmp/439384239/config
Creating a new project: cmd-dev-test798xaa
Running kubectl with args [kubectl create namespace cmd-dev-test798xaa]
[kubectl] namespace/cmd-dev-test798xaa created
Running kubectl with args [kubectl config set-context --current --namespace cmd-dev-test798xaa]
[kubectl] Context "odo-test-kubernetes-cluster/c8giauof0f337j4pe5u0/admin" modified.
Running kubectl with args [kubectl get namespaces]
[kubectl] NAME STATUS AGE
[kubectl] cbjruchjiht2pf0tc4t0 Active 23h
[kubectl] cmd-add-binding-test264pgk Active 19s
[kubectl] cmd-add-binding-test264xiy Active 74s
[kubectl] cmd-add-binding-test74geq Active 58s
[kubectl] cmd-delete-test297dkl Terminating 74s
[kubectl] cmd-describe-component-test206vra Active 61s
[kubectl] cmd-describe-list-binding-test535iyd Active 6s
[kubectl] cmd-describe-list-binding-test535kru Active 34s
[kubectl] cmd-describe-list-binding-test535lbp Active 72s
[kubectl] cmd-describe-list-binding-test535mhn Active 40s
[kubectl] cmd-describe-list-binding-test564gfw Active 34s
[kubectl] cmd-describe-list-binding-test564gim Active 64s
[kubectl] cmd-describe-list-binding-test564jnu Active 33s
[kubectl] cmd-describe-list-binding-test564kvq Active 7s
[kubectl] cmd-describe-list-binding-test564wzo Active 62s
[kubectl] cmd-dev-test1016aaz Active 72s
[kubectl] cmd-dev-test1228qvd Active 68s
[kubectl] cmd-dev-test1943hcm Terminating 63s
[kubectl] cmd-dev-test220bsi Active 68s
[kubectl] cmd-dev-test322kcq Active 60s
[kubectl] cmd-dev-test474zfz Active 70s
[kubectl] cmd-dev-test529sjt Active 63s
[kubectl] cmd-dev-test748dvs Active 14s
[kubectl] cmd-dev-test798xaa Active 11s
[kubectl] cmd-dev-test892nxx Active 5s
[kubectl] cmd-dev-test924lyt Active 63s
[kubectl] cmd-devfile-build-images-test263jiq Active 15s
[kubectl] cmd-devfile-deploy-test126iwx Active 26s
[kubectl] cmd-devfile-deploy-test322xsm Active 16s
[kubectl] cmd-devfile-list-test52xme Active 68s
[kubectl] cmd-logs-test155nxz Active 19s
[kubectl] default Active 151d
[kubectl] devfile-proxy Active 27d
[kubectl] ibm-cert-store Active 151d
[kubectl] ibm-operators Active 151d
[kubectl] ibm-system Active 151d
[kubectl] interactive-add-binding-test133wfx Active 16s
[kubectl] interactive-add-binding-test182jhm Active 8s
[kubectl] interactive-add-binding-test311lkj Active 2s
[kubectl] interactive-add-binding-test463fsr Active 28s
[kubectl] interactive-add-binding-test463qad Terminating 75s
[kubectl] interactive-add-binding-test75dgf Terminating 75s
[kubectl] interactive-dev-test103abe Active 59s
[kubectl] interactive-dev-test41ofw Active 36s
[kubectl] kube-node-lease Active 151d
[kubectl] kube-public Active 151d
[kubectl] kube-system Active 151d
[kubectl] olm Active 41d
[kubectl] operators Active 41d
[kubectl] test Active 7d4h
Running kubectl with args [kubectl create configmap config-map-for-cleanup --from-literal type=testing --from-literal team=odo -n cmd-dev-test798xaa]
[kubectl] configmap/config-map-for-cleanup created
Current working dir: /go/odo_1/tests/integration
Running odo with args [odo preference remove registry DefaultDevfileRegistry -f]
[odo] I0802 12:18:18.013071 14033 implem.go:106] The path for preference file is /tmp/439384239/preference.yaml
[odo] I0802 12:18:18.014409 14033 util.go:767] Cached response used.
[odo] Successfully removed registry
[odo] I0802 12:18:18.017836 14033 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo preference add registry DefaultDevfileRegistry http://12659208-eu-de.lb.appdomain.cloud]
[odo] I0802 12:18:19.535555 14093 implem.go:106] The path for preference file is /tmp/439384239/preference.yaml
[odo] New registry successfully added
[odo] I0802 12:18:19.550081 14093 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Setting current dir to: /tmp/2672251088
Deleting project: cmd-dev-test798xaa
Running kubectl with args [kubectl delete namespaces cmd-dev-test798xaa --wait=false]
[kubectl] namespace "cmd-dev-test798xaa" deleted
Setting current dir to: /go/odo_1/tests/integration
Deleting dir: /tmp/2672251088
Deleting dir: /tmp/439384239
<< End Captured GinkgoWriter Output
Operators have not been setup on Kubernetes cluster yet. Remove this once the issue has been fixed.
In [BeforeEach] at: /go/odo_1/tests/integration/cmd_dev_test.go:760
------------------------------
•••••••••••••••••••
------------------------------
• [SLOW TEST] [120.510 seconds]
odo list with devfile when a component created in 'app' application show an odo deploy or dev in the list
/go/odo_1/tests/integration/cmd_devfile_list_test.go:52
------------------------------
•••
------------------------------
• [SLOW TEST] [126.461 seconds]
odo describe/list binding command tests when creating a component with a spec binding and envvars (service in namespace "binding-uva") when Starting a Pg service when running dev session should list the binding
/go/odo_1/tests/integration/cmd_describe_list_binding_test.go:564
------------------------------
•••••••••••
------------------------------
• [SLOW TEST] [161.044 seconds]
odo describe/list binding command tests when creating a component with a binding as files (service in namespace "binding-lqf") when Starting a Pg service when running dev session should describe the binding
/go/odo_1/tests/integration/cmd_describe_list_binding_test.go:535
------------------------------
••
------------------------------
• [SLOW TEST] [160.203 seconds]
odo describe/list binding command tests when creating a component with a binding as files (service in namespace "binding-jty") when Starting a Pg service when running dev session should list the binding
/go/odo_1/tests/integration/cmd_describe_list_binding_test.go:564
------------------------------
•
------------------------------
• [SLOW TEST] [170.122 seconds]
odo dev command tests when a component is bootstrapped and pushed when odo dev is executed when deleting previous deployment and switching kubeconfig to another namespace should run odo dev on initial namespace
/go/odo_1/tests/integration/cmd_dev_test.go:220
------------------------------
••••
------------------------------
• [SLOW TEST] [144.453 seconds]
odo describe/list binding command tests when creating a component with a binding as environment variables (service in namespace "binding-lqh") when Starting a Pg service when running dev session should describe the binding
/go/odo_1/tests/integration/cmd_describe_list_binding_test.go:535
------------------------------
• [SLOW TEST] [144.840 seconds]
odo describe/list binding command tests when creating a component with a binding as environment variables (service in namespace "binding-uso") when Starting a Pg service when running dev session should list the binding
/go/odo_1/tests/integration/cmd_describe_list_binding_test.go:564
------------------------------
••
------------------------------
• [FAILED] [187.451 seconds]
odo init interactive command tests
/go/odo_1/tests/integration/interactive_init_test.go:23
displaying welcoming messages
/go/odo_1/tests/integration/interactive_init_test.go:93
when directory is not empty
/go/odo_1/tests/integration/interactive_init_test.go:173
[It] should display appropriate welcoming messages
/go/odo_1/tests/integration/interactive_init_test.go:183
Begin Captured GinkgoWriter Output >>
Created dir: /tmp/299900900
Created dir: /tmp/626249981
Setting KUBECONFIG=/tmp/626249981/config
Current working dir: /go/odo_1/tests/integration
Running odo with args [odo preference remove registry DefaultDevfileRegistry -f]
[odo] I0802 12:16:58.952505 10410 implem.go:106] The path for preference file is /tmp/626249981/preference.yaml
[odo] Successfully removed registry
[odo] I0802 12:16:58.963195 10410 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo preference add registry DefaultDevfileRegistry http://12659208-eu-de.lb.appdomain.cloud]
[odo] I0802 12:17:00.496596 10512 implem.go:106] The path for preference file is /tmp/626249981/preference.yaml
[odo] New registry successfully added
[odo] I0802 12:17:00.499414 10512 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Setting current dir to: /tmp/299900900
running command [odo init] with env [ODO_LOG_LEVEL=0]
Setting current dir to: /go/odo_1/tests/integration
Deleting dir: /tmp/299900900
Deleting dir: /tmp/626249981
<< End Captured GinkgoWriter Output
error while sending or expecting line: "Enter component name"
=== output of command '["odo" "init"]' read so far ===
__
/ \__ Initializing new component
\__/ \ Files: Source code detected, a Devfile will be determined based upon source code autodetection
/ \__/ odo version: v3.0.0-beta2
\__/
Interactive mode enabled, please answer the following questions:
Based on the files in the current directory odo detected
Language: python
Project type: python
The devfile "python" from the registry "DefaultDevfileRegistry" will be downloaded.
GK? Is this correct? (Y/n)
?25l;999fn?25hnBGAGGK? Is this correct? Yes
✓ Downloading devfile "python" from registry "DefaultDevfileRegistry" [179ms]
↪ Container Configuration "py-web":
OPEN PORTS:
- 8080
ENVIRONMENT VARIABLES:
- DEBUG_PORT = 5858
?25lGK? Select container for which you want to change configuration? [Use arrows to move, type to filter]
py-web
> NONE - configuration is correct
AG?25hGKAGKAGKAGK? Select container for which you want to change configuration? NONE - configuration is correct
Your new component 'x299900900' is ready in the current directory.
To start editing your component, use 'odo dev' and open this folder in your favorite IDE.
Changes will be directly reflected on the cluster.
======================
Unexpected error:
<*fs.PathError | 0xc000802060>: {
Op: "read",
Path: "|0",
Err: <*poll.DeadlineExceededError | 0x3d0f660>{},
}
read |0: i/o timeout
occurred
In [It] at: /go/odo_1/tests/helper/helper_interactive.go:121
------------------------------
•
------------------------------
• [SLOW TEST] [192.212 seconds]
odo add binding command tests when the component is bootstrapped when adding a binding (other namespace) when odo dev is run when odo dev command is stopped should have successfully delete the binding
/go/odo_1/tests/integration/cmd_add_binding_test.go:264
------------------------------
•••••••••
------------------------------
• [SLOW TEST] [121.019 seconds]
odo list with devfile devfile has missing metadata when projectType and language is missing when the component is pushed should show 'nodejs' for 'Type' in odo list
/go/odo_1/tests/integration/cmd_devfile_list_test.go:163
------------------------------
••••••••••••••••
------------------------------
• [FAILED] [229.570 seconds]
odo dev interactive command tests
/go/odo_1/tests/integration/interactive_dev_test.go:16
when directory is not empty
/go/odo_1/tests/integration/interactive_dev_test.go:32
[It] should display welcoming messages first
/go/odo_1/tests/integration/interactive_dev_test.go:103
Begin Captured GinkgoWriter Output >>
Created dir: /tmp/1965852646
Created dir: /tmp/3370253038
Setting KUBECONFIG=/tmp/3370253038/config
Creating a new project: interactive-dev-test103abe
Running kubectl with args [kubectl create namespace interactive-dev-test103abe]
[kubectl] namespace/interactive-dev-test103abe created
Running kubectl with args [kubectl config set-context --current --namespace interactive-dev-test103abe]
[kubectl] Context "odo-test-kubernetes-cluster/c8giauof0f337j4pe5u0/admin" modified.
Running kubectl with args [kubectl get namespaces]
[kubectl] NAME STATUS AGE
[kubectl] cbjruchjiht2pf0tc4t0 Active 23h
[kubectl] cmd-add-binding-test264xiy Active 27s
[kubectl] cmd-add-binding-test74geq Active 11s
[kubectl] cmd-delete-test207kvd Active 18s
[kubectl] cmd-delete-test297dkl Active 27s
[kubectl] cmd-describe-component-test206vra Active 14s
[kubectl] cmd-describe-list-binding-test44wrj Active 7s
[kubectl] cmd-describe-list-binding-test535lbp Active 25s
[kubectl] cmd-describe-list-binding-test564gim Active 17s
[kubectl] cmd-describe-list-binding-test564wzo Active 15s
[kubectl] cmd-dev-test1016aaz Active 25s
[kubectl] cmd-dev-test1228qvd Active 21s
[kubectl] cmd-dev-test1943hcm Active 16s
[kubectl] cmd-dev-test220bsi Active 21s
[kubectl] cmd-dev-test322kcq Active 13s
[kubectl] cmd-dev-test474zfz Active 23s
[kubectl] cmd-dev-test529sjt Active 16s
[kubectl] cmd-dev-test924lyt Active 16s
[kubectl] cmd-devfile-build-images-test111cex Active 27s
[kubectl] cmd-devfile-build-images-test212wju Active 16s
[kubectl] cmd-devfile-build-images-test220lia Active 16s
[kubectl] cmd-devfile-build-images-test256vmb Active 22s
[kubectl] cmd-devfile-list-test52xme Active 21s
[kubectl] cmd-namespace-test182gtv Active 24s
[kubectl] cmd-namespace-test41fui Active 8s
[kubectl] cmd-namespace-test75own Active 22s
[kubectl] default Active 151d
[kubectl] devfile-proxy Active 27d
[kubectl] ibm-cert-store Active 151d
[kubectl] ibm-operators Active 151d
[kubectl] ibm-system Active 151d
[kubectl] interactive-add-binding-test182trw Active 27s
[kubectl] interactive-add-binding-test463qad Active 28s
[kubectl] interactive-add-binding-test75dgf Active 28s
[kubectl] interactive-dev-test103abe Active 12s
[kubectl] kube-node-lease Active 151d
[kubectl] kube-public Active 151d
[kubectl] kube-system Active 151d
[kubectl] olm Active 41d
[kubectl] operators Active 41d
[kubectl] test Active 7d4h
Running kubectl with args [kubectl create configmap config-map-for-cleanup --from-literal type=testing --from-literal team=odo -n interactive-dev-test103abe]
[kubectl] configmap/config-map-for-cleanup created
Current working dir: /go/odo_1/tests/integration
Running odo with args [odo preference remove registry DefaultDevfileRegistry -f]
[odo] I0802 12:17:33.198342 12146 implem.go:106] The path for preference file is /tmp/3370253038/preference.yaml
[odo] Successfully removed registry
[odo] I0802 12:17:33.311593 12146 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo preference add registry DefaultDevfileRegistry http://12659208-eu-de.lb.appdomain.cloud]
[odo] I0802 12:17:36.079678 12302 implem.go:106] The path for preference file is /tmp/3370253038/preference.yaml
[odo] New registry successfully added
[odo] I0802 12:17:36.105453 12302 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Setting current dir to: /tmp/1965852646
running command [odo dev --random-ports] with env [ODO_LOG_LEVEL=0]
Deleting project: interactive-dev-test103abe
Running kubectl with args [kubectl delete namespaces interactive-dev-test103abe --wait=false]
[kubectl] namespace "interactive-dev-test103abe" deleted
Setting current dir to: /go/odo_1/tests/integration
Deleting dir: /tmp/1965852646
Deleting dir: /tmp/3370253038
<< End Captured GinkgoWriter Output
error while sending or expecting line: "Enter component name"
=== output of command '["odo" "dev" "--random-ports"]' read so far ===
The current directory already contains source code. odo will try to autodetect the language and project type in order to select the best suited Devfile for your project.
Based on the files in the current directory odo detected
Language: python
Project type: python
The devfile "python" from the registry "DefaultDevfileRegistry" will be downloaded.
GK? Is this correct? (Y/n)
?25l;999fn?25hnBGAGGK? Is this correct? Yes
✓ Downloading devfile "python" from registry "DefaultDevfileRegistry" [31ms]
↪ Container Configuration "py-web":
OPEN PORTS:
- 8080
ENVIRONMENT VARIABLES:
- DEBUG_PORT = 5858
?25lGK? Select container for which you want to change configuration? [Use arrows to move, type to filter]
py-web
> NONE - configuration is correct
AG?25hGKAGKAGKAGK? Select container for which you want to change configuration? NONE - configuration is correct
__
/ \__ Developing using the x1965852646 Devfile
\__/ \ Namespace: interactive-dev-test103abe
/ \__/ odo version: v3.0.0-beta2
\__/
↪ Deploying to the cluster in developer mode
◐ Waiting for Kubernetes resources
◓ Waiting for Kubernetes resources
◑ Waiting for Kubernetes resources
◒ Waiting for Kubernetes resources
◐ Waiting for Kubernetes resources
◓ Waiting for Kubernetes resources
◑ Waiting for Kubernetes resources
◒ Waiting for Kubernetes resources
◐ Waiting for Kubernetes resources
◓ Waiting for Kubernetes resources
◑ Waiting for Kubernetes resources
◒ Waiting for Kubernetes resources
◐ Waiting for Kubernetes resources
◓ Waiting for Kubernetes resources
◑ Waiting for Kubernetes resources
✓ Waiting for Kubernetes resources [3s]
◐ Syncing files into the container
◓ Syncing files into the container
✓ Syncing files into the container [473ms]
◐ Building your application in container on cluster (command: pip-install-requirements)
◓ Building your application in container on cluster (command: pip-install-requirements)
◑ Building your application in container on cluster (command: pip-install-requirements)
◒ Building your application in container on cluster (command: pip-install-requirements)
◐ Building your application in container on cluster (command: pip-install-requirements)
◓ Building your application in container on cluster (command: pip-install-requirements)
◑ Building your application in container on cluster (command: pip-install-requirements)
◒ Building your application in container on cluster (command: pip-install-requirements)
◐ Building your application in container on cluster (command: pip-install-requirements)
◓ Building your application in container on cluster (command: pip-install-requirements)
◑ Building your application in container on cluster (command: pip-install-requirements)
◒ Building your application in container on cluster (command: pip-install-requirements)
◐ Building your application in container on cluster (command: pip-install-requirements)
◓ Building your application in container on cluster (command: pip-install-requirements)
◑ Building your application in container on cluster (command: pip-install-requirements)
◒ Building your application in container on cluster (command: pip-install-requirements)
◐ Building your application in container on cluster (command: pip-install-requirements)
◓ Building your application in container on cluster (command: pip-install-requirements)
◑ Building your application in container on cluster (command: pip-install-requirements)
◒ Building your application in container on cluster (command: pip-install-requirements)
◐ Building your application in container on cluster (command: pip-install-requirements)
◓ Building your application in container on cluster (command: pip-install-requirements)
✓ Building your application in container on cluster (command: pip-install-requirements) [5s]
• Executing the application (command: run-app) ...
✗ Executing the application (command: run-app) [638ms]
⚠ Devfile command "run-app" exited with an error status in 20 second(s)
⚠ Last 100 lines of log:
Collecting gunicorn
Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
Collecting numpy
Downloading numpy-1.23.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
Requirement already satisfied: setuptools>=3.0 in /opt/app-root/lib/python3.9/site-packages (from gunicorn->-r requirements.txt (line 1)) (53.0.0)
Installing collected packages: numpy, gunicorn
Successfully installed gunicorn-20.1.0 numpy-1.23.1
WARNING: You are using pip version 21.0.1; however, version 22.2.1 is available.
You should consider upgrading via the '/opt/app-root/bin/python3.9 -m pip install --upgrade pip' command.
python: can't open file '/projects/app.py': [Errno 2] No such file or directory
- Forwarding from 127.0.0.1:43425 -> 8080
Your application is now running on the cluster
Watching for changes in the current directory /tmp/1965852646
Press Ctrl+c to exit `odo dev` and delete resources from the cluster
======================
Unexpected error:
<*fs.PathError | 0xc0007440c0>: {
Op: "read",
Path: "|0",
Err: <*poll.DeadlineExceededError | 0x3d0f660>{},
}
read |0: i/o timeout
occurred
In [It] at: /go/odo_1/tests/helper/helper_interactive.go:121
------------------------------
•••••••••
------------------------------
• [SLOW TEST] [136.840 seconds]
odo dev command tests when java-springboot application is created and running odo dev when Update the devfile.yaml Should build the application successfully
/go/odo_1/tests/integration/cmd_dev_test.go:1698
------------------------------
•
------------------------------
• [FAILED] [223.685 seconds]
odo dev interactive command tests
/go/odo_1/tests/integration/interactive_dev_test.go:16
when directory is not empty
/go/odo_1/tests/integration/interactive_dev_test.go:32
[It] should run alizer to download devfile successfully even with -v flag
/go/odo_1/tests/integration/interactive_dev_test.go:41
Begin Captured GinkgoWriter Output >>
Created dir: /tmp/2107483947
Created dir: /tmp/664188211
Setting KUBECONFIG=/tmp/664188211/config
Creating a new project: interactive-dev-test41ofw
Running kubectl with args [kubectl create namespace interactive-dev-test41ofw]
[kubectl] namespace/interactive-dev-test41ofw created
Running kubectl with args [kubectl config set-context --current --namespace interactive-dev-test41ofw]
[kubectl] Context "odo-test-kubernetes-cluster/c8giauof0f337j4pe5u0/admin" modified.
Running kubectl with args [kubectl get namespaces]
[kubectl] NAME STATUS AGE
[kubectl] cbjruchjiht2pf0tc4t0 Active 23h
[kubectl] cmd-add-binding-test264xiy Active 45s
[kubectl] cmd-add-binding-test74geq Active 29s
[kubectl] cmd-delete-test207kvd Active 36s
[kubectl] cmd-delete-test297dkl Active 45s
[kubectl] cmd-describe-component-test206vra Active 32s
[kubectl] cmd-describe-list-binding-test44wrj Active 25s
[kubectl] cmd-describe-list-binding-test535kru Active 5s
[kubectl] cmd-describe-list-binding-test535lbp Active 43s
[kubectl] cmd-describe-list-binding-test535mhn Active 11s
[kubectl] cmd-describe-list-binding-test564gfw Active 5s
[kubectl] cmd-describe-list-binding-test564gim Active 35s
[kubectl] cmd-describe-list-binding-test564jnu Active 4s
[kubectl] cmd-describe-list-binding-test564wzo Active 33s
[kubectl] cmd-dev-test1016aaz Active 43s
[kubectl] cmd-dev-test1228qvd Active 39s
[kubectl] cmd-dev-test1943hcm Active 34s
[kubectl] cmd-dev-test220bsi Active 39s
[kubectl] cmd-dev-test322kcq Active 31s
[kubectl] cmd-dev-test474zfz Active 41s
[kubectl] cmd-dev-test529sjt Active 34s
[kubectl] cmd-dev-test924lyt Active 34s
[kubectl] cmd-devfile-build-images-test212wju Terminating 34s
[kubectl] cmd-devfile-build-images-test220lia Terminating 34s
[kubectl] cmd-devfile-list-test52xme Active 39s
[kubectl] cmd-namespace-test41fui Active 26s
[kubectl] cmd-namespace-test75own Active 40s
[kubectl] cmd-namespace-test75urq Terminating 13s
[kubectl] default Active 151d
[kubectl] devfile-proxy Active 27d
[kubectl] ibm-cert-store Active 151d
[kubectl] ibm-operators Active 151d
[kubectl] ibm-system Active 151d
[kubectl] interactive-add-binding-test182trw Active 45s
[kubectl] interactive-add-binding-test463qad Active 46s
[kubectl] interactive-add-binding-test75dgf Active 46s
[kubectl] interactive-dev-test103abe Active 30s
[kubectl] interactive-dev-test41ofw Active 7s
[kubectl] kube-node-lease Active 151d
[kubectl] kube-public Active 151d
[kubectl] kube-system Active 151d
[kubectl] olm Active 41d
[kubectl] operators Active 41d
[kubectl] test Active 7d4h
Running kubectl with args [kubectl create configmap config-map-for-cleanup --from-literal type=testing --from-literal team=odo -n interactive-dev-test41ofw]
[kubectl] configmap/config-map-for-cleanup created
Current working dir: /go/odo_1/tests/integration
Running odo with args [odo preference remove registry DefaultDevfileRegistry -f]
[odo] I0802 12:17:48.736749 12888 implem.go:106] The path for preference file is /tmp/664188211/preference.yaml
[odo] Successfully removed registry
[odo] I0802 12:17:48.738773 12888 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo preference add registry DefaultDevfileRegistry http://12659208-eu-de.lb.appdomain.cloud]
[odo] I0802 12:17:51.068336 12985 implem.go:106] The path for preference file is /tmp/664188211/preference.yaml
[odo] New registry successfully added
[odo] I0802 12:17:51.072888 12985 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Setting current dir to: /tmp/2107483947
running command [odo dev --random-ports -v 4] with env []
Deleting project: interactive-dev-test41ofw
Running kubectl with args [kubectl delete namespaces interactive-dev-test41ofw --wait=false]
[kubectl] namespace "interactive-dev-test41ofw" deleted
Setting current dir to: /go/odo_1/tests/integration
Deleting dir: /tmp/2107483947
Deleting dir: /tmp/664188211
<< End Captured GinkgoWriter Output
error while sending or expecting line: "Enter component name"
=== output of command '["odo" "dev" "--random-ports" "-v" "4"]' read so far ===
I0802 12:17:53.662365 13069 util.go:754] Response will be cached in /tmp/odohttpcache for 1h0m0s
I0802 12:17:53.664696 13069 util.go:767] Cached response used.
I0802 12:17:53.666705 13069 implem.go:106] The path for preference file is /tmp/664188211/preference.yaml
I0802 12:17:53.671397 13069 segment.go:257] Checking telemetry enable status
I0802 12:17:53.671451 13069 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
I0802 12:17:53.752795 13069 implem.go:106] The path for preference file is /tmp/664188211/preference.yaml
The current directory already contains source code. odo will try to autodetect the language and project type in order to select the best suited Devfile for your project.
I0802 12:17:53.756205 13069 implem.go:106] The path for preference file is /tmp/664188211/preference.yaml
I0802 12:17:53.757054 13069 segment.go:257] Checking telemetry enable status
I0802 12:17:53.757087 13069 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
Based on the files in the current directory odo detected
Language: python
Project type: python
The devfile "python" from the registry "DefaultDevfileRegistry" will be downloaded.
GK? Is this correct? (Y/n) ?25l;999fn?25hn
BGAGGK? Is this correct? Yes
• Downloading devfile "python" from registry "DefaultDevfileRegistry" ...
I0802 12:17:56.471353 13069 implem.go:106] The path for preference file is /tmp/664188211/preference.yaml
I0802 12:17:56.472256 13069 segment.go:257] Checking telemetry enable status
I0802 12:17:56.472285 13069 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
✓ Downloading devfile "python" from registry "DefaultDevfileRegistry" [96ms]
I0802 12:17:56.568914 13069 context.go:141] absolute devfile path: '/tmp/2107483947/devfile.yaml'
I0802 12:17:56.568946 13069 context.go:92] absolute devfile path: '/tmp/2107483947/devfile.yaml'
I0802 12:17:56.574396 13069 content.go:33] converted devfile YAML to JSON
I0802 12:17:56.574491 13069 apiVersion.go:45] devfile schemaVersion: '2.1.0'
I0802 12:17:56.574523 13069 helper.go:41] devfile apiVersion '2.1.0' is supported
I0802 12:17:56.667580 13069 schema.go:46] validated devfile schema
↪ Container Configuration "py-web":
OPEN PORTS:
- 8080
ENVIRONMENT VARIABLES:
- DEBUG_PORT = 5858
?25lGK? Select container for which you want to change configuration? [Use arrows to move, type to filter]
py-web
> NONE - configuration is correct
AG?25hGKAGKAGKAGK? Select container for which you want to change configuration? NONE - configuration is correct
I0802 12:17:56.878696 13069 alizer.go:117] Path: /tmp/2107483947/devfile.yaml, Detected name: 2107483947, Sanitized name: x2107483947
I0802 12:17:56.901856 13069 writer.go:30] devfile yaml created at: 'devfile.yaml'
I0802 12:17:57.105142 13069 context.go:141] absolute devfile path: '/tmp/2107483947/devfile.yaml'
I0802 12:17:57.105520 13069 context.go:92] absolute devfile path: '/tmp/2107483947/devfile.yaml'
I0802 12:17:57.106491 13069 content.go:33] converted devfile YAML to JSON
I0802 12:17:57.106897 13069 apiVersion.go:45] devfile schemaVersion: '2.1.0'
I0802 12:17:57.107062 13069 helper.go:41] devfile apiVersion '2.1.0' is supported
I0802 12:17:57.221668 13069 schema.go:46] validated devfile schema
I0802 12:17:57.256987 13069 validate.go:45] Successfully validated devfile sections
I0802 12:17:57.257956 13069 validate.go:45] Successfully validated devfile sections
__
/ \__ Developing using the x2107483947 Devfile
\__/ \ Namespace: interactive-dev-test41ofw
/ \__/ odo version: v3.0.0-beta2
\__/
↪ Deploying to the cluster in developer mode
• Waiting for Kubernetes resources ...
I0802 12:17:57.332710 13069 libdevfile.go:184] Build command: pip-install-requirements
I0802 12:17:57.332746 13069 libdevfile.go:196] Run command: run-app
I0802 12:17:57.333204 13069 kclient.go:207] Checking if "clusterserviceversions" resource is supported
I0802 12:17:57.338144 13069 service.go:73] Getting list of services
I0802 12:17:57.340915 13069 operators.go:30] Fetching list of operators installed in cluster
I0802 12:17:57.386262 13069 service.go:91] Getting services started from operator: cloud-native-postgresql.v1.15.1
I0802 12:17:57.387100 13069 service.go:122] Getting instances of: backups.postgresql.k8s.enterprisedb.io
I0802 12:17:57.400954 13069 service.go:122] Getting instances of: clusters.postgresql.k8s.enterprisedb.io
I0802 12:17:57.410460 13069 service.go:122] Getting instances of: poolers.postgresql.k8s.enterprisedb.io
I0802 12:17:57.423569 13069 service.go:122] Getting instances of: scheduledbackups.postgresql.k8s.enterprisedb.io
I0802 12:17:57.435330 13069 service.go:91] Getting services started from operator: service-binding-operator.v1.1.1
I0802 12:17:57.436146 13069 service.go:122] Getting instances of: bindablekinds.binding.operators.coreos.com
I0802 12:17:57.450748 13069 service.go:122] Getting instances of: clusterworkloadresourcemappings.servicebinding.io
I0802 12:17:57.460812 13069 service.go:122] Getting instances of: servicebindings.binding.operators.coreos.com
I0802 12:17:57.490508 13069 service.go:122] Getting instances of: servicebindings.servicebinding.io
I0802 12:17:57.530604 13069 adapter.go:440] We are deploying these annotations: map[odo.dev/project-type:python]
I0802 12:17:57.531118 13069 utils.go:91] Updating container py-web with mandatory volume mounts
I0802 12:17:57.531475 13069 utils.go:205] No entrypoint defined for the component, setting container py-web entrypoint to 'tail -f /dev/null'. You can set a 'command' and/or 'args' for the component to override this default entrypoint.
I0802 12:17:57.545233 13069 adapter.go:548] Creating deployment x2107483947-app
I0802 12:17:57.545261 13069 adapter.go:549] The component name is x2107483947
I0802 12:17:57.548563 13069 kclient.go:256] Kubernetes version is "v1.23.9+IKS"
I0802 12:17:57.548957 13069 kclient.go:268] Cluster has support for SSA: true
I0802 12:17:57.621778 13069 adapter.go:580] Successfully created component x2107483947
I0802 12:17:57.657467 13069 adapter.go:592] Successfully created Service for component x2107483947
I0802 12:17:57.658192 13069 deployments.go:135] Waiting for x2107483947-app deployment rollout
I0802 12:17:57.663580 13069 deployments.go:166] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2022-08-02T12:17:57Z","lastTransitionTime":"2022-08-02T12:17:57Z","reason":"NewReplicaSetCreated","message":"Created new replica set \"x2107483947-app-7d88f8748d\""}
I0802 12:17:57.670879 13069 deployments.go:183] Waiting for deployment spec update to be observed...
I0802 12:17:57.701670 13069 deployments.go:166] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2022-08-02T12:17:57Z","lastTransitionTime":"2022-08-02T12:17:57Z","reason":"NewReplicaSetCreated","message":"Created new replica set \"x2107483947-app-7d88f8748d\""}
I0802 12:17:57.703027 13069 deployments.go:166] Deployment Condition: {"type":"Available","status":"False","lastUpdateTime":"2022-08-02T12:17:57Z","lastTransitionTime":"2022-08-02T12:17:57Z","reason":"MinimumReplicasUnavailable","message":"Deployment does not have minimum availability."}
I0802 12:17:57.704145 13069 deployments.go:173] Waiting for deployment "x2107483947-app" rollout to finish: 0 out of 1 new replicas have been updated...
I0802 12:17:57.704218 13069 deployments.go:183] Waiting for deployment spec update to be observed...
I0802 12:17:57.766895 13069 deployments.go:166] Deployment Condition: {"type":"Available","status":"False","lastUpdateTime":"2022-08-02T12:17:57Z","lastTransitionTime":"2022-08-02T12:17:57Z","reason":"MinimumReplicasUnavailable","message":"Deployment does not have minimum availability."}
I0802 12:17:57.767109 13069 deployments.go:166] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2022-08-02T12:17:57Z","lastTransitionTime":"2022-08-02T12:17:57Z","reason":"ReplicaSetUpdated","message":"ReplicaSet \"x2107483947-app-7d88f8748d\" is progressing."}
I0802 12:17:57.767132 13069 deployments.go:177] Waiting for deployment "x2107483947-app" rollout to finish: 0 of 1 updated replicas are available...
I0802 12:17:57.767142 13069 deployments.go:183] Waiting for deployment spec update to be observed...
I0802 12:18:00.977890 13069 deployments.go:166] Deployment Condition: {"type":"Available","status":"True","lastUpdateTime":"2022-08-02T12:18:00Z","lastTransitionTime":"2022-08-02T12:18:00Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}
I0802 12:18:00.979144 13069 deployments.go:166] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2022-08-02T12:18:00Z","lastTransitionTime":"2022-08-02T12:17:57Z","reason":"NewReplicaSetAvailable","message":"ReplicaSet \"x2107483947-app-7d88f8748d\" has successfully progressed."}
I0802 12:18:00.980476 13069 deployments.go:179] Deployment "x2107483947-app" successfully rolled out
I0802 12:18:00.981091 13069 deployments.go:183] Waiting for deployment spec update to be observed...
I0802 12:18:00.981298 13069 pods.go:29] Waiting for component=x2107483947 pod
I0802 12:18:00.996768 13069 pods.go:59] Status of x2107483947-app-7d88f8748d-9tqcb pod is Running
I0802 12:18:00.997004 13069 pods.go:63] Pod Conditions: {"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:17:57Z"}
I0802 12:18:00.997021 13069 pods.go:63] Pod Conditions: {"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:18:00Z"}
I0802 12:18:00.997033 13069 pods.go:63] Pod Conditions: {"type":"ContainersReady","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:18:00Z"}
I0802 12:18:00.997046 13069 pods.go:63] Pod Conditions: {"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:17:57Z"}
I0802 12:18:00.997194 13069 pods.go:68] Container Status: {"name":"py-web","state":{"running":{"startedAt":"2022-08-02T12:17:59Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"registry.access.redhat.com/ubi9/python-39:latest","imageID":"registry.access.redhat.com/ubi9/python-39@sha256:6ef162f51f50f1071e69d3421d3f0d804074a453eb501d97d61168c7e72379bc","containerID":"containerd://913027380c23203d0a852ffe6c4650e8259e4663108e75b0f886898766fdc147","started":true}
I0802 12:18:00.997243 13069 pods.go:72] Pod x2107483947-app-7d88f8748d-9tqcb is Running
I0802 12:18:01.022892 13069 kclient.go:207] Checking if "servicebindings" resource is supported
I0802 12:18:01.026708 13069 service.go:73] Getting list of services
I0802 12:18:01.026790 13069 operators.go:30] Fetching list of operators installed in cluster
I0802 12:18:01.054757 13069 service.go:91] Getting services started from operator: cloud-native-postgresql.v1.15.1
I0802 12:18:01.054829 13069 service.go:122] Getting instances of: backups.postgresql.k8s.enterprisedb.io
I0802 12:18:01.066576 13069 service.go:122] Getting instances of: clusters.postgresql.k8s.enterprisedb.io
I0802 12:18:01.095241 13069 service.go:122] Getting instances of: poolers.postgresql.k8s.enterprisedb.io
I0802 12:18:01.106340 13069 service.go:122] Getting instances of: scheduledbackups.postgresql.k8s.enterprisedb.io
I0802 12:18:01.117775 13069 service.go:91] Getting services started from operator: service-binding-operator.v1.1.1
I0802 12:18:01.117827 13069 service.go:122] Getting instances of: bindablekinds.binding.operators.coreos.com
I0802 12:18:01.122353 13069 service.go:122] Getting instances of: clusterworkloadresourcemappings.servicebinding.io
I0802 12:18:01.125281 13069 service.go:122] Getting instances of: servicebindings.binding.operators.coreos.com
I0802 12:18:01.142257 13069 service.go:122] Getting instances of: servicebindings.servicebinding.io
I0802 12:18:01.165222 13069 deployments.go:135] Waiting for x2107483947-app deployment rollout
I0802 12:18:01.172855 13069 deployments.go:166] Deployment Condition: {"type":"Available","status":"True","lastUpdateTime":"2022-08-02T12:18:00Z","lastTransitionTime":"2022-08-02T12:18:00Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}
I0802 12:18:01.172959 13069 deployments.go:166] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2022-08-02T12:18:00Z","lastTransitionTime":"2022-08-02T12:17:57Z","reason":"NewReplicaSetAvailable","message":"ReplicaSet \"x2107483947-app-7d88f8748d\" has successfully progressed."}
I0802 12:18:01.172974 13069 deployments.go:179] Deployment "x2107483947-app" successfully rolled out
I0802 12:18:01.173123 13069 deployments.go:183] Waiting for deployment spec update to be observed...
I0802 12:18:01.173206 13069 pods.go:29] Waiting for component=x2107483947 pod
I0802 12:18:01.193728 13069 pods.go:59] Status of x2107483947-app-7d88f8748d-9tqcb pod is Running
I0802 12:18:01.193865 13069 pods.go:63] Pod Conditions: {"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:17:57Z"}
I0802 12:18:01.193894 13069 pods.go:63] Pod Conditions: {"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:18:00Z"}
I0802 12:18:01.193903 13069 pods.go:63] Pod Conditions: {"type":"ContainersReady","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:18:00Z"}
I0802 12:18:01.193911 13069 pods.go:63] Pod Conditions: {"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:17:57Z"}
I0802 12:18:01.194470 13069 pods.go:68] Container Status: {"name":"py-web","state":{"running":{"startedAt":"2022-08-02T12:17:59Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"registry.access.redhat.com/ubi9/python-39:latest","imageID":"registry.access.redhat.com/ubi9/python-39@sha256:6ef162f51f50f1071e69d3421d3f0d804074a453eb501d97d61168c7e72379bc","containerID":"containerd://913027380c23203d0a852ffe6c4650e8259e4663108e75b0f886898766fdc147","started":true}
I0802 12:18:01.194508 13069 pods.go:72] Pod x2107483947-app-7d88f8748d-9tqcb is Running
✓ Waiting for Kubernetes resources [4s]
• Syncing files into the container ...
I0802 12:18:01.198105 13069 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 2107483947, destBase: ., destFile: .
I0802 12:18:01.198143 13069 file_indexer.go:414] Corrected destinations: base: . file: .
I0802 12:18:01.198927 13069 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 2107483947/.gitignore, destBase: ., destFile: .gitignore
I0802 12:18:01.198941 13069 file_indexer.go:414] Corrected destinations: base: . file: .gitignore
I0802 12:18:01.199132 13069 file_indexer.go:461] file added: /tmp/2107483947/.gitignore
I0802 12:18:01.199184 13069 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 2107483947/.odo, destBase: ., destFile: .odo
I0802 12:18:01.199193 13069 file_indexer.go:414] Corrected destinations: base: . file: .odo
I0802 12:18:01.199289 13069 file_indexer.go:461] file added: /tmp/2107483947/.odo
I0802 12:18:01.199297 13069 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 2107483947/devfile.yaml, destBase: ., destFile: devfile.yaml
I0802 12:18:01.199302 13069 file_indexer.go:414] Corrected destinations: base: . file: devfile.yaml
I0802 12:18:01.199412 13069 file_indexer.go:461] file added: /tmp/2107483947/devfile.yaml
I0802 12:18:01.199425 13069 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 2107483947/requirements.txt, destBase: ., destFile: requirements.txt
I0802 12:18:01.199436 13069 file_indexer.go:414] Corrected destinations: base: . file: requirements.txt
I0802 12:18:01.199538 13069 file_indexer.go:461] file added: /tmp/2107483947/requirements.txt
I0802 12:18:01.199547 13069 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 2107483947/wsgi.py, destBase: ., destFile: wsgi.py
I0802 12:18:01.199552 13069 file_indexer.go:414] Corrected destinations: base: . file: wsgi.py
I0802 12:18:01.199682 13069 file_indexer.go:461] file added: /tmp/2107483947/wsgi.py
I0802 12:18:01.200104 13069 adapter.go:137] List of files to be deleted: +[]
I0802 12:18:01.200138 13069 adapter.go:139] List of files changed: +[/tmp/2107483947/.gitignore /tmp/2107483947/devfile.yaml /tmp/2107483947/requirements.txt /tmp/2107483947/wsgi.py]
I0802 12:18:01.200167 13069 adapter.go:173] Push: componentName: x2107483947, path: /tmp/2107483947, files: [/tmp/2107483947/.gitignore /tmp/2107483947/devfile.yaml /tmp/2107483947/requirements.txt /tmp/2107483947/wsgi.py], delFiles: [*], isForcePush: true
I0802 12:18:01.200642 13069 adapter.go:290] remote files marked for deletion are [/projects/*]
I0802 12:18:01.200749 13069 remotecmd.go:30] Executing command [rm -rf /projects/*] for pod: x2107483947-app-7d88f8748d-9tqcb in container: py-web
I0802 12:18:01.564214 13069 adapter.go:213] Copying files /tmp/2107483947/.gitignore /tmp/2107483947/devfile.yaml /tmp/2107483947/requirements.txt /tmp/2107483947/wsgi.py to pod
I0802 12:18:01.564304 13069 sync.go:37] CopyFile arguments: localPath /tmp/2107483947, dest /projects/2107483947, targetPath /projects, copyFiles [/tmp/2107483947/.gitignore /tmp/2107483947/devfile.yaml /tmp/2107483947/requirements.txt /tmp/2107483947/wsgi.py], globalExps [.git .odo/odo-file-index.json]
I0802 12:18:01.564392 13069 pods.go:174] Executing command tar xf - -C /projects --no-same-owner
I0802 12:18:01.564446 13069 sync.go:78] makeTar arguments: srcPath: /tmp/2107483947, destPath: /projects/2107483947, files: [/tmp/2107483947/.gitignore /tmp/2107483947/devfile.yaml /tmp/2107483947/requirements.txt /tmp/2107483947/wsgi.py]
I0802 12:18:01.564889 13069 sync.go:109] Got abs path: /tmp/2107483947/.gitignore
I0802 12:18:01.564903 13069 sync.go:110] Making /tmp/2107483947 relative to /tmp/2107483947/.gitignore
I0802 12:18:01.564992 13069 sync.go:126] makeTar srcFile: 2107483947/.gitignore
I0802 12:18:01.565002 13069 sync.go:127] makeTar destFile: .gitignore
I0802 12:18:01.565011 13069 sync.go:147] recursiveTar arguments: srcBase: /tmp, srcFile: 2107483947/.gitignore, destBase: /projects, destFile: .gitignore
I0802 12:18:01.565019 13069 sync.go:153] Corrected destinations: base: /projects file: .gitignore
I0802 12:18:01.769671 13069 sync.go:109] Got abs path: /tmp/2107483947/devfile.yaml
I0802 12:18:01.769742 13069 sync.go:110] Making /tmp/2107483947 relative to /tmp/2107483947/devfile.yaml
I0802 12:18:01.769762 13069 sync.go:126] makeTar srcFile: 2107483947/devfile.yaml
I0802 12:18:01.769773 13069 sync.go:127] makeTar destFile: devfile.yaml
I0802 12:18:01.769790 13069 sync.go:147] recursiveTar arguments: srcBase: /tmp, srcFile: 2107483947/devfile.yaml, destBase: /projects, destFile: devfile.yaml
I0802 12:18:01.769805 13069 sync.go:153] Corrected destinations: base: /projects file: devfile.yaml
I0802 12:18:01.770959 13069 sync.go:109] Got abs path: /tmp/2107483947/requirements.txt
I0802 12:18:01.770987 13069 sync.go:110] Making /tmp/2107483947 relative to /tmp/2107483947/requirements.txt
I0802 12:18:01.771005 13069 sync.go:126] makeTar srcFile: 2107483947/requirements.txt
I0802 12:18:01.771015 13069 sync.go:127] makeTar destFile: requirements.txt
I0802 12:18:01.771030 13069 sync.go:147] recursiveTar arguments: srcBase: /tmp, srcFile: 2107483947/requirements.txt, destBase: /projects, destFile: requirements.txt
I0802 12:18:01.771041 13069 sync.go:153] Corrected destinations: base: /projects file: requirements.txt
I0802 12:18:01.771841 13069 sync.go:109] Got abs path: /tmp/2107483947/wsgi.py
I0802 12:18:01.771868 13069 sync.go:110] Making /tmp/2107483947 relative to /tmp/2107483947/wsgi.py
I0802 12:18:01.771904 13069 sync.go:126] makeTar srcFile: 2107483947/wsgi.py
I0802 12:18:01.771916 13069 sync.go:127] makeTar destFile: wsgi.py
I0802 12:18:01.771930 13069 sync.go:147] recursiveTar arguments: srcBase: /tmp, srcFile: 2107483947/wsgi.py, destBase: /projects, destFile: wsgi.py
I0802 12:18:01.771944 13069 sync.go:153] Corrected destinations: base: /projects file: wsgi.py
✓ Syncing files into the container [635ms]
I0802 12:18:01.830258 13069 kubeexec.go:40] GetProcessInfoForCommand for "run-app"
I0802 12:18:01.830322 13069 remotecmd.go:30] Executing command [/bin/sh -c cat /opt/odo/.odo_cmd_run-app.pid || true] for pod: x2107483947-app-7d88f8748d-9tqcb in container: py-web
cat: /opt/odo/.odo_cmd_run-app.pid: No such file or directory
I0802 12:18:02.099222 13069 adapter.go:366] running=false, execRequired=true, parameters.RunModeChanged=false
• Building your application in container on cluster (command: pip-install-requirements) ...
I0802 12:18:02.099567 13069 remotecmd.go:30] Executing command [/bin/sh -c cd ${PROJECT_SOURCE} && (pip install -r requirements.txt) 1>>/proc/1/fd/1 2>>/proc/1/fd/2] for pod: x2107483947-app-7d88f8748d-9tqcb in container: py-web
✓ Building your application in container on cluster (command: pip-install-requirements) [4s]
I0802 12:18:05.978524 13069 kubeexec.go:60] StartProcessForCommand for "run-app"
I0802 12:18:05.978609 13069 retry.go:48] waiting for 5 second(s) before trying task "process for command \"run-app\""
• Executing the application (command: run-app) ...
I0802 12:18:05.978701 13069 remotecmd.go:30] Executing command [/bin/sh -c echo $$ > /opt/odo/.odo_cmd_run-app.pid && cd ${PROJECT_SOURCE} && (python app.py) 1>>/proc/1/fd/1 2>>/proc/1/fd/2; echo $? >> /opt/odo/.odo_cmd_run-app.pid] for pod: x2107483947-app-7d88f8748d-9tqcb in container: py-web
I0802 12:18:06.240511 13069 kubeexec.go:40] GetProcessInfoForCommand for "run-app"
I0802 12:18:06.240736 13069 remotecmd.go:30] Executing command [/bin/sh -c cat /opt/odo/.odo_cmd_run-app.pid || true] for pod: x2107483947-app-7d88f8748d-9tqcb in container: py-web
34
2
I0802 12:18:06.396081 13069 remotecmd.go:30] Executing command [/bin/sh -c kill -0 34; echo $?] for pod: x2107483947-app-7d88f8748d-9tqcb in container: py-web
1
/bin/sh: line 1: kill: (34) - No such process
✗ Executing the application (command: run-app) [606ms]
I0802 12:18:10.982450 13069 commandhandler.go:110] checking if process for command "run-app" is running
I0802 12:18:10.983621 13069 kubeexec.go:40] GetProcessInfoForCommand for "run-app"
I0802 12:18:10.983711 13069 remotecmd.go:30] Executing command [/bin/sh -c cat /opt/odo/.odo_cmd_run-app.pid || true] for pod: x2107483947-app-7d88f8748d-9tqcb in container: py-web
34
2
I0802 12:18:11.140702 13069 remotecmd.go:30] Executing command [/bin/sh -c kill -0 34; echo $?] for pod: x2107483947-app-7d88f8748d-9tqcb in container: py-web
/bin/sh: line 1: kill: (34) - No such process
1
I0802 12:18:11.409318 13069 kubeexec.go:40] GetProcessInfoForCommand for "run-app"
I0802 12:18:11.409377 13069 remotecmd.go:30] Executing command [/bin/sh -c cat /opt/odo/.odo_cmd_run-app.pid || true] for pod: x2107483947-app-7d88f8748d-9tqcb in container: py-web
34
2
I0802 12:18:11.592068 13069 remotecmd.go:30] Executing command [/bin/sh -c kill -0 34; echo $?] for pod: x2107483947-app-7d88f8748d-9tqcb in container: py-web
1
/bin/sh: line 1: kill: (34) - No such process
⚠ Devfile command "run-app" exited with an error status in 20 second(s)
⚠ Last 100 lines of log:
Collecting gunicorn
Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
Collecting numpy
Downloading numpy-1.23.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
Requirement already satisfied: setuptools>=3.0 in /opt/app-root/lib/python3.9/site-packages (from gunicorn->-r requirements.txt (line 1)) (53.0.0)
Installing collected packages: numpy, gunicorn
Successfully installed gunicorn-20.1.0 numpy-1.23.1
WARNING: You are using pip version 21.0.1; however, version 22.2.1 is available.
You should consider upgrading via the '/opt/app-root/bin/python3.9 -m pip install --upgrade pip' command.
python: can't open file '/projects/app.py': [Errno 2] No such file or directory
- Forwarding from 127.0.0.1:40373 -> 8080
Your application is now running on the cluster
I0802 12:18:12.053003 13069 watch.go:206] starting WatchAndPush, path: /tmp/2107483947, component: x2107483947, ignores [.git .odo/odo-file-index.json]
I0802 12:18:12.056470 13069 watch.go:192] adding watch on path /tmp/2107483947
I0802 12:18:12.056508 13069 watch.go:192] adding watch on path /tmp/2107483947/.odo
I0802 12:18:12.056521 13069 watch.go:192] adding watch on path /tmp/2107483947/.odo/env
Watching for changes in the current directory /tmp/2107483947
Press Ctrl+c to exit `odo dev` and delete resources from the cluster
======================
Unexpected error:
<*fs.PathError | 0xc00067c0c0>: {
Op: "read",
Path: "|0",
Err: <*poll.DeadlineExceededError | 0x3d0f660>{},
}
read |0: i/o timeout
occurred
In [It] at: /go/odo_1/tests/helper/helper_interactive.go:121
------------------------------
••••••••••••••••
------------------------------
• [SLOW TEST] [127.385 seconds]
odo add binding command tests when the component is bootstrapped when adding a binding (current namespace) when odo dev is run should successfully bind component and service
/go/odo_1/tests/integration/cmd_add_binding_test.go:253
------------------------------
•••••••••
------------------------------
• [FAILED] [188.669 seconds]
odo init interactive command tests
/go/odo_1/tests/integration/interactive_init_test.go:23
[It] should download correct devfile
/go/odo_1/tests/integration/interactive_init_test.go:67
Begin Captured GinkgoWriter Output >>
Created dir: /tmp/4206273911
Created dir: /tmp/3049702305
Setting KUBECONFIG=/tmp/3049702305/config
Current working dir: /go/odo_1/tests/integration
Running odo with args [odo preference remove registry DefaultDevfileRegistry -f]
[odo] I0802 12:18:44.877667 15146 implem.go:106] The path for preference file is /tmp/3049702305/preference.yaml
[odo] Successfully removed registry
[odo] I0802 12:18:44.881233 15146 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo preference add registry DefaultDevfileRegistry http://12659208-eu-de.lb.appdomain.cloud]
[odo] I0802 12:18:46.629664 15189 util.go:767] Cached response used.
[odo] I0802 12:18:46.628767 15189 implem.go:106] The path for preference file is /tmp/3049702305/preference.yaml
[odo] New registry successfully added
[odo] I0802 12:18:46.630919 15189 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Setting current dir to: /tmp/4206273911
running command [odo init] with env []
Setting current dir to: /go/odo_1/tests/integration
Deleting dir: /tmp/4206273911
Deleting dir: /tmp/3049702305
<< End Captured GinkgoWriter Output
error while sending or expecting line: "Enter component name"
=== output of command '["odo" "init"]' read so far ===
I0802 12:18:48.441234 15250 implem.go:106] The path for preference file is /tmp/3049702305/preference.yaml
__
/ \__ Initializing new component
\__/ \ Files: No source code detected, a starter project will be created in the current directory
/ \__/ odo version: v3.0.0-beta2
\__/
Interactive mode enabled, please answer the following questions:
I0802 12:18:48.456565 15250 implem.go:106] The path for preference file is /tmp/3049702305/preference.yaml
I0802 12:18:48.460115 15250 segment.go:257] Checking telemetry enable status
I0802 12:18:48.460717 15250 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
?25lGK? Select language: [Use arrows to move, type to filter]
> dotnet
go
java
javascript
php
python
typescript
go
AGAGAGAGAGAGAGGKAGKAGKAGKAGKAGKAGKAGKAGK? Select language: g [Use arrows to move, type to filter]
> go
AGGKAGKAGK? Select language: go [Use arrows to move, type to filter]
> go
AG?25hGKAGKAGK? Select language: go
?25lGK? Select project type: [Use arrows to move, type to filter]
> Go Runtime
** GO BACK **
AGAG?25hGKAGKAGKAGK? Select project type: Go Runtime
• Downloading devfile "go" from registry "DefaultDevfileRegistry" ...
I0802 12:18:48.535474 15250 implem.go:106] The path for preference file is /tmp/3049702305/preference.yaml
I0802 12:18:48.542412 15250 segment.go:257] Checking telemetry enable status
I0802 12:18:48.543396 15250 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
✓ Downloading devfile "go" from registry "DefaultDevfileRegistry" [77ms]
I0802 12:18:48.611252 15250 context.go:141] absolute devfile path: '/tmp/4206273911/devfile.yaml'
I0802 12:18:48.611507 15250 context.go:92] absolute devfile path: '/tmp/4206273911/devfile.yaml'
I0802 12:18:48.613887 15250 content.go:33] converted devfile YAML to JSON
I0802 12:18:48.633361 15250 apiVersion.go:45] devfile schemaVersion: '2.1.0'
I0802 12:18:48.634155 15250 helper.go:41] devfile apiVersion '2.1.0' is supported
I0802 12:18:48.688794 15250 schema.go:46] validated devfile schema
?25lGK? Which starter project do you want to use? [Use arrows to move, type to filter]
> go-starter
** NO STARTER PROJECT **
AGAG?25hGKAGKAGKAGK? Which starter project do you want to use? go-starter
I0802 12:18:51.173387 15250 alizer.go:117] Path: /tmp/4206273911/devfile.yaml, Detected name: 4206273911, Sanitized name: x4206273911
• Downloading starter project "go-starter" ...
✓ Downloading starter project "go-starter" [1s]
I0802 12:18:52.248969 15250 writer.go:30] devfile yaml created at: 'devfile.yaml'
Your new component 'x4206273911' is ready in the current directory.
To start editing your component, use 'odo dev' and open this folder in your favorite IDE.
Changes will be directly reflected on the cluster.
I0802 12:18:52.250014 15250 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
======================
Unexpected error:
<*fs.PathError | 0xc000710090>: {
Op: "read",
Path: "|0",
Err: <*poll.DeadlineExceededError | 0x3d0f660>{},
}
read |0: i/o timeout
occurred
In [It] at: /go/odo_1/tests/helper/helper_interactive.go:121
------------------------------
•••••••••••
------------------------------
• [FAILED] [192.148 seconds]
odo init interactive command tests
/go/odo_1/tests/integration/interactive_init_test.go:23
[It] should start downloading starter project only after all interactive questions have been asked
/go/odo_1/tests/integration/interactive_init_test.go:256
Begin Captured GinkgoWriter Output >>
Created dir: /tmp/3345232456
Created dir: /tmp/3245913454
Setting KUBECONFIG=/tmp/3245913454/config
Current working dir: /go/odo_1/tests/integration
Running odo with args [odo preference remove registry DefaultDevfileRegistry -f]
[odo] I0802 12:18:57.778699 15633 implem.go:106] The path for preference file is /tmp/3245913454/preference.yaml
[odo] I0802 12:18:57.779658 15633 util.go:733] HTTPGetRequest: https://raw.githubusercontent.com/redhat-developer/odo/main/build/VERSION
[odo] Successfully removed registry
[odo] I0802 12:18:57.781089 15633 util.go:754] Response will be cached in /tmp/odohttpcache for 1h0m0s
[odo] I0802 12:18:57.781930 15633 util.go:767] Cached response used.
[odo] I0802 12:18:57.782056 15633 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo preference add registry DefaultDevfileRegistry http://12659208-eu-de.lb.appdomain.cloud]
[odo] I0802 12:18:59.349514 15727 implem.go:106] The path for preference file is /tmp/3245913454/preference.yaml
[odo] New registry successfully added
[odo] I0802 12:18:59.355844 15727 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Setting current dir to: /tmp/3345232456
running command [odo init] with env []
Setting current dir to: /go/odo_1/tests/integration
Deleting dir: /tmp/3345232456
Deleting dir: /tmp/3245913454
<< End Captured GinkgoWriter Output
error while sending or expecting line: "Enter component name"
=== output of command '["odo" "init"]' read so far ===
I0802 12:19:01.575562 15797 util.go:767] Cached response used.
I0802 12:19:01.575214 15797 implem.go:106] The path for preference file is /tmp/3245913454/preference.yaml
__
/ \__ Initializing new component
\__/ \ Files: No source code detected, a starter project will be created in the current directory
/ \__/ odo version: v3.0.0-beta2
\__/
Interactive mode enabled, please answer the following questions:
I0802 12:19:01.579113 15797 implem.go:106] The path for preference file is /tmp/3245913454/preference.yaml
I0802 12:19:01.580336 15797 segment.go:257] Checking telemetry enable status
I0802 12:19:01.583172 15797 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
?25lGK? Select language: [Use arrows to move, type to filter]
> dotnet
go
java
javascript
php
python
typescript
dotnet
AGAGAGAGAGAGAGGKAGKAGKAGKAGKAGKAGKAGKAGK? Select language: d [Use arrows to move, type to filter]
> dotnet
AGGKAGKAGK? Select language: do [Use arrows to move, type to filter]
> dotnet
AGGKAGKAGK? Select language: dot [Use arrows to move, type to filter]
> dotnet
AGGKAGKAGK? Select language: dotn [Use arrows to move, type to filter]
> dotnet
AGGKAGKAGK? Select language: dotne [Use arrows to move, type to filter]
> dotnet
AGGKAGKAGK? Select language: dotnet [Use arrows to move, type to filter]
> dotnet
AG?25hGKAGKAGK? Select language: dotnet
?25lGK? Select project type: [Use arrows to move, type to filter]
> .NET 5.0
.NET 6.0
.NET Core 3.1
** GO BACK **
AGAGAGAG?25hGKAGKAGKAGKAGKAGK? Select project type: .NET 5.0
• Downloading devfile "dotnet50" from registry "DefaultDevfileRegistry" ...
I0802 12:19:01.770237 15797 implem.go:106] The path for preference file is /tmp/3245913454/preference.yaml
I0802 12:19:01.785474 15797 segment.go:257] Checking telemetry enable status
I0802 12:19:01.785835 15797 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
✓ Downloading devfile "dotnet50" from registry "DefaultDevfileRegistry" [1s]
I0802 12:19:03.058918 15797 context.go:141] absolute devfile path: '/tmp/3345232456/devfile.yaml'
I0802 12:19:03.059648 15797 context.go:92] absolute devfile path: '/tmp/3345232456/devfile.yaml'
I0802 12:19:03.060588 15797 content.go:33] converted devfile YAML to JSON
I0802 12:19:03.060942 15797 apiVersion.go:45] devfile schemaVersion: '2.1.0'
I0802 12:19:03.060964 15797 helper.go:41] devfile apiVersion '2.1.0' is supported
I0802 12:19:03.064971 15797 schema.go:46] validated devfile schema
?25lGK? Which starter project do you want to use? [Use arrows to move, type to filter]
> s2i-example
** NO STARTER PROJECT **
AGAG?25hGKAGKAGKAGK? Which starter project do you want to use? s2i-example
I0802 12:19:04.895729 15797 alizer.go:117] Path: /tmp/3345232456/devfile.yaml, Detected name: 3345232456, Sanitized name: x3345232456
• Downloading starter project "s2i-example" ...
✓ Downloading starter project "s2i-example" [3s]
I0802 12:19:08.266427 15797 context.go:141] absolute devfile path: '/tmp/3345232456/devfile.yaml'
I0802 12:19:08.266459 15797 context.go:92] absolute devfile path: '/tmp/3345232456/devfile.yaml'
I0802 12:19:08.268737 15797 content.go:33] converted devfile YAML to JSON
I0802 12:19:08.268819 15797 apiVersion.go:45] devfile schemaVersion: '2.1.0'
I0802 12:19:08.268831 15797 helper.go:41] devfile apiVersion '2.1.0' is supported
I0802 12:19:08.272471 15797 schema.go:46] validated devfile schema
I0802 12:19:08.278031 15797 writer.go:30] devfile yaml created at: 'devfile.yaml'
Your new component 'x3345232456' is ready in the current directory.
To start editing your component, use 'odo dev' and open this folder in your favorite IDE.
Changes will be directly reflected on the cluster.
I0802 12:19:08.281489 15797 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
======================
Unexpected error:
<*fs.PathError | 0xc0006d0000>: {
Op: "read",
Path: "|0",
Err: <*poll.DeadlineExceededError | 0x3d0f660>{},
}
read |0: i/o timeout
occurred
In [It] at: /go/odo_1/tests/helper/helper_interactive.go:121
------------------------------
•••
------------------------------
• [FAILED] [190.825 seconds]
odo init interactive command tests
/go/odo_1/tests/integration/interactive_init_test.go:23
displaying welcoming messages
/go/odo_1/tests/integration/interactive_init_test.go:93
when directory is empty
/go/odo_1/tests/integration/interactive_init_test.go:146
[It] should display appropriate welcoming messages
/go/odo_1/tests/integration/interactive_init_test.go:152
Begin Captured GinkgoWriter Output >>
Created dir: /tmp/3713875895
Created dir: /tmp/1397055127
Setting KUBECONFIG=/tmp/1397055127/config
Current working dir: /go/odo_1/tests/integration
Running odo with args [odo preference remove registry DefaultDevfileRegistry -f]
[odo] I0802 12:19:00.637617 15775 implem.go:106] The path for preference file is /tmp/1397055127/preference.yaml
[odo] Successfully removed registry
[odo] I0802 12:19:00.664578 15775 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo preference add registry DefaultDevfileRegistry http://12659208-eu-de.lb.appdomain.cloud]
[odo] I0802 12:19:03.152437 15860 implem.go:106] The path for preference file is /tmp/1397055127/preference.yaml
[odo] New registry successfully added
[odo] I0802 12:19:03.175782 15860 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Setting current dir to: /tmp/3713875895
running command [odo init] with env [ODO_LOG_LEVEL=0]
Setting current dir to: /go/odo_1/tests/integration
Deleting dir: /tmp/3713875895
Deleting dir: /tmp/1397055127
<< End Captured GinkgoWriter Output
error while sending or expecting line: "Enter component name"
=== output of command '["odo" "init"]' read so far ===
__
/ \__ Initializing new component
\__/ \ Files: No source code detected, a starter project will be created in the current directory
/ \__/ odo version: v3.0.0-beta2
\__/
Interactive mode enabled, please answer the following questions:
?25lGK? Select language: [Use arrows to move, type to filter]
> dotnet
go
java
javascript
php
python
typescript
java
AGAGAGAGAGAGAGGKAGKAGKAGKAGKAGKAGKAGKAGK? Select language: j [Use arrows to move, type to filter]
> java
javascript
AGAGGKAGKAGKAGK? Select language: ja [Use arrows to move, type to filter]
> java
javascript
AGAGGKAGKAGKAGK? Select language: jav [Use arrows to move, type to filter]
> java
javascript
AGAGGKAGKAGKAGK? Select language: java [Use arrows to move, type to filter]
> java
javascript
AGAG?25hGKAGKAGKAGK? Select language: java
?25lGK? Select project type: [Use arrows to move, type to filter]
> Maven Java
Open Liberty Gradle
Open Liberty Maven
Quarkus Java
Spring Boot®
Vert.x Java
WebSphere Liberty Gradle
AGAGAGAGAGAGAG?25hGKAGKAGKAGKAGKAGKAGKAGKAGK? Select project type: Maven Java
◐ Downloading devfile "java-maven" from registry "DefaultDevfileRegistry"
◓ Downloading devfile "java-maven" from registry "DefaultDevfileRegistry"
◑ Downloading devfile "java-maven" from registry "DefaultDevfileRegistry"
◒ Downloading devfile "java-maven" from registry "DefaultDevfileRegistry"
◐ Downloading devfile "java-maven" from registry "DefaultDevfileRegistry"
◓ Downloading devfile "java-maven" from registry "DefaultDevfileRegistry"
◑ Downloading devfile "java-maven" from registry "DefaultDevfileRegistry"
✓ Downloading devfile "java-maven" from registry "DefaultDevfileRegistry" [1s]
?25lGK? Which starter project do you want to use? [Use arrows to move, type to filter]
> springbootproject
** NO STARTER PROJECT **
AGAG?25hGKAGKAGKAGK? Which starter project do you want to use? springbootproject
◐ Downloading starter project "springbootproject"
◓ Downloading starter project "springbootproject"
◑ Downloading starter project "springbootproject"
◒ Downloading starter project "springbootproject"
◐ Downloading starter project "springbootproject"
✓ Downloading starter project "springbootproject" [1s]
Your new component 'x3713875895' is ready in the current directory.
To start editing your component, use 'odo dev' and open this folder in your favorite IDE.
Changes will be directly reflected on the cluster.
======================
Unexpected error:
<*fs.PathError | 0xc00003a000>: {
Op: "read",
Path: "|0",
Err: <*poll.DeadlineExceededError | 0x3d0f660>{},
}
read |0: i/o timeout
occurred
In [It] at: /go/odo_1/tests/helper/helper_interactive.go:121
------------------------------
•••
------------------------------
• [SLOW TEST] [142.433 seconds]
odo dev command tests when java-springboot application is created and running odo dev when Update the devfile.yaml when compare the local and remote files localFiles and remoteFiles should match
/go/odo_1/tests/integration/cmd_dev_test.go:1749
------------------------------
•••••••••••••••••
------------------------------
• [FAILED] [197.750 seconds]
odo deploy interactive command tests
/go/odo_1/tests/integration/interactive_deploy_test.go:16
when directory is not empty
/go/odo_1/tests/integration/interactive_deploy_test.go:32
[It] should run alizer to download devfile successfully even with -v flag
/go/odo_1/tests/integration/interactive_deploy_test.go:41
Begin Captured GinkgoWriter Output >>
Created dir: /tmp/1651168330
Created dir: /tmp/2741200326
Setting KUBECONFIG=/tmp/2741200326/config
Creating a new project: interactive-deploy-test41mtf
Running kubectl with args [kubectl create namespace interactive-deploy-test41mtf]
[kubectl] namespace/interactive-deploy-test41mtf created
Running kubectl with args [kubectl config set-context --current --namespace interactive-deploy-test41mtf]
[kubectl] Context "odo-test-kubernetes-cluster/c8giauof0f337j4pe5u0/admin" modified.
Running kubectl with args [kubectl get namespaces]
[kubectl] NAME STATUS AGE
[kubectl] cbjruchjiht2pf0tc4t0 Active 23h
[kubectl] cmd-add-binding-test145qaw Terminating 59s
[kubectl] cmd-add-binding-test253lpe Active 4s
[kubectl] cmd-add-binding-test264pgk Active 105s
[kubectl] cmd-add-binding-test264xiy Active 2m40s
[kubectl] cmd-delete-test130srw Active 47s
[kubectl] cmd-delete-test143wjx Terminating 45s
[kubectl] cmd-describe-list-binding-test535iyd Active 92s
[kubectl] cmd-describe-list-binding-test535kru Active 2m
[kubectl] cmd-describe-list-binding-test535lbp Active 2m38s
[kubectl] cmd-describe-list-binding-test535mhn Terminating 2m6s
[kubectl] cmd-describe-list-binding-test535nih Active 14s
[kubectl] cmd-describe-list-binding-test535vls Active 28s
[kubectl] cmd-describe-list-binding-test564dnw Active 47s
[kubectl] cmd-describe-list-binding-test564gfw Active 2m
[kubectl] cmd-describe-list-binding-test564gim Active 2m30s
[kubectl] cmd-describe-list-binding-test564jnu Active 119s
[kubectl] cmd-describe-list-binding-test564kvq Active 93s
[kubectl] cmd-describe-list-binding-test564wzo Terminating 2m28s
[kubectl] cmd-dev-test1164hku Active 3s
[kubectl] cmd-dev-test1264qqd Active 47s
[kubectl] cmd-dev-test1439niw Active 2s
[kubectl] cmd-dev-test1618ook Active 11s
[kubectl] cmd-dev-test1698nxf Active 40s
[kubectl] cmd-dev-test1796chj Active 47s
[kubectl] cmd-dev-test220bsi Active 2m34s
[kubectl] cmd-dev-test220hqt Active 60s
[kubectl] cmd-dev-test344nxi Active 12s
[kubectl] cmd-dev-test409rfu Terminating 79s
[kubectl] cmd-dev-test599wts Active 45s
[kubectl] cmd-dev-test748dvs Active 100s
[kubectl] cmd-devfile-build-images-test155dxo Active 4s
[kubectl] cmd-devfile-build-images-test220oqg Terminating 15s
[kubectl] cmd-devfile-deploy-test147ist Active 53s
[kubectl] cmd-devfile-list-test163gkl Active 70s
[kubectl] cmd-logs-test212szk Terminating 81s
[kubectl] default Active 151d
[kubectl] devfile-proxy Active 27d
[kubectl] ibm-cert-store Active 151d
[kubectl] ibm-operators Active 151d
[kubectl] ibm-system Active 151d
[kubectl] interactive-add-binding-test575cfk Active 28s
[kubectl] interactive-add-binding-test575tbl Active 12s
[kubectl] interactive-deploy-test41mtf Active 5s
[kubectl] interactive-dev-test103abe Active 2m25s
[kubectl] interactive-dev-test41ofw Active 2m2s
[kubectl] kube-node-lease Active 151d
[kubectl] kube-public Active 151d
[kubectl] kube-system Active 151d
[kubectl] olm Active 41d
[kubectl] operators Active 41d
[kubectl] test Active 7d4h
Running kubectl with args [kubectl create configmap config-map-for-cleanup --from-literal type=testing --from-literal team=odo -n interactive-deploy-test41mtf]
[kubectl] configmap/config-map-for-cleanup created
Current working dir: /go/odo_1/tests/integration
Running odo with args [odo preference remove registry DefaultDevfileRegistry -f]
[odo] I0802 12:19:42.740372 17586 implem.go:106] The path for preference file is /tmp/2741200326/preference.yaml
[odo] Successfully removed registry
[odo] I0802 12:19:42.759914 17586 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo preference add registry DefaultDevfileRegistry http://12659208-eu-de.lb.appdomain.cloud]
[odo] I0802 12:19:44.571286 17661 implem.go:106] The path for preference file is /tmp/2741200326/preference.yaml
[odo] New registry successfully added
[odo] I0802 12:19:44.590094 17661 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Setting current dir to: /tmp/1651168330
running command [odo deploy -v 4] with env []
Deleting project: interactive-deploy-test41mtf
Running kubectl with args [kubectl delete namespaces interactive-deploy-test41mtf --wait=false]
[kubectl] namespace "interactive-deploy-test41mtf" deleted
Setting current dir to: /go/odo_1/tests/integration
Deleting dir: /tmp/1651168330
Deleting dir: /tmp/2741200326
<< End Captured GinkgoWriter Output
error while sending or expecting line: "Enter component name"
=== output of command '["odo" "deploy" "-v" "4"]' read so far ===
I0802 12:19:46.247929 17734 util.go:754] Response will be cached in /tmp/odohttpcache for 1h0m0s
I0802 12:19:46.249846 17734 util.go:767] Cached response used.
I0802 12:19:46.250677 17734 implem.go:106] The path for preference file is /tmp/2741200326/preference.yaml
I0802 12:19:46.256372 17734 segment.go:257] Checking telemetry enable status
I0802 12:19:46.256430 17734 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
I0802 12:19:46.323291 17734 implem.go:106] The path for preference file is /tmp/2741200326/preference.yaml
The current directory already contains source code. odo will try to autodetect the language and project type in order to select the best suited Devfile for your project.
I0802 12:19:46.328682 17734 implem.go:106] The path for preference file is /tmp/2741200326/preference.yaml
I0802 12:19:46.330114 17734 segment.go:257] Checking telemetry enable status
I0802 12:19:46.330238 17734 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
Based on the files in the current directory odo detected
Language: python
Project type: python
The devfile "python" from the registry "DefaultDevfileRegistry" will be downloaded.
GK? Is this correct? (Y/n)
?25l;999fn?25hn
BGAGGK? Is this correct? Yes
• Downloading devfile "python" from registry "DefaultDevfileRegistry" ...
I0802 12:19:47.082190 17734 implem.go:106] The path for preference file is /tmp/2741200326/preference.yaml
I0802 12:19:47.083329 17734 segment.go:257] Checking telemetry enable status
I0802 12:19:47.083486 17734 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
✓ Downloading devfile "python" from registry "DefaultDevfileRegistry" [92ms]
I0802 12:19:47.177516 17734 context.go:141] absolute devfile path: '/tmp/1651168330/devfile.yaml'
I0802 12:19:47.177574 17734 context.go:92] absolute devfile path: '/tmp/1651168330/devfile.yaml'
I0802 12:19:47.180188 17734 content.go:33] converted devfile YAML to JSON
I0802 12:19:47.181648 17734 apiVersion.go:45] devfile schemaVersion: '2.1.0'
I0802 12:19:47.182291 17734 helper.go:41] devfile apiVersion '2.1.0' is supported
I0802 12:19:47.241909 17734 schema.go:46] validated devfile schema
↪ Container Configuration "py-web":
OPEN PORTS:
- 8080
ENVIRONMENT VARIABLES:
- DEBUG_PORT = 5858
?25lGK? Select container for which you want to change configuration? [Use arrows to move, type to filter]
py-web
> NONE - configuration is correct
AG?25hGKAGKAGKAGK? Select container for which you want to change configuration? NONE - configuration is correct
I0802 12:19:47.294508 17734 alizer.go:117] Path: /tmp/1651168330/devfile.yaml, Detected name: 1651168330, Sanitized name: x1651168330
I0802 12:19:47.296011 17734 writer.go:30] devfile yaml created at: 'devfile.yaml'
I0802 12:19:47.502625 17734 context.go:141] absolute devfile path: '/tmp/1651168330/devfile.yaml'
I0802 12:19:47.502858 17734 context.go:92] absolute devfile path: '/tmp/1651168330/devfile.yaml'
I0802 12:19:47.503532 17734 content.go:33] converted devfile YAML to JSON
I0802 12:19:47.503645 17734 apiVersion.go:45] devfile schemaVersion: '2.1.0'
I0802 12:19:47.503792 17734 helper.go:41] devfile apiVersion '2.1.0' is supported
I0802 12:19:47.506684 17734 schema.go:46] validated devfile schema
I0802 12:19:47.507347 17734 validate.go:45] Successfully validated devfile sections
I0802 12:19:47.507388 17734 validate.go:45] Successfully validated devfile sections
__
/ \__ Deploying the application using x1651168330 Devfile
\__/ \ Namespace: interactive-deploy-test41mtf
/ \__/ odo version: v3.0.0-beta2
\__/
✗ no default deploy command found in devfile
======================
Unexpected error:
<*fs.PathError | 0xc00073c060>: {
Op: "read",
Path: "|0",
Err: <*poll.DeadlineExceededError | 0x3d0f660>{},
}
read |0: i/o timeout
occurred
In [It] at: /go/odo_1/tests/helper/helper_interactive.go:121
------------------------------
••••••••••••••••••••••
------------------------------
• [FAILED] [194.865 seconds]
odo deploy interactive command tests
/go/odo_1/tests/integration/interactive_deploy_test.go:16
when directory is not empty
/go/odo_1/tests/integration/interactive_deploy_test.go:32
[It] should display welcoming messages first
/go/odo_1/tests/integration/interactive_deploy_test.go:105
Begin Captured GinkgoWriter Output >>
Created dir: /tmp/2329065289
Created dir: /tmp/2529637407
Setting KUBECONFIG=/tmp/2529637407/config
Creating a new project: interactive-deploy-test105ndc
Running kubectl with args [kubectl create namespace interactive-deploy-test105ndc]
[kubectl] namespace/interactive-deploy-test105ndc created
Running kubectl with args [kubectl config set-context --current --namespace interactive-deploy-test105ndc]
[kubectl] Context "odo-test-kubernetes-cluster/c8giauof0f337j4pe5u0/admin" modified.
Running kubectl with args [kubectl get namespaces]
[kubectl] NAME STATUS AGE
[kubectl] cbjruchjiht2pf0tc4t0 Active 23h
[kubectl] cmd-add-binding-test253lpe Active 41s
[kubectl] cmd-add-binding-test264pgk Terminating 2m22s
[kubectl] cmd-add-binding-test264xiy Terminating 3m17s
[kubectl] cmd-describe-component-test100rju Active 5s
[kubectl] cmd-describe-list-binding-test535kru Terminating 2m37s
[kubectl] cmd-describe-list-binding-test535lbp Terminating 3m15s
[kubectl] cmd-describe-list-binding-test535nih Active 51s
[kubectl] cmd-describe-list-binding-test535vls Active 65s
[kubectl] cmd-describe-list-binding-test564dnw Active 84s
[kubectl] cmd-describe-list-binding-test564gim Terminating 3m7s
[kubectl] cmd-describe-list-binding-test564hod Active 8s
[kubectl] cmd-describe-list-binding-test564jnu Terminating 2m36s
[kubectl] cmd-dev-test1164hku Active 40s
[kubectl] cmd-dev-test1264qqd Active 84s
[kubectl] cmd-dev-test1325pag Active 33s
[kubectl] cmd-dev-test1439niw Active 39s
[kubectl] cmd-dev-test1473bod Active 18s
[kubectl] cmd-dev-test1618ook Active 48s
[kubectl] cmd-dev-test1644noi Active 7s
[kubectl] cmd-dev-test1698nxf Active 77s
[kubectl] cmd-dev-test1749acg Active 16s
[kubectl] cmd-dev-test1796chj Terminating 84s
[kubectl] cmd-dev-test1835tmd Active 19s
[kubectl] cmd-dev-test344nxi Active 49s
[kubectl] cmd-dev-test375ffo Active 14s
[kubectl] cmd-dev-test731upz Active 9s
[kubectl] cmd-dev-test959uja Active 34s
[kubectl] cmd-devfile-list-test163gkl Active 107s
[kubectl] cmd-namespace-test157loq Active 16s
[kubectl] default Active 151d
[kubectl] devfile-proxy Active 27d
[kubectl] generic-test34cvi Terminating 14s
[kubectl] ibm-cert-store Active 151d
[kubectl] ibm-operators Active 151d
[kubectl] ibm-system Active 151d
[kubectl] interactive-add-binding-test378aci Active 30s
[kubectl] interactive-deploy-test105ndc Active 4s
[kubectl] interactive-deploy-test41mtf Active 42s
[kubectl] interactive-dev-test103abe Active 3m2s
[kubectl] interactive-dev-test41ofw Active 2m39s
[kubectl] kube-node-lease Active 151d
[kubectl] kube-public Active 151d
[kubectl] kube-system Active 151d
[kubectl] olm Active 41d
[kubectl] operators Active 41d
[kubectl] test Active 7d4h
Running kubectl with args [kubectl create configmap config-map-for-cleanup --from-literal type=testing --from-literal team=odo -n interactive-deploy-test105ndc]
[kubectl] configmap/config-map-for-cleanup created
Current working dir: /go/odo_1/tests/integration
Running odo with args [odo preference remove registry DefaultDevfileRegistry -f]
[odo] I0802 12:20:19.112143 19174 util.go:767] Cached response used.
[odo] I0802 12:20:19.112259 19174 implem.go:106] The path for preference file is /tmp/2529637407/preference.yaml
[odo] Successfully removed registry
[odo] I0802 12:20:19.113669 19174 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo preference add registry DefaultDevfileRegistry http://12659208-eu-de.lb.appdomain.cloud]
[odo] I0802 12:20:20.350620 19217 implem.go:106] The path for preference file is /tmp/2529637407/preference.yaml
[odo] I0802 12:20:20.361563 19217 util.go:767] Cached response used.
[odo] New registry successfully added
[odo] I0802 12:20:20.363239 19217 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Setting current dir to: /tmp/2329065289
running command [odo deploy] with env [ODO_LOG_LEVEL=0]
Deleting project: interactive-deploy-test105ndc
Running kubectl with args [kubectl delete namespaces interactive-deploy-test105ndc --wait=false]
[kubectl] namespace "interactive-deploy-test105ndc" deleted
Setting current dir to: /go/odo_1/tests/integration
Deleting dir: /tmp/2329065289
Deleting dir: /tmp/2529637407
<< End Captured GinkgoWriter Output
error while sending or expecting line: "Enter component name"
=== output of command '["odo" "deploy"]' read so far ===
The current directory already contains source code. odo will try to autodetect the language and project type in order to select the best suited Devfile for your project.
Based on the files in the current directory odo detected
Language: python
Project type: python
The devfile "python" from the registry "DefaultDevfileRegistry" will be downloaded.
GK? Is this correct? (Y/n)
?25l;999fn?25hnBGAGGK? Is this correct? Yes
✓ Downloading devfile "python" from registry "DefaultDevfileRegistry" [69ms]
↪ Container Configuration "py-web":
OPEN PORTS:
- 8080
ENVIRONMENT VARIABLES:
- DEBUG_PORT = 5858
?25lGK? Select container for which you want to change configuration? [Use arrows to move, type to filter]
py-web
> NONE - configuration is correct
AG?25hGKAGKAGKAGK? Select container for which you want to change configuration? NONE - configuration is correct
__
/ \__ Deploying the application using x2329065289 Devfile
\__/ \ Namespace: interactive-deploy-test105ndc
/ \__/ odo version: v3.0.0-beta2
\__/
✗ no default deploy command found in devfile
======================
Unexpected error:
<*fs.PathError | 0xc00075c000>: {
Op: "read",
Path: "|0",
Err: <*poll.DeadlineExceededError | 0x3d0f660>{},
}
read |0: i/o timeout
occurred
In [It] at: /go/odo_1/tests/helper/helper_interactive.go:121
------------------------------
•••
------------------------------
S [SKIPPED] [7.101 seconds]
odo dev command tests
/go/odo_1/tests/integration/cmd_dev_test.go:27
when Starting a PostgreSQL service [BeforeEach]
/go/odo_1/tests/integration/cmd_dev_test.go:758
when creating local files and dir and running odo dev
/go/odo_1/tests/integration/cmd_dev_test.go:773
when deleting local files and dir and waiting for sync
/go/odo_1/tests/integration/cmd_dev_test.go:807
should not list deleted dir and file in container
/go/odo_1/tests/integration/cmd_dev_test.go:815
Begin Captured GinkgoWriter Output >>
Created dir: /tmp/127047126
Created dir: /tmp/2443489195
Setting KUBECONFIG=/tmp/2443489195/config
Creating a new project: cmd-dev-test815zza
Running kubectl with args [kubectl create namespace cmd-dev-test815zza]
[kubectl] namespace/cmd-dev-test815zza created
Running kubectl with args [kubectl config set-context --current --namespace cmd-dev-test815zza]
[kubectl] Context "odo-test-kubernetes-cluster/c8giauof0f337j4pe5u0/admin" modified.
Running kubectl with args [kubectl get namespaces]
[kubectl] NAME STATUS AGE
[kubectl] cbjruchjiht2pf0tc4t0 Active 23h
[kubectl] cmd-add-binding-test253yyo Active 17s
[kubectl] cmd-add-binding-test264wjz Active 119s
[kubectl] cmd-delete-test114iht Active 69s
[kubectl] cmd-delete-test143iny Active 100s
[kubectl] cmd-delete-test164eka Active 16s
[kubectl] cmd-delete-test164xek Active 2m11s
[kubectl] cmd-delete-test266dqa Active 39s
[kubectl] cmd-delete-test266upp Terminating 109s
[kubectl] cmd-describe-component-test147tiw Terminating 12s
[kubectl] cmd-describe-list-binding-test535cbc Active 38s
[kubectl] cmd-describe-list-binding-test564dic Active 80s
[kubectl] cmd-describe-list-binding-test564dxt Terminating 2m1s
[kubectl] cmd-describe-list-binding-test564tkb Active 61s
[kubectl] cmd-dev-debug-test147mde Active 2m13s
[kubectl] cmd-dev-debug-test51mtt Active 44s
[kubectl] cmd-dev-debug-test78lsd Active 66s
[kubectl] cmd-dev-test1136jmd Active 14s
[kubectl] cmd-dev-test1569run Active 82s
[kubectl] cmd-dev-test179prq Active 2m13s
[kubectl] cmd-dev-test1853rcf Active 84s
[kubectl] cmd-dev-test1904ezz Terminating 2m4s
[kubectl] cmd-dev-test430kwi Active 21s
[kubectl] cmd-dev-test622jiv Active 25s
[kubectl] cmd-dev-test662bxa Active 73s
[kubectl] cmd-dev-test70hln Active 10s
[kubectl] cmd-dev-test815zza Active 1s
[kubectl] cmd-dev-test85ejd Active 106s
[kubectl] cmd-devfile-deploy-test147dtp Active 0s
[kubectl] cmd-devfile-deploy-test225fbm Terminating 45s
[kubectl] cmd-devfile-deploy-test225jif Terminating 2m3s
[kubectl] cmd-logs-test86pmf Active 109s
[kubectl] cmd-namespace-test157hjp Active 12s
[kubectl] cmd-namespace-test83icl Terminating 3s
[kubectl] cmd-namespace-test83uqs Active 10s
[kubectl] default Active 151d
[kubectl] devfile-proxy Active 27d
[kubectl] ibm-cert-store Active 151d
[kubectl] ibm-operators Active 151d
[kubectl] ibm-system Active 151d
[kubectl] interactive-add-binding-test257rii Active 9s
[kubectl] interactive-add-binding-test257wua Active 28s
[kubectl] interactive-add-binding-test257zcy Active 2s
[kubectl] interactive-add-binding-test589mbv Active 41s
[kubectl] interactive-add-binding-test589tfm Active 21s
[kubectl] interactive-add-binding-test589yxa Terminating 12s
[kubectl] interactive-deploy-test73ewb Active 91s
[kubectl] interactive-dev-test72bjx Active 79s
[kubectl] kube-node-lease Active 151d
[kubectl] kube-public Active 151d
[kubectl] kube-system Active 151d
[kubectl] olm Active 41d
[kubectl] operators Active 41d
[kubectl] test Active 7d4h
Running kubectl with args [kubectl create configmap config-map-for-cleanup --from-literal type=testing --from-literal team=odo -n cmd-dev-test815zza]
[kubectl] configmap/config-map-for-cleanup created
Current working dir: /go/odo_1/tests/integration
Running odo with args [odo preference remove registry DefaultDevfileRegistry -f]
[odo] I0802 12:23:33.930974 28030 implem.go:106] The path for preference file is /tmp/2443489195/preference.yaml
[odo] Successfully removed registry
[odo] I0802 12:23:33.933861 28030 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo preference add registry DefaultDevfileRegistry http://12659208-eu-de.lb.appdomain.cloud]
[odo] I0802 12:23:34.631732 28067 implem.go:106] The path for preference file is /tmp/2443489195/preference.yaml
[odo] I0802 12:23:34.632592 28067 util.go:767] Cached response used.
[odo] I0802 12:23:34.633698 28067 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
[odo] New registry successfully added
Setting current dir to: /tmp/127047126
Deleting project: cmd-dev-test815zza
Running kubectl with args [kubectl delete namespaces cmd-dev-test815zza --wait=false]
[kubectl] namespace "cmd-dev-test815zza" deleted
Setting current dir to: /go/odo_1/tests/integration
Deleting dir: /tmp/127047126
Deleting dir: /tmp/2443489195
<< End Captured GinkgoWriter Output
Operators have not been setup on Kubernetes cluster yet. Remove this once the issue has been fixed.
In [BeforeEach] at: /go/odo_1/tests/integration/cmd_dev_test.go:760
------------------------------
••••••••••
------------------------------
• [SLOW TEST] [155.071 seconds]
odo delete command tests when a component is bootstrapped when the component is deployed in DEV mode and dev mode stopped when the component is deleted while having access to the devfile.yaml when odo delete command is run again with nothing deployed on the cluster should output that there are no resources to be deleted
/go/odo_1/tests/integration/cmd_delete_test.go:164
------------------------------
••••
------------------------------
• [SLOW TEST] [151.420 seconds]
odo add binding command tests when the component is bootstrapped when adding a binding (current namespace) when odo dev is run when odo dev command is stopped should have successfully delete the binding
/go/odo_1/tests/integration/cmd_add_binding_test.go:264
------------------------------
••••
------------------------------
• [SLOW TEST] [138.994 seconds]
odo delete command tests when a component is bootstrapped using a devfile.yaml with URI-referenced Kubernetes components when the component is deployed in DEV mode and dev mode stopped when the component is deleted while having access to the devfile.yaml should have deleted the component
/go/odo_1/tests/integration/cmd_delete_test.go:143
------------------------------
•••••••••••••
------------------------------
• [SLOW TEST] [125.347 seconds]
odo dev debug command tests when a composite command is used as debug command should run successfully
/go/odo_1/tests/integration/cmd_dev_debug_test.go:78
------------------------------
••••
------------------------------
• [SLOW TEST] [176.211 seconds]
odo dev command tests when a component is bootstrapped and pushed ensure that index information is updated
/go/odo_1/tests/integration/cmd_dev_test.go:85
------------------------------
•••
------------------------------
• [FAILED] [188.366 seconds]
odo init interactive command tests
/go/odo_1/tests/integration/interactive_init_test.go:23
[It] should not fail when using -v flag
/go/odo_1/tests/integration/interactive_init_test.go:43
Begin Captured GinkgoWriter Output >>
Created dir: /tmp/3441147486
Created dir: /tmp/917596556
Setting KUBECONFIG=/tmp/917596556/config
Current working dir: /go/odo_1/tests/integration
Running odo with args [odo preference remove registry DefaultDevfileRegistry -f]
[odo] I0802 12:22:00.886697 23594 implem.go:106] The path for preference file is /tmp/917596556/preference.yaml
[odo] Successfully removed registry
[odo] I0802 12:22:00.888114 23594 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo preference add registry DefaultDevfileRegistry http://12659208-eu-de.lb.appdomain.cloud]
[odo] I0802 12:22:02.203660 23695 implem.go:106] The path for preference file is /tmp/917596556/preference.yaml
[odo] I0802 12:22:02.212463 23695 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
[odo] New registry successfully added
Setting current dir to: /tmp/3441147486
running command [odo init -v 4] with env []
Setting current dir to: /go/odo_1/tests/integration
Deleting dir: /tmp/3441147486
Deleting dir: /tmp/917596556
<< End Captured GinkgoWriter Output
error while sending or expecting line: "Enter component name"
=== output of command '["odo" "init" "-v" "4"]' read so far ===
I0802 12:22:04.348008 23760 util.go:733] HTTPGetRequest: https://raw.githubusercontent.com/redhat-developer/odo/main/build/VERSION
I0802 12:22:04.348903 23760 util.go:754] Response will be cached in /tmp/odohttpcache for 1h0m0s
I0802 12:22:04.349403 23760 util.go:767] Cached response used.
I0802 12:22:04.355796 23760 implem.go:106] The path for preference file is /tmp/917596556/preference.yaml
I0802 12:22:04.366061 23760 segment.go:257] Checking telemetry enable status
I0802 12:22:04.366691 23760 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
I0802 12:22:04.367397 23760 implem.go:106] The path for preference file is /tmp/917596556/preference.yaml
__
/ \__ Initializing new component
\__/ \ Files: No source code detected, a starter project will be created in the current directory
/ \__/ odo version: v3.0.0-beta2
\__/
Interactive mode enabled, please answer the following questions:
I0802 12:22:04.378892 23760 implem.go:106] The path for preference file is /tmp/917596556/preference.yaml
I0802 12:22:04.380213 23760 segment.go:257] Checking telemetry enable status
I0802 12:22:04.381577 23760 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
?25lGK? Select language: [Use arrows to move, type to filter]
> dotnet
go
java
javascript
php
python
typescript
go
AGAGAGAGAGAGAGGKAGKAGKAGKAGKAGKAGKAGKAGK? Select language: g [Use arrows to move, type to filter]
> go
AGGKAGKAGK? Select language: go [Use arrows to move, type to filter]
> go
AG?25hGKAGKAGK? Select language: go
?25lGK? Select project type: [Use arrows to move, type to filter]
> Go Runtime
** GO BACK **
AGAG?25hGKAGKAGKAGK? Select project type: Go Runtime
• Downloading devfile "go" from registry "DefaultDevfileRegistry" ...
I0802 12:22:04.458760 23760 implem.go:106] The path for preference file is /tmp/917596556/preference.yaml
I0802 12:22:04.464672 23760 segment.go:257] Checking telemetry enable status
I0802 12:22:04.465019 23760 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
✓ Downloading devfile "go" from registry "DefaultDevfileRegistry" [166ms]
I0802 12:22:04.624174 23760 context.go:141] absolute devfile path: '/tmp/3441147486/devfile.yaml'
I0802 12:22:04.624196 23760 context.go:92] absolute devfile path: '/tmp/3441147486/devfile.yaml'
I0802 12:22:04.625771 23760 content.go:33] converted devfile YAML to JSON
I0802 12:22:04.626129 23760 apiVersion.go:45] devfile schemaVersion: '2.1.0'
I0802 12:22:04.626167 23760 helper.go:41] devfile apiVersion '2.1.0' is supported
I0802 12:22:04.710336 23760 schema.go:46] validated devfile schema
?25lGK? Which starter project do you want to use? [Use arrows to move, type to filter]
> go-starter
** NO STARTER PROJECT **
AGAG?25hGKAGKAGKAGK? Which starter project do you want to use? go-starter
I0802 12:22:06.453301 23760 alizer.go:117] Path: /tmp/3441147486/devfile.yaml, Detected name: 3441147486, Sanitized name: x3441147486
• Downloading starter project "go-starter" ...
✓ Downloading starter project "go-starter" [1s]
I0802 12:22:07.508864 23760 writer.go:30] devfile yaml created at: 'devfile.yaml'
Your new component 'x3441147486' is ready in the current directory.
To start editing your component, use 'odo dev' and open this folder in your favorite IDE.
Changes will be directly reflected on the cluster.
I0802 12:22:07.510846 23760 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
======================
Unexpected error:
<*fs.PathError | 0xc00078a090>: {
Op: "read",
Path: "|0",
Err: <*poll.DeadlineExceededError | 0x3d0f660>{},
}
read |0: i/o timeout
occurred
In [It] at: /go/odo_1/tests/helper/helper_interactive.go:121
------------------------------
•
------------------------------
• [FAILED] [194.347 seconds]
odo deploy interactive command tests
/go/odo_1/tests/integration/interactive_deploy_test.go:16
when directory is not empty
/go/odo_1/tests/integration/interactive_deploy_test.go:32
[It] should run alizer to download devfile
/go/odo_1/tests/integration/interactive_deploy_test.go:73
Begin Captured GinkgoWriter Output >>
Created dir: /tmp/2899134573
Created dir: /tmp/220909150
Setting KUBECONFIG=/tmp/220909150/config
Creating a new project: interactive-deploy-test73ewb
Running kubectl with args [kubectl create namespace interactive-deploy-test73ewb]
[kubectl] namespace/interactive-deploy-test73ewb created
Running kubectl with args [kubectl config set-context --current --namespace interactive-deploy-test73ewb]
[kubectl] Context "odo-test-kubernetes-cluster/c8giauof0f337j4pe5u0/admin" modified.
Running kubectl with args [kubectl get namespaces]
[kubectl] NAME STATUS AGE
[kubectl] cbjruchjiht2pf0tc4t0 Active 23h
[kubectl] cmd-add-binding-test128mqf Active 17s
[kubectl] cmd-add-binding-test264wjz Active 32s
[kubectl] cmd-delete-test143iny Active 13s
[kubectl] cmd-delete-test164xek Active 44s
[kubectl] cmd-delete-test266upp Active 22s
[kubectl] cmd-describe-list-binding-test535trw Terminating 104s
[kubectl] cmd-describe-list-binding-test564dxt Active 34s
[kubectl] cmd-describe-list-binding-test564hod Terminating 117s
[kubectl] cmd-dev-debug-test147mde Active 46s
[kubectl] cmd-dev-test1196lqn Active 25s
[kubectl] cmd-dev-test1399qdp Active 37s
[kubectl] cmd-dev-test1415uqg Terminating 58s
[kubectl] cmd-dev-test1749acg Active 2m5s
[kubectl] cmd-dev-test179prq Active 46s
[kubectl] cmd-dev-test1904ezz Active 37s
[kubectl] cmd-dev-test285jhl Terminating 81s
[kubectl] cmd-dev-test85ejd Active 19s
[kubectl] cmd-dev-test870esg Terminating 74s
[kubectl] cmd-dev-test880qqo Terminating 100s
[kubectl] cmd-dev-test902zpf Terminating 76s
[kubectl] cmd-devfile-build-images-test256qjy Terminating 16s
[kubectl] cmd-devfile-deploy-test104mvd Terminating 62s
[kubectl] cmd-devfile-deploy-test161edk Active 12s
[kubectl] cmd-devfile-deploy-test225jif Terminating 36s
[kubectl] cmd-devfile-deploy-test358mjq Active 10s
[kubectl] cmd-devfile-deploy-test358qgo Active 6s
[kubectl] cmd-logs-test110dsj Active 49s
[kubectl] cmd-logs-test184pgk Active 48s
[kubectl] cmd-logs-test86pmf Active 22s
[kubectl] cmd-namespace-test75fsb Active 7s
[kubectl] cmd-namespace-test90zlh Active 15s
[kubectl] default Active 151d
[kubectl] devfile-proxy Active 27d
[kubectl] ibm-cert-store Active 151d
[kubectl] ibm-operators Active 151d
[kubectl] ibm-system Active 151d
[kubectl] interactive-add-binding-test133ugs Terminating 73s
[kubectl] interactive-add-binding-test242gkl Active 4s
[kubectl] interactive-add-binding-test463ccc Active 33s
[kubectl] interactive-deploy-test105ndc Active 113s
[kubectl] interactive-deploy-test41mtf Active 2m31s
[kubectl] interactive-deploy-test73ewb Active 4s
[kubectl] kube-node-lease Active 151d
[kubectl] kube-public Active 151d
[kubectl] kube-system Active 151d
[kubectl] olm Active 41d
[kubectl] operators Active 41d
[kubectl] test Active 7d4h
Running kubectl with args [kubectl create configmap config-map-for-cleanup --from-literal type=testing --from-literal team=odo -n interactive-deploy-test73ewb]
[kubectl] configmap/config-map-for-cleanup created
Current working dir: /go/odo_1/tests/integration
Running odo with args [odo preference remove registry DefaultDevfileRegistry -f]
[odo] I0802 12:22:08.630671 24000 implem.go:106] The path for preference file is /tmp/220909150/preference.yaml
[odo] Successfully removed registry
[odo] I0802 12:22:08.633552 24000 util.go:767] Cached response used.
[odo] I0802 12:22:08.637401 24000 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo preference add registry DefaultDevfileRegistry http://12659208-eu-de.lb.appdomain.cloud]
[odo] I0802 12:22:09.719076 24089 implem.go:106] The path for preference file is /tmp/220909150/preference.yaml
[odo] New registry successfully added
[odo] I0802 12:22:09.726550 24089 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Setting current dir to: /tmp/2899134573
running command [odo deploy] with env []
Deleting project: interactive-deploy-test73ewb
Running kubectl with args [kubectl delete namespaces interactive-deploy-test73ewb --wait=false]
[kubectl] namespace "interactive-deploy-test73ewb" deleted
Setting current dir to: /go/odo_1/tests/integration
Deleting dir: /tmp/2899134573
Deleting dir: /tmp/220909150
<< End Captured GinkgoWriter Output
error while sending or expecting line: "Enter component name"
=== output of command '["odo" "deploy"]' read so far ===
I0802 12:22:11.205018 24141 implem.go:106] The path for preference file is /tmp/220909150/preference.yaml
The current directory already contains source code. odo will try to autodetect the language and project type in order to select the best suited Devfile for your project.
I0802 12:22:11.209563 24141 implem.go:106] The path for preference file is /tmp/220909150/preference.yaml
I0802 12:22:11.211221 24141 segment.go:257] Checking telemetry enable status
I0802 12:22:11.211367 24141 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
Based on the files in the current directory odo detected
Language: python
Project type: python
The devfile "python" from the registry "DefaultDevfileRegistry" will be downloaded.
GK? Is this correct? (Y/n)
?25l;999fn?25hnBGAGGK? Is this correct? Yes
• Downloading devfile "python" from registry "DefaultDevfileRegistry" ...
I0802 12:22:12.688383 24141 implem.go:106] The path for preference file is /tmp/220909150/preference.yaml
I0802 12:22:12.693645 24141 segment.go:257] Checking telemetry enable status
I0802 12:22:12.693848 24141 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
✓ Downloading devfile "python" from registry "DefaultDevfileRegistry" [50ms]
I0802 12:22:12.739771 24141 context.go:141] absolute devfile path: '/tmp/2899134573/devfile.yaml'
I0802 12:22:12.743084 24141 context.go:92] absolute devfile path: '/tmp/2899134573/devfile.yaml'
I0802 12:22:12.746633 24141 content.go:33] converted devfile YAML to JSON
I0802 12:22:12.746747 24141 apiVersion.go:45] devfile schemaVersion: '2.1.0'
I0802 12:22:12.746759 24141 helper.go:41] devfile apiVersion '2.1.0' is supported
I0802 12:22:12.749642 24141 schema.go:46] validated devfile schema
↪ Container Configuration "py-web":
OPEN PORTS:
- 8080
ENVIRONMENT VARIABLES:
- DEBUG_PORT = 5858
?25lGK? Select container for which you want to change configuration? [Use arrows to move, type to filter]
py-web
> NONE - configuration is correct
AG?25hGKAGKAGKAGK? Select container for which you want to change configuration? NONE - configuration is correct
I0802 12:22:12.825542 24141 alizer.go:117] Path: /tmp/2899134573/devfile.yaml, Detected name: 2899134573, Sanitized name: x2899134573
I0802 12:22:12.831829 24141 writer.go:30] devfile yaml created at: 'devfile.yaml'
I0802 12:22:12.985047 24141 context.go:141] absolute devfile path: '/tmp/2899134573/devfile.yaml'
I0802 12:22:12.985216 24141 context.go:92] absolute devfile path: '/tmp/2899134573/devfile.yaml'
I0802 12:22:12.986503 24141 content.go:33] converted devfile YAML to JSON
I0802 12:22:12.986700 24141 apiVersion.go:45] devfile schemaVersion: '2.1.0'
I0802 12:22:12.986829 24141 helper.go:41] devfile apiVersion '2.1.0' is supported
I0802 12:22:13.006754 24141 schema.go:46] validated devfile schema
I0802 12:22:13.010205 24141 validate.go:45] Successfully validated devfile sections
I0802 12:22:13.010418 24141 validate.go:45] Successfully validated devfile sections
__
/ \__ Deploying the application using x2899134573 Devfile
\__/ \ Namespace: interactive-deploy-test73ewb
/ \__/ odo version: v3.0.0-beta2
\__/
✗ no default deploy command found in devfile
======================
Unexpected error:
<*fs.PathError | 0xc0004440f0>: {
Op: "read",
Path: "|0",
Err: <*poll.DeadlineExceededError | 0x3d0f660>{},
}
read |0: i/o timeout
occurred
In [It] at: /go/odo_1/tests/helper/helper_interactive.go:121
------------------------------
••
------------------------------
• [SLOW TEST] [120.482 seconds]
odo devfile deploy command tests when using a devfile.yaml containing an outer-loop Kubernetes component referenced via an URI when running odo deploy when running and stopping odo dev should not delete the resources created with odo deploy
/go/odo_1/tests/integration/cmd_devfile_deploy_test.go:147
------------------------------
• [FAILED] [209.899 seconds]
odo dev interactive command tests
/go/odo_1/tests/integration/interactive_dev_test.go:16
when directory is not empty
/go/odo_1/tests/integration/interactive_dev_test.go:32
[It] should run alizer to download devfile
/go/odo_1/tests/integration/interactive_dev_test.go:72
Begin Captured GinkgoWriter Output >>
Created dir: /tmp/1186655144
Created dir: /tmp/3686746516
Setting KUBECONFIG=/tmp/3686746516/config
Creating a new project: interactive-dev-test72bjx
Running kubectl with args [kubectl create namespace interactive-dev-test72bjx]
[kubectl] namespace/interactive-dev-test72bjx created
Running kubectl with args [kubectl config set-context --current --namespace interactive-dev-test72bjx]
[kubectl] Context "odo-test-kubernetes-cluster/c8giauof0f337j4pe5u0/admin" modified.
Running kubectl with args [kubectl get namespaces]
[kubectl] NAME STATUS AGE
[kubectl] cbjruchjiht2pf0tc4t0 Active 23h
[kubectl] cmd-add-binding-test128mqf Active 30s
[kubectl] cmd-add-binding-test128xjo Active 3s
[kubectl] cmd-add-binding-test264wjz Active 45s
[kubectl] cmd-add-binding-test37mjo Active 12s
[kubectl] cmd-delete-test143iny Active 26s
[kubectl] cmd-delete-test164xek Active 57s
[kubectl] cmd-delete-test266upp Active 35s
[kubectl] cmd-describe-list-binding-test535trw Terminating 117s
[kubectl] cmd-describe-list-binding-test564dic Active 6s
[kubectl] cmd-describe-list-binding-test564dxt Active 47s
[kubectl] cmd-dev-debug-test147mde Active 59s
[kubectl] cmd-dev-test1196lqn Active 38s
[kubectl] cmd-dev-test1399qdp Active 50s
[kubectl] cmd-dev-test1569run Active 8s
[kubectl] cmd-dev-test1749acg Active 2m18s
[kubectl] cmd-dev-test179prq Active 59s
[kubectl] cmd-dev-test1853rcf Active 10s
[kubectl] cmd-dev-test1904ezz Active 50s
[kubectl] cmd-dev-test580bvt Active 6s
[kubectl] cmd-dev-test647mnl Active 7s
[kubectl] cmd-dev-test85ejd Active 32s
[kubectl] cmd-devfile-deploy-test104mvd Terminating 75s
[kubectl] cmd-devfile-deploy-test161edk Terminating 25s
[kubectl] cmd-devfile-deploy-test225jif Terminating 49s
[kubectl] cmd-devfile-deploy-test358mjq Terminating 23s
[kubectl] cmd-devfile-deploy-test358qgo Terminating 19s
[kubectl] cmd-logs-test110dsj Active 62s
[kubectl] cmd-logs-test184pgk Active 61s
[kubectl] cmd-logs-test86pmf Active 35s
[kubectl] cmd-namespace-test115czi Active 12s
[kubectl] cmd-namespace-test75fsb Active 20s
[kubectl] cmd-namespace-test75rsw Terminating 8s
[kubectl] default Active 151d
[kubectl] devfile-proxy Active 27d
[kubectl] ibm-cert-store Active 151d
[kubectl] ibm-operators Active 151d
[kubectl] ibm-system Active 151d
[kubectl] interactive-add-binding-test133ugs Terminating 86s
[kubectl] interactive-add-binding-test242gkl Active 17s
[kubectl] interactive-add-binding-test463ccc Terminating 46s
[kubectl] interactive-deploy-test105ndc Active 2m6s
[kubectl] interactive-deploy-test41mtf Active 2m44s
[kubectl] interactive-deploy-test73ewb Active 17s
[kubectl] interactive-dev-test72bjx Active 5s
[kubectl] kube-node-lease Active 151d
[kubectl] kube-public Active 151d
[kubectl] kube-system Active 151d
[kubectl] olm Active 41d
[kubectl] operators Active 41d
[kubectl] test Active 7d4h
Running kubectl with args [kubectl create configmap config-map-for-cleanup --from-literal type=testing --from-literal team=odo -n interactive-dev-test72bjx]
[kubectl] configmap/config-map-for-cleanup created
Current working dir: /go/odo_1/tests/integration
Running odo with args [odo preference remove registry DefaultDevfileRegistry -f]
[odo] I0802 12:22:21.360422 24625 implem.go:106] The path for preference file is /tmp/3686746516/preference.yaml
[odo] I0802 12:22:21.372226 24625 util.go:767] Cached response used.
[odo] Successfully removed registry
[odo] I0802 12:22:21.377810 24625 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo preference add registry DefaultDevfileRegistry http://12659208-eu-de.lb.appdomain.cloud]
[odo] I0802 12:22:22.440578 24695 implem.go:106] The path for preference file is /tmp/3686746516/preference.yaml
[odo] New registry successfully added
[odo] I0802 12:22:22.451893 24695 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Setting current dir to: /tmp/1186655144
running command [odo dev --random-ports] with env []
Deleting project: interactive-dev-test72bjx
Running kubectl with args [kubectl delete namespaces interactive-dev-test72bjx --wait=false]
[kubectl] namespace "interactive-dev-test72bjx" deleted
Setting current dir to: /go/odo_1/tests/integration
Deleting dir: /tmp/1186655144
Deleting dir: /tmp/3686746516
<< End Captured GinkgoWriter Output
error while sending or expecting line: "Enter component name"
=== output of command '["odo" "dev" "--random-ports"]' read so far ===
I0802 12:22:23.120533 24726 implem.go:106] The path for preference file is /tmp/3686746516/preference.yaml
The current directory already contains source code. odo will try to autodetect the language and project type in order to select the best suited Devfile for your project.
I0802 12:22:23.131393 24726 implem.go:106] The path for preference file is /tmp/3686746516/preference.yaml
I0802 12:22:23.140345 24726 segment.go:257] Checking telemetry enable status
I0802 12:22:23.140726 24726 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
Based on the files in the current directory odo detected
Language: python
Project type: python
The devfile "python" from the registry "DefaultDevfileRegistry" will be downloaded.
GK? Is this correct? (Y/n) ?25l;999fn?25hnBGAGGK? Is this correct? Yes
• Downloading devfile "python" from registry "DefaultDevfileRegistry" ...
I0802 12:22:24.591845 24726 implem.go:106] The path for preference file is /tmp/3686746516/preference.yaml
I0802 12:22:24.596769 24726 segment.go:257] Checking telemetry enable status
I0802 12:22:24.597436 24726 segment.go:262] Sending telemetry disabled by ODO_DISABLE_TELEMETRY=true
✓ Downloading devfile "python" from registry "DefaultDevfileRegistry" [53ms]
I0802 12:22:24.644190 24726 context.go:141] absolute devfile path: '/tmp/1186655144/devfile.yaml'
I0802 12:22:24.644624 24726 context.go:92] absolute devfile path: '/tmp/1186655144/devfile.yaml'
I0802 12:22:24.646557 24726 content.go:33] converted devfile YAML to JSON
I0802 12:22:24.651070 24726 apiVersion.go:45] devfile schemaVersion: '2.1.0'
I0802 12:22:24.651301 24726 helper.go:41] devfile apiVersion '2.1.0' is supported
I0802 12:22:24.677688 24726 schema.go:46] validated devfile schema
↪ Container Configuration "py-web":
OPEN PORTS:
- 8080
ENVIRONMENT VARIABLES:
- DEBUG_PORT = 5858
?25lGK? Select container for which you want to change configuration? [Use arrows to move, type to filter]
py-web
> NONE - configuration is correct
AG?25hGKAGKAGKAGK? Select container for which you want to change configuration? NONE - configuration is correct
I0802 12:22:24.734641 24726 alizer.go:117] Path: /tmp/1186655144/devfile.yaml, Detected name: 1186655144, Sanitized name: x1186655144
I0802 12:22:24.740261 24726 writer.go:30] devfile yaml created at: 'devfile.yaml'
I0802 12:22:24.814279 24726 context.go:141] absolute devfile path: '/tmp/1186655144/devfile.yaml'
I0802 12:22:24.814469 24726 context.go:92] absolute devfile path: '/tmp/1186655144/devfile.yaml'
I0802 12:22:24.815989 24726 content.go:33] converted devfile YAML to JSON
I0802 12:22:24.816675 24726 apiVersion.go:45] devfile schemaVersion: '2.1.0'
I0802 12:22:24.816739 24726 helper.go:41] devfile apiVersion '2.1.0' is supported
I0802 12:22:24.829962 24726 schema.go:46] validated devfile schema
I0802 12:22:24.830729 24726 validate.go:45] Successfully validated devfile sections
I0802 12:22:24.831734 24726 validate.go:45] Successfully validated devfile sections
__
/ \__ Developing using the x1186655144 Devfile
\__/ \ Namespace: interactive-dev-test72bjx
/ \__/ odo version: v3.0.0-beta2
\__/
↪ Deploying to the cluster in developer mode
• Waiting for Kubernetes resources ...
I0802 12:22:24.856912 24726 libdevfile.go:184] Build command: pip-install-requirements
I0802 12:22:24.856965 24726 libdevfile.go:196] Run command: run-app
I0802 12:22:24.857011 24726 kclient.go:207] Checking if "clusterserviceversions" resource is supported
I0802 12:22:24.863513 24726 service.go:73] Getting list of services
I0802 12:22:24.863568 24726 operators.go:30] Fetching list of operators installed in cluster
I0802 12:22:24.903245 24726 service.go:91] Getting services started from operator: cloud-native-postgresql.v1.15.1
I0802 12:22:24.903355 24726 service.go:122] Getting instances of: backups.postgresql.k8s.enterprisedb.io
I0802 12:22:24.911343 24726 service.go:122] Getting instances of: clusters.postgresql.k8s.enterprisedb.io
I0802 12:22:24.924607 24726 service.go:122] Getting instances of: poolers.postgresql.k8s.enterprisedb.io
I0802 12:22:24.939408 24726 service.go:122] Getting instances of: scheduledbackups.postgresql.k8s.enterprisedb.io
I0802 12:22:24.948554 24726 service.go:91] Getting services started from operator: service-binding-operator.v1.1.1
I0802 12:22:24.948651 24726 service.go:122] Getting instances of: bindablekinds.binding.operators.coreos.com
I0802 12:22:24.953117 24726 service.go:122] Getting instances of: clusterworkloadresourcemappings.servicebinding.io
I0802 12:22:24.956699 24726 service.go:122] Getting instances of: servicebindings.binding.operators.coreos.com
I0802 12:22:24.969401 24726 service.go:122] Getting instances of: servicebindings.servicebinding.io
I0802 12:22:25.003553 24726 adapter.go:440] We are deploying these annotations: map[odo.dev/project-type:python]
I0802 12:22:25.003899 24726 utils.go:91] Updating container py-web with mandatory volume mounts
I0802 12:22:25.003940 24726 utils.go:205] No entrypoint defined for the component, setting container py-web entrypoint to 'tail -f /dev/null'. You can set a 'command' and/or 'args' for the component to override this default entrypoint.
I0802 12:22:25.019387 24726 adapter.go:548] Creating deployment x1186655144-app
I0802 12:22:25.019461 24726 adapter.go:549] The component name is x1186655144
I0802 12:22:25.023148 24726 kclient.go:256] Kubernetes version is "v1.23.9+IKS"
I0802 12:22:25.023232 24726 kclient.go:268] Cluster has support for SSA: true
I0802 12:22:25.053822 24726 adapter.go:580] Successfully created component x1186655144
I0802 12:22:25.126093 24726 adapter.go:592] Successfully created Service for component x1186655144
I0802 12:22:25.126799 24726 deployments.go:135] Waiting for x1186655144-app deployment rollout
I0802 12:22:25.141950 24726 deployments.go:166] Deployment Condition: {"type":"Available","status":"False","lastUpdateTime":"2022-08-02T12:22:25Z","lastTransitionTime":"2022-08-02T12:22:25Z","reason":"MinimumReplicasUnavailable","message":"Deployment does not have minimum availability."}
I0802 12:22:25.142891 24726 deployments.go:166] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2022-08-02T12:22:25Z","lastTransitionTime":"2022-08-02T12:22:25Z","reason":"ReplicaSetUpdated","message":"ReplicaSet \"x1186655144-app-bd7657ff8\" is progressing."}
I0802 12:22:25.149385 24726 deployments.go:177] Waiting for deployment "x1186655144-app" rollout to finish: 0 of 1 updated replicas are available...
I0802 12:22:25.149479 24726 deployments.go:183] Waiting for deployment spec update to be observed...
I0802 12:22:27.594528 24726 deployments.go:166] Deployment Condition: {"type":"Available","status":"True","lastUpdateTime":"2022-08-02T12:22:27Z","lastTransitionTime":"2022-08-02T12:22:27Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}
I0802 12:22:27.595574 24726 deployments.go:166] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2022-08-02T12:22:27Z","lastTransitionTime":"2022-08-02T12:22:25Z","reason":"NewReplicaSetAvailable","message":"ReplicaSet \"x1186655144-app-bd7657ff8\" has successfully progressed."}
I0802 12:22:27.596617 24726 deployments.go:179] Deployment "x1186655144-app" successfully rolled out
I0802 12:22:27.596985 24726 deployments.go:183] Waiting for deployment spec update to be observed...
I0802 12:22:27.597532 24726 pods.go:29] Waiting for component=x1186655144 pod
I0802 12:22:27.604803 24726 pods.go:59] Status of x1186655144-app-bd7657ff8-g7frb pod is Running
I0802 12:22:27.609841 24726 pods.go:63] Pod Conditions: {"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:22:25Z"}
I0802 12:22:27.609977 24726 pods.go:63] Pod Conditions: {"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:22:27Z"}
I0802 12:22:27.609987 24726 pods.go:63] Pod Conditions: {"type":"ContainersReady","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:22:27Z"}
I0802 12:22:27.609997 24726 pods.go:63] Pod Conditions: {"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:22:25Z"}
I0802 12:22:27.610143 24726 pods.go:68] Container Status: {"name":"py-web","state":{"running":{"startedAt":"2022-08-02T12:22:27Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"registry.access.redhat.com/ubi9/python-39:latest","imageID":"registry.access.redhat.com/ubi9/python-39@sha256:6ef162f51f50f1071e69d3421d3f0d804074a453eb501d97d61168c7e72379bc","containerID":"containerd://84e63fe72c8bf5c6da168e16dda8e610f7bbf9a342dd3d98069f8f8934ed4bc4","started":true}
I0802 12:22:27.610154 24726 pods.go:72] Pod x1186655144-app-bd7657ff8-g7frb is Running
I0802 12:22:27.619065 24726 kclient.go:207] Checking if "servicebindings" resource is supported
I0802 12:22:27.623253 24726 service.go:73] Getting list of services
I0802 12:22:27.623281 24726 operators.go:30] Fetching list of operators installed in cluster
I0802 12:22:27.657959 24726 service.go:91] Getting services started from operator: cloud-native-postgresql.v1.15.1
I0802 12:22:27.658061 24726 service.go:122] Getting instances of: backups.postgresql.k8s.enterprisedb.io
I0802 12:22:27.666928 24726 service.go:122] Getting instances of: clusters.postgresql.k8s.enterprisedb.io
I0802 12:22:27.680708 24726 service.go:122] Getting instances of: poolers.postgresql.k8s.enterprisedb.io
I0802 12:22:27.691699 24726 service.go:122] Getting instances of: scheduledbackups.postgresql.k8s.enterprisedb.io
I0802 12:22:27.701963 24726 service.go:91] Getting services started from operator: service-binding-operator.v1.1.1
I0802 12:22:27.702018 24726 service.go:122] Getting instances of: bindablekinds.binding.operators.coreos.com
I0802 12:22:27.706920 24726 service.go:122] Getting instances of: clusterworkloadresourcemappings.servicebinding.io
I0802 12:22:27.710065 24726 service.go:122] Getting instances of: servicebindings.binding.operators.coreos.com
I0802 12:22:27.718625 24726 service.go:122] Getting instances of: servicebindings.servicebinding.io
I0802 12:22:27.727352 24726 deployments.go:135] Waiting for x1186655144-app deployment rollout
I0802 12:22:27.732791 24726 deployments.go:166] Deployment Condition: {"type":"Available","status":"True","lastUpdateTime":"2022-08-02T12:22:27Z","lastTransitionTime":"2022-08-02T12:22:27Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}
I0802 12:22:27.732830 24726 deployments.go:166] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2022-08-02T12:22:27Z","lastTransitionTime":"2022-08-02T12:22:25Z","reason":"NewReplicaSetAvailable","message":"ReplicaSet \"x1186655144-app-bd7657ff8\" has successfully progressed."}
I0802 12:22:27.732975 24726 deployments.go:179] Deployment "x1186655144-app" successfully rolled out
I0802 12:22:27.733007 24726 deployments.go:183] Waiting for deployment spec update to be observed...
I0802 12:22:27.733059 24726 pods.go:29] Waiting for component=x1186655144 pod
I0802 12:22:27.738280 24726 pods.go:59] Status of x1186655144-app-bd7657ff8-g7frb pod is Running
I0802 12:22:27.738332 24726 pods.go:63] Pod Conditions: {"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:22:25Z"}
I0802 12:22:27.738343 24726 pods.go:63] Pod Conditions: {"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:22:27Z"}
I0802 12:22:27.738359 24726 pods.go:63] Pod Conditions: {"type":"ContainersReady","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:22:27Z"}
I0802 12:22:27.738495 24726 pods.go:63] Pod Conditions: {"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:22:25Z"}
I0802 12:22:27.738587 24726 pods.go:68] Container Status: {"name":"py-web","state":{"running":{"startedAt":"2022-08-02T12:22:27Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"registry.access.redhat.com/ubi9/python-39:latest","imageID":"registry.access.redhat.com/ubi9/python-39@sha256:6ef162f51f50f1071e69d3421d3f0d804074a453eb501d97d61168c7e72379bc","containerID":"containerd://84e63fe72c8bf5c6da168e16dda8e610f7bbf9a342dd3d98069f8f8934ed4bc4","started":true}
I0802 12:22:27.738600 24726 pods.go:72] Pod x1186655144-app-bd7657ff8-g7frb is Running
✓ Waiting for Kubernetes resources [3s]
• Syncing files into the container ...
I0802 12:22:27.740460 24726 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 1186655144, destBase: ., destFile: .
I0802 12:22:27.740478 24726 file_indexer.go:414] Corrected destinations: base: . file: .
I0802 12:22:27.741178 24726 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 1186655144/.gitignore, destBase: ., destFile: .gitignore
I0802 12:22:27.741193 24726 file_indexer.go:414] Corrected destinations: base: . file: .gitignore
I0802 12:22:27.742675 24726 file_indexer.go:461] file added: /tmp/1186655144/.gitignore
I0802 12:22:27.742702 24726 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 1186655144/.odo, destBase: ., destFile: .odo
I0802 12:22:27.742708 24726 file_indexer.go:414] Corrected destinations: base: . file: .odo
I0802 12:22:27.742886 24726 file_indexer.go:461] file added: /tmp/1186655144/.odo
I0802 12:22:27.742895 24726 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 1186655144/devfile.yaml, destBase: ., destFile: devfile.yaml
I0802 12:22:27.742901 24726 file_indexer.go:414] Corrected destinations: base: . file: devfile.yaml
I0802 12:22:27.743180 24726 file_indexer.go:461] file added: /tmp/1186655144/devfile.yaml
I0802 12:22:27.743199 24726 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 1186655144/requirements.txt, destBase: ., destFile: requirements.txt
I0802 12:22:27.743205 24726 file_indexer.go:414] Corrected destinations: base: . file: requirements.txt
I0802 12:22:27.743342 24726 file_indexer.go:461] file added: /tmp/1186655144/requirements.txt
I0802 12:22:27.743351 24726 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 1186655144/wsgi.py, destBase: ., destFile: wsgi.py
I0802 12:22:27.743357 24726 file_indexer.go:414] Corrected destinations: base: . file: wsgi.py
I0802 12:22:27.743474 24726 file_indexer.go:461] file added: /tmp/1186655144/wsgi.py
I0802 12:22:27.743898 24726 adapter.go:137] List of files to be deleted: +[]
I0802 12:22:27.743911 24726 adapter.go:139] List of files changed: +[/tmp/1186655144/.gitignore /tmp/1186655144/devfile.yaml /tmp/1186655144/requirements.txt /tmp/1186655144/wsgi.py]
I0802 12:22:27.743923 24726 adapter.go:173] Push: componentName: x1186655144, path: /tmp/1186655144, files: [/tmp/1186655144/.gitignore /tmp/1186655144/devfile.yaml /tmp/1186655144/requirements.txt /tmp/1186655144/wsgi.py], delFiles: [*], isForcePush: true
I0802 12:22:27.744467 24726 adapter.go:290] remote files marked for deletion are [/projects/*]
I0802 12:22:27.744497 24726 remotecmd.go:30] Executing command [rm -rf /projects/*] for pod: x1186655144-app-bd7657ff8-g7frb in container: py-web
I0802 12:22:27.942056 24726 adapter.go:213] Copying files /tmp/1186655144/.gitignore /tmp/1186655144/devfile.yaml /tmp/1186655144/requirements.txt /tmp/1186655144/wsgi.py to pod
I0802 12:22:27.942242 24726 sync.go:37] CopyFile arguments: localPath /tmp/1186655144, dest /projects/1186655144, targetPath /projects, copyFiles [/tmp/1186655144/.gitignore /tmp/1186655144/devfile.yaml /tmp/1186655144/requirements.txt /tmp/1186655144/wsgi.py], globalExps [.git .odo/odo-file-index.json]
I0802 12:22:27.942570 24726 pods.go:174] Executing command tar xf - -C /projects --no-same-owner
I0802 12:22:27.942633 24726 sync.go:78] makeTar arguments: srcPath: /tmp/1186655144, destPath: /projects/1186655144, files: [/tmp/1186655144/.gitignore /tmp/1186655144/devfile.yaml /tmp/1186655144/requirements.txt /tmp/1186655144/wsgi.py]
I0802 12:22:27.943919 24726 sync.go:109] Got abs path: /tmp/1186655144/.gitignore
I0802 12:22:27.943943 24726 sync.go:110] Making /tmp/1186655144 relative to /tmp/1186655144/.gitignore
I0802 12:22:27.943973 24726 sync.go:126] makeTar srcFile: 1186655144/.gitignore
I0802 12:22:27.944052 24726 sync.go:127] makeTar destFile: .gitignore
I0802 12:22:27.944059 24726 sync.go:147] recursiveTar arguments: srcBase: /tmp, srcFile: 1186655144/.gitignore, destBase: /projects, destFile: .gitignore
I0802 12:22:27.944066 24726 sync.go:153] Corrected destinations: base: /projects file: .gitignore
I0802 12:22:28.153469 24726 sync.go:109] Got abs path: /tmp/1186655144/devfile.yaml
I0802 12:22:28.153559 24726 sync.go:110] Making /tmp/1186655144 relative to /tmp/1186655144/devfile.yaml
I0802 12:22:28.153582 24726 sync.go:126] makeTar srcFile: 1186655144/devfile.yaml
I0802 12:22:28.153592 24726 sync.go:127] makeTar destFile: devfile.yaml
I0802 12:22:28.153610 24726 sync.go:147] recursiveTar arguments: srcBase: /tmp, srcFile: 1186655144/devfile.yaml, destBase: /projects, destFile: devfile.yaml
I0802 12:22:28.153621 24726 sync.go:153] Corrected destinations: base: /projects file: devfile.yaml
I0802 12:22:28.155159 24726 sync.go:109] Got abs path: /tmp/1186655144/requirements.txt
I0802 12:22:28.155186 24726 sync.go:110] Making /tmp/1186655144 relative to /tmp/1186655144/requirements.txt
I0802 12:22:28.155197 24726 sync.go:126] makeTar srcFile: 1186655144/requirements.txt
I0802 12:22:28.155204 24726 sync.go:127] makeTar destFile: requirements.txt
I0802 12:22:28.155226 24726 sync.go:147] recursiveTar arguments: srcBase: /tmp, srcFile: 1186655144/requirements.txt, destBase: /projects, destFile: requirements.txt
I0802 12:22:28.155395 24726 sync.go:153] Corrected destinations: base: /projects file: requirements.txt
I0802 12:22:28.155834 24726 sync.go:109] Got abs path: /tmp/1186655144/wsgi.py
I0802 12:22:28.155845 24726 sync.go:110] Making /tmp/1186655144 relative to /tmp/1186655144/wsgi.py
I0802 12:22:28.155864 24726 sync.go:126] makeTar srcFile: 1186655144/wsgi.py
I0802 12:22:28.155871 24726 sync.go:127] makeTar destFile: wsgi.py
I0802 12:22:28.155878 24726 sync.go:147] recursiveTar arguments: srcBase: /tmp, srcFile: 1186655144/wsgi.py, destBase: /projects, destFile: wsgi.py
I0802 12:22:28.155884 24726 sync.go:153] Corrected destinations: base: /projects file: wsgi.py
✓ Syncing files into the container [490ms]
I0802 12:22:28.231282 24726 kubeexec.go:40] GetProcessInfoForCommand for "run-app"
I0802 12:22:28.231702 24726 remotecmd.go:30] Executing command [/bin/sh -c cat /opt/odo/.odo_cmd_run-app.pid || true] for pod: x1186655144-app-bd7657ff8-g7frb in container: py-web
cat: /opt/odo/.odo_cmd_run-app.pid: No such file or directory
I0802 12:22:28.456590 24726 adapter.go:366] running=false, execRequired=true, parameters.RunModeChanged=false
• Building your application in container on cluster (command: pip-install-requirements) ...
I0802 12:22:28.456755 24726 remotecmd.go:30] Executing command [/bin/sh -c cd ${PROJECT_SOURCE} && (pip install -r requirements.txt) 1>>/proc/1/fd/1 2>>/proc/1/fd/2] for pod: x1186655144-app-bd7657ff8-g7frb in container: py-web
✓ Building your application in container on cluster (command: pip-install-requirements) [5s]
I0802 12:22:33.028208 24726 kubeexec.go:60] StartProcessForCommand for "run-app"
I0802 12:22:33.028449 24726 retry.go:48] waiting for 5 second(s) before trying task "process for command \"run-app\""
• Executing the application (command: run-app) ...
I0802 12:22:33.028738 24726 remotecmd.go:30] Executing command [/bin/sh -c echo $$ > /opt/odo/.odo_cmd_run-app.pid && cd ${PROJECT_SOURCE} && (python app.py) 1>>/proc/1/fd/1 2>>/proc/1/fd/2; echo $? >> /opt/odo/.odo_cmd_run-app.pid] for pod: x1186655144-app-bd7657ff8-g7frb in container: py-web
I0802 12:22:33.210228 24726 kubeexec.go:40] GetProcessInfoForCommand for "run-app"
I0802 12:22:33.210322 24726 remotecmd.go:30] Executing command [/bin/sh -c cat /opt/odo/.odo_cmd_run-app.pid || true] for pod: x1186655144-app-bd7657ff8-g7frb in container: py-web
34
2
I0802 12:22:33.439014 24726 remotecmd.go:30] Executing command [/bin/sh -c kill -0 34; echo $?] for pod: x1186655144-app-bd7657ff8-g7frb in container: py-web
/bin/sh: line 1: kill: (34) - No such process
1
✗ Executing the application (command: run-app) [625ms]
I0802 12:22:38.031082 24726 commandhandler.go:110] checking if process for command "run-app" is running
I0802 12:22:38.031377 24726 kubeexec.go:40] GetProcessInfoForCommand for "run-app"
I0802 12:22:38.031579 24726 remotecmd.go:30] Executing command [/bin/sh -c cat /opt/odo/.odo_cmd_run-app.pid || true] for pod: x1186655144-app-bd7657ff8-g7frb in container: py-web
34
2
I0802 12:22:38.309620 24726 remotecmd.go:30] Executing command [/bin/sh -c kill -0 34; echo $?] for pod: x1186655144-app-bd7657ff8-g7frb in container: py-web
/bin/sh: line 1: kill: (34) - No such process
1
I0802 12:22:38.482954 24726 kubeexec.go:40] GetProcessInfoForCommand for "run-app"
I0802 12:22:38.484743 24726 remotecmd.go:30] Executing command [/bin/sh -c cat /opt/odo/.odo_cmd_run-app.pid || true] for pod: x1186655144-app-bd7657ff8-g7frb in container: py-web
34
2
I0802 12:22:38.721673 24726 remotecmd.go:30] Executing command [/bin/sh -c kill -0 34; echo $?] for pod: x1186655144-app-bd7657ff8-g7frb in container: py-web
/bin/sh: line 1: kill: (34) - No such process
1
⚠ Devfile command "run-app" exited with an error status in 20 second(s)
⚠ Last 100 lines of log:
Collecting gunicorn
Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
Collecting numpy
Downloading numpy-1.23.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
Requirement already satisfied: setuptools>=3.0 in /opt/app-root/lib/python3.9/site-packages (from gunicorn->-r requirements.txt (line 1)) (53.0.0)
Installing collected packages: numpy, gunicorn
Successfully installed gunicorn-20.1.0 numpy-1.23.1
WARNING: You are using pip version 21.0.1; however, version 22.2.1 is available.
You should consider upgrading via the '/opt/app-root/bin/python3.9 -m pip install --upgrade pip' command.
python: can't open file '/projects/app.py': [Errno 2] No such file or directory
- Forwarding from 127.0.0.1:46641 -> 8080
Your application is now running on the cluster
I0802 12:22:39.216344 24726 watch.go:206] starting WatchAndPush, path: /tmp/1186655144, component: x1186655144, ignores [.git .odo/odo-file-index.json]
I0802 12:22:39.219712 24726 watch.go:192] adding watch on path /tmp/1186655144
I0802 12:22:39.219746 24726 watch.go:192] adding watch on path /tmp/1186655144/.odo
I0802 12:22:39.219759 24726 watch.go:192] adding watch on path /tmp/1186655144/.odo/env
Watching for changes in the current directory /tmp/1186655144
Press Ctrl+c to exit `odo dev` and delete resources from the cluster
======================
Unexpected error:
<*fs.PathError | 0xc00054eba0>: {
Op: "read",
Path: "|0",
Err: <*poll.DeadlineExceededError | 0x3d0f660>{},
}
read |0: i/o timeout
occurred
In [It] at: /go/odo_1/tests/helper/helper_interactive.go:121
------------------------------
••
------------------------------
• [SLOW TEST] [201.514 seconds]
odo delete command tests when a component is bootstrapped using a devfile.yaml with URI-referenced Kubernetes components when the component is deployed in DEV mode and dev mode stopped when the component is deleted using its name and namespace from another directory should have deleted the component
/go/odo_1/tests/integration/cmd_delete_test.go:114
------------------------------
•
------------------------------
• [SLOW TEST] [153.230 seconds]
odo add binding command tests when the component is bootstrapped when adding a binding (other namespace) when odo dev is run should successfully bind component and service
/go/odo_1/tests/integration/cmd_add_binding_test.go:253
------------------------------
• [FAILED] [189.468 seconds]
odo delete command tests
/go/odo_1/tests/integration/cmd_delete_test.go:13
when a component is bootstrapped
/go/odo_1/tests/integration/cmd_delete_test.go:53
when component is deployed to the cluster in the namespace set in env.yaml which is not the same as the current active namespace [BeforeEach]
/go/odo_1/tests/integration/cmd_delete_test.go:245
when the component is deleted
/go/odo_1/tests/integration/cmd_delete_test.go:262
should have deleted the component
/go/odo_1/tests/integration/cmd_delete_test.go:266
Begin Captured GinkgoWriter Output >>
Created dir: /tmp/395367738
Created dir: /tmp/831421686
Setting KUBECONFIG=/tmp/831421686/config
Creating a new project: cmd-delete-test266dqa
Running kubectl with args [kubectl create namespace cmd-delete-test266dqa]
[kubectl] namespace/cmd-delete-test266dqa created
Running kubectl with args [kubectl config set-context --current --namespace cmd-delete-test266dqa]
[kubectl] Context "odo-test-kubernetes-cluster/c8giauof0f337j4pe5u0/admin" modified.
Running kubectl with args [kubectl get namespaces]
[kubectl] NAME STATUS AGE
[kubectl] cbjruchjiht2pf0tc4t0 Active 23h
[kubectl] cmd-add-binding-test264wjz Active 83s
[kubectl] cmd-delete-test114iht Active 33s
[kubectl] cmd-delete-test143iny Active 64s
[kubectl] cmd-delete-test164xek Active 95s
[kubectl] cmd-delete-test266dqa Active 3s
[kubectl] cmd-delete-test266upp Active 73s
[kubectl] cmd-describe-component-test120ayv Active 5s
[kubectl] cmd-describe-list-binding-test535cbc Active 2s
[kubectl] cmd-describe-list-binding-test564dic Active 44s
[kubectl] cmd-describe-list-binding-test564dxt Active 85s
[kubectl] cmd-describe-list-binding-test564tkb Active 25s
[kubectl] cmd-dev-debug-test147mde Active 97s
[kubectl] cmd-dev-debug-test207neh Terminating 11s
[kubectl] cmd-dev-debug-test51mtt Active 8s
[kubectl] cmd-dev-debug-test78lsd Active 30s
[kubectl] cmd-dev-test1196lqn Terminating 76s
[kubectl] cmd-dev-test1569run Active 46s
[kubectl] cmd-dev-test179prq Active 97s
[kubectl] cmd-dev-test1853rcf Active 48s
[kubectl] cmd-dev-test1904ezz Active 88s
[kubectl] cmd-dev-test580bvt Active 44s
[kubectl] cmd-dev-test647mnl Active 45s
[kubectl] cmd-dev-test662bxa Active 37s
[kubectl] cmd-dev-test85ejd Active 70s
[kubectl] cmd-devfile-deploy-test126nzo Active 2s
[kubectl] cmd-devfile-deploy-test225fbm Active 9s
[kubectl] cmd-devfile-deploy-test225jif Terminating 87s
[kubectl] cmd-logs-test110dsj Terminating 100s
[kubectl] cmd-logs-test184pgk Terminating 99s
[kubectl] cmd-logs-test86pmf Active 73s
[kubectl] cmd-namespace-test32kqn Terminating 15s
[kubectl] default Active 151d
[kubectl] devfile-proxy Active 27d
[kubectl] generic-test68zab Active 2s
[kubectl] ibm-cert-store Active 151d
[kubectl] ibm-operators Active 151d
[kubectl] ibm-system Active 151d
[kubectl] interactive-add-binding-test133ugs Terminating 2m4s
[kubectl] interactive-add-binding-test242gkl Terminating 55s
[kubectl] interactive-add-binding-test378vhs Active 16s
[kubectl] interactive-add-binding-test589mbv Active 5s
[kubectl] interactive-deploy-test105ndc Active 2m44s
[kubectl] interactive-deploy-test73ewb Active 55s
[kubectl] interactive-dev-test72bjx Active 43s
[kubectl] kube-node-lease Active 151d
[kubectl] kube-public Active 151d
[kubectl] kube-system Active 151d
[kubectl] olm Active 41d
[kubectl] operators Active 41d
[kubectl] test Active 7d4h
[kubectl] ycar-namespace Terminating 9s
Running kubectl with args [kubectl create configmap config-map-for-cleanup --from-literal type=testing --from-literal team=odo -n cmd-delete-test266dqa]
[kubectl] configmap/config-map-for-cleanup created
Current working dir: /go/odo_1/tests/integration
Running odo with args [odo preference remove registry DefaultDevfileRegistry -f]
[odo] I0802 12:22:57.639389 26337 util.go:767] Cached response used.
[odo] I0802 12:22:57.639625 26337 implem.go:106] The path for preference file is /tmp/831421686/preference.yaml
[odo] Successfully removed registry
[odo] I0802 12:22:57.647075 26337 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo preference add registry DefaultDevfileRegistry http://12659208-eu-de.lb.appdomain.cloud]
[odo] I0802 12:22:58.402207 26356 util.go:767] Cached response used.
[odo] I0802 12:22:58.401613 26356 implem.go:106] The path for preference file is /tmp/831421686/preference.yaml
[odo] I0802 12:22:58.403315 26356 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
[odo] New registry successfully added
Setting current dir to: /tmp/395367738
Running odo with args [odo init --name mynodejs --devfile-path /go/odo_1/tests/examples/source/devfiles/nodejs/devfile-deploy-with-multiple-resources.yaml]
[odo] I0802 12:22:59.315699 26396 util.go:754] Response will be cached in /tmp/odohttpcache for 1h0m0s
[odo] I0802 12:22:59.316772 26396 util.go:767] Cached response used.
[odo] I0802 12:22:59.315931 26396 implem.go:106] The path for preference file is /tmp/831421686/preference.yaml
[odo] __
[odo] / \__ Initializing new component
[odo] \__/ \
[odo] / \__/ odo version: v3.0.0-beta2
[odo] \__/
[odo]
[odo] Interactive mode enabled, please answer the following questions:
[odo] • Copying devfile from "/go/odo_1/tests/examples/source/devfiles/nodejs/devfile-deploy-with-multiple-resources.yaml" ...
[odo]
✓ Copying devfile from "/go/odo_1/tests/examples/source/devfiles/nodejs/devfile-deploy-with-multiple-resources.yaml" [1ms]
[odo] I0802 12:22:59.321614 26396 context.go:141] absolute devfile path: '/tmp/395367738/devfile.yaml'
[odo] I0802 12:22:59.321632 26396 context.go:92] absolute devfile path: '/tmp/395367738/devfile.yaml'
[odo] I0802 12:22:59.322638 26396 content.go:33] converted devfile YAML to JSON
[odo] I0802 12:22:59.322742 26396 apiVersion.go:45] devfile schemaVersion: '2.2.0'
[odo] I0802 12:22:59.322883 26396 helper.go:41] devfile apiVersion '2.2.0' is supported
[odo] I0802 12:22:59.337325 26396 schema.go:46] validated devfile schema
[odo] I0802 12:22:59.351489 26396 writer.go:30] devfile yaml created at: 'devfile.yaml'
[odo]
[odo] Your new component 'mynodejs' is ready in the current directory.
[odo] To start editing your component, use 'odo dev' and open this folder in your favorite IDE.
[odo] Changes will be directly reflected on the cluster.
[odo] To deploy your component to a cluster use "odo deploy".
[odo] I0802 12:22:59.351814 26396 odo.go:75] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo dev --random-ports]
[odo] I0802 12:23:00.368916 26452 implem.go:106] The path for preference file is /tmp/831421686/preference.yaml
[odo] I0802 12:23:00.462739 26452 context.go:141] absolute devfile path: '/tmp/395367738/devfile.yaml'
[odo] I0802 12:23:00.462768 26452 context.go:92] absolute devfile path: '/tmp/395367738/devfile.yaml'
[odo] I0802 12:23:00.463582 26452 content.go:33] converted devfile YAML to JSON
[odo] I0802 12:23:00.463674 26452 apiVersion.go:45] devfile schemaVersion: '2.2.0'
[odo] I0802 12:23:00.463798 26452 helper.go:41] devfile apiVersion '2.2.0' is supported
[odo] I0802 12:23:00.473427 26452 schema.go:46] validated devfile schema
[odo] I0802 12:23:00.485810 26452 validate.go:45] Successfully validated devfile sections
[odo] I0802 12:23:00.485878 26452 validate.go:45] Successfully validated devfile sections
[odo] __
[odo] / \__ Developing using the mynodejs Devfile
[odo] \__/ \ Namespace: cmd-delete-test266dqa
[odo] / \__/ odo version: v3.0.0-beta2
[odo] \__/
[odo]
[odo] ↪ Deploying to the cluster in developer mode
[odo] • Waiting for Kubernetes resources ...
[odo] I0802 12:23:00.524652 26452 libdevfile.go:184] Build command: install
[odo] I0802 12:23:00.524672 26452 libdevfile.go:196] Run command: run
[odo] I0802 12:23:00.524743 26452 kclient.go:207] Checking if "clusterserviceversions" resource is supported
[odo] I0802 12:23:00.530632 26452 service.go:73] Getting list of services
[odo] I0802 12:23:00.530652 26452 operators.go:30] Fetching list of operators installed in cluster
[odo] I0802 12:23:00.606587 26452 service.go:91] Getting services started from operator: cloud-native-postgresql.v1.15.1
[odo] I0802 12:23:00.607478 26452 service.go:122] Getting instances of: backups.postgresql.k8s.enterprisedb.io
[odo] I0802 12:23:00.649250 26452 service.go:122] Getting instances of: clusters.postgresql.k8s.enterprisedb.io
[odo] I0802 12:23:00.681970 26452 service.go:122] Getting instances of: poolers.postgresql.k8s.enterprisedb.io
[odo] I0802 12:23:00.696922 26452 service.go:122] Getting instances of: scheduledbackups.postgresql.k8s.enterprisedb.io
[odo] I0802 12:23:00.713156 26452 service.go:91] Getting services started from operator: service-binding-operator.v1.1.1
[odo] I0802 12:23:00.713174 26452 service.go:122] Getting instances of: bindablekinds.binding.operators.coreos.com
[odo] I0802 12:23:00.722420 26452 service.go:122] Getting instances of: clusterworkloadresourcemappings.servicebinding.io
[odo] I0802 12:23:00.729564 26452 service.go:122] Getting instances of: servicebindings.binding.operators.coreos.com
[odo] I0802 12:23:00.739033 26452 service.go:122] Getting instances of: servicebindings.servicebinding.io
[odo] I0802 12:23:00.829012 26452 adapter.go:440] We are deploying these annotations: map[odo.dev/project-type:nodejs]
[odo] I0802 12:23:00.829406 26452 utils.go:91] Updating container runtime with mandatory volume mounts
[odo] I0802 12:23:00.829950 26452 utils.go:183] Updating container runtime env with debug command's debugPort
[odo] I0802 12:23:00.830507 26452 utils.go:205] No entrypoint defined for the component, setting container runtime entrypoint to 'tail -f /dev/null'. You can set a 'command' and/or 'args' for the component to override this default entrypoint.
[odo] I0802 12:23:00.872803 26452 adapter.go:548] Creating deployment mynodejs-app
[odo] I0802 12:23:00.872823 26452 adapter.go:549] The component name is mynodejs
[odo] I0802 12:23:00.884250 26452 kclient.go:256] Kubernetes version is "v1.23.9+IKS"
[odo] I0802 12:23:00.884280 26452 kclient.go:268] Cluster has support for SSA: true
[odo] I0802 12:23:00.962477 26452 adapter.go:580] Successfully created component mynodejs
[odo] I0802 12:23:01.031634 26452 adapter.go:592] Successfully created Service for component mynodejs
[odo] I0802 12:23:01.031679 26452 deployments.go:135] Waiting for mynodejs-app deployment rollout
[odo] I0802 12:23:01.040260 26452 deployments.go:166] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2022-08-02T12:23:00Z","lastTransitionTime":"2022-08-02T12:23:00Z","reason":"NewReplicaSetCreated","message":"Created new replica set \"mynodejs-app-88848dbcf\""}
[odo] I0802 12:23:01.040277 26452 deployments.go:166] Deployment Condition: {"type":"Available","status":"False","lastUpdateTime":"2022-08-02T12:23:01Z","lastTransitionTime":"2022-08-02T12:23:01Z","reason":"MinimumReplicasUnavailable","message":"Deployment does not have minimum availability."}
[odo] I0802 12:23:01.040290 26452 deployments.go:173] Waiting for deployment "mynodejs-app" rollout to finish: 0 out of 1 new replicas have been updated...
[odo] I0802 12:23:01.040301 26452 deployments.go:183] Waiting for deployment spec update to be observed...
[odo] I0802 12:23:01.082497 26452 deployments.go:166] Deployment Condition: {"type":"Available","status":"False","lastUpdateTime":"2022-08-02T12:23:01Z","lastTransitionTime":"2022-08-02T12:23:01Z","reason":"MinimumReplicasUnavailable","message":"Deployment does not have minimum availability."}
[odo] I0802 12:23:01.082629 26452 deployments.go:166] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2022-08-02T12:23:01Z","lastTransitionTime":"2022-08-02T12:23:00Z","reason":"ReplicaSetUpdated","message":"ReplicaSet \"mynodejs-app-88848dbcf\" is progressing."}
[odo] I0802 12:23:01.082645 26452 deployments.go:177] Waiting for deployment "mynodejs-app" rollout to finish: 0 of 1 updated replicas are available...
[odo] I0802 12:23:01.082788 26452 deployments.go:183] Waiting for deployment spec update to be observed...
[odo] I0802 12:23:05.290428 26452 deployments.go:166] Deployment Condition: {"type":"Available","status":"True","lastUpdateTime":"2022-08-02T12:23:05Z","lastTransitionTime":"2022-08-02T12:23:05Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}
[odo] I0802 12:23:05.290495 26452 deployments.go:166] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2022-08-02T12:23:05Z","lastTransitionTime":"2022-08-02T12:23:00Z","reason":"NewReplicaSetAvailable","message":"ReplicaSet \"mynodejs-app-88848dbcf\" has successfully progressed."}
[odo] I0802 12:23:05.290503 26452 deployments.go:179] Deployment "mynodejs-app" successfully rolled out
[odo] I0802 12:23:05.290519 26452 deployments.go:183] Waiting for deployment spec update to be observed...
[odo] I0802 12:23:05.290801 26452 pods.go:29] Waiting for component=mynodejs pod
[odo] I0802 12:23:05.304705 26452 pods.go:59] Status of mynodejs-app-88848dbcf-8f6w8 pod is Running
[odo] I0802 12:23:05.304787 26452 pods.go:63] Pod Conditions: {"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:23:01Z"}
[odo] I0802 12:23:05.304799 26452 pods.go:63] Pod Conditions: {"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:23:05Z"}
[odo] I0802 12:23:05.304815 26452 pods.go:63] Pod Conditions: {"type":"ContainersReady","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:23:05Z"}
[odo] I0802 12:23:05.304821 26452 pods.go:63] Pod Conditions: {"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:23:01Z"}
[odo] I0802 12:23:05.304958 26452 pods.go:68] Container Status: {"name":"runtime","state":{"running":{"startedAt":"2022-08-02T12:23:04Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"registry.access.redhat.com/ubi8/nodejs-14:latest","imageID":"registry.access.redhat.com/ubi8/nodejs-14@sha256:5518e21fb236c90444bbb14147065e9039126971da6d51452c41191c99b22107","containerID":"containerd://f49c6d6c6d836a7f688b39b75f9acbd0ecca8b6015c4a834719368e690a3ee2d","started":true}
[odo] I0802 12:23:05.304971 26452 pods.go:72] Pod mynodejs-app-88848dbcf-8f6w8 is Running
[odo] I0802 12:23:05.336234 26452 kclient.go:207] Checking if "servicebindings" resource is supported
[odo] I0802 12:23:05.345754 26452 service.go:73] Getting list of services
[odo] I0802 12:23:05.345921 26452 operators.go:30] Fetching list of operators installed in cluster
[odo] I0802 12:23:05.388755 26452 service.go:91] Getting services started from operator: cloud-native-postgresql.v1.15.1
[odo] I0802 12:23:05.388779 26452 service.go:122] Getting instances of: backups.postgresql.k8s.enterprisedb.io
[odo] I0802 12:23:05.403888 26452 service.go:122] Getting instances of: clusters.postgresql.k8s.enterprisedb.io
[odo] I0802 12:23:05.415024 26452 service.go:122] Getting instances of: poolers.postgresql.k8s.enterprisedb.io
[odo] I0802 12:23:05.429402 26452 service.go:122] Getting instances of: scheduledbackups.postgresql.k8s.enterprisedb.io
[odo] I0802 12:23:05.443162 26452 service.go:91] Getting services started from operator: service-binding-operator.v1.1.1
[odo] I0802 12:23:05.443184 26452 service.go:122] Getting instances of: bindablekinds.binding.operators.coreos.com
[odo] I0802 12:23:05.448689 26452 service.go:122] Getting instances of: clusterworkloadresourcemappings.servicebinding.io
[odo] I0802 12:23:05.456242 26452 service.go:122] Getting instances of: servicebindings.binding.operators.coreos.com
[odo] I0802 12:23:05.468363 26452 service.go:122] Getting instances of: servicebindings.servicebinding.io
[odo] I0802 12:23:05.478050 26452 deployments.go:135] Waiting for mynodejs-app deployment rollout
[odo] I0802 12:23:05.484393 26452 deployments.go:166] Deployment Condition: {"type":"Available","status":"True","lastUpdateTime":"2022-08-02T12:23:05Z","lastTransitionTime":"2022-08-02T12:23:05Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}
[odo] I0802 12:23:05.484413 26452 deployments.go:166] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2022-08-02T12:23:05Z","lastTransitionTime":"2022-08-02T12:23:00Z","reason":"NewReplicaSetAvailable","message":"ReplicaSet \"mynodejs-app-88848dbcf\" has successfully progressed."}
[odo] I0802 12:23:05.484419 26452 deployments.go:179] Deployment "mynodejs-app" successfully rolled out
[odo] I0802 12:23:05.484425 26452 deployments.go:183] Waiting for deployment spec update to be observed...
[odo] I0802 12:23:05.484464 26452 pods.go:29] Waiting for component=mynodejs pod
[odo] I0802 12:23:05.493379 26452 pods.go:59] Status of mynodejs-app-88848dbcf-8f6w8 pod is Running
[odo] I0802 12:23:05.493407 26452 pods.go:63] Pod Conditions: {"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:23:01Z"}
[odo] I0802 12:23:05.493414 26452 pods.go:63] Pod Conditions: {"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:23:05Z"}
[odo] I0802 12:23:05.493419 26452 pods.go:63] Pod Conditions: {"type":"ContainersReady","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:23:05Z"}
[odo] I0802 12:23:05.493425 26452 pods.go:63] Pod Conditions: {"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2022-08-02T12:23:01Z"}
[odo] I0802 12:23:05.493488 26452 pods.go:68] Container Status: {"name":"runtime","state":{"running":{"startedAt":"2022-08-02T12:23:04Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"registry.access.redhat.com/ubi8/nodejs-14:latest","imageID":"registry.access.redhat.com/ubi8/nodejs-14@sha256:5518e21fb236c90444bbb14147065e9039126971da6d51452c41191c99b22107","containerID":"containerd://f49c6d6c6d836a7f688b39b75f9acbd0ecca8b6015c4a834719368e690a3ee2d","started":true}
[odo] I0802 12:23:05.493496 26452 pods.go:72] Pod mynodejs-app-88848dbcf-8f6w8 is Running
[odo]
✓ Waiting for Kubernetes resources [5s]
[odo] • Syncing files into the container ...
[odo] I0802 12:23:05.496415 26452 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 395367738, destBase: ., destFile: .
[odo] I0802 12:23:05.496434 26452 file_indexer.go:414] Corrected destinations: base: . file: .
[odo] I0802 12:23:05.497037 26452 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 395367738/.gitignore, destBase: ., destFile: .gitignore
[odo] I0802 12:23:05.497048 26452 file_indexer.go:414] Corrected destinations: base: . file: .gitignore
[odo] I0802 12:23:05.497180 26452 file_indexer.go:461] file added: /tmp/395367738/.gitignore
[odo] I0802 12:23:05.497201 26452 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 395367738/.odo, destBase: ., destFile: .odo
[odo] I0802 12:23:05.497213 26452 file_indexer.go:414] Corrected destinations: base: . file: .odo
[odo] I0802 12:23:05.497289 26452 file_indexer.go:461] file added: /tmp/395367738/.odo
[odo] I0802 12:23:05.497297 26452 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 395367738/devfile.yaml, destBase: ., destFile: devfile.yaml
[odo] I0802 12:23:05.497300 26452 file_indexer.go:414] Corrected destinations: base: . file: devfile.yaml
[odo] I0802 12:23:05.497399 26452 file_indexer.go:461] file added: /tmp/395367738/devfile.yaml
[odo] I0802 12:23:05.497408 26452 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 395367738/package.json, destBase: ., destFile: package.json
[odo] I0802 12:23:05.497412 26452 file_indexer.go:414] Corrected destinations: base: . file: package.json
[odo] I0802 12:23:05.497485 26452 file_indexer.go:461] file added: /tmp/395367738/package.json
[odo] I0802 12:23:05.497494 26452 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 395367738/server.js, destBase: ., destFile: server.js
[odo] I0802 12:23:05.497498 26452 file_indexer.go:414] Corrected destinations: base: . file: server.js
[odo] I0802 12:23:05.497587 26452 file_indexer.go:461] file added: /tmp/395367738/server.js
[odo] I0802 12:23:05.497597 26452 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 395367738/test, destBase: ., destFile: test
[odo] I0802 12:23:05.497601 26452 file_indexer.go:414] Corrected destinations: base: . file: test
[odo] I0802 12:23:05.497704 26452 file_indexer.go:461] file added: /tmp/395367738/test
[odo] I0802 12:23:05.497962 26452 file_indexer.go:408] recursiveTar arguments: srcBase: /tmp, srcFile: 395367738/test/test.js, destBase: ., destFile: test/test.js
[odo] I0802 12:23:05.497971 26452 file_indexer.go:414] Corrected destinations: base: . file: test/test.js
[odo] I0802 12:23:05.498066 26452 file_indexer.go:461] file added: /tmp/395367738/test/test.js
[odo] I0802 12:23:05.498251 26452 adapter.go:137] List of files to be deleted: +[]
[odo] I0802 12:23:05.498262 26452 adapter.go:139] List of files changed: +[/tmp/395367738/package.json /tmp/395367738/server.js /tmp/395367738/test /tmp/395367738/test/test.js /tmp/395367738/.gitignore /tmp/395367738/devfile.yaml]
[odo] I0802 12:23:05.498282 26452 adapter.go:173] Push: componentName: mynodejs, path: /tmp/395367738, files: [/tmp/395367738/package.json /tmp/395367738/server.js /tmp/395367738/test /tmp/395367738/test/test.js /tmp/395367738/.gitignore /tmp/395367738/devfile.yaml], delFiles: [*], isForcePush: true
[odo] I0802 12:23:05.498623 26452 adapter.go:188] Creating /project on the remote container if it doesn't already exist
[odo] I0802 12:23:05.498654 26452 remotecmd.go:30] Executing command [mkdir -p /project] for pod: mynodejs-app-88848dbcf-8f6w8 in container: runtime
[odo] I0802 12:23:05.660734 26452 adapter.go:290] remote files marked for deletion are [/project/*]
[odo] I0802 12:23:05.660764 26452 remotecmd.go:30] Executing command [rm -rf /project/*] for pod: mynodejs-app-88848dbcf-8f6w8 in container: runtime
[odo] I0802 12:23:05.815046 26452 adapter.go:213] Copying files /tmp/395367738/package.json /tmp/395367738/server.js /tmp/395367738/test /tmp/395367738/test/test.js /tmp/395367738/.gitignore /tmp/395367738/devfile.yaml to pod
[odo] I0802 12:23:05.815069 26452 sync.go:37] CopyFile arguments: localPath /tmp/395367738, dest /project/395367738, targetPath /project, copyFiles [/tmp/395367738/package.json /tmp/395367738/server.js /tmp/395367738/test /tmp/395367738/test/test.js /tmp/395367738/.gitignore /tmp/395367738/devfile.yaml], globalExps [.git .odo/odo-file-index.json]
[odo] I0802 12:23:05.815090 26452 pods.go:174] Executing command tar xf - -C /project --no-same-owner
[odo] I0802 12:23:05.815334 26452 sync.go:78] makeTar arguments: srcPath: /tmp/395367738, destPath: /project/395367738, files: [/tmp/395367738/package.json /tmp/395367738/server.js /tmp/395367738/test /tmp/395367738/test/test.js /tmp/395367738/.gitignore /tmp/395367738/devfile.yaml]
[odo] I0802 12:23:05.815523 26452 sync.go:109] Got abs path: /tmp/395367738/package.json
[odo] I0802 12:23:05.815532 26452 sync.go:110] Making /tmp/395367738 relative to /tmp/395367738/package.json
[odo] I0802 12:23:05.815538 26452 sync.go:126] makeTar srcFile: 395367738/package.json
[odo] I0802 12:23:05.815542 26452 sync.go:127] makeTar destFile: package.json
[odo] I0802 12:23:05.815547 26452 sync.go:147] recursiveTar arguments: srcBase: /tmp, srcFile: 395367738/package.json, destBase: /project, destFile: package.json
[odo] I0802 12:23:05.815554 26452 sync.go:153] Corrected destinations: base: /project file: package.json
[odo] I0802 12:23:05.977442 26452 sync.go:109] Got abs path: /tmp/395367738/server.js
[odo] I0802 12:23:05.977483 26452 sync.go:110] Making /tmp/395367738 relative to /tmp/395367738/server.js
[odo] I0802 12:23:05.977623 26452 sync.go:126] makeTar srcFile: 395367738/server.js
[odo] I0802 12:23:05.977632 26452 sync.go:127] makeTar destFile: server.js
[odo] I0802 12:23:05.977780 26452 sync.go:147] recursiveTar arguments: srcBase: /tmp, srcFile: 395367738/server.js, destBase: /project, destFile: server.js
[odo] I0802 12:23:05.977941 26452 sync.go:153] Corrected destinations: base: /project file: server.js
[odo] I0802 12:23:05.978401 26452 sync.go:109] Got abs path: /tmp/395367738/test
[odo] I0802 12:23:05.978414 26452 sync.go:110] Making /tmp/395367738 relative to /tmp/395367738/test
[odo] I0802 12:23:05.978419 26452 sync.go:126] makeTar srcFile: 395367738/test
[odo] I0802 12:23:05.978425 26452 sync.go:127] makeTar destFile: test
[odo] I0802 12:23:05.978429 26452 sync.go:147] recursiveTar arguments: srcBase: /tmp, srcFile: 395367738/test, destBase: /project, destFile: test
[odo] I0802 12:23:05.978432 26452 sync.go:153] Corrected destinations: base: /project file: test
[odo] I0802 12:23:05.978790 26452 sync.go:109] Got abs path: /tmp/395367738/test/test.js
[odo] I0802 12:23:05.978823 26452 sync.go:110] Making /tmp/395367738 relative to /tmp/395367738/test/test.js
[odo] I0802 12:23:05.978830 26452 sync.go:126] makeTar srcFile: 395367738/test/test.js
[odo] I0802 12:23:05.978833 26452 sync.go:127] makeTar destFile: test/test.js
[odo] I0802 12:23:05.978838 26452 sync.go:147] recursiveTar arguments: srcBase: /tmp, srcFile: 395367738/test/test.js, destBase: /project, destFile: test/test.js
[odo] I0802 12:23:05.978842 26452 sync.go:153] Corrected destinations: base: /project file: test/test.js
[odo] I0802 12:23:05.979273 26452 sync.go:109] Got abs path: /tmp/395367738/.gitignore
[odo] I0802 12:23:05.979283 26452 sync.go:110] Making /tmp/395367738 relative to /tmp/395367738/.gitignore
[odo] I0802 12:23:05.979288 26452 sync.go:126] makeTar srcFile: 395367738/.gitignore
[odo] I0802 12:23:05.979292 26452 sync.go:127] makeTar destFile: .gitignore
[odo] I0802 12:23:05.979296 26452 sync.go:147] recursiveTar arguments: srcBase: /tmp, srcFile: 395367738/.gitignore, destBase: /project, destFile: .gitignore
[odo] I0802 12:23:05.979300 26452 sync.go:153] Corrected destinations: base: /project file: .gitignore
[odo] I0802 12:23:05.979667 26452 sync.go:109] Got abs path: /tmp/395367738/devfile.yaml
[odo] I0802 12:23:05.979677 26452 sync.go:110] Making /tmp/395367738 relative to /tmp/395367738/devfile.yaml
[odo] I0802 12:23:05.979683 26452 sync.go:126] makeTar srcFile: 395367738/devfile.yaml
[odo] I0802 12:23:05.979687 26452 sync.go:127] makeTar destFile: devfile.yaml
[odo] I0802 12:23:05.979691 26452 sync.go:147] recursiveTar arguments: srcBase: /tmp, srcFile: 395367738/devfile.yaml, destBase: /project, destFile: devfile.yaml
[odo] I0802 12:23:05.979695 26452 sync.go:153] Corrected destinations: base: /project file: devfile.yaml
[odo]
✓ Syncing files into the container [541ms]
[odo] I0802 12:23:06.037840 26452 kubeexec.go:40] GetProcessInfoForCommand for "run"
[odo] I0802 12:23:06.037879 26452 remotecmd.go:30] Executing command [/bin/sh -c cat /opt/odo/.odo_cmd_run.pid || true] for pod: mynodejs-app-88848dbcf-8f6w8 in container: runtime
[odo] cat: /opt/odo/.odo_cmd_run.pid: No such file or directory
[odo] I0802 12:23:06.247457 26452 adapter.go:366] running=false, execRequired=true, parameters.RunModeChanged=false
[odo] • Building your application in container on cluster (command: install) ...
[odo] I0802 12:23:06.247975 26452 remotecmd.go:30] Executing command [/bin/sh -c cd /project && (npm install) 1>>/proc/1/fd/1 2>>/proc/1/fd/2] for pod: mynodejs-app-88848dbcf-8f6w8 in container: runtime
Deleting project:
Running kubectl with args [kubectl delete namespaces --wait=false]
[kubectl] error: resource name may not be empty
Deleting project: cmd-delete-test266dqa
Running kubectl with args [kubectl delete namespaces cmd-delete-test266dqa --wait=false]
[kubectl] namespace "cmd-delete-test266dqa" deleted
Setting current dir to: /go/odo_1/tests/integration
Deleting dir: /tmp/395367738
Deleting dir: /tmp/831421686
<< End Captured GinkgoWriter Output
Timed out after 180.001s.
Expected
<string>: __
/ \__ Developing using the mynodejs Devfile
\__/ \ Namespace: cmd-delete-test266dqa
/ \__/ odo version: v3.0.0-beta2
\__/
↪ Deploying to the cluster in developer mode
• Waiting for Kubernetes resources ...
✓ Waiting for Kubernetes resources [5s]
• Syncing files into the container ...
✓ Syncing files into the container [541ms]
cat: /opt/odo/.odo_cmd_run.pid: No such file or directory
• Building your application in container on cluster (command: install) ...
to contain substring
<string>: Press Ctrl+c to exit
In [BeforeEach] at: /go/odo_1/tests/helper/helper_run.go:39
------------------------------
•
------------------------------
• [SLOW TEST] [128.070 seconds]
odo list with devfile devfile has missing metadata when projectType is missing when the component is pushed in dev mode should show the language for 'Type' in odo list
/go/odo_1/tests/integration/cmd_devfile_list_test.go:137
------------------------------
• [SLOW TEST] [151.404 seconds]
odo dev command tests when node-js application is created and deployed with devfile schema 2.2.0 when Update the devfile.yaml, and waiting synchronization should check cpuLimit, cpuRequests, memoryRequests after restart
/go/odo_1/tests/integration/cmd_dev_test.go:1809
------------------------------
• [SLOW TEST] [326.267 seconds]
odo logs command tests when component is created and odo logs is executed when running in Dev mode should successfully show logs of the running component
/go/odo_1/tests/integration/cmd_logs_test.go:86
------------------------------
• [SLOW TEST] [156.318 seconds]
odo dev command tests when a component with multiple endpoints is run when odo dev is stopped should remove forwarded ports from state file
/go/odo_1/tests/integration/cmd_dev_test.go:2008
------------------------------
• [SLOW TEST] [200.571 seconds]
odo dev command tests when no project is present should sync to the correct dir in container
/go/odo_1/tests/integration/cmd_dev_test.go:1043
------------------------------
• [SLOW TEST] [357.131 seconds]
odo dev command tests when a component is bootstrapped and pushed when a state file is not writable should fail running odo dev
/go/odo_1/tests/integration/cmd_dev_test.go:179
------------------------------
• [SLOW TEST] [241.968 seconds]
odo dev command tests when a component is bootstrapped and pushed should use the index information from previous push operation
/go/odo_1/tests/integration/cmd_dev_test.go:70
------------------------------
• [SLOW TEST] [231.393 seconds]
odo dev command tests when doing odo dev and there is a env variable with spaces should be able to exec command
/go/odo_1/tests/integration/cmd_dev_test.go:696
------------------------------
• [SLOW TEST] [231.865 seconds]
odo dev command tests when running odo dev and multiple env variables are set should be able to exec command
/go/odo_1/tests/integration/cmd_dev_test.go:679
------------------------------
• [SLOW TEST] [380.730 seconds]
odo dev debug command tests when running build and debug commands as composite in different containers and a shared volume should run successfully
/go/odo_1/tests/integration/cmd_dev_debug_test.go:147
------------------------------
• [SLOW TEST] [248.890 seconds]
odo dev command tests when a component is bootstrapped and pushed when odo dev is executed when recording telemetry data should record the telemetry data correctly
/go/odo_1/tests/integration/cmd_dev_test.go:241
------------------------------
• [SLOW TEST] [402.923 seconds]
odo dev command tests port-forwarding for the component when devfile has single endpoint when running odo dev when modifying memoryLimit for container in Devfile should expose the endpoint on localhost
/go/odo_1/tests/integration/cmd_dev_test.go:430
------------------------------
Summarizing 12 Failures:
[FAIL] odo init interactive command tests [It] should not fail when using -v flag
/go/odo_1/tests/helper/helper_interactive.go:121
[FAIL] odo deploy interactive command tests when directory is not empty [It] should run alizer to download devfile
/go/odo_1/tests/helper/helper_interactive.go:121
[FAIL] odo init interactive command tests displaying welcoming messages when directory is not empty [It] should display appropriate welcoming messages
/go/odo_1/tests/helper/helper_interactive.go:121
[FAIL] odo init interactive command tests displaying welcoming messages when directory is empty [It] should display appropriate welcoming messages
/go/odo_1/tests/helper/helper_interactive.go:121
[FAIL] odo dev interactive command tests when directory is not empty [It] should run alizer to download devfile
/go/odo_1/tests/helper/helper_interactive.go:121
[FAIL] odo delete command tests when a component is bootstrapped when component is deployed to the cluster in the namespace set in env.yaml which is not the same as the current active namespace [BeforeEach] when the component is deleted should have deleted the component
/go/odo_1/tests/helper/helper_run.go:39
[FAIL] odo dev interactive command tests when directory is not empty [It] should display welcoming messages first
/go/odo_1/tests/helper/helper_interactive.go:121
[FAIL] odo init interactive command tests [It] should start downloading starter project only after all interactive questions have been asked
/go/odo_1/tests/helper/helper_interactive.go:121
[FAIL] odo deploy interactive command tests when directory is not empty [It] should display welcoming messages first
/go/odo_1/tests/helper/helper_interactive.go:121
[FAIL] odo deploy interactive command tests when directory is not empty [It] should run alizer to download devfile successfully even with -v flag
/go/odo_1/tests/helper/helper_interactive.go:121
[FAIL] odo dev interactive command tests when directory is not empty [It] should run alizer to download devfile successfully even with -v flag
/go/odo_1/tests/helper/helper_interactive.go:121
[FAIL] odo init interactive command tests [It] should download correct devfile
/go/odo_1/tests/helper/helper_interactive.go:121
Ran 281 of 283 Specs in 775.849 seconds
FAIL! -- 269 Passed | 12 Failed | 0 Pending | 2 Skipped
EDIT: Similarly cancelled the OCP tests on IBM Cloud as well. And it looks like another run of the tests on IBM Cloud is taking longer than usual as well. It's running since 20 minutes whereas k8s tests usually end in about 16 minutes on the IBM Cloud.
EDIT 2: Cancelled the k8s IBM Cloud tests after ~30 minutes of run. EDIT 3: Cancelled OCP IBM Cloud tessts after ~23 minutes of run.
I think you will need to change the interactive tests, now odo is not asking the name anymore
After reading the issue #5847, I think odo should still ask for the name, but the default one should be the one detected, instead of my-%s-app
Yup, you're right! Changing that now.
OpenShift Tests on commit 2a52646becc3226e5b2f2e2cecd64e4a8df4e723 finished successfully. View logs: TXT HTML
Kubernetes Tests on commit 2a52646becc3226e5b2f2e2cecd64e4a8df4e723 finished successfully. View logs: TXT HTML
Removed WIP!
Other than me updating the integration_test.go, this is up for review.
Unit tests added @rm3l ready for another review!
Rebased and updated, ready for another review!
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.3% Duplication
@valaparthvi I forgot a filepath.Base() on that section, so that's why the name was not coming up correctly.
Oddly enough it was working correctly on Mac M1 with Alizer.
It most likely has to do with the dir name detection of the alizer library that was messing it up between platforms. My update fixes it.
@cdrage The earlier issue about name detection seems to have resolved, thanks for the changes!
I found another thing though:
If I run odo init from an empty directory, it will always take the directory name into account, because we don't download the starter project until after asking the user for a name.
This is valid, but I think we should download the starter project first, so that we correctly analyze the name. What do you think?
Related issue: https://github.com/redhat-developer/odo/issues/5495
@cdrage The earlier issue about name detection seems to have resolved, thanks for the changes!
I found another thing though: If I run
odo initfrom an empty directory, it will always take the directory name into account, because we don't download the starter project until after asking the user for a name. This is valid, but I think we should download the starter project first, so that we correctly analyze the name. What do you think?Related issue: #5495
Might have to open up a separate issue for that as it's outside the scope of this current issue (since it'll change it so that we ask the name after downloading the starter project...)
I've opened up https://github.com/redhat-developer/odo/issues/6039 to address this
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: valaparthvi
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [valaparthvi]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
@cdrage Could you please rebase now #6038 is merged, so we can be sure the tests pass on Windows?
I made some cleanup on IBM Cloud Openshift cluster. Let's restart the tests
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
/lgtm