Skip to content

Springboot tests are failing #6754

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

Closed
feloy opened this issue Apr 20, 2023 · 0 comments · Fixed by #6753
Closed

Springboot tests are failing #6754

feloy opened this issue Apr 20, 2023 · 0 comments · Fixed by #6753
Assignees
Labels
area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@feloy
Copy link
Contributor

feloy commented Apr 20, 2023

/kind bug

[FAILED] [361.101 seconds]
odo list with devfile devfile has missing metadata when projectType and language is missing when the component is pushed [BeforeEach] should show 'nodejs' for 'Type' in odo list
  [BeforeEach] /go/src/github.com/redhat-developer/odo/tests/integration/cmd_devfile_list_test.go:354
  [It] /go/src/github.com/redhat-developer/odo/tests/integration/cmd_devfile_list_test.go:363

[...]

[FAILED] Timed out after 360.001s.
  Expected
      <string>:   __
       /  \__     Developing using the "aname" Devfile
       \__/  \    Namespace: cmd-devfile-list-test363ext
       /  \__/    odo version: v3.9.0
       \__/
      
      ↪ Running on the cluster in Dev mode
       •  Waiting for Kubernetes resources  ...
       ⚠  Pod is Pending
       ✓  Pod is Running
       •  Syncing files into the container  ...
      
 ✓  Syncing files into the container [1s]
       •  Building your application in container (command: defaultbuild)  ...
       ✗  Building your application in container (command: defaultbuild) [2s]
      Error occurred on Push - watch command was unable to push component: unable to exec command [/bin/sh -c cd /projects && (mvn clean -Dmaven.repo.local=/data/cache/.m2/repository package -Dmaven.test.skip=true) 1>>/proc/1/fd/1 2>>/proc/1/fd/2]: error while streaming command: command terminated with exit code 1
      
       •  Syncing files into the container  ...
      
 ✓  Syncing files into the container [1s]
       •  Building your application in container (command: defaultbuild)  ...
       ✗  Building your application in container (command: defaultbuild) [2s]
      Error occurred on Push - watch command was unable to push component: unable to exec command [/bin/sh -c cd /projects && (mvn clean -Dmaven.repo.local=/data/cache/.m2/repository package -Dmaven.test.skip=true) 1>>/proc/1/fd/1 2>>/proc/1/fd/2]: error while streaming command: command terminated with exit code 1
      
       •  Syncing files into the container  ...
      
 ✓  Syncing files into the container [1s]
       •  Building your application in container (command: defaultbuild)  ...
       ✗  Building your application in container (command: defaultbuild) [2s]
      Error occurred on Push - watch command was unable to push component: unable to exec command [/bin/sh -c cd /projects && (mvn clean -Dmaven.repo.local=/data/cache/.m2/repository package -Dmaven.test.skip=true) 1>>/proc/1/fd/1 2>>/proc/1/fd/2]: error while streaming command: command terminated with exit code 1
      
       •  Syncing files into the container  ...

[...]
[odo] [ERROR] No plugin found for prefix 'spring-boot' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/data/cache/.m2/repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
  [odo] [ERROR] 
  [odo] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [odo] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [odo] [ERROR] 
  [odo] [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [odo] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException

What versions of software are you using?

Operating System:

Output of odo version:

How did you run odo exactly?

Actual behavior

Expected behavior

Any logs, error output, etc?

@openshift-ci openshift-ci bot added the kind/bug Categorizes issue or PR as related to a bug. label Apr 20, 2023
@feloy feloy self-assigned this Apr 20, 2023
@github-actions github-actions bot added the needs-triage Indicates an issue or PR lacks a `triage/*` and requires one. label Apr 20, 2023
@valaparthvi valaparthvi moved this to In Review 👀 in odo Project Apr 20, 2023
@rm3l rm3l added this to the v3.10.0 🚀 milestone Apr 20, 2023
@rm3l rm3l added area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering and removed needs-triage Indicates an issue or PR lacks a `triage/*` and requires one. labels Apr 20, 2023
@github-project-automation github-project-automation bot moved this from In Review 👀 to Done ✅ in odo Project Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering kind/bug Categorizes issue or PR as related to a bug.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants