Skip to content

bug on retry job #1339

@BuildStream-Migration-Bot

Description

See original issue on GitLab
In GitLab by [Gitlab user @pointswaves] on Jun 4, 2020, 21:12

Summary

wierd error on retry

retry a job from the retry menu

Build failure on element: freedesktop-sdk.bst:

Choose one of the following options:
  (c)ontinue  - Continue queueing jobs as much
  (q)uit      - Exit after all ongoing jobs co
  (t)erminate - Terminate any ongoing jobs and
  (r)etry     - Retry this job
  (l)og       - View the full log file

Pressing ^C will terminate jobs and exit


Choice: [continue]: r

Retrying failed job
[21:09:07][--:--:--][        ][    main:core activity                 ] BUG     'NoneType' object has no attribute 'was_workspaced'

    Traceback (most recent call last):
      File "/usr/lib64/python3.7/asyncio/events.py", line 88, in _run
        self._context.run(self._callback, *self._args)
      File "/home/will/projects/buildstream/buildstream/src/buildstream/_scheduler/scheduler.py", line 480, in real_schedule
        self._sched_queue_jobs()
      File "/home/will/projects/buildstream/buildstream/src/buildstream/_scheduler/scheduler.py", line 413, in _sched_queue_jobs
        queue.enqueue(elements)
      File "/home/will/projects/buildstream/buildstream/src/buildstream/_scheduler/queues/queue.py", line 187, in enqueue
        self._enqueue_element(elt)
      File "/home/will/projects/buildstream/buildstream/src/buildstream/_scheduler/queues/queue.py", line 377, in _enqueue_element
        status = self.status(element)
      File "/home/will/projects/buildstream/buildstream/src/buildstream/_scheduler/queues/artifactpushqueue.py", line 39, in status
        if element._skip_push():
      File "/home/will/projects/buildstream/buildstream/src/buildstream/element.py", line 1817, in _skip_push
        if self.__get_tainted():
      File "/home/will/projects/buildstream/buildstream/src/buildstream/element.py", line 2478, in __get_tainted
        workspaced = self.__artifact.get_metadata_workspaced()
      File "/home/will/projects/buildstream/buildstream/src/buildstream/_artifact.py", line 341, in get_metadata_workspaced
        self._metadata_workspaced = artifact.was_workspaced
    AttributeError: 'NoneType' object has no attribute 'was_workspaced'


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions