BuildID: 1950
Status: FAIL
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 02.12.2022 @ 03:38
Time elapsed: 96 sec
---
SCM:
https://github.com/melezhik/quokka.git
Git sha: 83ca341
Git comment: Update sparrow.yaml
tasks:
-
name: example
default: true
language: Python
code: |
from pyquokka.df import QuokkaContext
qc = QuokkaContext()
lineitem = qc.read_csv("lineitem.tbl.named", sep="|", has_header=True)
d = lineitem.filter("l_shipdate <= date '1998-12-01' - interval '90' day")
d = d.with_column("disc_price", lambda x: x["l_extendedprice"] * (1 - x["l_discount"]), required_columns ={"l_extendedprice", "l_discount"})
d = d.with_column("charge", lambda x: x["l_extendedprice"] * (1 - x["l_discount"]) * (1 + x["l_tax"]), required_columns={"l_extendedprice", "l_discount", "l_tax"})
f = d.groupby(["l_returnflag", "l_linestatus"], orderby=["l_returnflag","l_linestatus"]).agg({"l_quantity":["sum","avg"], "l_extendedprice":["sum","avg"], "disc_price":"sum", "charge":"sum", "l_discount":"avg","*":"count"})
return f.collect()
depends:
-
name: install
-
name: install
language: Bash
code: |
set -e
cd source
pip3 install polars==0.14.29
pip3 install -e .
depends:
-
name: install-python
-
name: install-python
plugin: sparkyci-package-python
[35m03:37:45[0m :: [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
[35m03:37:48[0m :: [repository] - installing pack-unpack, version 0.000001
[1;36m[task run: task.bash - unpack source archive][0m
[1;36m[dump code: task.bash][0m
[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]
[1;36m[task stdout][0m
[35m03:37:51[0m :: tar -xzf source.tar.gz
some depends jobs failed or timeouted: ${:FAIL(1), :OK(0), :TIMEOUT(0)}
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/example/.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
[35m03:37:58[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[1;36m[task run: task.bash - tasks/install][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2] cd source
[3] pip3 install polars==0.14.29
[4] pip3 install -e .
[5]
[1;36m[task stdout][0m
[35m03:38:23[0m :: Defaulting to user installation because normal site-packages is not writeable
[35m03:38:24[0m :: Collecting polars==0.14.29
[35m03:38:24[0m :: Downloading polars-0.14.29.tar.gz (1.2 MB)
[35m03:38:25[0m :: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 29.2 MB/s eta 0:00:00
[35m03:38:25[0m :: Installing build dependencies: started
[35m03:38:31[0m :: Installing build dependencies: finished with status 'done'
[35m03:38:31[0m :: Getting requirements to build wheel: started
[35m03:38:31[0m :: Getting requirements to build wheel: finished with status 'done'
[35m03:38:31[0m :: Preparing metadata (pyproject.toml): started
[35m03:38:31[0m :: Preparing metadata (pyproject.toml): finished with status 'error'
[1;36m[task stderr][0m
[35m03:38:31[0m :: error: subprocess-exited-with-error
[35m03:38:31[0m ::
[35m03:38:31[0m :: × Preparing metadata (pyproject.toml) did not run successfully.
[35m03:38:31[0m :: │ exit code: 1
[35m03:38:31[0m :: ╰─> [6 lines of output]
[35m03:38:31[0m ::
[35m03:38:31[0m :: Cargo, the Rust package manager, is not installed or is not on PATH.
[35m03:38:31[0m :: This package requires Rust and Cargo to compile extensions. Install it through
[35m03:38:31[0m :: the system's package manager or via https://rustup.rs/
[35m03:38:31[0m ::
[35m03:38:31[0m :: Checking for Rust toolchain....
[35m03:38:31[0m :: [end of output]
[35m03:38:31[0m ::
[35m03:38:31[0m :: note: This error originates from a subprocess, and is likely not a problem with pip.
[35m03:38:31[0m :: error: metadata-generation-failed
[35m03:38:31[0m ::
[35m03:38:31[0m :: × Encountered error while generating package metadata.
[35m03:38:31[0m :: ╰─> See above for output.
[35m03:38:31[0m ::
[35m03:38:31[0m :: note: This is an issue with the package mentioned above, not pip.
[35m03:38:31[0m :: hint: See above for details.
[35m03:38:31[0m :: task exit status: 1
[35m03:38:31[0m :: task tasks/install FAILED
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/install/.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
[35m03:38:14[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[35m03:38:17[0m :: [repository] - installing sparkyci-package-python, version 0.000004
[1;36m[task run: task.bash - install-python][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2] set -x
[3]
[4] 2>&1
[5]
[6] echo "installing python3/pip/py3-pytest packages"
[7] echo "=========================================="
[8]
[9] sudo apk add python3 py3-pip python3-dev py3-pytest
[10]
[11]
[1;36m[task stdout][0m
[35m03:38:17[0m :: installing python3/pip/py3-pytest packages
[35m03:38:17[0m :: ==========================================
[35m03:38:17[0m :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
[35m03:38:17[0m :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
[35m03:38:17[0m :: fetch https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
[35m03:38:18[0m :: (1/28) Installing libffi (3.4.2-r1)
[35m03:38:18[0m :: (2/28) Installing gdbm (1.23-r0)
[35m03:38:18[0m :: (3/28) Installing xz-libs (5.2.5-r1)
[35m03:38:18[0m :: (4/28) Installing mpdecimal (2.5.1-r1)
[35m03:38:18[0m :: (5/28) Installing sqlite-libs (3.38.5-r0)
[35m03:38:18[0m :: (6/28) Installing python3 (3.10.8-r0)
[35m03:38:19[0m :: (7/28) Installing py3-contextlib2 (21.6.0-r2)
[35m03:38:19[0m :: (8/28) Installing py3-tomli (2.0.1-r1)
[35m03:38:19[0m :: (9/28) Installing py3-pep517 (0.12.0-r2)
[35m03:38:19[0m :: (10/28) Installing py3-six (1.16.0-r1)
[35m03:38:19[0m :: (11/28) Installing py3-retrying (1.3.3-r3)
[35m03:38:19[0m :: (12/28) Installing py3-appdirs (1.4.4-r3)
[35m03:38:19[0m :: (13/28) Installing py3-more-itertools (8.13.0-r0)
[35m03:38:19[0m :: (14/28) Installing py3-ordered-set (4.0.2-r3)
[35m03:38:19[0m :: (15/28) Installing py3-parsing (2.4.7-r3)
[35m03:38:19[0m :: (16/28) Installing py3-packaging (21.3-r0)
[35m03:38:19[0m :: (17/28) Installing py3-setuptools (59.4.0-r0)
[35m03:38:19[0m :: (18/28) Installing py3-pip (22.1.1-r0)
[35m03:38:19[0m :: (19/28) Installing py3-atomicwrites (1.4.0-r2)
[35m03:38:19[0m :: (20/28) Installing py3-attrs (21.4.0-r0)
[35m03:38:19[0m :: (21/28) Installing py3-iniconfig (1.1.1-r2)
[35m03:38:19[0m :: (22/28) Installing py3-pluggy (1.0.0-r0)
[35m03:38:19[0m :: (23/28) Installing py3-py (1.10.0-r2)
[35m03:38:19[0m :: (24/28) Installing py3-wcwidth (0.2.5-r2)
[35m03:38:19[0m :: (25/28) Installing py3-toml (0.10.2-r3)
[35m03:38:19[0m :: (26/28) Installing py3-pygments (2.11.2-r0)
[35m03:38:19[0m :: (27/28) Installing py3-pytest (6.2.5-r2)
[35m03:38:19[0m :: (28/28) Installing python3-dev (3.10.8-r0)
[35m03:38:20[0m :: Executing busybox-1.35.0-r17.trigger
[35m03:38:20[0m :: OK: 833 MiB in 88 packages
[1;36m[task stderr][0m
[35m03:38:20[0m :: ++ echo 'installing python3/pip/py3-pytest packages'
[35m03:38:20[0m :: ++ echo ==========================================
[35m03:38:20[0m :: ++ sudo apk add python3 py3-pip python3-dev py3-pytest