byggsteg

viewing logs

job succesvol

zzspec__13:49:54__07-01-2025

took 266 secondsstarted at: di 07 jan 2025 13:49:54 CETupdated at: di 07 jan 2025 13:54:20 CET
uuid: 3d04bf68-13f7-4c1d-8359-00b5832f3f0clog uuid: 9b9f2e2e-8a6d-436a-b95d-def7254ec6b4
(lambda() `((project . "zzspec")(branch-name . "trunk")(task . "sbt-test")(clone-url . "https://codeberg.org/jjba23/zzspec")))

starting new job...

~> running command: cd /var/log/byggsteg/job-clone/zzspec/trunk && git pull

~> running command: cd /var/log/byggsteg/job-clone/zzspec/trunk && sbt test
copying runtime jar...
[info] welcome to sbt 1.9.9 (N/A Java 21.0.5)
[info] loading settings for project trunk-build from plugins.sbt ...
[info] loading project definition from /var/log/byggsteg/job-clone/zzspec/trunk/project
[info] compiling 1 Scala source to /var/log/byggsteg/job-clone/zzspec/trunk/project/target/scala-2.12/sbt-1.0/classes ...
[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.18. Compiling...
[info]   Compilation completed in 29.459s.
[info] done compiling
[info] loading settings for project trunk from build.sbt ...
[info] set current project to zzspec (in build file:/var/log/byggsteg/job-clone/zzspec/trunk/)
[info] compiling 15 Scala sources to /var/log/byggsteg/job-clone/zzspec/trunk/zzspec/target/scala-2.13/classes ...
[warn] 3 feature warnings; re-run with -feature for details
[warn] one warning found
[info] done compiling
[info] compiling 4 Scala sources to /var/log/byggsteg/job-clone/zzspec/trunk/zzspec/target/scala-2.13/test-classes ...
[warn] 3 deprecations (since 2.13.3); re-run with -deprecation for details
[warn] one warning found
[info] done compiling
timestamp=2025-01-07T12:52:51.503826989Z level=INFO thread=#zio-fiber-218 message="[ZZSpec] PostgreSQL started at: http://localhost:32773)" location=io.github.jjba23.zzspec.postgresql.PostgreSQLContainer.layer file=PostgreSQLContainer.scala line=27
+ PostgreSQL query tests
  + Drop a table.
    Create a table.
    Verify amount of rows is 0.
    Insert 4 rows.
    Verify 2 rows are present.
    Verify querying for a string meets expectation.
    Verify querying for an int meets expectation.
    Verify querying for a boolean meets expectation.
    Verify fetching and parsing a row meets expectation.
timestamp=2025-01-07T12:52:58.049815874Z level=INFO thread=#zio-fiber-239 message="[ZZSpec] MockServer started at: http://localhost:32769)" location=io.github.jjba23.zzspec.mockserver.MockServerContainer.layer file=MockServerContainer.scala line=30
+ MockServer tests
timestamp=2025-01-07T12:53:07.723893453Z level=INFO thread=#zio-fiber-357 message="[ZZSpec] mock server is running at http://localhost:32769" location=mockservertest.MockServerSpec.basicMockServerOperations file=MockServerSpec.scala line=55
timestamp=2025-01-07T12:53:07.768653023Z level=INFO thread=#zio-fiber-357 message="HTTP call to: http://localhost:32769" location=io.github.jjba23.zzspec.http.Http.doesHttpGetRespondWith file=Http.scala line=38
timestamp=2025-01-07T12:53:09.912573379Z level=INFO thread=#zio-fiber-357 message="HTTP response: Response(Ok,Headers((connection,keep-alive), (content-length,73)),AsyncBody(zio.http.netty.NettyResponse$$$Lambda/0x00007f628a5c8218@5c7fe326))" location=io.github.jjba23.zzspec.http.Http.doesHttpGetRespondWith file=Http.scala line=40
  + Doing an HTTP request to the mock server returns the expected result.
timestamp=2025-01-07T12:53:21.955888293Z level=INFO thread=#zio-fiber-210 message="[ZZSpec] Kafka started at: localhost:32772" location=io.github.jjba23.zzspec.kafka.KafkaContainer.layer file=KafkaContainer.scala line=30
+ Kafka tests
  + Creating and deleting topics works
timestamp=2025-01-07T12:53:26.792742351Z level=INFO thread=#zio-fiber-698 message="[ZZSpec] Published record with key: 6cfdd642-8817-4ddb-b115-237b3ccec533 and value: {
  "stringValue" : "stringValue",
  "intValue" : 999,
  "stringListValue" : [
    "a",
    "b",
    "c"
  ]
} to Kafka" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=98
timestamp=2025-01-07T12:53:26.795773806Z level=INFO thread=#zio-fiber-698 message="[ZZSpec] record metadata: a8df2ddf-217e-4442-a0f9-270f15a0ac21-0@0" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=101
timestamp=2025-01-07T12:53:26.830416313Z level=INFO thread=#zio-fiber-692 message="[ZZSpec] Published record with key: 3b52b70d-d9da-4604-a6af-ba36e5358817 and value: {
  "stringValue" : "1",
  "intValue" : 1,
  "stringListValue" : [
    "a",
    "b",
    "c"
  ]
} to Kafka" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=98
timestamp=2025-01-07T12:53:26.830839277Z level=INFO thread=#zio-fiber-692 message="[ZZSpec] record metadata: a8353d80-ed2a-403a-8b23-be16b0299aea-0@0" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=101
timestamp=2025-01-07T12:53:26.892273558Z level=INFO thread=#zio-fiber-692 message="[ZZSpec] Published record with key: a6c3cde6-2451-4ebe-9bd4-4b67c542b64f and value: {
  "stringValue" : "2",
  "intValue" : 2,
  "stringListValue" : [
    "a",
    "b",
    "c"
  ]
} to Kafka" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=98
timestamp=2025-01-07T12:53:26.892702943Z level=INFO thread=#zio-fiber-692 message="[ZZSpec] record metadata: a8353d80-ed2a-403a-8b23-be16b0299aea-0@1" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=101
timestamp=2025-01-07T12:53:26.953583456Z level=INFO thread=#zio-fiber-692 message="[ZZSpec] Published record with key: 804b47a4-4860-45ea-bd17-96db5dd597b3 and value: {
  "stringValue" : "3",
  "intValue" : 3,
  "stringListValue" : [
    "a",
    "b",
    "c"
  ]
} to Kafka" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=98
timestamp=2025-01-07T12:53:26.953973277Z level=INFO thread=#zio-fiber-692 message="[ZZSpec] record metadata: a8353d80-ed2a-403a-8b23-be16b0299aea-0@2" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=101
timestamp=2025-01-07T12:53:26.999625441Z level=INFO thread=#zio-fiber-692 message="[ZZSpec] Published record with key: 9d06b721-6755-4b1b-a74e-6c047f8e5143 and value: {
  "stringValue" : "4",
  "intValue" : 4,
  "stringListValue" : [
    "a",
    "b",
    "c"
  ]
} to Kafka" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=98
timestamp=2025-01-07T12:53:27.000000885Z level=INFO thread=#zio-fiber-692 message="[ZZSpec] record metadata: a8353d80-ed2a-403a-8b23-be16b0299aea-0@3" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=101
timestamp=2025-01-07T12:53:27.047595081Z level=INFO thread=#zio-fiber-692 message="[ZZSpec] Published record with key: 5c97604f-b8d0-44e9-8b21-b50d5bb9da44 and value: {
  "stringValue" : "5",
  "intValue" : 5,
  "stringListValue" : [
    "a",
    "b",
    "c"
  ]
} to Kafka" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=98
timestamp=2025-01-07T12:53:27.048012684Z level=INFO thread=#zio-fiber-692 message="[ZZSpec] record metadata: a8353d80-ed2a-403a-8b23-be16b0299aea-0@4" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=101
timestamp=2025-01-07T12:53:27.120452144Z level=INFO thread=#zio-fiber-692 message="[ZZSpec] Published record with key: 31fc9d75-e68e-4750-b920-9d50c467e576 and value: {
  "stringValue" : "6",
  "intValue" : 6,
  "stringListValue" : [
    "a",
    "b",
    "c"
  ]
} to Kafka" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=98
timestamp=2025-01-07T12:53:27.121125787Z level=INFO thread=#zio-fiber-692 message="[ZZSpec] record metadata: a8353d80-ed2a-403a-8b23-be16b0299aea-0@5" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=101
timestamp=2025-01-07T12:53:28.551172225Z level=INFO thread=#zio-fiber-698 message="CommittableRecord(ConsumerRecord(topic = a8df2ddf-217e-4442-a0f9-270f15a0ac21, partition = 0, leaderEpoch = 0, offset = 0, CreateTime = 1736254406460, serialized key size = 36, serialized value size = 110, headers = RecordHeaders(headers = [], isReadOnly = false), key = 6cfdd642-8817-4ddb-b115-237b3ccec533, value = {
  "stringValue" : "stringValue",
  "intValue" : 999,
  "stringListValue" : [
    "a",
    "b",
    "c"
  ]
}),zio.kafka.consumer.internal.Runloop$$Lambda/0x00007f6289a0cca0@53a2a9f7,Some(GroupMetadata(groupId = zzspec, generationId = 1, memberId = consumer-zzspec-1-85c1377d-98a2-4700-8ca9-ee83e81539db, groupInstanceId = )))" location=kafkatest.KafkaSpec.publishingAndConsumingKafkaTopicWorks file=KafkaSpec.scala line=91
timestamp=2025-01-07T12:53:28.552655727Z level=INFO thread=#zio-fiber-698 message="expectedFirstMessage: {"stringValue":"stringValue","intValue":999,"stringListValue":["a","b","c"]}" location=kafkatest.KafkaSpec.publishingAndConsumingKafkaTopicWorks file=KafkaSpec.scala line=92
  + Publishing and consuming 6 simple messages to a Kafka topic works as expected
  + Publishing and consuming simple messages to a Kafka topic works as expected
timestamp=2025-01-07T12:53:28.913675528Z level=WARN thread=#zio-fiber-2117909276 message="[Consumer clientId=consumer-zzspec-1, groupId=zzspec] Error while fetching metadata with correlation id 16 : {a8353d80-ed2a-403a-8b23-be16b0299aea=UNKNOWN_TOPIC_OR_PARTITION}" org.apache.kafka.clients.NetworkClient=4ms logger_name=org.apache.kafka.clients.NetworkClient
timestamp=2025-01-07T12:54:10.814342107Z level=INFO thread=#zio-fiber-197 message="[ZZSpec] Opensearch started at: http://localhost:32771)" location=io.github.jjba23.zzspec.opensearch.OpensearchContainer.layer file=OpensearchContainer.scala line=24
+ Opensearch query tests
  + 
    Delete an index.
    Create an index.
    Verify amount of documents is 0.
    Insert 2 documents.
    Verify 2 documents are present.
    Verify querying for a string meets expectation.
    Verify querying for an int meets expectation.
    Verify querying for a boolean meets expectation.
    Verify fetching and parsing a document meets expectation.
    
6 tests passed. 0 tests failed. 0 tests ignored.

Executed in 1 m 42 s

[info] Completed tests
[success] Total time: 160 s (02:40), completed Jan 7, 2025, 1:54:18 PM

byggsteg is de hackable Guile CI/CD systeem.

byggsteg is vrije software, beschikbaar onder de GNU GPL v3 of nieuwer.

find the source code here:

https://codeberg.org/jjba23/byggsteg

powered by Guile Scheme, GNU Artanis, GNU Guix, TailwindCSS

Copyright © 2025 - Josep Bigorra & Mu Lei

byggsteg betekent “bouwstap” in het Noors.