Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Add more logging to the V1 file uploader #510

Add more logging to the V1 file uploader

Add more logging to the V1 file uploader #510

GitHub Actions / Unit Test Results failed Feb 16, 2024 in 0s

1 fail, 86 pass in 20s

25 files   - 14  25 suites   - 14   20s ⏱️ -14s
87 tests ±  0  86 ✔️ ±  0  0 💤 ±0  1 ±0 
87 runs   - 46  86 ✔️  - 46  0 💤 ±0  1 ±0 

Results for commit 609a96a. ± Comparison against earlier commit 969b5c9.

Annotations

Check warning on line 0 in org.sagebionetworks.bridge.kmm.shared.integration.IntegrationSmokeTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

testIntegrationSmokeTest (org.sagebionetworks.bridge.kmm.shared.integration.IntegrationSmokeTest) failed

bridge-client/build/test-results/testDebugUnitTest/TEST-org.sagebionetworks.bridge.kmm.shared.integration.IntegrationSmokeTest.xml
Raw output
java.lang.IllegalStateException: ResultSet returned more than 1 row for BridgeResourceDatabase.sq:selectResourceById
	at app.cash.sqldelight.async.coroutines.QueryExtensionsKt$awaitAsOneOrNull$2.invoke(QueryExtensions.kt:50)
	at app.cash.sqldelight.async.coroutines.QueryExtensionsKt$awaitAsOneOrNull$2.invoke(QueryExtensions.kt:33)
	at app.cash.sqldelight.driver.jdbc.JdbcPreparedStatement.executeQuery(JdbcDriver.kt:272)
	at app.cash.sqldelight.driver.jdbc.JdbcDriver.executeQuery(JdbcDriver.kt:152)
	at org.sagebionetworks.bridge.kmm.shared.cache.BridgeResourceDatabaseQueries$SelectResourceByIdQuery.execute(BridgeResourceDatabaseQueries.kt:398)
	at app.cash.sqldelight.async.coroutines.QueryExtensionsKt.awaitAsOneOrNull(QueryExtensions.kt:33)
	at app.cash.sqldelight.coroutines.FlowQuery$mapToOneOrNull$1$1.invokeSuspend(FlowExtensions.kt:76)
	at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:46)
	at app.cash.sqldelight.coroutines.FlowQuery$mapToOneOrNull$$inlined$map$1$2.emit(FlowExtensions.kt:224)
	at app.cash.sqldelight.coroutines.FlowQuery$asFlow$1.invokeSuspend(FlowExtensions.kt:48)
	at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230)
	at kotlinx.coroutines.flow.FlowKt__ReduceKt.first(Reduce.kt:183)
	at org.sagebionetworks.bridge.kmm.shared.integration.IntegrationSmokeTest$testIntegrationSmokeTest$1.invokeSuspend(IntegrationSmokeTest.kt:60)
	at org.sagebionetworks.bridge.kmm.shared.BaseTest$runTest$1.invokeSuspend(BaseTest.kt:13)
Caused by: java.lang.IllegalStateException: ResultSet returned more than 1 row for BridgeResourceDatabase.sq:selectResourceById
	at app.cash.sqldelight.async.coroutines.QueryExtensionsKt$awaitAsOneOrNull$2.invoke(QueryExtensions.kt:50)
	at app.cash.sqldelight.async.coroutines.QueryExtensionsKt$awaitAsOneOrNull$2.invoke(QueryExtensions.kt:33)
	at app.cash.sqldelight.driver.jdbc.JdbcPreparedStatement.executeQuery(JdbcDriver.kt:272)
	at app.cash.sqldelight.driver.jdbc.JdbcDriver.executeQuery(JdbcDriver.kt:152)
	at org.sagebionetworks.bridge.kmm.shared.cache.BridgeResourceDatabaseQueries$SelectResourceByIdQuery.execute(BridgeResourceDatabaseQueries.kt:398)
	at app.cash.sqldelight.async.coroutines.QueryExtensionsKt.awaitAsOneOrNull(QueryExtensions.kt:33)
	at app.cash.sqldelight.coroutines.FlowQuery$mapToOneOrNull$1$1.invokeSuspend(FlowExtensions.kt:76)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)