Skip to content

Merge pull request #7091 from ORCID/9339-delete-orgaffiliationrelatio… #252

Merge pull request #7091 from ORCID/9339-delete-orgaffiliationrelatio…

Merge pull request #7091 from ORCID/9339-delete-orgaffiliationrelatio… #252

GitHub Actions / orcid-scheduler-web: Unit tests results failed Oct 2, 2024 in 1s

orcid-scheduler-web: Unit tests results ❌

Tests failed

Report Passed Failed Skipped Time
orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest.xml 2❌ 19s
orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.email.trickle.manager.impl.TrickleManagerImplTest.xml 10✅ 246ms
orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml 6❌ 16s
orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.io.FtpsFileDownloaderTest.xml 9✅ 209ms
orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml 4❌ 7s
orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.manager.OrgLoadManagerTest.xml 4✅ 17ms
orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml 12❌ 25s
orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest.xml 2❌ 4s

❌ orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest.xml

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

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

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

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

✅ orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.email.trickle.manager.impl.TrickleManagerImplTest.xml

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

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

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

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

❌ orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml

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

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

❌ 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

✅ orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.io.FtpsFileDownloaderTest.xml

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

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

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

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

❌ orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml

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

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

❌ 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

✅ orcid-scheduler-web/target/surefire-reports/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

❌ orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml

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

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

❌ 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

❌ orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest.xml

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

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

❌ 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 orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest.xml

See this annotation in the file changed.

@github-actions github-actions / orcid-scheduler-web: Unit tests results

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

Failed test found in:
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest.xml
  orcid-scheduler-web/target/surefire-reports/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 'orgAffiliationRelationDao': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.orcid.utils.panoply.PanoplyRedshiftClient' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup="", name="", description="", authenticationType=CONTAINER, type=java.lang.Object.class, mappedName="")}
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.orcid.utils.panoply.PanoplyRedshiftClient' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup="", name="", description="", authenticationType=CONTAINER, type=java.lang.Object.class, mappedName="")}

Check failure on line 0 in orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml

See this annotation in the file changed.

@github-actions github-actions / orcid-scheduler-web: Unit tests results

org.orcid.scheduler.loader.FundrefOrgLoadSourceTest ► testDownloadOrgData

Failed test found in:
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml
  orcid-scheduler-web/target/surefire-reports/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 'orgAffiliationRelationDao': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.orcid.utils.panoply.PanoplyRedshiftClient' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup="", name="", description="", authenticationType=CONTAINER, type=java.lang.Object.class, mappedName="")}
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.orcid.utils.panoply.PanoplyRedshiftClient' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup="", name="", description="", authenticationType=CONTAINER, type=java.lang.Object.class, mappedName="")}

Check failure on line 0 in orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml

See this annotation in the file changed.

@github-actions github-actions / orcid-scheduler-web: Unit tests results

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

Failed test found in:
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml
  orcid-scheduler-web/target/surefire-reports/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 'orgAffiliationRelationDao': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.orcid.utils.panoply.PanoplyRedshiftClient' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup="", name="", description="", authenticationType=CONTAINER, type=java.lang.Object.class, mappedName="")}
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.orcid.utils.panoply.PanoplyRedshiftClient' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup="", name="", description="", authenticationType=CONTAINER, type=java.lang.Object.class, mappedName="")}

Check failure on line 0 in orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml

See this annotation in the file changed.

@github-actions github-actions / orcid-scheduler-web: Unit tests results

org.orcid.scheduler.loader.RorOrgLoadSourceTest ► execute_Stats_Test_1

Failed test found in:
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml
  orcid-scheduler-web/target/surefire-reports/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 'orgAffiliationRelationDao': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.orcid.utils.panoply.PanoplyRedshiftClient' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup="", name="", description="", authenticationType=CONTAINER, type=java.lang.Object.class, mappedName="")}
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.orcid.utils.panoply.PanoplyRedshiftClient' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup="", name="", description="", authenticationType=CONTAINER, type=java.lang.Object.class, mappedName="")}

Check failure on line 0 in orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest.xml

See this annotation in the file changed.

@github-actions github-actions / orcid-scheduler-web: Unit tests results

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

Failed test found in:
  orcid-scheduler-web/target/surefire-reports/TEST-org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest.xml
  orcid-scheduler-web/target/surefire-reports/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 'orgAffiliationRelationDao': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.orcid.utils.panoply.PanoplyRedshiftClient' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup="", name="", description="", authenticationType=CONTAINER, type=java.lang.Object.class, mappedName="")}
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.orcid.utils.panoply.PanoplyRedshiftClient' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup="", name="", description="", authenticationType=CONTAINER, type=java.lang.Object.class, mappedName="")}