carlos / contra Public

CI passed 45s

Branch
web/shared-vaults
Commit
4a618f1d Paul Campbell
Runner
ci-aws~paul@keymail.dev/ip-172-31-29-90
Reported by
ci-aws~paul@keymail.dev/ip-172-31-29-90
Queued
Started
Waited for a runner
1m 48s
Last change
Attempt
1 of 2

Steps run in order, one after another.

  1. vet passed 18s
    go vet ./...
    go: downloading github.com/carlosframework/rastrillo v0.23.0
    go: downloading github.com/go-chi/chi/v5 v5.3.2
    go: downloading gorm.io/gorm v1.31.2
    go: downloading golang.org/x/crypto v0.55.0
    go: downloading github.com/jinzhu/now v1.1.5
    go: downloading golang.org/x/text v0.41.0
    go: downloading github.com/jinzhu/inflection v1.0.0
    go: downloading modernc.org/sqlite v1.55.0
    go: downloading gorm.io/plugin/dbresolver v1.6.2
    go: downloading modernc.org/libc v1.74.1
    go: downloading golang.org/x/sys v0.47.0
    go: downloading github.com/google/uuid v1.6.0
    go: downloading github.com/dustin/go-humanize v1.0.1
    go: downloading modernc.org/mathutil v1.7.1
    go: downloading modernc.org/memory v1.11.0
    go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
    
  2. fmt passed

    No output.

  3. test passed 18s
    go test ./...
    ?   	github.com/carlosframework/contra/cmd/contra	[no test files]
    ?   	github.com/carlosframework/contra/internal/contra	[no test files]
    ?   	github.com/carlosframework/contra/internal/contra/auth	[no test files]
    ok  	github.com/carlosframework/contra/internal/contra/crypto	0.423s
    ?   	github.com/carlosframework/contra/internal/contra/icons	[no test files]
    ?   	github.com/carlosframework/contra/internal/contra/mail	[no test files]
    ?   	github.com/carlosframework/contra/internal/contra/model	[no test files]
    ?   	github.com/carlosframework/contra/internal/contra/store	[no test files]
    ?   	github.com/carlosframework/contra/internal/contra/vault	[no test files]
    ok  	github.com/carlosframework/contra/internal/contratest	14.448s
    
  4. js-test passed 8s
    node --test test/crypto.test.mjs test/ecies.test.mjs test/items.test.mjs
    TAP version 13
    # Subtest: HKDF: every contra/v1 label
    ok 1 - HKDF: every contra/v1 label
      ---
      duration_ms: 9.952037
      type: 'test'
      ...
    # Subtest: KCV
    ok 2 - KCV
      ---
      duration_ms: 2.23008
      type: 'test'
      ...
    # Subtest: P-256 from a seed, including the rejection branch
    ok 3 - P-256 from a seed, including the rejection branch
      ---
      duration_ms: 12.547068
      type: 'test'
      ...
    # Subtest: signed challenge round-trips against the derived public key
    ok 4 - signed challenge round-trips against the derived public key
      ---
      duration_ms: 4.965593
      type: 'test'
      ...
    # Subtest: Crockford: alphabet, encoding, normalisation, strict decoding
    ok 5 - Crockford: alphabet, encoding, normalisation, strict decoding
      ---
      duration_ms: 0.989406
      type: 'test'
      ...
    # Subtest: the printed code, and the O/I/L confusions it has to survive
    ok 6 - the printed code, and the O/I/L confusions it has to survive
      ---
      duration_ms: 2.14017
      type: 'test'
      ...
    # Subtest: repair recovers one substituted character
    ok 7 - repair recovers one substituted character
      ---
      duration_ms: 50.280284
      type: 'test'
      ...
    # Subtest: AEAD: the AAD binding and every wrap
    ok 8 - AEAD: the AAD binding and every wrap
      ---
      duration_ms: 2.566794
      type: 'test'
      ...
    # Subtest: AEAD: the item, scoped to its vault
    ok 9 - AEAD: the item, scoped to its vault
      ---
      duration_ms: 1.099655
      type: 'test'
      ...
    # Subtest: a transplanted ciphertext does not open
    ok 10 - a transplanted ciphertext does not open
      ---
      duration_ms: 1.957226
      type: 'test'
      ...
    # Subtest: padding quantises into 256-byte buckets and round-trips
    ok 11 - padding quantises into 256-byte buckets and round-trips
      ---
      duration_ms: 0.926417
      type: 'test'
      ...
    # Subtest: the KDF parameter floor refuses what a malicious server would offer
    ok 12 - the KDF parameter floor refuses what a malicious server would offer
      ---
      duration_ms: 1.078958
      type: 'test'
      ...
    # Subtest: Argon2id matches the published PHC reference vector
    ok 13 - Argon2id matches the published PHC reference vector
      ---
      duration_ms: 1821.846285
      type: 'test'
      ...
    # Subtest: Argon2id at the corners the 64 MiB case does not reach
    ok 14 - Argon2id at the corners the 64 MiB case does not reach
      ---
      duration_ms: 215.506565
      type: 'test'
      ...
    # Subtest: Argon2id matches the golden vector at the parameters DESIGN.md pins
    ok 15 - Argon2id matches the golden vector at the parameters DESIGN.md pins
      ---
      duration_ms: 2603.709659
      type: 'test'
      ...
    # Subtest: the account chain, end to end
    ok 16 - the account chain, end to end
      ---
      duration_ms: 2612.639292
      type: 'test'
      ...
    # Subtest: handoff: both keypairs derive from their published seeds
    ok 17 - handoff: both keypairs derive from their published seeds
      ---
      duration_ms: 16.283579
      type: 'test'
      ...
    # Subtest: handoff: ECDH agrees from both sides
    ok 18 - handoff: ECDH agrees from both sides
      ---
      duration_ms: 8.086889
      type: 'test'
      ...
    # Subtest: handoff: the derived key, the AAD and the sealed bytes
    ok 19 - handoff: the derived key, the AAD and the sealed bytes
      ---
      duration_ms: 2.387632
      type: 'test'
      ...
    # Subtest: handoff: an envelope opens for its device and for nobody else
    ok 20 - handoff: an envelope opens for its device and for nobody else
      ---
      duration_ms: 16.611539
      type: 'test'
      ...
    # Subtest: handoff: the Go and JS halves seal for each other
    ok 21 - handoff: the Go and JS halves seal for each other
      ---
      duration_ms: 7.938535
      type: 'test'
      ...
    # Subtest: handoff: a truncated envelope is refused before any key work
    ok 22 - handoff: a truncated envelope is refused before any key work
      ---
      duration_ms: 0.545193
      type: 'test'
      ...
    # Subtest: an item round-trips through create, list and update
    ok 23 - an item round-trips through create, list and update
      ---
      duration_ms: 11.250191
      type: 'test'
      ...
    # Subtest: nothing readable reaches the network
    ok 24 - nothing readable reaches the network
      ---
      duration_ms: 2.578445
      type: 'test'
      ...
    # Subtest: item ciphertexts are quantised into 256-byte buckets
    ok 25 - item ciphertexts are quantised into 256-byte buckets
      ---
      duration_ms: 1.661268
      type: 'test'
      ...
    # Subtest: an item does not open in another slot
    ok 26 - an item does not open in another slot
      ---
      duration_ms: 2.86035
      type: 'test'
      ...
    # Subtest: every field is present whether or not it was filled in
    ok 27 - every field is present whether or not it was filled in
      ---
      duration_ms: 1.248508
      type: 'test'
      ...
    # Subtest: the Account Key cache is storage handed in, not reached for
    ok 28 - the Account Key cache is storage handed in, not reached for
      ---
      duration_ms: 0.363108
      type: 'test'
      ...
    1..28
    # tests 28
    # suites 0
    # pass 28
    # fail 0
    # cancelled 0
    # skipped 0
    # todo 0
    # duration_ms 7414.680811
    
  5. migration-check passed 1s
    go run github.com/carlosframework/rastrillo/cmd/rastrillo migration check
    go: downloading github.com/BurntSushi/toml v1.6.0
    rastrillo migration check: models and migrations agree
    
