Skip to content

Bug fixes for slack reporting #638

Bug fixes for slack reporting

Bug fixes for slack reporting #638

GitHub Actions / maven_test_report_orcid-scheduler-web failed Oct 25, 2024 in 0s

maven_test_report_orcid-scheduler-web ❌

Tests failed

Report Passed Failed Skipped Time
TEST-org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest.xml 2❌ 25s
TEST-org.orcid.scheduler.email.trickle.manager.impl.TrickleManagerImplTest.xml 10✅ 267ms
TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml 6❌ 23s
TEST-org.orcid.scheduler.loader.io.FtpsFileDownloaderTest.xml 9✅ 157ms
TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml 4❌ 11s
TEST-org.orcid.scheduler.loader.manager.OrgLoadManagerTest.xml 4✅ 17ms
TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml 12❌ 36s
TEST-org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest.xml 2❌ 5s

❌ TEST-org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest.xml

2 tests were completed in 25s with 0 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest 2❌ 25s

❌ org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest

❌ testAddWorksToRecordEmail
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ testCreateDigest
	java.lang.IllegalStateException: Failed to load ApplicationContext

✅ TEST-org.orcid.scheduler.email.trickle.manager.impl.TrickleManagerImplTest.xml

10 tests were completed in 267ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.email.trickle.manager.impl.TrickleManagerImplTest 10✅ 267ms

✅ org.orcid.scheduler.email.trickle.manager.impl.TrickleManagerImplTest

✅ testAttemptSendSkippedAccountDeprecated
✅ testAttemptSendMarketingSuccess
✅ testAttemptSendAlreadyProcessed
✅ testAttemptSendSkipped
✅ testAttemptMarketingSendFailure
✅ testAttemptSendSuccess
✅ testAttemptSendSkippedAccountDeactivated
✅ testAttemptSendEmailNoLongerExists
✅ testAttemptSendFailure
✅ testAttemptSendSkippedAccountLocked

❌ TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml

6 tests were completed in 23s with 0 passed, 6 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.FundrefOrgLoadSourceTest 6❌ 23s

❌ org.orcid.scheduler.loader.FundrefOrgLoadSourceTest

❌ testDownloadOrgData
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ testLoadLatestOrgsNoExistingOrgs
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ testGetSourceName
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ testLoadLatestOrgsDownloadFailed
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ testSetDisabled
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ testLoadLatestOrgsTwoExistingOrgs
	java.lang.IllegalStateException: Failed to load ApplicationContext

✅ TEST-org.orcid.scheduler.loader.io.FtpsFileDownloaderTest.xml

9 tests were completed in 157ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.io.FtpsFileDownloaderTest 9✅ 157ms

✅ org.orcid.scheduler.loader.io.FtpsFileDownloaderTest

✅ testDownloadFileNoPropsSet
✅ testDownloadFileNoUsername
✅ testDownloadFileNoLocalFilePath
✅ testDownloadFileNoPassword
✅ testDownloadFileSuccess
✅ testDownloadFileNoRemoteFilePath
✅ testDownloadFileErrorOccurs
✅ testDownloadFileNoHost
✅ testDownloadFileNoPort

❌ TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml

4 tests were completed in 11s with 0 passed, 4 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.io.OrgDataClientTest 4❌ 11s

❌ org.orcid.scheduler.loader.io.OrgDataClientTest

❌ testGet
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ testGetFailure
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ testDownloadFileSuccess
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ testDownloadFileFailure
	java.lang.IllegalStateException: Failed to load ApplicationContext

✅ TEST-org.orcid.scheduler.loader.manager.OrgLoadManagerTest.xml

4 tests were completed in 17ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.manager.OrgLoadManagerTest 4✅ 17ms

✅ org.orcid.scheduler.loader.manager.OrgLoadManagerTest

✅ testLoadOrgs
✅ testLoadOrgsDownloadOrgDataFailure
✅ testLoadOrgsNextSourceDisabled
✅ testLoadOrgsLoadOrgDataFailure

❌ TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml

12 tests were completed in 36s with 0 passed, 12 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.RorOrgLoadSourceTest 12❌ 36s

❌ org.orcid.scheduler.loader.RorOrgLoadSourceTest

