Skip to content

Removing credentials from source package #1821

Removing credentials from source package

Removing credentials from source package #1821

Triggered via pull request August 4, 2024 17:51
Status Failure
Total duration 7m 18s
Artifacts

ci.yaml

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

Annotations

11 errors
AwsPackageTest.String.Read( Aws.SignedV4Request( Environment.Secret("aws-access-key"), Environment.Secret("aws-secret-key"), "iam", region = "us-east-1", args = [ {"Action", "ListUsers"}, {"Version", "2010-05-08"}, {"PathPrefix", "/dummy/"} ] ) ): snapi-client/src/test/scala/raw/compiler/rql2/tests/builtin/credentials/AwsPackageTest.scala#L18
org.scalatest.exceptions.TestFailedException: Query didn't fail as expected! Expected: http error: host not found for https://iam.us-east-1.amazonaws.com/ Actual: host not found for https://iam.us-east-1.amazonaws.com/
AwsPackageTest.String.Read( Aws.SignedV4Request( Environment.Secret("aws-access-key"), Environment.Secret("aws-secret-key"), "does-not-exist", args = [ {"Action", "DescribeRegions"}, {"Version", "2013-10-15"} ] ) ): snapi-client/src/test/scala/raw/compiler/rql2/tests/builtin/credentials/AwsPackageTest.scala#L18
org.scalatest.exceptions.TestFailedException: Query didn't fail as expected! Expected: http error: host not found for https://does-not-exist.amazonaws.com/ Actual: host not found for https://does-not-exist.amazonaws.com/
MySQLPackageTest.MySQL.InferAndRead("registered-db", "tbl1"): snapi-client/src/test/scala/raw/compiler/rql2/tests/builtin/credentials/MySQLPackageTest.scala#L19
org.scalatest.exceptions.TestFailedException: query fails to validate; error was: ErrorMessage(not a MySQL server,List(ErrorRange(ErrorPosition(1,1),ErrorPosition(1,44))),invalidSemantic,List())
MySQLPackageTest.MySQL.InferAndRead("rdbmstest", "tbl1", 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: query fails to validate; error was: ErrorMessage(port is required,List(ErrorRange(ErrorPosition(1,1),ErrorPosition(2,84))),invalidSemantic,List())
MySQLPackageTest.MySQL.Read("rdbmstest", "tbl1", type collection(record(a: int, b: int, c: double, d: double, x: int, 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: query fails to validate; error was: ErrorMessage(port is required,List(ErrorRange(ErrorPosition(1,1),ErrorPosition(3,84))),invalidSemantic,List())
MySQLPackageTest.let d = Location.Describe(Location.Build( "mysql://rdbmstest/tbl1", db_host = "test-mysql.raw-labs.com", db_username = "rawtest", db_password = "f55ba92415" )) in d.columns: snapi-client/src/test/scala/raw/compiler/rql2/tests/builtin/credentials/MySQLPackageTest.scala#L19
org.scalatest.exceptions.TestFailedException: query fails to validate; error was: ErrorMessage(Build is not declared in package Location,List(ErrorRange(ErrorPosition(2,26),ErrorPosition(2,34))),unexpectedType,List())
MySQLPackageTest.MySQL.InferAndRead("rdbmstest", "tbl1" ): snapi-client/src/test/scala/raw/compiler/rql2/tests/builtin/credentials/MySQLPackageTest.scala#L19
org.scalatest.exceptions.TestFailedException: Query didn't fail as expected! Expected: inference error: no credential found for mysql: *** Actual: ErrorMessage(not found in credentials,List(ErrorRange(ErrorPosition(1,1),ErrorPosition(1,41))),parserError,List())
MySQLPackageTest.MySQL.Read("rdbmstest", "tbl1", type collection(record(a: int, b: int, c: double, d: double, x: int, y: string)) ): snapi-client/src/test/scala/raw/compiler/rql2/tests/builtin/credentials/MySQLPackageTest.scala#L19
org.scalatest.exceptions.TestFailedException: Query didn't fail as expected! Expected: no credential found for mysql: *** Actual: unknown database credential: ***
MySQLPackageTest.MySQL.Read( "rdbmstest", "tbl1", type collection(record(a: int, b: int, c: double, d: double, x: int, y: string)), host = "does-not-exist.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: Query didn't fail as expected! Expected: unknown host: does-not-exist.raw-labs.com Actual: ErrorMessage(port is required,List(ErrorRange(ErrorPosition(1,1),ErrorPosition(5,2))),parserError,List())
MySQLPackageTest.MySQL.Read( "rdbmstest", "tbl1", type collection(record(a: int, b: int, c: double, d: double, x: int, y: string)), host = "test-mysql.raw-labs.com" ): snapi-client/src/test/scala/raw/compiler/rql2/tests/builtin/credentials/MySQLPackageTest.scala#L19
org.scalatest.exceptions.TestFailedException: Query didn't fail as expected! Expected: authentication failed Actual: ErrorMessage(port is required,List(ErrorRange(ErrorPosition(1,1),ErrorPosition(5,2))),parserError,List())
tests (snapi-client)
Process completed with exit code 1.