Whole run log
=== vet ===
go vet ./...
go: downloading github.com/carlosframework/rastrillo v0.23.0
go: downloading github.com/go-chi/chi/v5 v5.3.2
go: downloading gorm.io/gorm v1.31.2
go: downloading golang.org/x/crypto v0.55.0
go: downloading github.com/jinzhu/now v1.1.5
go: downloading golang.org/x/text v0.41.0
go: downloading github.com/jinzhu/inflection v1.0.0
go: downloading modernc.org/sqlite v1.55.0
go: downloading gorm.io/plugin/dbresolver v1.6.2
go: downloading modernc.org/libc v1.74.1
go: downloading golang.org/x/sys v0.47.0
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading modernc.org/mathutil v1.7.1
go: downloading modernc.org/memory v1.11.0
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
=== fmt ===
=== test ===
go test ./...
?   	github.com/carlosframework/contra/cmd/contra	[no test files]
?   	github.com/carlosframework/contra/internal/contra	[no test files]
?   	github.com/carlosframework/contra/internal/contra/auth	[no test files]
ok  	github.com/carlosframework/contra/internal/contra/crypto	0.423s
?   	github.com/carlosframework/contra/internal/contra/icons	[no test files]
?   	github.com/carlosframework/contra/internal/contra/mail	[no test files]
?   	github.com/carlosframework/contra/internal/contra/model	[no test files]
?   	github.com/carlosframework/contra/internal/contra/store	[no test files]
?   	github.com/carlosframework/contra/internal/contra/vault	[no test files]
ok  	github.com/carlosframework/contra/internal/contratest	14.448s
=== js-test ===
node --test test/crypto.test.mjs test/ecies.test.mjs test/items.test.mjs
TAP version 13
# Subtest: HKDF: every contra/v1 label
ok 1 - HKDF: every contra/v1 label
  ---
  duration_ms: 9.952037
  type: 'test'
  ...