❌ execute_Stats_Test_1
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ execute_Stats_Test_2
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ execute_Stats_Test_3
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ execute_UpdateExistingInstitute_Test
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ execute_NothingToCreateNothingToUpdate_Test
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ testDownloadOrgData
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ execute_DeprecatedObsoleteInstitutes_1_Test
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ execute_DeprecatedObsoleteInstitutes_2_Test
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ execute_JustAddOneExeternalIdentifier_Test
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ testGetSourceName
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ execute_UpdatePreferredIndicator_Test
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ testSetDisabled
	java.lang.IllegalStateException: Failed to load ApplicationContext

❌ TEST-org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest.xml

2 tests were completed in 5s with 0 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest 2❌ 5s

❌ org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest

❌ testCreateEntityFromXmlWithLegacyNames
	java.lang.IllegalStateException: Failed to load ApplicationContext
❌ testCreateEntityFromXml
	java.lang.IllegalStateException: Failed to load ApplicationContext

Annotations

Check failure on line 0 in TEST-org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest.xml

See this annotation in the file changed.

@github-actions github-actions / maven_test_report_orcid-scheduler-web

org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest ► testAddWorksToRecordEmail

Failed test found in:
  TEST-org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest.xml
  TEST-org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest.xml
Error:
  java.lang.IllegalStateException: Failed to load ApplicationContext
Raw output
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.support.ScheduledMethodRunnable#29': Cannot resolve reference to bean 'papiLimitReport' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'papiLimitReport': Unsatisfied dependency expressed through field 'anonymousRequestLimit'; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'papiLimitReport': Unsatisfied dependency expressed through field 'anonymousRequestLimit'; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"
Caused by: java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"

Check failure on line 0 in TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml

See this annotation in the file changed.

@github-actions github-actions / maven_test_report_orcid-scheduler-web

org.orcid.scheduler.loader.FundrefOrgLoadSourceTest ► testDownloadOrgData

Failed test found in:
  TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml
  TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml
  TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml
  TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml
  TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml
  TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml
Error:
  java.lang.IllegalStateException: Failed to load ApplicationContext
Raw output
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.support.ScheduledMethodRunnable#29': Cannot resolve reference to bean 'papiLimitReport' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'papiLimitReport': Unsatisfied dependency expressed through field 'anonymousRequestLimit'; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'papiLimitReport': Unsatisfied dependency expressed through field 'anonymousRequestLimit'; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"
Caused by: java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"

Check failure on line 0 in TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml

See this annotation in the file changed.

@github-actions github-actions / maven_test_report_orcid-scheduler-web

org.orcid.scheduler.loader.io.OrgDataClientTest ► testGet

Failed test found in:
  TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml
  TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml
  TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml
  TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml
Error:
  java.lang.IllegalStateException: Failed to load ApplicationContext
Raw output
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.support.ScheduledMethodRunnable#29': Cannot resolve reference to bean 'papiLimitReport' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'papiLimitReport': Unsatisfied dependency expressed through field 'anonymousRequestLimit'; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'papiLimitReport': Unsatisfied dependency expressed through field 'anonymousRequestLimit'; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"
Caused by: java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"

Check failure on line 0 in TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml

See this annotation in the file changed.

@github-actions github-actions / maven_test_report_orcid-scheduler-web

org.orcid.scheduler.loader.RorOrgLoadSourceTest ► execute_Stats_Test_1

Failed test found in:
  TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
Error:
  java.lang.IllegalStateException: Failed to load ApplicationContext
Raw output
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.support.ScheduledMethodRunnable#29': Cannot resolve reference to bean 'papiLimitReport' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'papiLimitReport': Unsatisfied dependency expressed through field 'anonymousRequestLimit'; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'papiLimitReport': Unsatisfied dependency expressed through field 'anonymousRequestLimit'; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"
Caused by: java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"

Check failure on line 0 in TEST-org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest.xml

See this annotation in the file changed.

@github-actions github-actions / maven_test_report_orcid-scheduler-web

org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest ► testCreateEntityFromXmlWithLegacyNames

Failed test found in:
  TEST-org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest.xml
  TEST-org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest.xml
Error:
  java.lang.IllegalStateException: Failed to load ApplicationContext
Raw output
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.support.ScheduledMethodRunnable#29': Cannot resolve reference to bean 'papiLimitReport' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'papiLimitReport': Unsatisfied dependency expressed through field 'anonymousRequestLimit'; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'papiLimitReport': Unsatisfied dependency expressed through field 'anonymousRequestLimit'; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"
Caused by: java.lang.NumberFormatException: For input string: "${rate.limit.anonymous.requests}"