#180 Error: Need to pass a list of pkgs to install
Closed: Fixed None Opened 8 years ago by kparal.

The task crashes:

[libtaskotron:executor.py:143] 2016-04-15 09:47:14 DEBUG   Executing directive: python
[libtaskotron:python_directive.py:154] 2016-04-15 09:47:14 INFO    Executing Python: run_dockerautotest.prepare() with args {'downloaded_rpms': {'downloaded_rpms': []}, 'workdir': '/var/tmp/taskotron/root/task-iK9e27'}
Error: Need to pass a list of pkgs to install
 Mini usage:

install PACKAGE...

Install a package or packages on your system
[libtaskotron:logger.py:88] 2016-04-15 09:47:14 CRITICAL Traceback (most recent call last):
  File "/usr/bin/runtask", line 9, in <module>
    load_entry_point('libtaskotron==0.4.8', 'console_scripts', 'runtask')()
  File "/usr/lib/python2.7/site-packages/libtaskotron/main.py", line 151, in main
    overlord.start()
  File "/usr/lib/python2.7/site-packages/libtaskotron/overlord.py", line 95, in start
    runner.execute()
  File "/usr/lib/python2.7/site-packages/libtaskotron/executor.py", line 56, in execute
    self._run()
  File "/usr/lib/python2.7/site-packages/libtaskotron/executor.py", line 93, in _run
    self._do_actions()
  File "/usr/lib/python2.7/site-packages/libtaskotron/executor.py", line 131, in _do_actions
    self._do_single_action(action)
  File "/usr/lib/python2.7/site-packages/libtaskotron/executor.py", line 152, in _do_single_action
    self.arg_data)
  File "/usr/lib/python2.7/site-packages/libtaskotron/directives/python_directive.py", line 214, in process
    output = self.execute(task, method_name, input_data)
  File "/usr/lib/python2.7/site-packages/libtaskotron/directives/python_directive.py", line 155, in execute
    output = task_method(**kwargs)
  File "run_dockerautotest.py", line 20, in prepare
    subprocess.check_call(dockerinstall, stderr=subprocess.STDOUT)
  File "/usr/lib64/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['dnf', 'install', '--assumeyes']' returned non-zero exit status 1

http://taskotron-dev.fedoraproject.org/taskmaster/builders/x86_64/builds/155926/steps/runtask/logs/stdio


Reason is that installed taskotron is too old, so some fixes with passing arch are missing. Koji directive downloads zero rpms and then tries to install "empty list" packages. It should start working as soon as we update taskotron.

<jsedlak> we've spend half an hour debugging it and found out that there's too old taskotron in production
<kparal> jsedlak: you mean dev, not production, right? this is dev
<jsedlak> dev

libtaskotron was updated in dev. Closing.

Metadata Update from @kparal:
- Issue tagged with: infrastructure

6 years ago

Metadata Update from @kparal:
- Issue untagged with: infrastructure

6 years ago

Login to comment on this ticket.

Metadata