Skip to content

Bump com.h2database:h2 from 2.3.232 to 2.4.240

ee2da8b
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Bump com.h2database:h2 from 2.3.232 to 2.4.240 #263

Bump com.h2database:h2 from 2.3.232 to 2.4.240
ee2da8b
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed Sep 26, 2025 in 0s

149 fail, 32 pass in 11s

181 tests  ±0    32 ✅ ±0   11s ⏱️ ±0s
 48 suites ±0     0 💤 ±0 
 48 files   ±0   149 ❌ ±0 

Results for commit ee2da8b. ± Comparison against earlier commit 01e771d.

Annotations

Check warning on line 0 in server.endpoints.create.TestZoneCreationEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test zone creation - invalid zone id() (server.endpoints.create.TestZoneCreationEndpoint) failed

build/test-results/test/TEST-server.endpoints.create.TestZoneCreationEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.create.TestZoneCreationEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test zone creation - missing arguments() (server.endpoints.create.TestZoneCreationEndpoint) failed

build/test-results/test/TEST-server.endpoints.create.TestZoneCreationEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.create.TestZoneCreationEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test zone creation - no points() (server.endpoints.create.TestZoneCreationEndpoint) failed

build/test-results/test/TEST-server.endpoints.create.TestZoneCreationEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.create.TestZoneCreationEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test zone creation() (server.endpoints.create.TestZoneCreationEndpoint) failed

build/test-results/test/TEST-server.endpoints.create.TestZoneCreationEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.patch.TestPatchSectorEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test patching Sector - update walking time() (server.endpoints.patch.TestPatchSectorEndpoint) failed

build/test-results/test/TEST-server.endpoints.patch.TestPatchSectorEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.patch.TestPatchSectorEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test patching Sector - update sun time() (server.endpoints.patch.TestPatchSectorEndpoint) failed

build/test-results/test/TEST-server.endpoints.patch.TestPatchSectorEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.patch.TestPatchSectorEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test patching Sector - remove walking time() (server.endpoints.patch.TestPatchSectorEndpoint) failed

build/test-results/test/TEST-server.endpoints.patch.TestPatchSectorEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.patch.TestPatchSectorEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test patching Sector - update tracks() (server.endpoints.patch.TestPatchSectorEndpoint) failed

build/test-results/test/TEST-server.endpoints.patch.TestPatchSectorEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.patch.TestPatchSectorEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test patching Sector - update weight() (server.endpoints.patch.TestPatchSectorEndpoint) failed

build/test-results/test/TEST-server.endpoints.patch.TestPatchSectorEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.patch.TestPatchSectorEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test patching Sector - update kids apt() (server.endpoints.patch.TestPatchSectorEndpoint) failed

build/test-results/test/TEST-server.endpoints.patch.TestPatchSectorEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.patch.TestPatchSectorEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test patching Sector - update display name() (server.endpoints.patch.TestPatchSectorEndpoint) failed

build/test-results/test/TEST-server.endpoints.patch.TestPatchSectorEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.patch.TestPatchSectorEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test patching Sector - update gpx() (server.endpoints.patch.TestPatchSectorEndpoint) failed

build/test-results/test/TEST-server.endpoints.patch.TestPatchSectorEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.patch.TestPatchSectorEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test patching Sector - update phone signal availability() (server.endpoints.patch.TestPatchSectorEndpoint) failed

build/test-results/test/TEST-server.endpoints.patch.TestPatchSectorEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.patch.TestPatchSectorEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test patching Sector - update image() (server.endpoints.patch.TestPatchSectorEndpoint) failed

build/test-results/test/TEST-server.endpoints.patch.TestPatchSectorEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.patch.TestPatchSectorEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test patching Sector - update point() (server.endpoints.patch.TestPatchSectorEndpoint) failed

build/test-results/test/TEST-server.endpoints.patch.TestPatchSectorEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.patch.TestPatchSectorEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test patching Sector - remove point() (server.endpoints.patch.TestPatchSectorEndpoint) failed

build/test-results/test/TEST-server.endpoints.patch.TestPatchSectorEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.patch.TestPatchSectorEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test patching Sector - remove gpx() (server.endpoints.patch.TestPatchSectorEndpoint) failed

build/test-results/test/TEST-server.endpoints.patch.TestPatchSectorEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.handling.HandleWeirdData

See this annotation in the file changed.

@github-actions github-actions / Test Results

test Path - empty pitches() (server.handling.HandleWeirdData) failed

build/test-results/test/TEST-server.handling.HandleWeirdData.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.files.TestFileFetching

See this annotation in the file changed.

@github-actions github-actions / Test Results

