byggsteg

viewing logs

job succesvol

zzspec__13:51:57__07-01-2025

took 231 secondsstarted at: di 07 jan 2025 13:51:57 CETupdated at: di 07 jan 2025 13:55:48 CET
uuid: 45ba47fa-e0bc-42b7-9584-ab16974488c8log uuid: 1e9b2a4e-3209-457a-a794-8fc7230b5c16
(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
[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] loading settings for project trunk from build.sbt ...
[info] set current project to zzspec (in build file:/var/log/byggsteg/job-clone/zzspec/trunk/)
timestamp=2025-01-07T12:55:05.027086344Z level=INFO thread=#zio-fiber-205 message="[ZZSpec] PostgreSQL started at: http://localhost:32779)" location=io.github.jjba23.zzspec.postgresql.PostgreSQLContainer.layer file=PostgreSQLContainer.scala line=27
+ PostgreSQL query tests
timestamp=2025-01-07T12:55:06.992583893Z level=INFO thread=#zio-fiber-214 message="[ZZSpec] MockServer started at: http://localhost:32776)" location=io.github.jjba23.zzspec.mockserver.MockServerContainer.layer file=MockServerContainer.scala line=30
  + 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:55:12.339932611Z level=INFO thread=#zio-fiber-316 message="[ZZSpec] mock server is running at http://localhost:32776" location=mockservertest.MockServerSpec.basicMockServerOperations file=MockServerSpec.scala line=55
timestamp=2025-01-07T12:55:12.359267911Z level=INFO thread=#zio-fiber-316 message="HTTP call to: http://localhost:32776" location=io.github.jjba23.zzspec.http.Http.doesHttpGetRespondWith file=Http.scala line=38
timestamp=2025-01-07T12:55:15.645708631Z level=INFO thread=#zio-fiber-316 message="HTTP response: Response(Ok,Headers((connection,keep-alive), (content-length,73)),AsyncBody(zio.http.netty.NettyResponse$$$Lambda/0x00007fec294c7110@7eded7c8))" location=io.github.jjba23.zzspec.http.Http.doesHttpGetRespondWith file=Http.scala line=40
+ MockServer tests
  + Doing an HTTP request to the mock server returns the expected result.
timestamp=2025-01-07T12:55:18.271193722Z level=INFO thread=#zio-fiber-228 message="[ZZSpec] Kafka started at: localhost:32778" location=io.github.jjba23.zzspec.kafka.KafkaContainer.layer file=KafkaContainer.scala line=30
+ Kafka tests
  + Creating and deleting topics works
timestamp=2025-01-07T12:55:23.978996250Z level=INFO thread=#zio-fiber-662 message="[ZZSpec] Published record with key: 8754063f-c7eb-4e96-926d-a975cfdb1566 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:55:23.984208013Z level=INFO thread=#zio-fiber-662 message="[ZZSpec] record metadata: 36d39e8c-2aeb-4546-ae0e-eb2c62be3d3f-0@0" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=101
timestamp=2025-01-07T12:55:23.996191276Z level=INFO thread=#zio-fiber-698 message="[ZZSpec] Published record with key: 5d30aed1-873c-48aa-8779-652744fa985c 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:55:23.996595104Z level=INFO thread=#zio-fiber-698 message="[ZZSpec] record metadata: 9b854fc1-9cac-48fe-8bb2-c27710de6e37-0@0" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=101
timestamp=2025-01-07T12:55:24.020180184Z level=INFO thread=#zio-fiber-698 message="[ZZSpec] Published record with key: a07b75e4-2d59-4772-b7d8-371f85ea6fa3 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:55:24.020663591Z level=INFO thread=#zio-fiber-698 message="[ZZSpec] record metadata: 9b854fc1-9cac-48fe-8bb2-c27710de6e37-0@1" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=101
timestamp=2025-01-07T12:55:24.033201003Z level=INFO thread=#zio-fiber-698 message="[ZZSpec] Published record with key: 9bbc8840-dbab-4975-85fc-19c7645b4b45 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:55:24.033609188Z level=INFO thread=#zio-fiber-698 message="[ZZSpec] record metadata: 9b854fc1-9cac-48fe-8bb2-c27710de6e37-0@2" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=101
timestamp=2025-01-07T12:55:24.068329331Z level=INFO thread=#zio-fiber-698 message="[ZZSpec] Published record with key: 16cc2bd5-fa16-4649-89c9-86103bab9fe3 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:55:24.068821354Z level=INFO thread=#zio-fiber-698 message="[ZZSpec] record metadata: 9b854fc1-9cac-48fe-8bb2-c27710de6e37-0@3" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=101
timestamp=2025-01-07T12:55:24.088928702Z level=INFO thread=#zio-fiber-698 message="[ZZSpec] Published record with key: 7b13220e-f3e5-4389-bc4b-f0ba3802d855 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:55:24.089568933Z level=INFO thread=#zio-fiber-698 message="[ZZSpec] record metadata: 9b854fc1-9cac-48fe-8bb2-c27710de6e37-0@4" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=101
timestamp=2025-01-07T12:55:24.121066141Z level=INFO thread=#zio-fiber-698 message="[ZZSpec] Published record with key: 7563bc68-8842-457d-8b42-4442a22055e5 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:55:24.121961430Z level=INFO thread=#zio-fiber-698 message="[ZZSpec] record metadata: 9b854fc1-9cac-48fe-8bb2-c27710de6e37-0@5" location=io.github.jjba23.zzspec.kafka.Kafka.produce file=Kafka.scala line=101
timestamp=2025-01-07T12:55:26.322225481Z level=INFO thread=#zio-fiber-662 message="CommittableRecord(ConsumerRecord(topic = 36d39e8c-2aeb-4546-ae0e-eb2c62be3d3f, partition = 0, leaderEpoch = 0, offset = 0, CreateTime = 1736254523710, serialized key size = 36, serialized value size = 110, headers = RecordHeaders(headers = [], isReadOnly = false), key = 8754063f-c7eb-4e96-926d-a975cfdb1566, value = {
  "stringValue" : "stringValue",
  "intValue" : 999,
  "stringListValue" : [
    "a",
    "b",
    "c"
  ]
}),zio.kafka.consumer.internal.Runloop$$Lambda/0x00007fec296cd430@5e81af2e,Some(GroupMetadata(groupId = zzspec, generationId = 1, memberId = consumer-zzspec-1-ca2f7fe6-9a05-4019-9a95-0a78ade59430, groupInstanceId = )))" location=kafkatest.KafkaSpec.publishingAndConsumingKafkaTopicWorks file=KafkaSpec.scala line=91
timestamp=2025-01-07T12:55:26.325990091Z level=INFO thread=#zio-fiber-662 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:55:26.660481211Z level=WARN thread=#zio-fiber-47780500 message="[Consumer clientId=consumer-zzspec-1, groupId=zzspec] Error while fetching metadata with correlation id 16 : {9b854fc1-9cac-48fe-8bb2-c27710de6e37=UNKNOWN_TOPIC_OR_PARTITION}" org.apache.kafka.clients.NetworkClient=18ms logger_name=org.apache.kafka.clients.NetworkClient
timestamp=2025-01-07T12:55:42.357253442Z level=INFO thread=#zio-fiber-197 message="[ZZSpec] Opensearch started at: http://localhost:32777)" 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 51 s 379 ms

[info] Completed tests
[success] Total time: 57 s, completed Jan 7, 2025, 1:55:47 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.