Skip to content

Storing the spring security request id, still not sure why we need it… #561

Storing the spring security request id, still not sure why we need it…

Storing the spring security request id, still not sure why we need it… #561

GitHub Actions / orcid-api-common Unit Tests failed Aug 31, 2024 in 0s

orcid-api-common Unit Tests ❌

Tests failed

Report Passed Failed Skipped Time
TEST-org.orcid.api.common.analytics.AnalyticsProcessTest.xml 18✅ 225ms
TEST-org.orcid.api.common.analytics.APIEndpointParserTest.xml 9✅ 551ms
TEST-org.orcid.api.common.analytics.client.google.UniversalAnalyticsClientTest.xml 2✅ 375ms
TEST-org.orcid.api.common.filter.ApiVersionCheckFilterTest.xml 8✅ 51ms
TEST-org.orcid.api.common.filter.TokenTargetFilterTest.xml 5✅ 201ms
TEST-org.orcid.api.common.oauth.OrcidClientCredentialEndPointDelegatorTest.xml 2❌ 12s
TEST-org.orcid.api.common.util.ActivityUtilsTest.xml 15✅ 0ms
TEST-org.orcid.api.common.util.v3.ActivityUtilsTest.xml 20✅ 0ms
TEST-org.orcid.api.common.writer.citeproc.WorkToCiteprocTranslatorTest.xml 4✅ 321ms
TEST-org.orcid.api.common.writer.rdf.RDFWriterTest.xml 5✅ 806ms
TEST-org.orcid.api.common.writer.SchemaOrgDocumentTest.xml 1✅ 122ms

✅ TEST-org.orcid.api.common.analytics.AnalyticsProcessTest.xml

18 tests were completed in 225ms with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.api.common.analytics.AnalyticsProcessTest 18✅ 225ms

✅ org.orcid.api.common.analytics.AnalyticsProcessTest

✅ testAnalyticsProcessForGetRequestWithUnknownAcceptHeader
✅ testAnalyticsProcessForAnonymous
✅ testAnalyticsProcessForGetRequestWithXmlAcceptHeader
✅ testAnalyticsProcessForGetRequestWithJsonAcceptHeader
✅ testAnalyticsProcessForGetRequestWithJsonContentTypeHeader
✅ testAnalyticsProcessForGetRequestWithXmlContentTypeHeader
✅ testAnalyticsProcessForGetRequestWithRdfXmlContentTypeHeader
✅ testAnalyticsProcessForIPv6
✅ testAnalyticsProcessForMemberClient
✅ testAnalyticsProcessForPublicClientWithAmpersand
✅ testAnalyticsProcessForGetRequestWithJsonLdContentTypeHeader
✅ testAnalyticsProcessForPublicClient
✅ testAnalyticsProcessForPostRequestWithUnknownContentTypeHeader
✅ testAnalyticsProcessForPostRequestWithXmlContentTypeHeader
✅ testAnalyticsProcessWithNoContentType
✅ testAnalyticsProcessForPostRequestWithJsonContentTypeHeader
✅ testAnalyticsProcessForNoSpecifiedCategory
✅ testSchemeCorrection

✅ TEST-org.orcid.api.common.analytics.APIEndpointParserTest.xml

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

Test suite Passed Failed Skipped Time
org.orcid.api.common.analytics.APIEndpointParserTest 9✅ 551ms

✅ org.orcid.api.common.analytics.APIEndpointParserTest

✅ testAPIEndpointParserWithApiVersionWithoutOrcid
✅ testAPIEndpointParserNoCategoryV1
✅ testAPIEndpointParserNoCategoryV2
✅ testAPIEndpointParserNoCategoryV3
✅ testAPIEndpointParserNoCategoryOrVersion
✅ testAPIEndpointParserWithApiVersionAndOrcid
✅ testAPIEndpointParserWithoutApiVersionWithOrcid
✅ testInvalidEventCategory
✅ testAPIEndpointParserWithoutApiVersionOrOrcid

✅ TEST-org.orcid.api.common.analytics.client.google.UniversalAnalyticsClientTest.xml

2 tests were completed in 375ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.api.common.analytics.client.google.UniversalAnalyticsClientTest 2✅ 375ms

✅ org.orcid.api.common.analytics.client.google.UniversalAnalyticsClientTest

✅ testSendAnalyticsDataNoTrackingCode
✅ testSendAnalyticsData

✅ TEST-org.orcid.api.common.filter.ApiVersionCheckFilterTest.xml

8 tests were completed in 51ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.api.common.filter.ApiVersionCheckFilterTest 8✅ 51ms

✅ org.orcid.api.common.filter.ApiVersionCheckFilterTest

✅ apiV2SchemeTest
✅ api2_0VersionTest
✅ webhooksShouldWorkWithoutVersionTest
✅ apiOauthTokenTest
✅ apiV2HeaderTest
✅ apiV2BlockHttpTest
✅ apiDefaultVersionTest
✅ invalidWebhooksShouldNotWork

✅ TEST-org.orcid.api.common.filter.TokenTargetFilterTest.xml

5 tests were completed in 201ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.api.common.filter.TokenTargetFilterTest 5✅ 201ms

✅ org.orcid.api.common.filter.TokenTargetFilterTest

