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

Update dependency com.icegreen:greenmail-junit5 to v2.1.2 #410

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Update dependency com.icegreen:greenmail-junit5 to v2.1.2

41b2ef9
Select commit
Loading
Failed to load commit list.
Open

Update dependency com.icegreen:greenmail-junit5 to v2.1.2 #410

Update dependency com.icegreen:greenmail-junit5 to v2.1.2
41b2ef9
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Jenkins failed Nov 30, 2024 in 1m 19s

Test: warning in 'junit' step

Test / Shell Script

Error in sh step, with arguments ./gradlew check.

script returned exit code 1
Build log
[2024-11-30T13:05:31.365Z] + ./gradlew check
[2024-11-30T13:05:32.467Z] > Task :compileJava UP-TO-DATE
[2024-11-30T13:05:32.467Z] > Task :processResources UP-TO-DATE
[2024-11-30T13:05:32.468Z] > Task :classes UP-TO-DATE
[2024-11-30T13:05:32.468Z] > Task :jar
[2024-11-30T13:05:32.869Z] > Task :compileTestJava
[2024-11-30T13:05:32.869Z] > Task :processTestResources NO-SOURCE
[2024-11-30T13:05:32.869Z] > Task :testClasses
[2024-11-30T13:05:33.571Z] > Task :test
[2024-11-30T13:05:33.571Z] > Task :prepareInplaceWebAppFolder
[2024-11-30T13:05:33.571Z] > Task :createInplaceWebAppFolder
[2024-11-30T13:05:33.571Z] > Task :prepareInplaceWebAppClasses UP-TO-DATE
[2024-11-30T13:05:33.571Z] > Task :prepareInplaceWebApp
[2024-11-30T13:05:35.878Z] 2024-11-30 13:05:35.827:INFO :oejs.Server:main: jetty-10.0.12; built: 2022-09-14T01:54:40.076Z; git: 408d0139887e27a57b54ed52e2d92a36731a7e88; jvm 17.0.13+11
[2024-11-30T13:05:35.878Z] 2024-11-30 13:05:35.860:INFO :oejs.AbstractConnector:main: Started ServerConnector@27abb83e{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
[2024-11-30T13:05:35.979Z] 2024-11-30 13:05:35.866:INFO :oejs.Server:main: Started Server@2571066a{STARTING}[10.0.12,sto=0] @1873ms
[2024-11-30T13:05:36.580Z] 2024-11-30 13:05:36.472:INFO :oejss.DefaultSessionIdManager:main: Session workerName=node0
[2024-11-30T13:05:36.581Z] Nov 30, 2024 1:05:36 PM org.kohsuke.stapler.framework.AbstractWebAppMain checkEnvironment
[2024-11-30T13:05:36.581Z] INFO: APP home directory: /home/jenkins/.app
[2024-11-30T13:05:36.681Z] 2024-11-30 13:05:36.575:WARN :oos.RealmVerifier:main: RP discovery / realm validation disabled; 
[2024-11-30T13:05:36.681Z] 2024-11-30 13:05:36.592:WARN :oos.RealmVerifier:main: RP discovery / realm validation disabled; 
[2024-11-30T13:05:36.682Z] 2024-11-30 13:05:36.632:INFO :oejsh.ContextHandler:main: Started o.a.g.JettyWebAppContext@164a62bf{/,/,[file:///home/jenkins/agent/workspace/Infra_account-app_PR-410/build/inplaceWebapp/, jar:file:///home/jenkins/.gradle/caches/modules-2/files-2.1/org.webjars/jquery-ui/1.13.3/bb7f2842643efa3a4212b96cb8b755377f61acfe/jquery-ui-1.13.3.jar!/META-INF/resources, jar:file:///home/jenkins/.gradle/caches/modules-2/files-2.1/org.webjars/jquery/3.7.1/42088e652462c40a369b64d87e18e825644acfab/jquery-3.7.1.jar!/META-INF/resources, jar:file:///home/jenkins/.gradle/caches/modules-2/files-2.1/org.webjars.bower/fontawesome/4.7.0/8eb9e070ac9b3aba45645448a9f572ee4c5189f9/fontawesome-4.7.0.jar!/META-INF/resources],AVAILABLE}
[2024-11-30T13:05:36.682Z] 2024-11-30 13:05:36.639:INFO :oag.JettyConfigurerImpl:main: Jetty 10.0.12 started and listening on port 8080
[2024-11-30T13:05:36.682Z] 2024-11-30 13:05:36.649:INFO :oag.JettyConfigurerImpl:main:  runs at:
[2024-11-30T13:05:36.682Z] 2024-11-30 13:05:36.649:INFO :oag.JettyConfigurerImpl:main:   http://localhost:8080/
[2024-11-30T13:05:36.782Z] > Task :appBeforeIntegrationTest
[2024-11-30T13:05:41.191Z] > Task :compileIntegrationTestJava
[2024-11-30T13:05:41.191Z] > Task :processIntegrationTestResources NO-SOURCE
[2024-11-30T13:05:41.191Z] > Task :integrationTestClasses
[2024-11-30T13:05:45.098Z] Nov 30, 2024 1:05:45 PM org.kohsuke.stapler.BytecodeReadingParanamer lookupParameterNames
[2024-11-30T13:05:45.098Z] WARNING: Looking up parameter names for public org.kohsuke.stapler.HttpResponse org.jenkinsci.account.Application.doDoLogin(java.lang.String,java.lang.String,java.lang.String); update plugin to a version created with a newer harness
[2024-11-30T13:05:45.500Z] Nov 30, 2024 1:05:45 PM org.kohsuke.stapler.BytecodeReadingParanamer lookupParameterNames
[2024-11-30T13:05:45.500Z] WARNING: Looking up parameter names for public org.kohsuke.stapler.HttpResponse org.jenkinsci.account.AdminUI.doSearch(java.lang.String) throws javax.naming.NamingException; update plugin to a version created with a newer harness
[2024-11-30T13:05:45.701Z] Nov 30, 2024 1:05:45 PM org.kohsuke.stapler.BytecodeReadingParanamer lookupParameterNames
[2024-11-30T13:05:45.701Z] WARNING: Looking up parameter names for public org.kohsuke.stapler.HttpResponse org.jenkinsci.account.AdminUI.doDelete(java.lang.String,java.lang.String) throws javax.naming.NamingException; update plugin to a version created with a newer harness
[2024-11-30T13:05:45.701Z] Nov 30, 2024 1:05:45 PM org.jenkinsci.account.Application$User delete
[2024-11-30T13:05:45.701Z] INFO: User alice deleted
[2024-11-30T13:05:47.706Z] Nov 30, 2024 1:05:47 PM org.jenkinsci.account.Application$User delete
[2024-11-30T13:05:47.706Z] INFO: User alice deleted
[2024-11-30T13:05:49.810Z] Nov 30, 2024 1:05:49 PM org.kohsuke.stapler.BytecodeReadingParanamer lookupParameterNames
[2024-11-30T13:05:49.810Z] WARNING: Looking up parameter names for public org.kohsuke.stapler.HttpResponse org.jenkinsci.account.AdminUI.doPasswordReset(java.lang.String,java.lang.String) throws javax.naming.NamingException,jakarta.mail.MessagingException; update plugin to a version created with a newer harness
[2024-11-30T13:05:49.811Z] Nov 30, 2024 1:05:49 PM org.jenkinsci.account.Application$User modifyPassword
[2024-11-30T13:05:49.811Z] INFO: User alice reset the password: [email protected]
[2024-11-30T13:05:50.413Z] 
[2024-11-30T13:05:50.413Z] > Task :integrationTest
[2024-11-30T13:05:50.413Z] 
[2024-11-30T13:05:50.413Z] ResetPasswordAdminTest > resetPasswordWithEmail() FAILED
[2024-11-30T13:05:50.413Z]     java.lang.ClassCastException at ResetPasswordAdminTest.java:52
[2024-11-30T13:05:51.315Z] 
[2024-11-30T13:05:51.315Z] Nov 30, 2024 1:05:51 PM org.jenkinsci.account.Application$User modifyPassword
[2024-11-30T13:05:51.315Z] INFO: User alice reset the password: [email protected]
[2024-11-30T13:05:52.518Z] 
[2024-11-30T13:05:52.518Z] > Task :integrationTest
[2024-11-30T13:05:52.518Z] 
[2024-11-30T13:05:52.518Z] ResetPasswordAdminTest > resetPasswordWithUsername() FAILED
[2024-11-30T13:05:52.518Z]     java.lang.ClassCastException at ResetPasswordAdminTest.java:52
[2024-11-30T13:05:53.521Z] 
[2024-11-30T13:05:53.521Z] Nov 30, 2024 1:05:53 PM org.kohsuke.stapler.BytecodeReadingParanamer lookupParameterNames
[2024-11-30T13:05:53.521Z] WARNING: Looking up parameter names for public org.kohsuke.stapler.HttpResponse org.jenkinsci.account.Myself.doUpdate(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String) throws java.lang.Exception; update plugin to a version created with a newer harness
[2024-11-30T13:05:53.521Z] Nov 30, 2024 1:05:53 PM org.jenkinsci.account.Myself doUpdate
[2024-11-30T13:05:53.521Z] INFO: User alice updated the profile. [email protected]
[2024-11-30T13:05:54.824Z] Nov 30, 2024 1:05:54 PM org.jenkinsci.account.Myself doUpdate
[2024-11-30T13:05:54.824Z] INFO: User alice updated the profile. [email protected]
[2024-11-30T13:05:55.926Z] Nov 30, 2024 1:05:55 PM org.jenkinsci.account.Myself doUpdate
[2024-11-30T13:05:55.926Z] INFO: User alice updated the profile. [email protected]
[2024-11-30T13:05:57.129Z] Nov 30, 2024 1:05:57 PM org.jenkinsci.account.Myself doUpdate
[2024-11-30T13:05:57.129Z] INFO: User alice updated the profile. [email protected]
[2024-11-30T13:05:57.129Z] Nov 30, 2024 1:05:57 PM org.jenkinsci.account.Myself doChangePassword
[2024-11-30T13:05:57.129Z] INFO: User alice changed the password
[2024-11-30T13:05:58.732Z] Nov 30, 2024 1:05:58 PM org.kohsuke.stapler.BytecodeReadingParanamer lookupParameterNames
[2024-11-30T13:05:58.732Z] WARNING: Looking up parameter names for public org.kohsuke.stapler.HttpResponse org.jenkinsci.account.Application.doDoPasswordReset(java.lang.String,java.lang.String) throws java.lang.Exception; update plugin to a version created with a newer harness
[2024-11-30T13:05:58.733Z] Nov 30, 2024 1:05:58 PM org.jenkinsci.account.Application$User modifyPassword
[2024-11-30T13:05:58.733Z] INFO: User alice reset the password: [email protected]
[2024-11-30T13:05:59.134Z] 
[2024-11-30T13:05:59.134Z] > Task :integrationTest
[2024-11-30T13:05:59.134Z] 
[2024-11-30T13:05:59.134Z] ResetPasswordTest > resetPasswordWithEmail() FAILED
[2024-11-30T13:05:59.134Z]     java.lang.ClassCastException at ResetPasswordTest.java:45
[2024-11-30T13:05:59.836Z] 
[2024-11-30T13:05:59.836Z] Nov 30, 2024 1:05:59 PM org.jenkinsci.account.Application$User modifyPassword
[2024-11-30T13:05:59.836Z] INFO: User alice reset the password: [email protected]
[2024-11-30T13:06:00.638Z] 
[2024-11-30T13:06:00.638Z] > Task :integrationTest FAILED
[2024-11-30T13:06:00.638Z] 
[2024-11-30T13:06:00.638Z] ResetPasswordTest > resetPasswordWithUsername() FAILED
[2024-11-30T13:06:00.638Z]     java.lang.ClassCastException at ResetPasswordTest.java:45
[2024-11-30T13:06:00.638Z] 
[2024-11-30T13:06:00.638Z] 11 tests completed, 4 failed
[2024-11-30T13:06:00.638Z] 2024-11-30 13:06:00.475:INFO :oejs.Server:main: Stopped Server@2571066a{STOPPING}[10.0.12,sto=0]
[2024-11-30T13:06:00.638Z] 2024-11-30 13:06:00.476:INFO :oejs.AbstractConnector:main: Stopped ServerConnector@27abb83e{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
[2024-11-30T13:06:00.638Z] 2024-11-30 13:06:00.480:INFO :oejsh.ContextHandler:main: Stopped o.a.g.JettyWebAppContext@164a62bf{/,/,file:///home/jenkins/agent/workspace/Infra_account-app_PR-410/build/inplaceWebapp/,STOPPED}
[2024-11-30T13:06:00.639Z] 
[2024-11-30T13:06:00.639Z] > Task :appAfterIntegrationTest
[2024-11-30T13:06:00.639Z] Server stopped.
[2024-11-30T13:06:00.639Z] [Incubating] Problems report is available at: file:///home/jenkins/agent/workspace/Infra_account-app_PR-410/build/reports/problems/problems-report.html
[2024-11-30T13:06:00.639Z] 
[2024-11-30T13:06:00.639Z] FAILURE: Build failed with an exception.
[2024-11-30T13:06:00.639Z] 
[2024-11-30T13:06:00.639Z] * What went wrong:
[2024-11-30T13:06:00.639Z] Execution failed for task ':integrationTest'.
[2024-11-30T13:06:00.639Z] > There were failing tests. See the report at: file:///home/jenkins/agent/workspace/Infra_account-app_PR-410/build/reports/tests/integrationTest/index.html
[2024-11-30T13:06:00.639Z] 
[2024-11-30T13:06:00.639Z] * Try:
[2024-11-30T13:06:00.639Z] > Run with --scan to get full insights.
[2024-11-30T13:06:00.639Z] 
[2024-11-30T13:06:00.639Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
[2024-11-30T13:06:00.639Z] 
[2024-11-30T13:06:00.639Z] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[2024-11-30T13:06:00.639Z] 
[2024-11-30T13:06:00.639Z] For more on this, please refer to https://docs.gradle.org/8.11.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
[2024-11-30T13:06:00.639Z] 
[2024-11-30T13:06:00.639Z] BUILD FAILED in 29s
[2024-11-30T13:06:00.640Z] 11 actionable tasks: 9 executed, 2 up-to-date

Test / Archive JUnit-formatted test results

Warning in junit step, with arguments build/test-results/**/TEST-*.xml.

4 tests failed

Details

  • Declarative: Checkout SCM (9.3 sec)
    • Build (37 sec)
    • Test (31 sec)
      Error: script returned exit code 1
      Unstable: 4 tests failed
    • Docker image (0.93 sec)