Skip to content

Removing credentials from source package #1825

Removing credentials from source package

Removing credentials from source package #1825

Triggered via pull request August 4, 2024 20:32
Status Failure
Total duration 8m 50s
Artifacts

ci.yaml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
code-checks
Process completed with exit code 1.
MySQLPackageTest.List.Transform(["tbl1", "dont_exist"], table -> Collection.Count( MySQL.Query("rdbmstest", "SELECT * FROM " + table, type collection(record(a: int, b: int, c: double, d: double, x: string, y: string)), host = "test-mysql.raw-labs.com", username = "rawtest", password = "f55ba92415") )): snapi-client/src/test/scala/raw/compiler/rql2/tests/builtin/credentials/MySQLPackageTest.scala#L19
org.scalatest.exceptions.TestFailedException: results didn't match! expected: [3, failed to read from database mysql:***: Table '***.dont_exist' doesn't exist] (list(long)) actual: [3, failed to read from database mysql://***:3306/***: Table '***.dont_exist' doesn't exist] (list(long))
PostgreSQLPackageTest.PostgreSQL.Read( "rawtest", "rdbmstest", "tbl1", type collection(record(a: int, b: int, c: double, d: double, x: int, y: string)), host = "test-psql.raw-labs.com" ): snapi-client/src/test/scala/raw/compiler/rql2/tests/builtin/credentials/PostgreSQLPackageTest.scala#L19
org.scalatest.exceptions.TestFailedException: Query didn't fail as expected! Expected: error connecting to database: *** Actual: ErrorMessage(username is required,List(ErrorRange(ErrorPosition(1,1),ErrorPosition(5,2))),parserError,List())
PostgreSQLPackageTest.List.Transform(["tbl1", "dont_exist"], table -> Collection.Count( PostgreSQL.Query("rawtest", "SELECT * FROM rdbmstest." + table, type collection(record(a: int, b: int, c: double, d: double, x: string, y: string)), host = "test-psql.raw-labs.com", username = "rawtest", password = "f55ba92415") )): snapi-client/src/test/scala/raw/compiler/rql2/tests/builtin/credentials/PostgreSQLPackageTest.scala#L19
org.scalatest.exceptions.TestFailedException: results didn't match! expected: [3, failed to read from database pgsql:***: ERROR: relation "***.dont_exist" does not exist Position: 15] (list(long)) actual: [3, failed to read from database pgsql://***:5432/***: ERROR: relation "***.dont_exist" does not exist Position: 15] (list(long))
SnowflakePackageTest.(It is not a test it is a sbt.testing.SuiteSelector): snapi-client/src/test/scala/raw/compiler/rql2/tests/builtin/credentials/SnowflakePackageTest.scala#L20
raw.sources.jdbc.api.JdbcLocationException: IO error connecting to ***: JDBC driver encountered communication error. Message: HTTP status=513.
SqlServerPackageTest.SQLServer.Read( "rawtest", "rdbmstest", "tbl1", type collection(record(a: int, b: int, c: double, d: double, x: int, y: string)), host = "test-mssql.raw-labs.com" ): snapi-client/src/test/scala/raw/compiler/rql2/tests/builtin/credentials/SqlServerPackageTest.scala#L19
org.scalatest.exceptions.TestFailedException: Query didn't fail as expected! Expected: Login failed for user '' Actual: ErrorMessage(username is required,List(ErrorRange(ErrorPosition(1,1),ErrorPosition(5,2))),parserError,List())
SqlServerPackageTest.List.Transform(["tbl1", "dont_exist"], table -> Collection.Count( SQLServer.Query("rawtest", "SELECT * FROM rdbmstest." + table, type collection(record(a: int, b: int, c: double, d: double, x: string, y: string)), host = "test-mssql.raw-labs.com", username = "rawtest", password = "f55ba92415") )): snapi-client/src/test/scala/raw/compiler/rql2/tests/builtin/credentials/SqlServerPackageTest.scala#L19
org.scalatest.exceptions.TestFailedException: results didn't match! expected: [3, failed to read from database sqlserver:***: Invalid object name '***.dont_exist'.] (list(long)) actual: [3, failed to read from database sqlserver://***:1433/***: Invalid object name '***.dont_exist'.] (list(long))
RD4445Test.Location.Ls("dropbox:/rawlabs-dropbox/New Folder"): snapi-client/src/test/scala/raw/compiler/rql2/tests/regressions/credentials/RD4445Test.scala#L18
org.scalatest.exceptions.TestFailedException: query is invalid; error was: missing Dropbox credential
RD4445Test.Location.Ls("dropbox://rawlabs-dropbox/New Folder/"): snapi-client/src/test/scala/raw/compiler/rql2/tests/regressions/credentials/RD4445Test.scala#L18
org.scalatest.exceptions.TestFailedException: results didn't match! expected: [dropbox://rawlabs-dropbox/New Folder/New Document] (list(string)) actual: [dropbox:/New Folder/New Document] (list(string))
tests (snapi-client)
Process completed with exit code 1.