test data() (server.endpoints.files.TestFileFetching) failed

build/test-results/test/TEST-server.endpoints.files.TestFileFetching.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.files.TestFileFetching

See this annotation in the file changed.

@github-actions github-actions / Test Results

test doesn't exist() (server.endpoints.files.TestFileFetching) failed

build/test-results/test/TEST-server.endpoints.files.TestFileFetching.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.files.TestFileFetching

See this annotation in the file changed.

@github-actions github-actions / Test Results

test data multiple() (server.endpoints.files.TestFileFetching) failed

build/test-results/test/TEST-server.endpoints.files.TestFileFetching.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.files.TestFileFetching

See this annotation in the file changed.

@github-actions github-actions / Test Results

test data no extension() (server.endpoints.files.TestFileFetching) failed

build/test-results/test/TEST-server.endpoints.files.TestFileFetching.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in database.entity.TestPath

See this annotation in the file changed.

@github-actions github-actions / Test Results

test Path_equals() (database.entity.TestPath) failed

build/test-results/test/TEST-database.entity.TestPath.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in database.entity.TestPath

See this annotation in the file changed.

@github-actions github-actions / Test Results

test Path serialization() (database.entity.TestPath) failed

build/test-results/test/TEST-database.entity.TestPath.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more

Check warning on line 0 in server.endpoints.query.TestAreaFetchingEndpoint

See this annotation in the file changed.

@github-actions github-actions / Test Results

test getting area() (server.endpoints.query.TestAreaFetchingEndpoint) failed

build/test-results/test/TEST-server.endpoints.query.TestAreaFetchingEndpoint.xml [took 0s]
Raw output
org.jetbrains.exposed.exceptions.ExposedSQLException: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
SQL: [CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535))]
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:83)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:292)
	at app//org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:269)
	at app//org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:59)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.executeInBatch(JdbcConnectionImpl.kt:130)
	at app//org.jetbrains.exposed.sql.Transaction.execInBatch(Transaction.kt:276)
	at app//ServerDatabase$initialize$2.invokeSuspend(ServerDatabase.kt:98)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$initialize$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invokeSuspend(ServerDatabase.kt:125)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//ServerDatabase$query$2.invoke(ServerDatabase.kt)
	at app//org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:193)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Unknown data type: "DATETIME"; SQL statement:
CREATE TABLE IF NOT EXISTS BLOCKING (ID INT AUTO_INCREMENT PRIMARY KEY, "timestamp" TIMESTAMP(9) DEFAULT CURRENT_TIMESTAMP NOT NULL, "type" INT NOT NULL, FROM_DAY INT NULL, FROM_MONTH INT NULL, TO_DAY INT NULL, TO_MONTH INT NULL, END_DATE DATETIME(9) NULL, "path" INT NOT NULL, CONSTRAINT FK_BLOCKING_PATH__ID FOREIGN KEY ("path") REFERENCES PATHS(ID) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT chk_Blocking_unsigned_short_from_day CHECK (FROM_DAY BETWEEN 0 AND 65535), CONSTRAINT chk_Blocking_unsigned_short_to_day CHECK (TO_DAY BETWEEN 0 AND 65535)) [50004-240]
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
	at app//org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at app//org.h2.message.DbException.get(DbException.java:223)
	at app//org.h2.message.DbException.get(DbException.java:199)
	at app//org.h2.command.Parser.readIfDataType1(Parser.java:5908)
	at app//org.h2.command.Parser.readIfDataType(Parser.java:5739)
	at app//org.h2.command.Parser.parseColumnWithType(Parser.java:5721)
	at app//org.h2.command.Parser.parseColumnForTable(Parser.java:5600)
	at app//org.h2.command.Parser.parseTableColumnDefinition(Parser.java:8983)
	at app//org.h2.command.Parser.parseCreateTable(Parser.java:8926)
	at app//org.h2.command.Parser.parseCreate(Parser.java:6483)
	at app//org.h2.command.Parser.parsePrepared(Parser.java:648)
	at app//org.h2.command.Parser.parse(Parser.java:584)
	at app//org.h2.command.Parser.parse(Parser.java:559)
	at app//org.h2.command.Parser.prepareCommand(Parser.java:487)
	at app//org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:647)
	at app//org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:563)
	at app//org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1160)
	at app//org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93)
	at app//org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1089)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl.prepareStatement(JdbcConnectionImpl.kt:80)
	at app//org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:46)
	at app//org.jetbrains.exposed.sql.statements.jdbc.JdbcConnectionImpl$executeInBatch$prepStatement$1.prepared(JdbcConnectionImpl.kt:102)
	at app//org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:79)
	... 20 more