Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Bump Alizer to fix potential panic when analyzing large projects #6926

Conversation

rm3l
Copy link
Member

@rm3l rm3l commented Jun 23, 2023

What type of PR is this:
/kind task
/area dependency
/area init

What does this PR do / why we need it:
This bumps Alizer to the latest commit at this time, which fixes an issue when analyzing large projects,
by preventing potential panics when trying to detect application ports (see redhat-developer/alizer#220).

Note:
As explained in the second commit, I had to downgrade and pin the versions of sigs.k8s.io/controller-runtime and k8s.io/* to the previous versions we had, because of build errors with Service Binding Operator libraries (which I did not want to upgrade).

Build error for reference
go install -mod=vendor -ldflags="-X github.com/redhat-developer/odo/pkg/version.GITCOMMIT=cb9c13900" ./cmd/odo/
# github.com/redhat-developer/service-binding-operator/apis/spec/v1alpha3
vendor/github.com/redhat-developer/service-binding-operator/apis/spec/v1alpha3/servicebinding_webhook.go:44:27: cannot use &ServiceBinding{} (value of type *ServiceBinding) as type admission.Validator in variable declaration:
        *ServiceBinding does not implement admission.Validator (wrong type for ValidateCreate method)
                have ValidateCreate() error
                want ValidateCreate() (warnings admission.Warnings, err error)
# github.com/redhat-developer/service-binding-operator/apis/binding/v1alpha1
vendor/github.com/redhat-developer/service-binding-operator/apis/binding/v1alpha1/servicebinding_webhook.go:37:27: cannot use &ServiceBinding{} (value of type *ServiceBinding) as type admission.Validator in variable declaration:
        *ServiceBinding does not implement admission.Validator (wrong type for ValidateCreate method)
                have ValidateCreate() error
                want ValidateCreate() (warnings admission.Warnings, err error)
make: *** [Makefile:90: install] Error 2

Which issue(s) this PR fixes:
Fixes #6921

PR acceptance criteria:

  • Unit test

  • Integration test

  • Documentation

How to test changes / Special notes to the reviewer:
Try to run odo analyze -o json against Backstage. It would panic before the changes here, but now it should return properly:

☸ k3d-local-k8s-cluster in ~/w/t/backstage on  master via  v18.10.0 took 2s 
$ odo analyze -o json
[
        {
                "devfile": "nodejs-react",
                "devfileRegistry": "ns-devfile-staging",
                "devfileVersion": "2.0.2",
                "name": "root"
        }
]

@openshift-ci openshift-ci bot added the kind/task Issue is actionable task label Jun 23, 2023
@netlify
Copy link

netlify bot commented Jun 23, 2023

🔨 Deploy Preview deleted from internal cluster!

Name Link
🔨 Latest commit 8ac52eb
😎 Deploy Preview https://odo-dev-pr-6926.odo-test-kubernete-449701-49529fc6e6a4a9fe7ebba9a3db5b55c4-0000.eu-de.containers.appdomain.cloud/

@openshift-ci openshift-ci bot added area/dependency Issues or PRs related to dependency changes. This label is also used on all Dependabot PRs area/init Issues or PRs related to `odo init` labels Jun 23, 2023
@openshift-ci openshift-ci bot requested review from feloy and valaparthvi June 23, 2023 08:29
@rm3l rm3l changed the title Bump Alizer to the latest commit at this time Bump Alizer to fix issue when analyzing large projects Jun 23, 2023
@rm3l rm3l changed the title Bump Alizer to fix issue when analyzing large projects Bump Alizer to fix panic when analyzing large projects Jun 23, 2023
@odo-robot
Copy link

odo-robot bot commented Jun 23, 2023

NoCluster Tests on commit 1be79e8 finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Jun 23, 2023

OpenShift Unauthenticated Tests on commit 1be79e8 finished with errors.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Jun 23, 2023

Unit Tests on commit 1be79e8 finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Jun 23, 2023

Validate Tests on commit 3d73bac finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Jun 23, 2023

Kubernetes Tests on commit 1be79e8 finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Jun 23, 2023

Windows Tests (OCP) on commit 1be79e8 finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Jun 23, 2023

OpenShift Tests on commit 1be79e8 finished successfully.
View logs: TXT HTML

@rm3l rm3l changed the title Bump Alizer to fix panic when analyzing large projects Bump Alizer to fix potential panic when analyzing large projects Jun 23, 2023
@rm3l rm3l force-pushed the 6921-update-alizer-to-fix-issue-when-analyzing-large-projects branch 2 times, most recently from 9bf274d to 3a76856 Compare June 23, 2023 16:47
@odo-robot
Copy link

odo-robot bot commented Jun 23, 2023

Kubernetes Docs Tests on commit bfa125e finished successfully.
View logs: TXT HTML

@rm3l rm3l force-pushed the 6921-update-alizer-to-fix-issue-when-analyzing-large-projects branch 3 times, most recently from e2d9f53 to 81ceaa3 Compare June 26, 2023 15:14
@rm3l rm3l temporarily deployed to internal June 26, 2023 15:14 — with GitHub Actions Inactive
@rm3l rm3l temporarily deployed to internal June 26, 2023 15:37 — with GitHub Actions Inactive
rm3l added 2 commits June 26, 2023 17:53
Amongst other things, this fixes an issue when analyzing large projects,
by preventing potential panics when trying to detect application ports.

[1] redhat-developer/alizer@14114f0
…d 'k8s.io/*' to the previous versions we had

Bumping Alizer bumped these packages to upper versions,
which seems to cause build errors due to Service Binding Operator
libraries not compatible with those new versions.
See the error below.

Since we don't want to update SBO libraries at this time
(as SBO is currently in maintenance mode only),
this makes sure we are using the versions it builds against.

Build error for reference:
```
go install -mod=vendor -ldflags="-X github.com/redhat-developer/odo/pkg/version.GITCOMMIT=cb9c13900" ./cmd/odo/
# github.com/redhat-developer/service-binding-operator/apis/spec/v1alpha3
vendor/github.com/redhat-developer/service-binding-operator/apis/spec/v1alpha3/servicebinding_webhook.go:44:27: cannot use &ServiceBinding{} (value of type *ServiceBinding) as type admission.Validator in variable declaration:
        *ServiceBinding does not implement admission.Validator (wrong type for ValidateCreate method)
                have ValidateCreate() error
                want ValidateCreate() (warnings admission.Warnings, err error)
# github.com/redhat-developer/service-binding-operator/apis/binding/v1alpha1
vendor/github.com/redhat-developer/service-binding-operator/apis/binding/v1alpha1/servicebinding_webhook.go:37:27: cannot use &ServiceBinding{} (value of type *ServiceBinding) as type admission.Validator in variable declaration:
        *ServiceBinding does not implement admission.Validator (wrong type for ValidateCreate method)
                have ValidateCreate() error
                want ValidateCreate() (warnings admission.Warnings, err error)
make: *** [Makefile:90: install] Error 2
```
@rm3l rm3l force-pushed the 6921-update-alizer-to-fix-issue-when-analyzing-large-projects branch from 81ceaa3 to bf436eb Compare June 26, 2023 15:53
@rm3l rm3l temporarily deployed to internal June 26, 2023 15:53 — with GitHub Actions Inactive
@rm3l rm3l force-pushed the 6921-update-alizer-to-fix-issue-when-analyzing-large-projects branch from bf436eb to 8ac52eb Compare June 26, 2023 20:05
@rm3l rm3l temporarily deployed to internal June 26, 2023 20:05 — with GitHub Actions Inactive
@sonarcloud
Copy link

sonarcloud bot commented Jun 26, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Jun 27, 2023
@rm3l
Copy link
Member Author

rm3l commented Jun 27, 2023

  << Timeline

  [FAILED] error while sending or expecting line: "Enter value for "DEBUG_PROJECT_PORT" environment variable:"
  === output of command '["odo" "init"]' read so far ===
  I0626 20:12:04.587153   16029 implem.go:114] The path for preference file is /tmp/254748719/preference.yaml
  I0626 20:12:04.596333   16029 util.go:198] path /tmp/4090175020/devfile.yaml doesn't exist, skipping it
  I0626 20:12:04.596733   16029 util.go:198] path /tmp/4090175020/.devfile.yaml doesn't exist, skipping it
  I0626 20:12:04.597098   16029 util.go:198] path /tmp/4090175020/devfile.yaml doesn't exist, skipping it
    __
   /  \__     Initializing a new component
   \__/  \    Files: No source code detected, a starter project will be created in the current directory
   /  \__/    odo version: v3.11.0
   \__/
  
  Interactive mode enabled, please answer the following questions:
  I0626 20:12:04.983623   16029 registry.go:25] accessing "devfileregistrieslists" is forbidden or unauthorized
  I0626 20:12:04.990174   16029 registry.go:38] accessing "clusterdevfileregistrieslists" is forbidden or unauthorized
  ? Select language:  [Use arrows to move, type to filter]
  > .NET
    Go
    Java
    JavaScript
    PHP
    Python
    TypeScript
  Javascript
  ? Select language: J  [Use arrows to move, type to filter]
  > Java
    JavaScript
  ? Select language: Ja  [Use arrows to move, type to filter]
  > Java
    JavaScript
  ? Select language: Jav  [Use arrows to move, type to filter]
  > Java
    JavaScript
  ? Select language: Java  [Use arrows to move, type to filter]
  > Java
    JavaScript
  ? Select language: Javas  [Use arrows to move, type to filter]
  > JavaScript
  ? Select language: Javasc  [Use arrows to move, type to filter]
  > JavaScript
  ? Select language: Javascr  [Use arrows to move, type to filter]
  > JavaScript
  ? Select language: Javascri  [Use arrows to move, type to filter]
  > JavaScript
  ? Select language: Javascrip  [Use arrows to move, type to filter]
  > JavaScript
  ? Select language: Javascript  [Use arrows to move, type to filter]
  > JavaScript
  ? Select language: JavaScript
  ? Select project type:  [Use arrows to move, type to filter]
  > Node.js Runtime
    ** GO BACK **
  ? Select project type: Node.js Runtime
   •  Downloading devfile "nodejs" from registry "DefaultDevfileRegistry"  ...
  I0626 20:12:05.029300   16029 registry.go:25] accessing "devfileregistrieslists" is forbidden or unauthorized
  I0626 20:12:05.041930   16029 registry.go:38] accessing "clusterdevfileregistrieslists" is forbidden or unauthorized
  I0626 20:12:05.042641   16029 registry.go:53] sending telemetry data: library.TelemetryData{User:"", Locale:"", Client:"odo"}
  

 ✓  Downloading devfile "nodejs" from registry "DefaultDevfileRegistry" [77ms]
  I0626 20:12:05.103120   16029 context.go:172] absolute devfile path: '/tmp/4090175020/devfile.yaml'
  I0626 20:12:05.103137   16029 context.go:113] absolute devfile path: '/tmp/4090175020/devfile.yaml'
  I0626 20:12:05.103858   16029 content.go:48] converted devfile YAML to JSON
  I0626 20:12:05.103926   16029 apiVersion.go:60] devfile schemaVersion: '2.1.0'
  I0626 20:12:05.103949   16029 helper.go:56] devfile apiVersion '2.1.0' is supported
  I0626 20:12:05.116777   16029 schema.go:61] validated devfile schema
  
  ↪ Container Configuration "runtime":
    OPEN PORTS:
      - 3000
      - 5858
    ENVIRONMENT VARIABLES:
      - DEBUG_PORT = 5858
  
  ? Select container for which you want to change configuration?  [Use arrows to move, type to filter]
    runtime
  > NONE - configuration is correct
  runtime
  ? Select container for which you want to change configuration? r  [Use arrows to move, type to filter]
    runtime
  > NONE - configuration is correct
  ? Select container for which you want to change configuration? ru  [Use arrows to move, type to filter]
  > runtime
  ? Select container for which you want to change configuration? run  [Use arrows to move, type to filter]
  > runtime
  ? Select container for which you want to change configuration? runt  [Use arrows to move, type to filter]
  > runtime
  ? Select container for which you want to change configuration? runti  [Use arrows to move, type to filter]
  > runtime
  ? Select container for which you want to change configuration? runtim  [Use arrows to move, type to filter]
  > runtime
  ? Select container for which you want to change configuration? runtime  [Use arrows to move, type to filter]
  > runtime
  ? Select container for which you want to change configuration? runtime
  ? What configuration do you want change?  [Use arrows to move, type to filter]
  > NOTHING - configuration is correct
    Delete port "3000"
    Delete port "5858"
    Add new port
    Delete environment variable "DEBUG_PORT"
    Add new environment variable
  Add new port
  ? What configuration do you want change? A  [Use arrows to move, type to filter]
  > NOTHING - configuration is correct
    Add new port
    Delete environment variable "DEBUG_PORT"
    Add new environment variable
  ? What configuration do you want change? Ad  [Use arrows to move, type to filter]
  > Add new port
    Add new environment variable
  ? What configuration do you want change? Add  [Use arrows to move, type to filter]
  > Add new port
    Add new environment variable
  ? What configuration do you want change? Add   [Use arrows to move, type to filter]
  > Add new port
    Add new environment variable
  ? What configuration do you want change? Add n  [Use arrows to move, type to filter]
  > Add new port
    Add new environment variable
  ? What configuration do you want change? Add ne  [Use arrows to move, type to filter]
  > Add new port
    Add new environment variable
  ? What configuration do you want change? Add new  [Use arrows to move, type to filter]
  > Add new port
    Add new environment variable
  ? What configuration do you want change? Add new   [Use arrows to move, type to filter]
  > Add new port
    Add new environment variable
  ? What configuration do you want change? Add new p  [Use arrows to move, type to filter]
  > Add new port
  ? What configuration do you want change? Add new po  [Use arrows to move, type to filter]
  > Add new port
  ? What configuration do you want change? Add new por  [Use arrows to move, type to filter]
  > Add new port
  ? What configuration do you want change? Add new port  [Use arrows to move, type to filter]
  > Add new port
  ? What configuration do you want change? Add new port
   âš   Please ensure that you do not add a duplicate port number
  ? Enter port number: 5000? Enter port number: 5000
  ? What configuration do you want change?  [Use arrows to move, type to filter]
  > NOTHING - configuration is correct
    Delete port "3000"
    Delete port "5858"
    Delete port "5000"
    Add new port
    Delete environment variable "DEBUG_PORT"
    Add new environment variable
  ? What configuration do you want change? D  [Use arrows to move, type to filter]
  > Delete port "3000"
    Delete port "5858"
    Delete port "5000"
    Add new port
    Delete environment variable "DEBUG_PORT"
    Add new environment variable
  ? What configuration do you want change? De  [Use arrows to move, type to filter]
  > Delete port "3000"
    Delete port "5858"
    Delete port "5000"
    Delete environment variable "DEBUG_PORT"
  ? What configuration do you want change? Del  [Use arrows to move, type to filter]
  > Delete port "3000"
    Delete port "5858"
    Delete port "5000"
    Delete environment variable "DEBUG_PORT"
  ? What configuration do you want change? Dele  [Use arrows to move, type to filter]
  > Delete port "3000"
    Delete port "5858"
    Delete port "5000"
    Delete environment variable "DEBUG_PORT"
  ? What configuration do you want change? Delet  [Use arrows to move, type to filter]
  > Delete port "3000"
    Delete port "5858"
    Delete port "5000"
    Delete environment variable "DEBUG_PORT"
  ? What configuration do you want change? Delete  [Use arrows to move, type to filter]
  > Delete port "3000"
    Delete port "5858"
    Delete port "5000"
    Delete environment variable "DEBUG_PORT"
  ? What configuration do you want change? Delete   [Use arrows to move, type to filter]
  > Delete port "3000"
    Delete port "5858"
    Delete port "5000"
    Delete environment variable "DEBUG_PORT"
  ? What configuration do you want change? Delete p  [Use arrows to move, type to filter]
  > Delete port "3000"
    Delete port "5858"
    Delete port "5000"
  ? What configuration do you want change? Delete po  [Use arrows to move, type to filter]
  > Delete port "3000"
    Delete port "5858"
    Delete port "5000"
  ? What configuration do you want change? Delete por  [Use arrows to move, type to filter]
  > Delete port "3000"
    Delete port "5858"
    Delete port "5000"
  ? What configuration do you want change? Delete port  [Use arrows to move, type to filter]
  > Delete port "3000"
    Delete port "5858"
    Delete port "5000"
  ? What configuration do you want change? Delete port   [Use arrows to move, type to filter]
  > Delete port "3000"
    Delete port "5858"
    Delete port "5000"
  ? What configuration do you want change? Delete port "  [Use arrows to move, type to filter]
  > Delete port "3000"
    Delete port "5858"
    Delete port "5000"
  ? What configuration do you want change? Delete port "3  [Use arrows to move, type to filter]
  > Delete port "3000"
  ? What configuration do you want change? Delete port "30  [Use arrows to move, type to filter]
  > Delete port "3000"
  ? What configuration do you want change? Delete port "300  [Use arrows to move, type to filter]
  > Delete port "3000"
  ? What configuration do you want change? Delete port "3000  [Use arrows to move, type to filter]
  > Delete port "3000"
  ? What configuration do you want change? Delete port "3000"  [Use arrows to move, type to filter]
  > Delete port "3000"
  ? What configuration do you want change? Delete port "3000"
  ? What configuration do you want change?  [Use arrows to move, type to filter]
  > NOTHING - configuration is correct
    Delete port "5858"
    Delete port "5000"
    Add new port
    Delete environment variable "DEBUG_PORT"
    Add new environment variable
  ? What configuration do you want change? A  [Use arrows to move, type to filter]
  > NOTHING - configuration is correct
    Add new port
    Delete environment variable "DEBUG_PORT"
    Add new environment variable
  ? What configuration do you want change? Ad  [Use arrows to move, type to filter]
  > Add new port
    Add new environment variable
  ? What configuration do you want change? Add  [Use arrows to move, type to filter]
  > Add new port
    Add new environment variable
  ? What configuration do you want change? Add   [Use arrows to move, type to filter]
  > Add new port
    Add new environment variable
  ? What configuration do you want change? Add n  [Use arrows to move, type to filter]
  > Add new port
    Add new environment variable
  ? What configuration do you want change? Add ne  [Use arrows to move, type to filter]
  > Add new port
    Add new environment variable
  ? What configuration do you want change? Add new  [Use arrows to move, type to filter]
  > Add new port
    Add new environment variable
  ? What configuration do you want change? Add new   [Use arrows to move, type to filter]
  > Add new port
    Add new environment variable
  ? What configuration do you want change? Add new e  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new en  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new env  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new envi  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new envir  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new enviro  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new environ  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new environm  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new environme  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new environmen  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new environment  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new environment   [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new environment v  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new environment va  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new environment var  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new environment vari  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new environment varia  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new environment variab  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new environment variabl  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new environment variable  [Use arrows to move, type to filter]
  > Add new environment variable
  ? What configuration do you want change? Add new environment variable
  ? Enter new environment variable name: 
  ======================
  Unexpected error:
      <*xpty.errPassthroughTimeout | 0xc000fae010>: 
      passthrough i/o timeout
      {
          error: <*errors.errorString | 0xc000fae000>{
              s: "passthrough i/o timeout",
          },
      }
  occurred
  In [It] at: /go/odo_1/tests/helper/helper_interactive.go:111 @ 06/26/23 20:14:05.374
------------------------------

Summarizing 1 Failure:
  [FAIL] odo init interactive command tests label unauth personalizing Devfile configuration [It] should allow for personalizing configurations [unauth]
  /go/odo_1/tests/helper/helper_interactive.go:111

Ran 120 of 931 Specs in 171.212 seconds
FAIL! -- 119 Passed | 1 Failed | 0 Pending | 811 Skipped

Issue with interactive tests - addressed in #6830

/override OpenShift-Integration-tests/OpenShift-Unauth-Integration-tests

@openshift-ci
Copy link

openshift-ci bot commented Jun 27, 2023

@rm3l: Overrode contexts on behalf of rm3l: OpenShift-Integration-tests/OpenShift-Unauth-Integration-tests

In response to this:

 << Timeline

 [FAILED] error while sending or expecting line: "Enter value for "DEBUG_PROJECT_PORT" environment variable:"
 === output of command '["odo" "init"]' read so far ===
 I0626 20:12:04.587153   16029 implem.go:114] The path for preference file is /tmp/254748719/preference.yaml
 I0626 20:12:04.596333   16029 util.go:198] path /tmp/4090175020/devfile.yaml doesn't exist, skipping it
 I0626 20:12:04.596733   16029 util.go:198] path /tmp/4090175020/.devfile.yaml doesn't exist, skipping it
 I0626 20:12:04.597098   16029 util.go:198] path /tmp/4090175020/devfile.yaml doesn't exist, skipping it
   __
  /  \__     Initializing a new component
  \__/  \    Files: No source code detected, a starter project will be created in the current directory
  /  \__/    odo version: v3.11.0
  \__/
 
 Interactive mode enabled, please answer the following questions:
 I0626 20:12:04.983623   16029 registry.go:25] accessing "devfileregistrieslists" is forbidden or unauthorized
 I0626 20:12:04.990174   16029 registry.go:38] accessing "clusterdevfileregistrieslists" is forbidden or unauthorized
 ? Select language:  [Use arrows to move, type to filter]
 > .NET
   Go
   Java
   JavaScript
   PHP
   Python
   TypeScript
 Javascript
 ? Select language: J  [Use arrows to move, type to filter]
 > Java
   JavaScript
 ? Select language: Ja  [Use arrows to move, type to filter]
 > Java
   JavaScript
 ? Select language: Jav  [Use arrows to move, type to filter]
 > Java
   JavaScript
 ? Select language: Java  [Use arrows to move, type to filter]
 > Java
   JavaScript
 ? Select language: Javas  [Use arrows to move, type to filter]
 > JavaScript
 ? Select language: Javasc  [Use arrows to move, type to filter]
 > JavaScript
 ? Select language: Javascr  [Use arrows to move, type to filter]
 > JavaScript
 ? Select language: Javascri  [Use arrows to move, type to filter]
 > JavaScript
 ? Select language: Javascrip  [Use arrows to move, type to filter]
 > JavaScript
 ? Select language: Javascript  [Use arrows to move, type to filter]
 > JavaScript
 ? Select language: JavaScript
 ? Select project type:  [Use arrows to move, type to filter]
 > Node.js Runtime
   ** GO BACK **
 ? Select project type: Node.js Runtime
  •  Downloading devfile "nodejs" from registry "DefaultDevfileRegistry"  ...
 I0626 20:12:05.029300   16029 registry.go:25] accessing "devfileregistrieslists" is forbidden or unauthorized
 I0626 20:12:05.041930   16029 registry.go:38] accessing "clusterdevfileregistrieslists" is forbidden or unauthorized
 I0626 20:12:05.042641   16029 registry.go:53] sending telemetry data: library.TelemetryData{User:"", Locale:"", Client:"odo"}
 

✓  Downloading devfile "nodejs" from registry "DefaultDevfileRegistry" [77ms]
 I0626 20:12:05.103120   16029 context.go:172] absolute devfile path: '/tmp/4090175020/devfile.yaml'
 I0626 20:12:05.103137   16029 context.go:113] absolute devfile path: '/tmp/4090175020/devfile.yaml'
 I0626 20:12:05.103858   16029 content.go:48] converted devfile YAML to JSON
 I0626 20:12:05.103926   16029 apiVersion.go:60] devfile schemaVersion: '2.1.0'
 I0626 20:12:05.103949   16029 helper.go:56] devfile apiVersion '2.1.0' is supported
 I0626 20:12:05.116777   16029 schema.go:61] validated devfile schema
 
 ↪ Container Configuration "runtime":
   OPEN PORTS:
     - 3000
     - 5858
   ENVIRONMENT VARIABLES:
     - DEBUG_PORT = 5858
 
 ? Select container for which you want to change configuration?  [Use arrows to move, type to filter]
   runtime
 > NONE - configuration is correct
 runtime
 ? Select container for which you want to change configuration? r  [Use arrows to move, type to filter]
   runtime
 > NONE - configuration is correct
 ? Select container for which you want to change configuration? ru  [Use arrows to move, type to filter]
 > runtime
 ? Select container for which you want to change configuration? run  [Use arrows to move, type to filter]
 > runtime
 ? Select container for which you want to change configuration? runt  [Use arrows to move, type to filter]
 > runtime
 ? Select container for which you want to change configuration? runti  [Use arrows to move, type to filter]
 > runtime
 ? Select container for which you want to change configuration? runtim  [Use arrows to move, type to filter]
 > runtime
 ? Select container for which you want to change configuration? runtime  [Use arrows to move, type to filter]
 > runtime
 ? Select container for which you want to change configuration? runtime
 ? What configuration do you want change?  [Use arrows to move, type to filter]
 > NOTHING - configuration is correct
   Delete port "3000"
   Delete port "5858"
   Add new port
   Delete environment variable "DEBUG_PORT"
   Add new environment variable
 Add new port
 ? What configuration do you want change? A  [Use arrows to move, type to filter]
 > NOTHING - configuration is correct
   Add new port
   Delete environment variable "DEBUG_PORT"
   Add new environment variable
 ? What configuration do you want change? Ad  [Use arrows to move, type to filter]
 > Add new port
   Add new environment variable
 ? What configuration do you want change? Add  [Use arrows to move, type to filter]
 > Add new port
   Add new environment variable
 ? What configuration do you want change? Add   [Use arrows to move, type to filter]
 > Add new port
   Add new environment variable
 ? What configuration do you want change? Add n  [Use arrows to move, type to filter]
 > Add new port
   Add new environment variable
 ? What configuration do you want change? Add ne  [Use arrows to move, type to filter]
 > Add new port
   Add new environment variable
 ? What configuration do you want change? Add new  [Use arrows to move, type to filter]
 > Add new port
   Add new environment variable
 ? What configuration do you want change? Add new   [Use arrows to move, type to filter]
 > Add new port
   Add new environment variable
 ? What configuration do you want change? Add new p  [Use arrows to move, type to filter]
 > Add new port
 ? What configuration do you want change? Add new po  [Use arrows to move, type to filter]
 > Add new port
 ? What configuration do you want change? Add new por  [Use arrows to move, type to filter]
 > Add new port
 ? What configuration do you want change? Add new port  [Use arrows to move, type to filter]
 > Add new port
 ? What configuration do you want change? Add new port
  âš   Please ensure that you do not add a duplicate port number
 ? Enter port number: 5000? Enter port number: 5000
 ? What configuration do you want change?  [Use arrows to move, type to filter]
 > NOTHING - configuration is correct
   Delete port "3000"
   Delete port "5858"
   Delete port "5000"
   Add new port
   Delete environment variable "DEBUG_PORT"
   Add new environment variable
 ? What configuration do you want change? D  [Use arrows to move, type to filter]
 > Delete port "3000"
   Delete port "5858"
   Delete port "5000"
   Add new port
   Delete environment variable "DEBUG_PORT"
   Add new environment variable
 ? What configuration do you want change? De  [Use arrows to move, type to filter]
 > Delete port "3000"
   Delete port "5858"
   Delete port "5000"
   Delete environment variable "DEBUG_PORT"
 ? What configuration do you want change? Del  [Use arrows to move, type to filter]
 > Delete port "3000"
   Delete port "5858"
   Delete port "5000"
   Delete environment variable "DEBUG_PORT"
 ? What configuration do you want change? Dele  [Use arrows to move, type to filter]
 > Delete port "3000"
   Delete port "5858"
   Delete port "5000"
   Delete environment variable "DEBUG_PORT"
 ? What configuration do you want change? Delet  [Use arrows to move, type to filter]
 > Delete port "3000"
   Delete port "5858"
   Delete port "5000"
   Delete environment variable "DEBUG_PORT"
 ? What configuration do you want change? Delete  [Use arrows to move, type to filter]
 > Delete port "3000"
   Delete port "5858"
   Delete port "5000"
   Delete environment variable "DEBUG_PORT"
 ? What configuration do you want change? Delete   [Use arrows to move, type to filter]
 > Delete port "3000"
   Delete port "5858"
   Delete port "5000"
   Delete environment variable "DEBUG_PORT"
 ? What configuration do you want change? Delete p  [Use arrows to move, type to filter]
 > Delete port "3000"
   Delete port "5858"
   Delete port "5000"
 ? What configuration do you want change? Delete po  [Use arrows to move, type to filter]
 > Delete port "3000"
   Delete port "5858"
   Delete port "5000"
 ? What configuration do you want change? Delete por  [Use arrows to move, type to filter]
 > Delete port "3000"
   Delete port "5858"
   Delete port "5000"
 ? What configuration do you want change? Delete port  [Use arrows to move, type to filter]
 > Delete port "3000"
   Delete port "5858"
   Delete port "5000"
 ? What configuration do you want change? Delete port   [Use arrows to move, type to filter]
 > Delete port "3000"
   Delete port "5858"
   Delete port "5000"
 ? What configuration do you want change? Delete port "  [Use arrows to move, type to filter]
 > Delete port "3000"
   Delete port "5858"
   Delete port "5000"
 ? What configuration do you want change? Delete port "3  [Use arrows to move, type to filter]
 > Delete port "3000"
 ? What configuration do you want change? Delete port "30  [Use arrows to move, type to filter]
 > Delete port "3000"
 ? What configuration do you want change? Delete port "300  [Use arrows to move, type to filter]
 > Delete port "3000"
 ? What configuration do you want change? Delete port "3000  [Use arrows to move, type to filter]
 > Delete port "3000"
 ? What configuration do you want change? Delete port "3000"  [Use arrows to move, type to filter]
 > Delete port "3000"
 ? What configuration do you want change? Delete port "3000"
 ? What configuration do you want change?  [Use arrows to move, type to filter]
 > NOTHING - configuration is correct
   Delete port "5858"
   Delete port "5000"
   Add new port
   Delete environment variable "DEBUG_PORT"
   Add new environment variable
 ? What configuration do you want change? A  [Use arrows to move, type to filter]
 > NOTHING - configuration is correct
   Add new port
   Delete environment variable "DEBUG_PORT"
   Add new environment variable
 ? What configuration do you want change? Ad  [Use arrows to move, type to filter]
 > Add new port
   Add new environment variable
 ? What configuration do you want change? Add  [Use arrows to move, type to filter]
 > Add new port
   Add new environment variable
 ? What configuration do you want change? Add   [Use arrows to move, type to filter]
 > Add new port
   Add new environment variable
 ? What configuration do you want change? Add n  [Use arrows to move, type to filter]
 > Add new port
   Add new environment variable
 ? What configuration do you want change? Add ne  [Use arrows to move, type to filter]
 > Add new port
   Add new environment variable
 ? What configuration do you want change? Add new  [Use arrows to move, type to filter]
 > Add new port
   Add new environment variable
 ? What configuration do you want change? Add new   [Use arrows to move, type to filter]
 > Add new port
   Add new environment variable
 ? What configuration do you want change? Add new e  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new en  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new env  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new envi  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new envir  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new enviro  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new environ  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new environm  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new environme  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new environmen  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new environment  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new environment   [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new environment v  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new environment va  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new environment var  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new environment vari  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new environment varia  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new environment variab  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new environment variabl  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new environment variable  [Use arrows to move, type to filter]
 > Add new environment variable
 ? What configuration do you want change? Add new environment variable
 ? Enter new environment variable name: 
 ======================
 Unexpected error:
     <*xpty.errPassthroughTimeout | 0xc000fae010>: 
     passthrough i/o timeout
     {
         error: <*errors.errorString | 0xc000fae000>{
             s: "passthrough i/o timeout",
         },
     }
 occurred
 In [It] at: /go/odo_1/tests/helper/helper_interactive.go:111 @ 06/26/23 20:14:05.374
------------------------------

Summarizing 1 Failure:
 [FAIL] odo init interactive command tests label unauth personalizing Devfile configuration [It] should allow for personalizing configurations [unauth]
 /go/odo_1/tests/helper/helper_interactive.go:111

Ran 120 of 931 Specs in 171.212 seconds
FAIL! -- 119 Passed | 1 Failed | 0 Pending | 811 Skipped

Issue with interactive tests - addressed in #6830

/override OpenShift-Integration-tests/OpenShift-Unauth-Integration-tests

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-merge-robot openshift-merge-robot merged commit 324d73f into redhat-developer:main Jun 27, 2023
@openshift-merge-robot openshift-merge-robot temporarily deployed to internal June 27, 2023 07:34 — with GitHub Actions Inactive
@rm3l rm3l deleted the 6921-update-alizer-to-fix-issue-when-analyzing-large-projects branch June 27, 2023 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependency Issues or PRs related to dependency changes. This label is also used on all Dependabot PRs area/init Issues or PRs related to `odo init` kind/task Issue is actionable task lgtm Indicates that a PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Alizer to fix issue when analyzing large projects
3 participants