# Subtest: KCV
ok 2 - KCV
  ---
  duration_ms: 2.23008
  type: 'test'
  ...
# Subtest: P-256 from a seed, including the rejection branch
ok 3 - P-256 from a seed, including the rejection branch
  ---
  duration_ms: 12.547068
  type: 'test'
  ...
# Subtest: signed challenge round-trips against the derived public key
ok 4 - signed challenge round-trips against the derived public key
  ---
  duration_ms: 4.965593
  type: 'test'
  ...
# Subtest: Crockford: alphabet, encoding, normalisation, strict decoding
ok 5 - Crockford: alphabet, encoding, normalisation, strict decoding
  ---
  duration_ms: 0.989406
  type: 'test'
  ...
# Subtest: the printed code, and the O/I/L confusions it has to survive
ok 6 - the printed code, and the O/I/L confusions it has to survive
  ---
  duration_ms: 2.14017
  type: 'test'
  ...
# Subtest: repair recovers one substituted character
ok 7 - repair recovers one substituted character
  ---
  duration_ms: 50.280284
  type: 'test'
  ...
# Subtest: AEAD: the AAD binding and every wrap
ok 8 - AEAD: the AAD binding and every wrap
  ---
  duration_ms: 2.566794
  type: 'test'
  ...
# Subtest: AEAD: the item, scoped to its vault
ok 9 - AEAD: the item, scoped to its vault
  ---
  duration_ms: 1.099655
  type: 'test'
  ...
