Home Quick start All builds News Donations
More
Log In
Light Theme Docs
Workers

SparrowCI Report - gh-FCO-Red | [image: melezhik/sparrow:alpine]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2433
Status: FAIL
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 02.01.2023 @ 19:42
Time elapsed: 663 sec
---
SCM: https://github.com/FCO/Red.git
Git sha: 93e61fd
Git comment: Create docs
tasks:
  -
    language: Bash
    name: zef_test
    default: true
    code: |
      set -e
      sudo apk add --no-cache sqlite-libs sqlite-dev
      export RED_DATABASE="Pg host=localhost port=5432 user=testuser password=testpass dbname=redtest"
      cd source/
      raku --version
      zef install . --deps-only --test-depends --build-depends --/test .
      zef test . --verbose
    depends:
      -
        name: install_pg_server 
  -
    name: install_pg_server
    plugin: sparkyci-service-postgresql
    config:
      db_name: redtest
      db_user: testuser
      db_pass: testpass
19:32:23 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
19:32:25 :: [repository] - installing sparkyci-service-postgresql, version 0.000012
[task run: task.bash - install_pg_server]
[dump code: task.bash]
[1] set -e
[2] 
[3] db_user=$(config db_user)
[4] db_pass=$(config db_pass)
[5] db_name=$(config db_name)
[6] 
[7] set -x
[8] 
[9] 2>&1
[10] 
[11] echo "installing postgresql service on sparky"
[12] echo "======================================="
[13] 
[14] 
[15] sudo apk add postgresql
[16] 
[17] sudo mkdir -p /run/postgresql
[18] 
[19] sudo chown postgres:postgres /run/postgresql
[20] 
[21] sudo rm -rf /var/lib/postgresql/data
[22] 
[23] sudo mkdir -p /var/lib/postgresql/data
[24] 
[25] sudo chown postgres:postgres /var/lib/postgresql/data
[26] 
[27] sudo chmod 0700 /var/lib/postgresql/data
[28] 
[29] sudo -u postgres sh -c -l 'initdb -D /var/lib/postgresql/data'
[30] 
[31] sudo -u postgres sh -c -l 'postgres -D /var/lib/postgresql/data >/var/lib/postgresql/logfile 2>&1 &'
[32] 
[33] sleep 5
[34] 
[35] sudo -u postgres psql -c "create user $db_user with password '$db_pass'"
[36] sudo -u postgres sh -l -c "createdb $db_name"
[37] sudo -u postgres psql -c "grant all privileges on database $db_name to $db_user;"
[38] 
[39] export PGPASSWORD=$db_pass
[40] 
[41] psql -d $db_name -U $db_user -c "create table foo(a text)" -h localhost
[42] 
[43] 
[task stdout]
19:32:28 :: installing postgresql service on sparky
19:32:28 :: =======================================
19:32:28 :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
19:32:28 :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
19:32:28 :: fetch https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
19:32:29 :: (1/12) Installing postgresql-common (1.1-r2)
19:32:29 :: Executing postgresql-common-1.1-r2.pre-install
19:32:29 :: (2/12) Installing libpq (14.5-r0)
19:32:29 :: (3/12) Installing postgresql14-client (14.5-r0)
19:32:29 :: (4/12) Installing tzdata (2022f-r1)
19:32:30 :: (5/12) Installing icu-data-en (71.1-r2)
19:32:30 :: Executing icu-data-en-71.1-r2.post-install
19:32:30 :: (6/12) Installing icu-libs (71.1-r2)
19:32:30 :: (7/12) Installing gdbm (1.23-r0)
19:32:30 :: (8/12) Installing libsasl (2.1.28-r1)
19:32:30 :: (9/12) Installing libldap (2.6.3-r3)
19:32:30 :: (10/12) Installing xz-libs (5.2.5-r1)
19:32:30 :: (11/12) Installing libxml2 (2.9.14-r2)
19:32:30 :: (12/12) Installing postgresql14 (14.5-r0)
19:32:30 :: Executing postgresql14-14.5-r0.post-install
19:32:30 :: Executing busybox-1.35.0-r17.trigger
19:32:30 :: Executing postgresql-common-1.1-r2.trigger
19:32:31 :: OK: 739 MiB in 72 packages
19:32:31 :: The files belonging to this database system will be owned by user "postgres".
19:32:31 :: This user must also own the server process.
19:32:31 :: 
19:32:31 :: The database cluster will be initialized with locales
19:32:31 ::   COLLATE:  C
19:32:31 ::   CTYPE:    C.UTF-8
19:32:31 ::   MESSAGES: C
19:32:31 ::   MONETARY: C
19:32:31 ::   NUMERIC:  C
19:32:31 ::   TIME:     C
19:32:31 :: The default database encoding has accordingly been set to "UTF8".
19:32:31 :: The default text search configuration will be set to "english".
19:32:31 :: 
19:32:31 :: Data page checksums are disabled.
19:32:31 :: 
19:32:31 :: fixing permissions on existing directory /var/lib/postgresql/data ... ok
19:32:31 :: creating subdirectories ... ok
19:32:31 :: selecting dynamic shared memory implementation ... posix
19:32:31 :: selecting default max_connections ... 100
19:32:31 :: selecting default shared_buffers ... 128MB
19:32:31 :: selecting default time zone ... UTC
19:32:31 :: creating configuration files ... ok
19:32:31 :: running bootstrap script ... ok
19:32:33 :: performing post-bootstrap initialization ... ok
19:32:34 :: syncing data to disk ... ok
19:32:34 :: 
19:32:34 :: 
19:32:34 :: Success.
19:32:34 :: 
19:32:39 :: CREATE ROLE
19:32:40 :: GRANT
19:32:40 :: CREATE TABLE
[task stderr]
19:32:40 :: ++ echo 'installing postgresql service on sparky'
19:32:40 :: ++ echo =======================================
19:32:40 :: ++ sudo apk add postgresql
19:32:40 :: *
19:32:40 :: * If you need ICU with non-English locales and legacy charset support, install
19:32:40 :: * package icu-data-full.
19:32:40 :: *
19:32:40 :: *
19:32:40 :: * If you want to use JIT in PostgreSQL, install postgresql14-jit or
19:32:40 :: * postgresql-jit (if you didn't install specific major version of postgresql).
19:32:40 :: *
19:32:40 :: * Setting postgresql14 as the default version
19:32:40 :: ++ sudo mkdir -p /run/postgresql
19:32:40 :: ++ sudo chown postgres:postgres /run/postgresql
19:32:40 :: ++ sudo rm -rf /var/lib/postgresql/data
19:32:40 :: ++ sudo mkdir -p /var/lib/postgresql/data
19:32:40 :: ++ sudo chown postgres:postgres /var/lib/postgresql/data
19:32:40 :: ++ sudo chmod 0700 /var/lib/postgresql/data
19:32:40 :: ++ sudo -u postgres sh -c -l 'initdb -D /var/lib/postgresql/data'
19:32:40 :: initdb: warning: enabling "trust" authentication for local connections
19:32:40 :: You can change this by editing pg_hba.conf or using the option -A, or
19:32:40 :: --auth-local and --auth-host, the next time you run initdb.
19:32:40 :: ++ sudo -u postgres sh -c -l 'postgres -D /var/lib/postgresql/data >/var/lib/postgresql/logfile 2>&1 &'
19:32:40 :: ++ sleep 5
19:32:40 :: ++ sudo -u postgres psql -c 'create user testuser with password '\''testpass'\'''
19:32:40 :: ++ sudo -u postgres sh -l -c 'createdb redtest'
19:32:40 :: ++ sudo -u postgres psql -c 'grant all privileges on database redtest to testuser;'
19:32:40 :: ++ export PGPASSWORD=testpass
19:32:40 :: ++ PGPASSWORD=testpass
19:32:40 :: ++ psql -d redtest -U testuser -c 'create table foo(a text)' -h localhost
19:31:55 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
source directory does not yet exist, download source archive from storage
19:31:59 :: [repository] - installing pack-unpack, version 0.000001
[task run: task.bash - unpack source archive]
[dump code: task.bash]
[1] set -e
[2] 
[3] file=$(config file)
[4] dir=$(config dir)
[5] 
[6] echo "tar -xzf $file "
[7] 
[8] tar -xzf $file
[9] 
[10] if test $dir; then
[11]   ls -l $dir
[12] fi
[13] 
[14] 
[task stdout]
19:32:02 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/zef_test]
[dump code: task.bash]
[1] set -e
[2] sudo apk add --no-cache sqlite-libs sqlite-dev
[3] export RED_DATABASE="Pg host=localhost port=5432 user=testuser password=testpass dbname=redtest"
[4] cd source/
[5] raku --version
[6] zef install . --deps-only --test-depends --build-depends --/test .
[7] zef test . --verbose
[8] 
[task stdout]
19:32:43 :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
19:32:43 :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
19:32:44 :: fetch https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
19:32:44 :: (1/2) Installing sqlite-libs (3.38.5-r0)
19:32:44 :: (2/2) Installing sqlite-dev (3.38.5-r0)
19:32:44 :: OK: 741 MiB in 74 packages
19:32:44 :: Welcome to Rakudo™ v2022.07.
19:32:44 :: Implementing the Raku® Programming Language v6.d.
19:32:44 :: Built on MoarVM version 2022.07.
19:32:48 :: ===> Searching for missing dependencies: DBIish, DB::Pg, UUID, Test::META, App::RaCoCo
19:35:24 :: ===> Searching for missing dependencies: META6:ver<0.0.24+>, URI, License::SPDX, App::Prove6, NativeLibs:ver<0.0.7+>:auth<github:salortiz>, LibUUID, Test::When, NativeHelpers::Blob, NativeLibs:ver<0.0.9+>:auth<github:salortiz>, NativeCall::TypeDiag
19:35:24 :: ===> Searching for missing dependencies: JSON::Class:ver<0.0.14+>, JSON::Class:ver<0.0.15+>, JSON::Name, File::Temp, Getopt::Long:ver<0.3.0+>, Path::Finder:ver<0.4.4+>, Pod::Usage, TAP:ver<0.3.4+>, sigpipe
19:35:24 :: ===> Searching for missing dependencies: JSON::OptIn, JSON::Marshal:ver<0.0.23+>, JSON::Unmarshal:ver<0.08+>
19:35:24 :: ===> Installing: JSON::OptIn:ver<0.0.2>:auth<zef:jonathanstowe>
19:35:24 :: ===> Installing: JSON::Name:ver<0.0.7>:auth<zef:jonathanstowe>:api<1.0>
19:35:24 :: ===> Installing: JSON::Marshal:ver<0.0.24>:auth<zef:jonathanstowe>:api<1.0>
19:35:24 :: ===> Installing: JSON::Unmarshal:ver<0.11>:auth<zef:raku-community-modules>
19:35:24 :: ===> Installing: JSON::Class:ver<0.0.19>:auth<zef:jonathanstowe>:api<1.0>
19:35:24 :: ===> Installing: META6:ver<0.0.29>:auth<zef:jonathanstowe>:api<1.0>
19:35:24 :: ===> Installing: URI:ver<0.3.6>:auth<zef:raku-community-modules>
19:35:24 :: ===> Installing: License::SPDX:ver<3.19.0>:auth<zef:jonathanstowe>:api<1.0>
19:35:24 :: ===> Installing: Test::META:ver<0.0.19>:auth<zef:jonathanstowe>:api<1.0>
19:35:24 :: ===> Installing: Getopt::Long:ver<0.4.1>
19:35:24 :: ===> Installing: File::Temp:ver<0.0.10>:auth<zef:rbt>
19:35:24 :: ===> Installing: Path::Finder:ver<0.4.5>
19:35:24 :: ===> Installing: Pod::Usage:ver<0.0.1>:auth<zef:leont>
19:35:24 :: ===> Installing: TAP:ver<0.3.11>
19:35:24 :: ===> Installing: sigpipe:ver<0.0.3>:auth<zef:leont>
19:35:24 :: ===> Installing: App::Prove6:ver<0.0.17>:auth<cpan:LEONT>
19:35:24 :: ===> Installing: App::RaCoCo:ver<1.6.0>:auth<zef:atroxaper>:api<1>
19:35:24 :: ===> Installing: UUID:ver<1.0.0>
19:35:24 :: ===> Installing: NativeLibs:ver<0.0.9>:auth<github:salortiz>
19:35:24 :: ===> Installing: Test::When:ver<1.001009>:auth<zef:raku-community-modules>
19:35:24 :: ===> Installing: LibUUID:ver<0.5>:auth<github:CurtTilmes>
19:35:24 :: ===> Installing: DB::Pg:ver<1.1>:auth<github:CurtTilmes>:api<1>
19:35:24 :: ===> Installing: NativeHelpers::Blob:ver<0.1.12>:auth<github:salortiz>
19:35:24 :: ===> Installing: NativeCall::TypeDiag
19:35:24 :: ===> Installing: DBIish:ver<0.6.6>:auth<zef:raku-community-modules>:api<1>
19:35:24 :: 
19:35:24 :: 2 bin/ scripts [prove6 racoco] installed to:
19:35:24 :: /home/worker/.raku/bin
19:35:26 :: ===> Testing: Red:ver<0.1.66>:auth<zef:FCO>:api<2>
19:42:06 :: [Red] t/00-meta.t ........................... ok
19:42:06 :: [Red] t/02-tdd.t ............................ skipped
19:42:06 :: [Red] t/03-sqlite.t ......................... skipped
19:42:06 :: [Red] t/04-blog.t ........................... ok
19:42:06 :: [Red] t/05-ticket.t ......................... ok
19:42:06 :: [Red] t/06-better-map.t ..................... skipped
19:42:06 :: [Red] t/07-optimizer.t ...................... ok
19:42:06 :: [Red] t/08-best-tree.t ...................... ok
19:42:06 :: [Red] t/09-alternate-relation.t ............. ok
19:42:06 :: [Red] t/10-alternate-relation-modules.t ..... ok
19:42:06 :: [Red] t/11-join.t ........................... ok
19:42:06 :: [Red] t/12-types.t .......................... ok
19:42:06 :: [Red] t/13-roles.t .......................... ok
19:42:06 :: [Red] t/14-result-seq-update.t .............. ok
19:42:06 :: [Red] t/15-union.t .......................... ok
19:42:06 :: [Red] t/16-result-seq-bool.t ................ ok
19:42:06 :: [Red] t/17-create-related-pars.t ............ ok
19:42:06 :: [Red] t/18-pp.t ............................. ok
19:42:06 :: [Red] t/19-phasers.t ........................ ok
19:42:06 :: [Red] t/20-in-sql.t ......................... ok
19:42:06 :: [Red] t/21-new-with-id.t .................... ok
19:42:06 :: [Red] t/22-red-do.t ......................... ok
19:42:06 :: [Red] t/23-edit-id.t ........................ ok
19:42:06 :: [Red] t/24-metamodel-model.t ................ ok
19:42:06 :: [Red] t/25-grep-no-AND-OR.t ................. ok
19:42:06 :: [Red] t/26-is-rw.t .......................... ok
19:42:06 :: [Red] t/27-classify.t ....................... ok
19:42:06 :: [Red] t/28-LPW-2019.t ....................... ok
19:42:06 :: [Red] t/29-events.t ......................... ok
19:42:06 :: [Red] t/30-result-seq-pick.t ................ ok
19:42:06 :: [Red] t/31-update.t ......................... skipped
19:42:06 :: [Red] t/32-join.t ........................... ok
19:42:06 :: [Red] t/33-join.t ........................... ok
19:42:06 :: [Red] t/34-join.t ........................... ok
19:42:06 :: [Red] t/35-ast-generic.t .................... skipped
19:42:06 :: [Red] t/35-create.t ......................... ok
19:42:06 :: [Red] t/35-default-deflate.t ................ ok
19:42:06 :: [Red] t/36-json.t ........................... ok
19:42:06 :: [Red] t/37-equal.t .......................... skipped
19:42:06 :: [Red] t/38-xmas.t ........................... ok
19:42:06 :: [Red] t/39-relationship-multiple-columns.t .. skipped
19:42:06 :: [Red] t/40-fallback.t ....................... ok
19:42:06 :: [Red] t/41-create-table.t ................... ok
19:42:06 :: [Red] t/42-prefetch.t ....................... ok
19:42:06 :: [Red] t/43-error-without-id.t ............... ok
19:42:06 :: [Red] t/44-is-handling.t .................... ok
19:42:06 :: [Red] t/45-rw.t ............................. ok
19:42:06 :: [Red] t/46-rypervenche.t .................... ok
19:42:06 :: [Red] t/47-source-source-id.t ............... ok
19:42:06 :: [Red] t/48-experimental-formater.t .......... ok
19:42:06 :: [Red] t/49-experimental-name.t .............. ok
19:42:06 :: [Red] t/50-pre-create-or-update.t ........... ok
19:42:06 :: [Red] t/51-schema.t ......................... ok
19:42:06 :: [Red] t/52-unique.t ......................... ok
19:42:06 :: [Red] t/53-hand-made-many-to-many.t ......... ok
19:42:06 :: [Red] t/54-no-optimization.t ................ ok
19:42:06 :: [Red] t/55-refreshable.t .................... ok
19:42:06 :: [Red] t/56-experimental.t ................... ok
19:42:06 :: [Red] t/57-nm-relationship.t ................ ok
19:42:06 :: [Red] t/58-tomgraceys-schema.t .............. ok
19:42:06 :: [Red] t/59-runtime-role.t ................... ok
19:42:06 :: [Red] t/60-model-as-type.t .................. ok
19:42:06 :: [Red] t/61-date-coercion.t .................. ok
19:42:06 :: [Red] t/62-inflate-deflate.t ................ ok
19:42:06 :: [Red] t/63-create-on-defined-obj.t .......... ok
19:42:06 :: [Red] t/64-patrickb.t ....................... ok
19:42:06 :: [Red] t/65-join-model.t ..................... ok
19:42:06 :: [Red] t/66-enums.t .......................... skipped
19:42:06 :: [Red] t/66-red-config.t ..................... ok
19:42:06 :: [Red] t/67-array-columns.t .................. ok
19:42:06 :: [Red] t/68-submodel.t ....................... ok
19:42:06 :: [Red] t/70-conflicting-column-attribute.t ... ok
19:42:06 :: [Red] t/71-agg-methods.t .................... ok
19:42:06 :: [Red] t/72-red-defaults-from-module.t ....... skipped
19:42:06 :: [Red] t/73-enum-reassign.t .................. skipped
19:42:06 :: [Red] t/74-patrick-operators.t .............. Dubious, test returned 1
19:42:06 :: [Red] No subtests run
19:42:06 :: [Red] t/74-view.t ........................... ok
19:42:06 :: [Red] t/99-group-sort.t ..................... skipped
19:42:06 :: [Red] All tests successful.
19:42:06 :: [Red] 
19:42:06 :: [Red] Test Summary Report
19:42:06 :: [Red] -------------------
19:42:06 :: [Red] t/74-patrick-operators.t  (Wstat: 256 Tests: 0 Failed: 0)
19:42:06 :: [Red] Non-zero exit status: 1
19:42:06 :: [Red]   Parse errors: No plan found in TAP output
19:42:06 :: [Red] Files=78, Tests=784,  400 wallclock secs
19:42:06 :: [Red] Result: FAILED
19:42:06 :: ===> Testing [FAIL]: Red:ver<0.1.66>:auth<zef:FCO>:api<2>
[task stderr]
19:42:06 :: ===> Updating fez mirror: https://360.zef.pm/
19:42:06 :: ===> Updated fez mirror: https://360.zef.pm/
19:42:06 :: ===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
19:42:06 :: ===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
19:42:06 :: Aborting due to test failure: Red:ver<0.1.66>:auth<zef:FCO>:api<2> (use --force-test to override)
19:42:06 :: task exit status: 1
19:42:06 :: task tasks/zef_test FAILED
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/zef_test/.sparrowdo/sparrowrun.sh' exited unsuccessfully (exit code: 1, signal: 0)
  in block <unit> at /home/sph/.raku/resources/57C38AFDF922EB0C43584FF5F701A03850B5346F line 13
  in sub MAIN at /home/sph/.raku/bin/sparrowdo line 3
  in block <unit> at /home/sph/.raku/bin/sparrowdo line 1