[JIRA] (JENKINS-61466) yarn tests in frontend-maven-plugin pick up files in war/work/

9 views
Skip to first unread message

dbeck@cloudbees.com (JIRA)

unread,
Mar 13, 2020, 8:30:04 AM3/13/20
to jenkinsc...@googlegroups.com
Daniel Beck created an issue
 
Jenkins / Bug JENKINS-61466
yarn tests in frontend-maven-plugin pick up files in war/work/
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2020-03-13 12:29
Labels: regression
Priority: Minor Minor
Reporter: Daniel Beck

Steps to reproduce:

  1. Clone jenkinsci/jenkins
  2. mvn clean install -Dtest=AboutJenkinsTest -Dspotbugs.skip -Dfindbugs.skip
  3. mvn -pl war jetty:run
  4. Install ace-editor plugin (e.g. as a transitive dependency of workflow-aggregator)
  5. Stop Jenkins
  6. mvn clean install -Dtest=AboutJenkinsTest -Dspotbugs.skip -Dfindbugs.skip

Expected result

The build passes

Actual result

The build fails:

[INFO] --- frontend-maven-plugin:1.6:yarn (yarn test) @ jenkins-war ---
[INFO] Running 'yarn test' in /.../jenkins/war
[INFO] yarn run v1.21.1
[INFO] $ jest --config=jest.config.json
[INFO] FAIL work/plugins/ace-editor/jsmodules/test.js
[ERROR]   ??? Test suite failed to run
[ERROR] 
[ERROR]     Your test suite must contain at least one test.
[ERROR] 
[ERROR]       at node_modules/@jest/core/build/TestScheduler.js:242:24
[ERROR]       at asyncGeneratorStep (node_modules/@jest/core/build/TestScheduler.js:131:24)
[ERROR]       at _next (node_modules/@jest/core/build/TestScheduler.js:151:9)
[ERROR]       at node_modules/@jest/core/build/TestScheduler.js:156:7
[ERROR]       at node_modules/@jest/core/build/TestScheduler.js:148:12
[ERROR]       at onResult (node_modules/@jest/core/build/TestScheduler.js:271:25)
[ERROR] 
[INFO] PASS src/test/js/widgets/config/scrollspy.spec.js
[INFO] PASS src/test/js/pluginSetupWizard.spec.js
[INFO] PASS src/test/js/widgets/config/tabbar.spec.js
[INFO] Test Suites: 1 failed, 3 passed, 4 total
[INFO] Tests:       20 passed, 20 total
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

dbeck@cloudbees.com (JIRA)

unread,
Mar 13, 2020, 8:56:03 AM3/13/20
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Mar 13, 2020, 8:56:04 AM3/13/20
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Mar 13, 2020, 8:56:04 AM3/13/20
to jenkinsc...@googlegroups.com
Daniel Beck started work on Bug JENKINS-61466
 
Change By: Daniel Beck
Status: Open In Progress

timjacomb1@gmail.com (JIRA)

unread,
May 9, 2020, 8:43:03 AM5/9/20
to jenkinsc...@googlegroups.com
Change By: Tim Jacomb
Status: Fixed but Unreleased Closed
Released As: 2.230

timjacomb1@gmail.com (JIRA)

unread,
May 9, 2020, 8:43:04 AM5/9/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages