Skip to content

Shorter id names

Shorter id names #562

GitHub Actions / orcid-scheduler-web Unit Tests failed Aug 31, 2024 in 0s

orcid-scheduler-web Unit Tests ❌

Tests failed

Report Passed Failed Skipped Time
TEST-org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest.xml 2❌ 13s
TEST-org.orcid.scheduler.email.trickle.manager.impl.TrickleManagerImplTest.xml 10✅ 466ms
TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml 6❌ 9s
TEST-org.orcid.scheduler.loader.io.FtpsFileDownloaderTest.xml 9✅ 321ms
TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml 4❌ 5s
TEST-org.orcid.scheduler.loader.manager.OrgLoadManagerTest.xml 4✅ 39ms
TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml 12❌ 15s
TEST-org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest.xml 2❌ 2s

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

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

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

❌ 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 466ms with 10 passed, 0 failed and 0 skipped.

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

✅ 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 9s with 0 passed, 6 failed and 0 skipped.

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

❌ 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 321ms with 9 passed, 0 failed and 0 skipped.

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

✅ 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 5s with 0 passed, 4 failed and 0 skipped.

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

❌ 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 39ms with 4 passed, 0 failed and 0 skipped.

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

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

✅ testLoadOrgs
✅ testLoadOrgsDownloadOrgDataFailure
✅ testLoadOrgsNextSourceDisabled
✅ testLoadOrgsLoadOrgDataFailure

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

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

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

❌ 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 2s with 0 passed, 2 failed and 0 skipped.

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

❌ 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 / orcid-scheduler-web Unit Tests

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 'liquibase' defined in URL [jar:file:/home/runner/.m2/repository/org/orcid/orcid-persistence/2.64.3/orcid-persistence-2.64.3.jar!/orcid-persistence-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for change set db/updates/oauth2_authoriziation_code_detail_improvements.xml::ADD-6-CHARS-AUTH-CODE::Angel Montenegro:
     Reason: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: liquibase.exception.LiquibaseException: 
liquibase.exception.MigrationFailedException: Migration failed for change set db/updates/oauth2_authoriziation_code_detail_improvements.xml::ADD-6-CHARS-AUTH-CODE::Angel Montenegro:
     Reason: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: liquibase.exception.MigrationFailedException: 
Migration failed for change set db/updates/oauth2_authoriziation_code_detail_improvements.xml::ADD-6-CHARS-AUTH-CODE::Angel Montenegro:
     Reason: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: java.sql.SQLSyntaxErrorException: unexpected token: 6
Caused by: org.hsqldb.HsqlException: unexpected token: 6

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

See this annotation in the file changed.

@github-actions github-actions / orcid-scheduler-web Unit Tests

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 'liquibase' defined in URL [jar:file:/home/runner/.m2/repository/org/orcid/orcid-persistence/2.64.3/orcid-persistence-2.64.3.jar!/orcid-persistence-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for change set db/updates/oauth2_authoriziation_code_detail_improvements.xml::ADD-6-CHARS-AUTH-CODE::Angel Montenegro:
     Reason: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: liquibase.exception.LiquibaseException: 
liquibase.exception.MigrationFailedException: Migration failed for change set db/updates/oauth2_authoriziation_code_detail_improvements.xml::ADD-6-CHARS-AUTH-CODE::Angel Montenegro:
     Reason: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: liquibase.exception.MigrationFailedException: 
Migration failed for change set db/updates/oauth2_authoriziation_code_detail_improvements.xml::ADD-6-CHARS-AUTH-CODE::Angel Montenegro:
     Reason: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: java.sql.SQLSyntaxErrorException: unexpected token: 6
Caused by: org.hsqldb.HsqlException: unexpected token: 6

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 / orcid-scheduler-web Unit Tests

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 'liquibase' defined in URL [jar:file:/home/runner/.m2/repository/org/orcid/orcid-persistence/2.64.3/orcid-persistence-2.64.3.jar!/orcid-persistence-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for change set db/updates/oauth2_authoriziation_code_detail_improvements.xml::ADD-6-CHARS-AUTH-CODE::Angel Montenegro:
     Reason: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: liquibase.exception.LiquibaseException: 
liquibase.exception.MigrationFailedException: Migration failed for change set db/updates/oauth2_authoriziation_code_detail_improvements.xml::ADD-6-CHARS-AUTH-CODE::Angel Montenegro:
     Reason: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: liquibase.exception.MigrationFailedException: 
Migration failed for change set db/updates/oauth2_authoriziation_code_detail_improvements.xml::ADD-6-CHARS-AUTH-CODE::Angel Montenegro:
     Reason: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: java.sql.SQLSyntaxErrorException: unexpected token: 6
Caused by: org.hsqldb.HsqlException: unexpected token: 6

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

See this annotation in the file changed.

@github-actions github-actions / orcid-scheduler-web Unit Tests

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 'liquibase' defined in URL [jar:file:/home/runner/.m2/repository/org/orcid/orcid-persistence/2.64.3/orcid-persistence-2.64.3.jar!/orcid-persistence-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for change set db/updates/oauth2_authoriziation_code_detail_improvements.xml::ADD-6-CHARS-AUTH-CODE::Angel Montenegro:
     Reason: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: liquibase.exception.LiquibaseException: 
liquibase.exception.MigrationFailedException: Migration failed for change set db/updates/oauth2_authoriziation_code_detail_improvements.xml::ADD-6-CHARS-AUTH-CODE::Angel Montenegro:
     Reason: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: liquibase.exception.MigrationFailedException: 
Migration failed for change set db/updates/oauth2_authoriziation_code_detail_improvements.xml::ADD-6-CHARS-AUTH-CODE::Angel Montenegro:
     Reason: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: java.sql.SQLSyntaxErrorException: unexpected token: 6
Caused by: org.hsqldb.HsqlException: unexpected token: 6

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 / orcid-scheduler-web Unit Tests

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 'liquibase' defined in URL [jar:file:/home/runner/.m2/repository/org/orcid/orcid-persistence/2.64.3/orcid-persistence-2.64.3.jar!/orcid-persistence-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for change set db/updates/oauth2_authoriziation_code_detail_improvements.xml::ADD-6-CHARS-AUTH-CODE::Angel Montenegro:
     Reason: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: liquibase.exception.LiquibaseException: 
liquibase.exception.MigrationFailedException: Migration failed for change set db/updates/oauth2_authoriziation_code_detail_improvements.xml::ADD-6-CHARS-AUTH-CODE::Angel Montenegro:
     Reason: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: liquibase.exception.MigrationFailedException: 
Migration failed for change set db/updates/oauth2_authoriziation_code_detail_improvements.xml::ADD-6-CHARS-AUTH-CODE::Angel Montenegro:
     Reason: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: liquibase.exception.DatabaseException: unexpected token: 6 [Failed SQL: (-5581) ALTER TABLE PUBLIC.oauth2_authoriziation_code_detail ADD 6_chars_authoriziation_code_value VARCHAR(6)]
Caused by: java.sql.SQLSyntaxErrorException: unexpected token: 6
Caused by: org.hsqldb.HsqlException: unexpected token: 6