Skip to content

Use Server eventKey for Server Action

ci.jenkins.io / Jenkins failed Nov 22, 2024 in 4m 8s

windows-17/Build (windows-17): warning in 'junit' step

linux-17 / Build (linux-17) / Archive JUnit-formatted test results

Warning in junit step, with arguments **/target/surefire-reports/**/*.xml,**/target/failsafe-reports/**/*.xml,**/target/invoker-reports/**/*.xml.

1 tests failed

linux-17 / Archive (linux-17) / Error signal

Error in error step, with arguments There were test failures; halting early.

There were test failures; halting early

windows-17 / Build (windows-17) / Windows Batch Script

Error in bat step, with arguments mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=C:/Jenkins/agent/workspace/h-and-pull-request-plugin_PR-353@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false clean install.

null
Build log
[2024-11-22T03:18:01.481Z] 
[2024-11-22T03:18:01.482Z] C:\Jenkins\agent\workspace\h-and-pull-request-plugin_PR-353>mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=C:/Jenkins/agent/workspace/h-and-pull-request-plugin_PR-353@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false clean install 
[2024-11-22T03:18:01.584Z] -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=134200512 -XX:MarkStackSize=4194304 -XX:MaxHeapSize=2147208192 -XX:MinHeapSize=6815736 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC -XX:-UseLargePagesIndividualAllocation 
[2024-11-22T03:18:02.094Z] Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
[2024-11-22T03:18:02.096Z] Maven home: C:\tools\apache-maven-3.9.9
[2024-11-22T03:18:02.096Z] Java version: 17.0.13, vendor: Eclipse Adoptium, runtime: C:\tools\jdk-17
[2024-11-22T03:18:02.097Z] Default locale: en_US, platform encoding: UTF-8
[2024-11-22T03:18:02.098Z] OS name: "windows server 2019", version: "10.0", arch: "amd64", family: "windows"
[2024-11-22T03:18:03.518Z] [INFO] Error stacktraces are turned on.
[2024-11-22T03:18:03.619Z] [INFO] Scanning for projects...
[2024-11-22T03:18:14.464Z] [INFO] 
[2024-11-22T03:18:14.465Z] [INFO] ---------< io.jenkins.plugins:bitbucket-push-and-pull-request >---------
[2024-11-22T03:18:14.465Z] [INFO] Building Bitbucket Push and Pull Request Plugin 3.1.4-SNAPSHOT
[2024-11-22T03:18:14.465Z] [INFO]   from pom.xml
[2024-11-22T03:18:14.465Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2024-11-22T03:18:14.676Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.38:validate (default-validate)'
[2024-11-22T03:18:14.678Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.38:validate-hpi (default-validate-hpi)'
[2024-11-22T03:18:14.780Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.38:insert-test (default-insert-test)'
[2024-11-22T03:18:14.782Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.38:test-hpl (default-test-hpl)'
[2024-11-22T03:18:14.782Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.38:resolve-test-dependencies (default-resolve-test-dependencies)'
[2024-11-22T03:18:14.783Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.38:test-runtime (default-test-runtime)'
[2024-11-22T03:18:14.783Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.38:hpi (default-hpi)'
[2024-11-22T03:18:22.687Z] [INFO] 
[2024-11-22T03:18:22.688Z] [INFO] --- clean:3.2.0:clean (default-clean) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:22.892Z] [INFO] 
[2024-11-22T03:18:22.892Z] [INFO] --- hpi:3.38:validate (default-validate) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:22.893Z] [INFO] 
[2024-11-22T03:18:22.894Z] [INFO] --- hpi:3.38:validate-hpi (default-validate-hpi) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:24.012Z] [INFO] 
[2024-11-22T03:18:24.013Z] [INFO] --- enforcer:3.1.0:display-info (display-info) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:24.623Z] [INFO] Maven Version: 3.9.9
[2024-11-22T03:18:24.624Z] [INFO] JDK Version: 17.0.13 normalized as: 17.0.13
[2024-11-22T03:18:24.624Z] [INFO] Java Vendor: Eclipse Adoptium
[2024-11-22T03:18:24.624Z] [INFO] OS Info: Arch: amd64 Family: windows Name: windows server 2019 Version: 10.0
[2024-11-22T03:18:24.625Z] [INFO] 
[2024-11-22T03:18:24.627Z] [INFO] --- enforcer:3.1.0:enforce (display-info) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:26.254Z] [INFO] 
[2024-11-22T03:18:26.255Z] [INFO] --- enforcer:3.1.0:enforce (no-snapshots-in-release) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:26.256Z] [INFO] 
[2024-11-22T03:18:26.261Z] [INFO] --- gplus:2.1.0:addTestSources (test-in-groovy) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:26.981Z] [INFO] 
[2024-11-22T03:18:26.981Z] [INFO] --- localizer:1.31:generate (default) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:27.693Z] [INFO] 
[2024-11-22T03:18:27.700Z] [INFO] --- resources:3.3.0:resources (default-resources) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:27.704Z] [INFO] Copying 52 resources
[2024-11-22T03:18:27.806Z] [INFO] 
[2024-11-22T03:18:27.806Z] [INFO] --- compiler:3.10.1:compile (default-compile) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:28.215Z] [INFO] Changes detected - recompiling the module!
[2024-11-22T03:18:28.215Z] [INFO] Compiling 153 source files to C:\Jenkins\agent\workspace\h-and-pull-request-plugin_PR-353\target\classes
[2024-11-22T03:18:32.926Z] [INFO] 
[2024-11-22T03:18:32.926Z] [INFO] --- access-modifier-checker:1.30:enforce (default-enforce) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:33.353Z] [INFO] 
[2024-11-22T03:18:33.354Z] [INFO] --- hpi:3.38:insert-test (default-insert-test) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:33.354Z] [INFO] 
[2024-11-22T03:18:33.356Z] [INFO] --- gplus:2.1.0:generateTestStubs (test-in-groovy) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:33.357Z] [INFO] No sources specified for stub generation. Skipping.
[2024-11-22T03:18:33.358Z] [INFO] Generated 0 stubs.
[2024-11-22T03:18:33.359Z] [INFO] 
[2024-11-22T03:18:33.359Z] [INFO] --- antrun:3.1.0:run (createTempDir) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:33.563Z] [INFO] Executing tasks
[2024-11-22T03:18:33.565Z] [INFO]     [mkdir] Created dir: C:\Jenkins\agent\workspace\h-and-pull-request-plugin_PR-353\target\tmp
[2024-11-22T03:18:33.565Z] [INFO] Executed tasks
[2024-11-22T03:18:33.565Z] [INFO] 
[2024-11-22T03:18:33.565Z] [INFO] --- resources:3.3.0:testResources (default-testResources) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:33.566Z] [INFO] Copying 59 resources
[2024-11-22T03:18:33.668Z] [INFO] 
[2024-11-22T03:18:33.671Z] [INFO] --- compiler:3.10.1:testCompile (default-testCompile) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:33.671Z] [INFO] Changes detected - recompiling the module!
[2024-11-22T03:18:33.671Z] [INFO] Compiling 32 source files to C:\Jenkins\agent\workspace\h-and-pull-request-plugin_PR-353\target\test-classes
[2024-11-22T03:18:36.120Z] [INFO] 
[2024-11-22T03:18:36.121Z] [INFO] --- hpi:3.38:test-hpl (default-test-hpl) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:36.122Z] [INFO] Generating C:\Jenkins\agent\workspace\h-and-pull-request-plugin_PR-353\target\test-classes\the.hpl
[2024-11-22T03:18:37.143Z] [INFO] 
[2024-11-22T03:18:37.143Z] [INFO] --- hpi:3.38:resolve-test-dependencies (default-resolve-test-dependencies) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:47.166Z] [INFO] 
[2024-11-22T03:18:47.167Z] [INFO] --- gplus:2.1.0:compileTests (test-in-groovy) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:47.167Z] [INFO] No sources specified for compilation. Skipping.
[2024-11-22T03:18:47.174Z] [INFO] 
[2024-11-22T03:18:47.174Z] [INFO] --- hpi:3.38:test-runtime (default-test-runtime) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:47.174Z] [INFO] Setting jenkins.addOpens to --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.desktop/com.sun.beans.introspect=ALL-UNNAMED
[2024-11-22T03:18:47.175Z] [INFO] Setting jenkins.insaneHook to --patch-module=java.base=C:\Jenkins\agent\workspace\h-and-pull-request-plugin_PR-353\target\patch-modules\org-netbeans-insane-hook.jar --add-exports=java.base/org.netbeans.insane.hook=ALL-UNNAMED
[2024-11-22T03:18:47.175Z] [INFO] 
[2024-11-22T03:18:47.175Z] [INFO] --- surefire:2.22.2:test (default-test) @ bitbucket-push-and-pull-request ---
[2024-11-22T03:18:55.171Z] [INFO] Surefire report directory: C:\Jenkins\agent\workspace\h-and-pull-request-plugin_PR-353\target\surefire-reports
[2024-11-22T03:18:55.273Z] [INFO] 
[2024-11-22T03:18:55.274Z] [INFO] -------------------------------------------------------
[2024-11-22T03:18:55.274Z] [INFO]  T E S T S
[2024-11-22T03:18:55.275Z] [INFO] -------------------------------------------------------
[2024-11-22T03:18:55.478Z] Running tests for io.jenkins.plugins:bitbucket-push-and-pull-request:3.1.4-SNAPSHOT
[2024-11-22T03:18:58.227Z] [INFO] Running InjectedTest
[2024-11-22T03:19:20.423Z] [INFO] Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.208 s - in InjectedTest
[2024-11-22T03:19:21.940Z] [INFO] Running io.jenkins.plugins.bitbucketpushandpullrequest.BitBucketPPRTriggerTest
[2024-11-22T03:19:23.463Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 s - in io.jenkins.plugins.bitbucketpushandpullrequest.BitBucketPPRTriggerTest
[2024-11-22T03:19:24.477Z] [INFO] Running io.jenkins.plugins.bitbucketpushandpullrequest.action.BitBucketPPRPullRequestActionTest
[2024-11-22T03:19:25.691Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.21 s - in io.jenkins.plugins.bitbucketpushandpullrequest.action.BitBucketPPRPullRequestActionTest
[2024-11-22T03:19:26.807Z] [INFO] Running io.jenkins.plugins.bitbucketpushandpullrequest.action.BitBucketPPRPullRequestServerActionTest
[2024-11-22T03:19:28.127Z] [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.354 s <<< FAILURE! - in io.jenkins.plugins.bitbucketpushandpullrequest.action.BitBucketPPRPullRequestServerActionTest
[2024-11-22T03:19:28.127Z] [ERROR] testGetMergeCommit  Time elapsed: 0.046 s  <<< FAILURE!
[2024-11-22T03:19:28.127Z] java.lang.AssertionError: expected:<123456> but was:<null>
[2024-11-22T03:19:28.128Z] 	at io.jenkins.plugins.bitbucketpushandpullrequest.action.BitBucketPPRPullRequestServerActionTest.testGetMergeCommit(BitBucketPPRPullRequestServerActionTest.java:66)
[2024-11-22T03:19:28.128Z] 
[2024-11-22T03:19:29.243Z] [INFO] Running io.jenkins.plugins.bitbucketpushandpullrequest.action.BitBucketPPRServerRepositoryActionTest
[2024-11-22T03:19:30.462Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.288 s - in io.jenkins.plugins.bitbucketpushandpullrequest.action.BitBucketPPRServerRepositoryActionTest
[2024-11-22T03:19:31.477Z] [INFO] Running io.jenkins.plugins.bitbucketpushandpullrequest.client.api.BitBucketPPRBearerAuthorizationApiConsumerTest
[2024-11-22T03:19:31.578Z] [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.005 s - in io.jenkins.plugins.bitbucketpushandpullrequest.client.api.BitBucketPPRBearerAuthorizationApiConsumerTest
[2024-11-22T03:19:32.591Z] [INFO] Running io.jenkins.plugins.bitbucketpushandpullrequest.common.BitBucketPPRUtilsTest
[2024-11-22T03:19:32.692Z] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.085 s - in io.jenkins.plugins.bitbucketpushandpullrequest.common.BitBucketPPRUtilsTest
[2024-11-22T03:19:33.706Z] [INFO] Running io.jenkins.plugins.bitbucketpushandpullrequest.config.BitBucketPPRConfigAttributesTest
[2024-11-22T03:19:34.414Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.748 s - in io.jenkins.plugins.bitbucketpushandpullrequest.config.BitBucketPPRConfigAttributesTest
[2024-11-22T03:19:35.430Z] [INFO] Running io.jenkins.plugins.bitbucketpushandpullrequest.environment.BitBucketPPREnvironmentContributorTest
[2024-11-22T03:19:37.457Z] [WARNING] Tests run: 17, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 1.964 s - in io.jenkins.plugins.bitbucketpushandpullrequest.environment.BitBucketPPREnvironmentContributorTest
[2024-11-22T03:19:38.467Z] [INFO] Running io.jenkins.plugins.bitbucketpushandpullrequest.extension.dsl.BitBucketPPRHookJobDslExtensionTest
[2024-11-22T03:20:01.103Z] Sending interrupt signal to process
[2024-11-22T03:20:02.750Z] script returned exit code -1

windows-17 / Build (windows-17) / Archive JUnit-formatted test results

Warning in junit step, with arguments **/target/surefire-reports/**/*.xml,**/target/failsafe-reports/**/*.xml,**/target/invoker-reports/**/*.xml.

1 tests failed

Details

  • linux-17 (1 ms)
    • Checkout (linux-17) (10 sec)
    • Build (linux-17) (3 min 40 sec)
      Unstable: 1 tests failed
    • Archive (linux-17) (0.68 sec)
      Error: There were test failures; halting early
  • windows-17 (4 min 8 sec)
    • Checkout (windows-17) (13 sec)
    • Build (windows-17) (2 min 5 sec)
      Error: null
      Unstable: 1 tests failed