# Subtest: a transplanted ciphertext does not open
ok 10 - a transplanted ciphertext does not open
  ---
  duration_ms: 1.957226
  type: 'test'
  ...
# Subtest: padding quantises into 256-byte buckets and round-trips
ok 11 - padding quantises into 256-byte buckets and round-trips
  ---
  duration_ms: 0.926417
  type: 'test'
  ...
# Subtest: the KDF parameter floor refuses what a malicious server would offer
ok 12 - the KDF parameter floor refuses what a malicious server would offer
  ---
  duration_ms: 1.078958
  type: 'test'
  ...
# Subtest: Argon2id matches the published PHC reference vector
ok 13 - Argon2id matches the published PHC reference vector
  ---
  duration_ms: 1821.846285
  type: 'test'
  ...
# Subtest: Argon2id at the corners the 64 MiB case does not reach
ok 14 - Argon2id at the corners the 64 MiB case does not reach
  ---
  duration_ms: 215.506565
  type: 'test'
  ...
# Subtest: Argon2id matches the golden vector at the parameters DESIGN.md pins
ok 15 - Argon2id matches the golden vector at the parameters DESIGN.md pins
  ---
  duration_ms: 2603.709659
  type: 'test'
  ...
# Subtest: the account chain, end to end
ok 16 - the account chain, end to end
  ---
  duration_ms: 2612.639292
  type: 'test'
  ...
# Subtest: handoff: both keypairs derive from their published seeds
ok 17 - handoff: both keypairs derive from their published seeds
  ---
  duration_ms: 16.283579
  type: 'test'
  ...
# Subtest: handoff: ECDH agrees from both sides
ok 18 - handoff: ECDH agrees from both sides
  ---
  duration_ms: 8.086889
  type: 'test'
  ...
# Subtest: handoff: the derived key, the AAD and the sealed bytes
ok 19 - handoff: the derived key, the AAD and the sealed bytes
  ---
  duration_ms: 2.387632
  type: 'test'
  ...
# Subtest: handoff: an envelope opens for its device and for nobody else
ok 20 - handoff: an envelope opens for its device and for nobody else
  ---
  duration_ms: 16.611539
  type: 'test'
  ...
# Subtest: handoff: the Go and JS halves seal for each other
ok 21 - handoff: the Go and JS halves seal for each other
  ---
  duration_ms: 7.938535
  type: 'test'
  ...
# Subtest: handoff: a truncated envelope is refused before any key work
ok 22 - handoff: a truncated envelope is refused before any key work
  ---
  duration_ms: 0.545193
  type: 'test'
  ...
# Subtest: an item round-trips through create, list and update
ok 23 - an item round-trips through create, list and update
  ---
  duration_ms: 11.250191
  type: 'test'
  ...
# Subtest: nothing readable reaches the network
ok 24 - nothing readable reaches the network
  ---
  duration_ms: 2.578445
  type: 'test'
  ...
# Subtest: item ciphertexts are quantised into 256-byte buckets
ok 25 - item ciphertexts are quantised into 256-byte buckets
  ---
  duration_ms: 1.661268
  type: 'test'
  ...
# Subtest: an item does not open in another slot
ok 26 - an item does not open in another slot
  ---
  duration_ms: 2.86035
  type: 'test'
  ...
# Subtest: every field is present whether or not it was filled in
ok 27 - every field is present whether or not it was filled in
  ---
  duration_ms: 1.248508
  type: 'test'
  ...
# Subtest: the Account Key cache is storage handed in, not reached for
ok 28 - the Account Key cache is storage handed in, not reached for
  ---
  duration_ms: 0.363108
  type: 'test'
  ...
1..28
# tests 28
# suites 0
# pass 28
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 7414.680811
=== migration-check ===
go run github.com/carlosframework/rastrillo/cmd/rastrillo migration check
go: downloading github.com/BurntSushi/toml v1.6.0
rastrillo migration check: models and migrations agree