/home/feickert/.pyenv/versions/3.8.11/lib/python3.8/subprocess.py:848: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
/home/feickert/.pyenv/versions/3.8.11/lib/python3.8/subprocess.py:842: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
/home/feickert/.pyenv/versions/3.8.11/lib/python3.8/subprocess.py:848: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
feickert@ThinkPad-X1:/tmp$ pyenv virtualenv 3.8.7 packtivity-issue77
(packtivity-issue77) feickert@ThinkPad-X1:/tmp$ pyenv activate packtivity-issue77
(packtivity-issue77) feickert@ThinkPad-X1:/tmp$ python -m pip install --upgrade pip 'setuptools<58.0.0' wheel # c.f. https://github.com/reanahub/reana-client/issues/558
(packtivity-issue77) feickert@ThinkPad-X1:/tmp/helloworld$ python -m pip install 'recast-atlas[local]==0.1.8' six
(packtivity-issue77) feickert@ThinkPad-X1:/tmp$ git clone ssh://[email protected]:7999/recast-atlas/examples/helloworld.git
(packtivity-issue77) feickert@ThinkPad-X1:/tmp$ cd helloworld/
(packtivity-issue77) feickert@ThinkPad-X1:/tmp/helloworld$ cat run.sh
#!/bin/bash
export RECAST_AUTH_USERNAME=secret
export RECAST_AUTH_PASSWORD=secret
export RECAST_AUTH_TOKEN=secret
eval "$(recast auth setup -a ${RECAST_AUTH_USERNAME} -a ${RECAST_AUTH_PASSWORD} -a ${RECAST_AUTH_TOKEN} -a default)"
eval "$(recast auth write --basedir authdir)"
$(recast catalogue add "${PWD}")
recast catalogue ls
recast catalogue describe examples/helloworld
recast catalogue check examples/helloworld
recast run examples/helloworld --backend local --tag debug
(packtivity-issue77) feickert@ThinkPad-X1:/tmp/helloworld$ bash run.sh
You password is stored in the environment variables RECAST_AUTH_USERNAME,RECAST_AUTH_PASSWORD,YADAGE_SCHEMA_LOAD_TOKEN,YADAGE_INIT_TOKEN,RECAST_REGISTRY_USERNAME,RECAST_REGISTRY_PASSWORD,RECAST_REGISTRY_HOST,PACKTIVITY_AUTH_LOCATION. Run `eval $(recast auth destroy)` to clear your password or exit the shell.
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /home/feickert/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
Wrote Authentication Data to authdir (Note! This includes passwords/tokens)
NAME DESCRIPTION EXAMPLES TAGS
atlas/atlas-conf-2018-041 ATLAS MBJ default
examples/checkmate1 CheckMate Tutorial Example (Herwig + CM1) default
examples/checkmate2 CheckMate Tutorial Example (Herwig + CM2) default
examples/helloworld An example recast configuration of ATLAS default
examples/rome Example from ATLAS Exotics Rome Workshop 2018 default,newsignal
testing/busyboxtest Simple, lightweight Functionality Test default
examples/helloworld
--------------------
description : An example recast configuration of ATLAS
author : lukasheinrich
toplevel : /tmp/helloworld/specs
Nice job! Everything looks good.
2021-12-14 22:51:22,531 | packtivity.asyncback | INFO | configured pool size to 12
2021-12-14 22:51:22,573 | yadage.creators | INFO | initializing workflow with initdata: {'name': 'hello'} discover: True relative: True
2021-12-14 22:51:22,573 | adage.pollingexec | INFO | preparing adage coroutine.
2021-12-14 22:51:22,573 | adage | INFO | starting state loop.
2021-12-14 22:51:22,627 | yadage.wflowview | INFO | added </init:0|defined|unknown>
2021-12-14 22:51:23,339 | yadage.wflowview | INFO | added </hello_world:0|defined|unknown>
2021-12-14 22:51:24,247 | adage.pollingexec | INFO | submitting nodes [</init:0|defined|known>]
2021-12-14 22:51:24,739 | pack.init.step | INFO | publishing data: <TypedLeafs: {'name': 'hello'}>
2021-12-14 22:51:24,739 | adage | INFO | unsubmittable: 0 | submitted: 0 | successful: 0 | failed: 0 | total: 2 | open rules: 0 | applied rules: 2
2021-12-14 22:51:25,732 | adage.node | INFO | node ready </init:0|success|known>
2021-12-14 22:51:25,732 | adage.pollingexec | INFO | submitting nodes [</hello_world:0|defined|known>]
2021-12-14 22:51:25,733 | pack.hello_world.ste | INFO | starting file logging for topic: step
/home/feickert/.pyenv/versions/3.8.7/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
/home/feickert/.pyenv/versions/3.8.7/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
/home/feickert/.pyenv/versions/3.8.7/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
2021-12-14 22:51:27,780 | adage.node | INFO | node ready </hello_world:0|success|known>
2021-12-14 22:51:27,800 | adage.controllerutil | INFO | no nodes can be run anymore and no rules are applicable
2021-12-14 22:51:27,800 | adage.controllerutil | INFO | no nodes can be run anymore and no rules are applicable
2021-12-14 22:51:27,801 | adage | INFO | unsubmittable: 0 | submitted: 0 | successful: 2 | failed: 0 | total: 2 | open rules: 0 | applied rules: 2
2021-12-14 22:51:30,227 | adage | INFO | adage state loop done.
2021-12-14 22:51:30,227 | adage | INFO | execution valid. (in terms of execution order)
2021-12-14 22:51:30,227 | adage | INFO | workflow completed successfully.
2021-12-14 22:51:30,227 | yadage.steering_api | INFO | done. dumping workflow to disk.
2021-12-14 22:51:30,228 | yadage.steering_api | INFO | visualizing workflow.
2021-12-14 22:51:30,605 | recastatlas.subcomma | INFO | RECAST run finished.
RECAST result examples/helloworld recast-debug:
--------------
- name: My Result
value: Hello my Name is hello