✅ readPublicTokenTest
✅ tokenUsedOnTheRightUserTest
✅ tokenUsedOnTheWrongUser20ApiTest
✅ filterInvokedOnNoOrcidEndpointTest
✅ tokenUsedOnTheWrongUser12ApiTest

❌ TEST-org.orcid.api.common.oauth.OrcidClientCredentialEndPointDelegatorTest.xml

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

Test suite Passed Failed Skipped Time
org.orcid.api.common.oauth.OrcidClientCredentialEndPointDelegatorTest 2❌ 12s

❌ org.orcid.api.common.oauth.OrcidClientCredentialEndPointDelegatorTest

❌ 
	java.lang.AssertionError
❌ 
	java.lang.NoClassDefFoundError: Could not initialize class org.orcid.api.common.oauth.OrcidClientCredentialEndPointDelegatorTest

✅ TEST-org.orcid.api.common.util.ActivityUtilsTest.xml

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

Test suite Passed Failed Skipped Time
org.orcid.api.common.util.ActivityUtilsTest 15✅ 0ms

✅ org.orcid.api.common.util.ActivityUtilsTest

✅ cleanWorkTest
✅ setPathToFundingsTest
✅ setPathToActivitiesSummaryTest
✅ setPathToWorksTest
✅ setPathToPeerReviewsTest
✅ setPathToActivityTest
✅ cleanBulkWorkTest
✅ cleanFundingTest
✅ cleanEmptyActivitiesSummaryTest
✅ setPathToEmploymentsTest
✅ cleanWorksTest
✅ cleanBulkElementTest
✅ cleanOrganizationTest
✅ cleanWorkSummaryTest
✅ setPathToEducationsTest

✅ TEST-org.orcid.api.common.util.v3.ActivityUtilsTest.xml

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

Test suite Passed Failed Skipped Time
org.orcid.api.common.util.v3.ActivityUtilsTest 20✅ 0ms

✅ org.orcid.api.common.util.v3.ActivityUtilsTest

✅ cleanWorkTest
✅ setPathToFundingsTest
✅ setPathToInvitedPositionsTest
✅ setPathToActivitiesSummaryTest
✅ setPathToServicesTest
✅ setPathToDistinctionsTest
✅ setPathToWorksTest
✅ setPathToPeerReviewsTest
✅ setPathToActivityTest
✅ setPathToMembershipsTest
✅ setPathToQualificationTest
✅ cleanBulkWorkTest
✅ cleanFundingTest
✅ cleanEmptyActivitiesSummaryTest
✅ setPathToEmploymentsTest
✅ cleanWorksTest
✅ cleanBulkElementTest
✅ cleanOrganizationTest
✅ cleanWorkSummaryTest
✅ setPathToEducationsTest

✅ TEST-org.orcid.api.common.writer.citeproc.WorkToCiteprocTranslatorTest.xml

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

Test suite Passed Failed Skipped Time
org.orcid.api.common.writer.citeproc.WorkToCiteprocTranslatorTest 4✅ 321ms

✅ org.orcid.api.common.writer.citeproc.WorkToCiteprocTranslatorTest

✅ testUnicode
✅ testBibtexWorkTranslationHyperAuthorNoAbrev
✅ testBibtexWorkTranslationHyperAuthor
✅ testBibtexWorkTranslationHyperAuthorLiteralAndMissingDOI

✅ TEST-org.orcid.api.common.writer.rdf.RDFWriterTest.xml

5 tests were completed in 806ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.api.common.writer.rdf.RDFWriterTest 5✅ 806ms

✅ org.orcid.api.common.writer.rdf.RDFWriterTest

✅ writeTurte
✅ writeNtriples
✅ missingCreditName
✅ writeJsonLD
✅ writeRdfXML

✅ TEST-org.orcid.api.common.writer.SchemaOrgDocumentTest.xml

1 tests were completed in 122ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.api.common.writer.SchemaOrgDocumentTest 1✅ 122ms

✅ org.orcid.api.common.writer.SchemaOrgDocumentTest

✅ testSerialisation

Annotations

Check failure on line 0 in TEST-org.orcid.api.common.oauth.OrcidClientCredentialEndPointDelegatorTest.xml

See this annotation in the file changed.

@github-actions github-actions / orcid-api-common Unit Tests

org.orcid.api.common.oauth.OrcidClientCredentialEndPointDelegatorTest ►

Failed test found in:
  TEST-org.orcid.api.common.oauth.OrcidClientCredentialEndPointDelegatorTest.xml
Error:
  java.lang.AssertionError
Raw output
java.lang.AssertionError

Check failure on line 0 in TEST-org.orcid.api.common.oauth.OrcidClientCredentialEndPointDelegatorTest.xml

See this annotation in the file changed.

@github-actions github-actions / orcid-api-common Unit Tests

org.orcid.api.common.oauth.OrcidClientCredentialEndPointDelegatorTest ►

Failed test found in:
  TEST-org.orcid.api.common.oauth.OrcidClientCredentialEndPointDelegatorTest.xml
Error:
  java.lang.NoClassDefFoundError: Could not initialize class org.orcid.api.common.oauth.OrcidClientCredentialEndPointDelegatorTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class org.orcid.api.common.oauth.OrcidClientCredentialEndPointDelegatorTest