Skip to content

BlobInputStream improvements #3697

BlobInputStream improvements

BlobInputStream improvements #3697

Triggered via pull request May 13, 2024 14:55
Status Cancelled
Total duration 4m 42s
Artifacts

main.yml

on: pull_request
Matrix Preparation
4s
Matrix Preparation
Code style
2m 2s
Code style
CheckerFramework
3m 21s
CheckerFramework
Source distribution (JDK 17)
4m 28s
Source distribution (JDK 17)
Matrix: build-test
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 4 warnings
Code style: pgjdbc/src/test/java/org/postgresql/test/jdbc2/BlobTest.java#L20
Insert 2 lines: import org.postgresql.util.PSQLException; import org.postgresql.util.PSQLState;
Code style: pgjdbc/src/test/java/org/postgresql/test/jdbc2/BlobTest.java#L46
Insert 1 line: import java.util.concurrent.atomic.AtomicBoolean;
Code style: task ':postgresql:autostyleJavaCheck'#L1
Execution failed for task ':postgresql:autostyleJavaCheck': See 'What went wrong' below
Code style
Execution failed for task ':postgresql:autostyleJavaCheck'. > The following files have format violations: src/test/java/org/postgresql/test/jdbc2/BlobTest.java @@ -17,6 +17,8 @@ import org.postgresql.largeobject.LargeObject; import org.postgresql.largeobject.LargeObjectManager; import org.postgresql.test.TestUtil; +import org.postgresql.util.PSQLException; +import org.postgresql.util.PSQLState; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterEach; @@ -26,9 +28,6 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; -import org.postgresql.util.PSQLException; -import org.postgresql.util.PSQLState; - import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; @@ -41,8 +40,8 @@ import java.sql.Statement; import java.sql.Types; import java.util.Arrays; -import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.ThreadLocalRandom; +import java.util.concurrent.atomic.AtomicBoolean; import javax.sql.rowset.serial.SerialBlob; import javax.sql.rowset.serial.SerialClob; You might want to adjust -PmaxCheckMessageLines=50 -PmaxFilesToList=10 -PminLinesPerFile=4 to see more violations Run './gradlew autostyleApply' to fix the violations.
Java 17, temurin, PG 14, extendedForPrepared, scram, no_ssl, ubuntu, server_tz Pacific/Chatham, client_tz Pacific/Chatham, ru_RU, gss, no_replication, no_slow_tests
Canceling since a higher priority waiting request for 'ci-main-refs/pull/3148/merge' exists
Java 17, oracle, PG 10, scram, no_ssl, ubuntu, server_tz Pacific/Chatham, client_tz America/New_York, fr_FR, no_gss, replication, no_slow_tests, stress JIT
Canceling since a higher priority waiting request for 'ci-main-refs/pull/3148/merge' exists
Java 8, zulu, PG 14, scram, ssl, ubuntu, server_tz Pacific/Chatham, client_tz UTC, tr_TR, no_gss, replication, no_slow_tests, stress JIT
Canceling since a higher priority waiting request for 'ci-main-refs/pull/3148/merge' exists
Source distribution (JDK 17)
Canceling since a higher priority waiting request for 'ci-main-refs/pull/3148/merge' exists
Source distribution (JDK 17)
The operation was canceled.
Java 21, zulu, PG 8.4, extendedForPrepared, no_scram, no_ssl, ubuntu, server_tz UTC, client_tz America/New_York, ru_RU, no_gss, no_replication, no_slow_tests, stress JIT: BlobTest.java#L407
0,0sec org.postgresql.test.jdbc2.BlobTest > skipPastMax() org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <org.postgresql.util.PSQLException> but was: <org.opentest4j.AssertionFailedError> at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at app//org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:67) at app//org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35) at app//org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3115) at app//org.postgresql.test.jdbc2.BlobTest.skipPastMax(BlobTest.java:407) Caused by: org.opentest4j.AssertionFailedError: Expected java.io.IOException to be thrown, but nothing was thrown. at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152) at app//org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:73) at app//org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35) at app//org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3115) at app//org.postgresql.test.jdbc2.BlobTest.lambda$skipPastMax$1(BlobTest.java:412) at app//org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:53) ... 3 more
Code style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CheckerFramework
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CheckerFramework
Gradle Build Scan: https://gradle.com/s/ykixore3uja6o
Source distribution (JDK 17)
Gradle Build Scan: https://gradle.com/s/7iyknqkujb2ha