You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In OpenShift CI on two test node and these test runs on each node with complete isolation simultaneously. Also same panic message can be observed locally too.
Actual behavior
Panic out
Expected behavior
Should give a proper message
Any logs, error output, etc?
odojsonoutput odo machine readable output on project nodejs is deployed
should be able to list url
/go/src/github.com/openshift/odo/tests/integration/json_test.go:94
Created dir: /tmp/107843751
Creating a new project: pisruzhzmt
Running odo with args: [project create pisruzhzmt -w -v4]
[odo] I0728 05:56:04.245893 24345 preference.go:116] The configFile is /tmp/107843751/config.yaml
[odo] I0728 05:56:04.245994 24345 occlient.go:486] Trying to connect to server api.ci-op-zlj5gmpl-f09f4.origin-ci-int-aws.dev.rhcloud.com:6443
[odo] I0728 05:56:04.261297 24345 occlient.go:493] Server https://api.ci-op-zlj5gmpl-f09f4.origin-ci-int-aws.dev.rhcloud.com:6443 is up
[odo] I0728 05:56:04.327344 24345 occlient.go:416] isLoggedIn err: <nil>
[odo] output: "developer"
[odo] I0728 05:56:04.327380 24345 context.go:367] Ignoring error as it usually means flag wasn't set: flag accessed but not defined: context
[odo] I0728 05:56:04.327388 24345 context.go:367] Ignoring error as it usually means flag wasn't set: flag accessed but not defined: context
[odo] I0728 05:56:04.327437 24345 context.go:367] Ignoring error as it usually means flag wasn't set: flag accessed but not defined: app
[odo] I0728 05:56:04.327442 24345 context.go:367] Ignoring error as it usually means flag wasn't set: flag accessed but not defined: project
[odo] I0728 05:56:04.341654 24345 context.go:367] Ignoring error as it usually means flag wasn't set: flag accessed but not defined: app
[odo] I0728 05:56:04.341680 24345 context.go:367] Ignoring error as it usually means flag wasn't set: flag accessed but not defined: output
[odo] I0728 05:56:04.341687 24345 context.go:367] Ignoring error as it usually means flag wasn't set: flag accessed but not defined: component
[odo] • Waiting for project to come up ...
[odo] ✓ Waiting for project to come up [332ms]
[odo] ✓ Project 'pisruzhzmt' is ready for use
[odo] I0728 05:56:04.687589 24345 odo.go:70] Could not get the latest release information in time. Never mind, exiting gracefully :)
[odo] ✓ New project created and now using project : pisruzhzmt
Current working dir: /go/src/github.com/openshift/odo/tests/integration
Setting current dir to: /tmp/107843751
Running odo with args: [create nodejs nodejs --app myapp --project pisruzhzmt --git https://github.com/openshift/nodejs-ex]
[odo] • Validating component ...
[odo] ✓ Validating component [355ms]
[odo] Please use `odo push` command to create the component with source deployed
[odo]
Running odo with args: [url create myurl]
[odo] ✓ URL myurl created for component: nodejs
[odo]
[odo] To create URL on the OpenShift Cluster, please use `odo push`
Running odo with args: [push]
[odo] Validation
[odo] • Validating component ...
[odo] ✓ Validating component [347ms]
[odo] • Checking component ...
[odo] ✓ Checking component [16ms]
[odo]
[odo] Configuration changes
[odo] • Creating component ...
[odo] ✓ Initializing component
[odo] • Triggering build from git ...
[odo] ✓ Triggering build from git [79ms]
[odo] • Waiting for build to finish ...
[odo] ✗ Waiting for build to finish [30s]
[odo] ✗ Failed to create component with name nodejs. Please use `odo config view` to view settings used to create component. Error: unable to wait for build nodejs-myapp-1 to run: timed out waiting for the condition
[odo] unable get build log nodejs-myapp-1
[odo] github.com/openshift/odo/pkg/occlient.(*Client).FollowBuildLog
[odo] /go/src/github.com/openshift/odo/pkg/occlient/occlient.go:1950
[odo] github.com/openshift/odo/pkg/component.Build
[odo] /go/src/github.com/openshift/odo/pkg/component/component.go:807
[odo] github.com/openshift/odo/pkg/component.CreateFromGit
[odo] /go/src/github.com/openshift/odo/pkg/component/component.go:165
[odo] github.com/openshift/odo/pkg/component.CreateComponent
[odo] /go/src/github.com/openshift/odo/pkg/component/component.go:397
[odo] github.com/openshift/odo/pkg/odo/cli/component.(*CommonPushOptions).createCmpIfNotExistsAndApplyCmpConfig
[odo] /go/src/github.com/openshift/odo/pkg/odo/cli/component/common_push.go:86
[odo] github.com/openshift/odo/pkg/odo/cli/component.(*CommonPushOptions).Push
[odo] /go/src/github.com/openshift/odo/pkg/odo/cli/component/common_push.go:159
[odo] github.com/openshift/odo/pkg/odo/cli/component.(*PushOptions).Run
[odo] /go/src/github.com/openshift/odo/pkg/odo/cli/component/push.go:101
[odo] github.com/openshift/odo/pkg/odo/genericclioptions.GenericRun
[odo] /go/src/github.com/openshift/odo/pkg/odo/genericclioptions/runnable.go:17
[odo] github.com/openshift/odo/pkg/odo/cli/component.NewCmdPush.func1
[odo] /go/src/github.com/openshift/odo/pkg/odo/cli/component/push.go:115
[odo] github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).execute
[odo] /go/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:702
[odo] github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).ExecuteC
[odo] /go/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:783
[odo] github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).Execute
[odo] /go/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:736
[odo] main.main
[odo] /go/src/github.com/openshift/odo/cmd/odo/odo.go:65
[odo] runtime.main
[odo] /usr/local/go/src/runtime/proc.go:201
[odo] runtime.goexit
[odo] /usr/local/go/src/runtime/asm_amd64.s:1333
[odo] unable to follow logs for nodejs-myapp-1
[odo] github.com/openshift/odo/pkg/component.Build
[odo] /go/src/github.com/openshift/odo/pkg/component/component.go:808
[odo] github.com/openshift/odo/pkg/component.CreateFromGit
[odo] /go/src/github.com/openshift/odo/pkg/component/component.go:165
[odo] github.com/openshift/odo/pkg/component.CreateComponent
[odo] /go/src/github.com/openshift/odo/pkg/component/component.go:397
[odo] github.com/openshift/odo/pkg/odo/cli/component.(*CommonPushOptions).createCmpIfNotExistsAndApplyCmpConfig
[odo] /go/src/github.com/openshift/odo/pkg/odo/cli/component/common_push.go:86
[odo] github.com/openshift/odo/pkg/odo/cli/component.(*CommonPushOptions).Push
[odo] /go/src/github.com/openshift/odo/pkg/odo/cli/component/common_push.go:159
[odo] github.com/openshift/odo/pkg/odo/cli/component.(*PushOptions).Run
[odo] /go/src/github.com/openshift/odo/pkg/odo/cli/component/push.go:101
[odo] github.com/openshift/odo/pkg/odo/genericclioptions.GenericRun
[odo] /go/src/github.com/openshift/odo/pkg/odo/genericclioptions/runnable.go:17
[odo] github.com/openshift/odo/pkg/odo/cli/component.NewCmdPush.func1
[odo] /go/src/github.com/openshift/odo/pkg/odo/cli/component/push.go:115
[odo] github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).execute
[odo] /go/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:702
[odo] github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).ExecuteC
[odo] /go/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:783
[odo] github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).Execute
[odo] /go/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:736
[odo] main.main
[odo] /go/src/github.com/openshift/odo/cmd/odo/odo.go:65
[odo] runtime.main
[odo] /usr/local/go/src/runtime/proc.go:201
[odo] runtime.goexit
[odo] /usr/local/go/src/runtime/asm_amd64.s:1333
[odo] failed to build component with args {Name:nodejs SourcePath:https://github.com/openshift/nodejs-ex SourceRef: SourceType:git ImageName:nodejs EnvVars:[] Ports:[8080/TCP] Resources:&ResourceRequirements{Limits:ResourceList{},Requests:ResourceList{},} ApplicationName:myapp Wait:true StorageToBeMounted:map[] StdOut:0xc00000e018}
[odo] github.com/openshift/odo/pkg/component.CreateFromGit
[odo] /go/src/github.com/openshift/odo/pkg/component/component.go:166
[odo] github.com/openshift/odo/pkg/component.CreateComponent
[odo] /go/src/github.com/openshift/odo/pkg/component/component.go:397
[odo] github.com/openshift/odo/pkg/odo/cli/component.(*CommonPushOptions).createCmpIfNotExistsAndApplyCmpConfig
[odo] /go/src/github.com/openshift/odo/pkg/odo/cli/component/common_push.go:86
[odo] github.com/openshift/odo/pkg/odo/cli/component.(*CommonPushOptions).Push
[odo] /go/src/github.com/openshift/odo/pkg/odo/cli/component/common_push.go:159
[odo] github.com/openshift/odo/pkg/odo/cli/component.(*PushOptions).Run
[odo] /go/src/github.com/openshift/odo/pkg/odo/cli/component/push.go:101
[odo] github.com/openshift/odo/pkg/odo/genericclioptions.GenericRun
[odo] /go/src/github.com/openshift/odo/pkg/odo/genericclioptions/runnable.go:17
[odo] github.com/openshift/odo/pkg/odo/cli/component.NewCmdPush.func1
[odo] /go/src/github.com/openshift/odo/pkg/odo/cli/component/push.go:115
[odo] github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).execute
[odo] /go/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:702
[odo] github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).ExecuteC
[odo] /go/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:783
[odo] github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).Execute
[odo] /go/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:736
[odo] main.main
[odo] /go/src/github.com/openshift/odo/cmd/odo/odo.go:65
[odo] runtime.main
[odo] /usr/local/go/src/runtime/proc.go:201
[odo] runtime.goexit
[odo] /usr/local/go/src/runtime/asm_amd64.s:1333
[odo] failed to create component with args {Name:nodejs SourcePath:https://github.com/openshift/nodejs-ex SourceRef: SourceType:git ImageName:nodejs EnvVars:[] Ports:[8080/TCP] Resources:&ResourceRequirements{Limits:ResourceList{},Requests:ResourceList{},} ApplicationName:myapp Wait:true StorageToBeMounted:map[] StdOut:0xc00000e018}
[odo] github.com/openshift/odo/pkg/component.CreateComponent
[odo] /go/src/github.com/openshift/odo/pkg/component/component.go:401
[odo] github.com/openshift/odo/pkg/odo/cli/component.(*CommonPushOptions).createCmpIfNotExistsAndApplyCmpConfig
[odo] /go/src/github.com/openshift/odo/pkg/odo/cli/component/common_push.go:86
[odo] github.com/openshift/odo/pkg/odo/cli/component.(*CommonPushOptions).Push
[odo] /go/src/github.com/openshift/odo/pkg/odo/cli/component/common_push.go:159
[odo] github.com/openshift/odo/pkg/odo/cli/component.(*PushOptions).Run
[odo] /go/src/github.com/openshift/odo/pkg/odo/cli/component/push.go:101
[odo] github.com/openshift/odo/pkg/odo/genericclioptions.GenericRun
[odo] /go/src/github.com/openshift/odo/pkg/odo/genericclioptions/runnable.go:17
[odo] github.com/openshift/odo/pkg/odo/cli/component.NewCmdPush.func1
[odo] /go/src/github.com/openshift/odo/pkg/odo/cli/component/push.go:115
[odo] github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).execute
[odo] /go/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:702
[odo] github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).ExecuteC
[odo] /go/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:783
[odo] github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).Execute
[odo] /go/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:736
[odo] main.main
[odo] /go/src/github.com/openshift/odo/cmd/odo/odo.go:65
[odo] runtime.main
[odo] /usr/local/go/src/runtime/proc.go:201
[odo] runtime.goexit
[odo] /usr/local/go/src/runtime/asm_amd64.s:1333
Setting current dir to: /go/src/github.com/openshift/odo/tests/integration
Deleting project: pisruzhzmt
Running odo with args: [project delete pisruzhzmt -f]
[odo] This project contains the following applications, which will be deleted
[odo] Application myapp
[odo] This application has following components that will be deleted
[odo] component named nodejs
[odo] No services / could not get services
[odo] • Deleting project pisruzhzmt ...
[odo] ✓ Deleting project pisruzhzmt [6s]
[odo] Deleted project : pisruzhzmt
Deleting dir: /tmp/107843751
• Failure [39.527 seconds]
odojsonoutput
/go/src/github.com/openshift/odo/tests/integration/json_test.go:16
odo machine readable output on project nodejs is deployed
/go/src/github.com/openshift/odo/tests/integration/json_test.go:85
should be able to list url [It]
/go/src/github.com/openshift/odo/tests/integration/json_test.go:94
No future change is possible. Bailing out early after 31.289s.
Expected
<int>: 1
to match exit code:
<int>: 0
/go/src/github.com/openshift/odo/tests/helper/helper_run.go:29
The text was updated successfully, but these errors were encountered:
✗ Waiting for build to finish [30s] This line states that the timeout when this issue was opened was 30s which has been increased to 240s ( if I remember correctly ). Hence I don't think we will encounter this error again
[kind/bug]
What versions of software are you using?
odo version
: masterHow did you run odo exactly?
In OpenShift CI on two test node and these test runs on each node with complete isolation simultaneously. Also same panic message can be observed locally too.
Actual behavior
Panic out
Expected behavior
Should give a proper message
Any logs, error output, etc?
The text was updated successfully, but these errors were encountered: