Skip to content

chore: linkedLicenses collection permission (Check with Owen whether … #59

chore: linkedLicenses collection permission (Check with Owen whether …

chore: linkedLicenses collection permission (Check with Owen whether … #59

GitHub Actions / Test Results failed Sep 25, 2024 in 0s

4 fail, 19 skipped, 116 pass in 5m 34s

139 tests  +1   116 ✅  - 15   5m 34s ⏱️ +20s
 17 suites ±0    19 💤 +14 
 17 files   ±0     4 ❌ + 2 

Results for commit ea47b5b. ± Comparison against earlier commit a6fa563.

Annotations

Check warning on line 0 in org.olf.Agreements.AgreementLifecycleSpec

See this annotation in the file changed.

@github-actions github-actions / Test Results

Ensure test tenant (org.olf.Agreements.AgreementLifecycleSpec) failed

testLogs/Agreements/service/build/test-results/integrationTest/TEST-org.olf.Agreements.AgreementLifecycleSpec.xml [took 9s]
Raw output
groovyx.net.http.HttpException: Internal Server Error
	at app//groovyx.net.http.NativeHandlers.failure(NativeHandlers.java:69)
	at app//groovyx.net.http.HttpBuilder$ResponseHandlerFunction.apply(HttpBuilder.java:2305)
	at app//groovyx.net.http.JavaHttpBuilder$Action.lambda$execute$2(JavaHttpBuilder.java:168)
	at app//groovyx.net.http.JavaHttpBuilder$ThreadLocalAuth.with(JavaHttpBuilder.java:331)
	at app//groovyx.net.http.JavaHttpBuilder$Action.execute(JavaHttpBuilder.java:122)
	at app//groovyx.net.http.JavaHttpBuilder.createAndExecute(JavaHttpBuilder.java:374)
	at app//groovyx.net.http.JavaHttpBuilder.doPost(JavaHttpBuilder.java:389)
	at app//groovyx.net.http.HttpObjectConfigImpl.nullInterceptor(HttpObjectConfigImpl.java:47)
	at app//groovyx.net.http.HttpBuilder.post(HttpBuilder.java:732)
	at app//groovyx.net.http.HttpBuilder.post(HttpBuilder.java:1391)
	at app//com.k_int.web.toolkit.testing.HttpSpec.doPost(HttpSpec.groovy:98)
	at org.olf.BaseSpec.Ensure test tenant(BaseSpec.groovy:109)

Check warning on line 0 in org.olf.Agreements.AgreementLifecycleSpec

See this annotation in the file changed.

@github-actions github-actions / Test Results

Load Packages [test_package_file_name: brill-eg.json, #0] (org.olf.Agreements.AgreementLifecycleSpec) failed

testLogs/Agreements/service/build/test-results/integrationTest/TEST-org.olf.Agreements.AgreementLifecycleSpec.xml [took 0s]
Raw output
java.lang.IllegalStateException: Either class [org.olf.kb.Pkg] is not a domain class or GORM has not been initialized correctly or has already been shutdown. Ensure GORM is loaded and configured correctly before calling any methods on a GORM entity.
	at org.grails.datastore.gorm.GormEnhancer.stateException(GormEnhancer.groovy:467)
	at org.grails.datastore.gorm.GormEnhancer.findStaticApi(GormEnhancer.groovy:298)
	at org.grails.datastore.gorm.GormEnhancer.findStaticApi(GormEnhancer.groovy:294)
	at org.grails.datastore.gorm.GormEntity$Trait$Helper.currentGormStaticApi(GormEntity.groovy:1370)
	at org.grails.datastore.gorm.GormEntity$Trait$Helper.withTransaction(GormEntity.groovy:941)
	at org.olf.BaseSpec.importPackageFromMapViaService_closure7(BaseSpec.groovy:178)
	at org.olf.BaseSpec.importPackageFromMapViaService_closure7(BaseSpec.groovy)
	at org.olf.BaseSpec.withTenant_closure2(BaseSpec.groovy:78)
	at groovy.lang.Closure.call(Closure.java:412)
	at groovy.lang.Closure.call(Closure.java:428)
	at grails.gorm.multitenancy.Tenants.withId_closure2$_closure6(Tenants.groovy:265)
	at org.grails.orm.hibernate.GrailsHibernateTemplate.doExecute(GrailsHibernateTemplate.java:297)
	at org.grails.orm.hibernate.GrailsHibernateTemplate.execute(GrailsHibernateTemplate.java:241)
	at org.grails.orm.hibernate.GrailsHibernateTemplate.executeWithNewSession(GrailsHibernateTemplate.java:153)
	at org.grails.orm.hibernate.GrailsHibernateTemplate.executeWithExistingOrCreateNewSession(GrailsHibernateTemplate.java:207)
	at org.grails.orm.hibernate.AbstractHibernateDatastore.withNewSession(AbstractHibernateDatastore.java:369)
	at grails.gorm.multitenancy.Tenants.withId_closure2(Tenants.groovy:258)
	at grails.gorm.multitenancy.Tenants$CurrentTenant.withTenant(Tenants.groovy:358)
	at grails.gorm.multitenancy.Tenants.withId(Tenants.groovy:236)
	at grails.gorm.multitenancy.Tenants.withId(Tenants.groovy:169)
	at org.olf.BaseSpec.withTenant(BaseSpec.groovy:77)
	at org.olf.BaseSpec.importPackageFromMapViaService(BaseSpec.groovy:177)
	at org.olf.BaseSpec.importPackageFromFileViaService(BaseSpec.groovy:168)
	at org.olf.Agreements.AgreementLifecycleSpec.Load Packages(AgreementLifecycleSpec.groovy:57)

Check warning on line 0 in org.olf.Agreements.AgreementLifecycleSpec

See this annotation in the file changed.

@github-actions github-actions / Test Results

Load Packages [test_package_file_name: jstor-eg.json, #1] (org.olf.Agreements.AgreementLifecycleSpec) failed

testLogs/Agreements/service/build/test-results/integrationTest/TEST-org.olf.Agreements.AgreementLifecycleSpec.xml [took 0s]
Raw output
java.lang.IllegalStateException: Either class [org.olf.kb.Pkg] is not a domain class or GORM has not been initialized correctly or has already been shutdown. Ensure GORM is loaded and configured correctly before calling any methods on a GORM entity.
	at org.grails.datastore.gorm.GormEnhancer.stateException(GormEnhancer.groovy:467)
	at org.grails.datastore.gorm.GormEnhancer.findStaticApi(GormEnhancer.groovy:298)
	at org.grails.datastore.gorm.GormEnhancer.findStaticApi(GormEnhancer.groovy:294)
	at org.grails.datastore.gorm.GormEntity$Trait$Helper.currentGormStaticApi(GormEntity.groovy:1370)
	at org.grails.datastore.gorm.GormEntity$Trait$Helper.withTransaction(GormEntity.groovy:941)
	at org.olf.BaseSpec.importPackageFromMapViaService_closure7(BaseSpec.groovy:178)
	at org.olf.BaseSpec.importPackageFromMapViaService_closure7(BaseSpec.groovy)
	at org.olf.BaseSpec.withTenant_closure2(BaseSpec.groovy:78)
	at groovy.lang.Closure.call(Closure.java:412)
	at groovy.lang.Closure.call(Closure.java:428)
	at grails.gorm.multitenancy.Tenants.withId_closure2$_closure6(Tenants.groovy:265)
	at org.grails.orm.hibernate.GrailsHibernateTemplate.doExecute(GrailsHibernateTemplate.java:297)
	at org.grails.orm.hibernate.GrailsHibernateTemplate.execute(GrailsHibernateTemplate.java:241)
	at org.grails.orm.hibernate.GrailsHibernateTemplate.executeWithNewSession(GrailsHibernateTemplate.java:153)
	at org.grails.orm.hibernate.GrailsHibernateTemplate.executeWithExistingOrCreateNewSession(GrailsHibernateTemplate.java:207)
	at org.grails.orm.hibernate.AbstractHibernateDatastore.withNewSession(AbstractHibernateDatastore.java:369)
	at grails.gorm.multitenancy.Tenants.withId_closure2(Tenants.groovy:258)
	at grails.gorm.multitenancy.Tenants$CurrentTenant.withTenant(Tenants.groovy:358)
	at grails.gorm.multitenancy.Tenants.withId(Tenants.groovy:236)
	at grails.gorm.multitenancy.Tenants.withId(Tenants.groovy:169)
	at org.olf.BaseSpec.withTenant(BaseSpec.groovy:77)
	at org.olf.BaseSpec.importPackageFromMapViaService(BaseSpec.groovy:177)
	at org.olf.BaseSpec.importPackageFromFileViaService(BaseSpec.groovy:168)
	at org.olf.Agreements.AgreementLifecycleSpec.Load Packages(AgreementLifecycleSpec.groovy:57)

Check warning on line 0 in org.olf.General.EntitlementLogSpec

See this annotation in the file changed.

@github-actions github-actions / Test Results

Ingest a test package (org.olf.General.EntitlementLogSpec) failed

testLogs/General/service/build/test-results/integrationTest/TEST-org.olf.General.EntitlementLogSpec.xml [took 1m 5s]
Raw output
java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out
	at groovyx.net.http.NativeHandlers.exception(NativeHandlers.java:80)
	at groovyx.net.http.HttpBuilder.handleException(HttpBuilder.java:2292)
	at groovyx.net.http.JavaHttpBuilder.createAndExecute(JavaHttpBuilder.java:376)
	at groovyx.net.http.JavaHttpBuilder.doGet(JavaHttpBuilder.java:381)
	at groovyx.net.http.HttpObjectConfigImpl.nullInterceptor(HttpObjectConfigImpl.java:47)
	at groovyx.net.http.HttpBuilder.get(HttpBuilder.java:346)
	at groovyx.net.http.HttpBuilder.get(HttpBuilder.java:1297)
	at com.k_int.web.toolkit.testing.HttpSpec.doGet(HttpSpec.groovy:86)
	at org.olf.General.EntitlementLogSpec.Ingest a test package(EntitlementLogSpec.groovy:45)
Caused by: java.net.SocketTimeoutException: Read timed out
	at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:2078)
	at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:2073)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:2072)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1630)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1610)
	at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529)
	at groovyx.net.http.JavaHttpBuilder$Action$JavaFromServer.<init>(JavaHttpBuilder.java:212)
	at groovyx.net.http.JavaHttpBuilder$Action.lambda$execute$2(JavaHttpBuilder.java:158)
	at groovyx.net.http.JavaHttpBuilder$ThreadLocalAuth.with(JavaHttpBuilder.java:331)
	at groovyx.net.http.JavaHttpBuilder$Action.execute(JavaHttpBuilder.java:122)
	at groovyx.net.http.JavaHttpBuilder.createAndExecute(JavaHttpBuilder.java:374)
	... 6 more
Caused by: java.net.SocketTimeoutException: Read timed out
	at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:288)
	at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:314)
	at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:355)
	at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:808)
	at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
	at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:244)
	at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
	at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:343)
	at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:826)
	at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:761)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1709)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1610)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnection.java:3330)
	at groovyx.net.http.JavaHttpBuilder$Action$JavaFromServer.populateHeaders(JavaHttpBuilder.java:277)
	at groovyx.net.http.JavaHttpBuilder$Action$JavaFromServer.<init>(JavaHttpBuilder.java:210)
	... 10 more