Skip to content
Snippets Groups Projects
Closed Stack trace when running out of disk space
  • View options
  • Stack trace when running out of disk space

  • View options
  • Closed Issue created by Tristan Van Berkom

    Summary

    When running a build of GNOME using BuildStream master, instead of automatically cleaning up the artifact cache as expected, I received unhandled exceptions due to no remaining space left on my disk.

    Steps to reproduce

    Run a build of gnome-build-meta without enough remaining disk space to cache the new artifacts.

    What is the current bug behavior?

    Stack trace

    What is the expected correct behavior?

    Either the artifact cache makes room for the new incoming artifacts by automatically cleaning it up, or I get an elegant failure message telling me that all the artifacts needed for my build don't fit on the disk.

    Relevant logs and/or screenshots

    
    
    ========================================================================================= 02:07:16 gnome (470/471) =========================================================================================
                                                                     (Tracked:77 166 0)→ (Pulled:0 470 0)→ (Fetched:138 332 0)→ (Built:107 0 0)                                                                 
                                                                                              ~~~~~ Active Tasks ~~~~~                                                                                          
    [00:13:00][Build:freedesktop-sdk.bst:base/cmake.bst  ] [00:08:08][Build:freedesktop-sdk.bst:base/nss.bst] [00:06:29][Build:freedesktop-sdk.bst:base/gettext.bst]
    [00:03:08][Build:freedesktop-sdk.bst:base/locales.bst] 
    Process Process-1415:
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/_artifactcache/cascache.py", line 421, in add_object
        out.write(chunk)
      File "/usr/lib/python3.5/tempfile.py", line 622, in func_wrapper
        return func(*args, **kwargs)
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/_artifactcache/cascache.py", line 434, in add_object
        os.link(out.name, objpath)
      File "/usr/lib/python3.5/tempfile.py", line 640, in __exit__
        result = self.file.__exit__(exc, value, tb)
    OSError: [Errno 28] No space left on device
    
    The above exception was the direct cause of the following exception:
    
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 407, in timed_activity
        yield
      File "/codethink/GNOME/buildstream/buildstream/plugin.py", line 556, in timed_activity
        yield
      File "/codethink/GNOME/buildstream/buildstream/element.py", line 1650, in _assemble
        self.__artifacts.commit(self, assembledir, self.__get_cache_keys_for_commit())
      File "/codethink/GNOME/buildstream/buildstream/_artifactcache/cascache.py", line 118, in commit
        tree = self._create_tree(content)
      File "/codethink/GNOME/buildstream/buildstream/_artifactcache/cascache.py", line 640, in _create_tree
        self._create_tree(full_path, digest=dirnode.digest)
      File "/codethink/GNOME/buildstream/buildstream/_artifactcache/cascache.py", line 640, in _create_tree
        self._create_tree(full_path, digest=dirnode.digest)
      File "/codethink/GNOME/buildstream/buildstream/_artifactcache/cascache.py", line 640, in _create_tree
        self._create_tree(full_path, digest=dirnode.digest)
      File "/codethink/GNOME/buildstream/buildstream/_artifactcache/cascache.py", line 640, in _create_tree
        self._create_tree(full_path, digest=dirnode.digest)
      File "/codethink/GNOME/buildstream/buildstream/_artifactcache/cascache.py", line 640, in _create_tree
        self._create_tree(full_path, digest=dirnode.digest)
      File "/codethink/GNOME/buildstream/buildstream/_artifactcache/cascache.py", line 644, in _create_tree
        self.add_object(path=full_path, digest=filenode.digest)
      File "/codethink/GNOME/buildstream/buildstream/_artifactcache/cascache.py", line 441, in add_object
        raise ArtifactError("Failed to hash object: {}".format(e)) from e
    buildstream._exceptions.ArtifactError: Failed to hash object: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 398, in _child_action
        result = self.child_process()
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/elementjob.py", line 94, in child_process
        return self._action_cb(self._element)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/queues/buildqueue.py", line 70, in process
        element._assemble()
      File "/codethink/GNOME/buildstream/buildstream/element.py", line 1650, in _assemble
        self.__artifacts.commit(self, assembledir, self.__get_cache_keys_for_commit())
      File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "/codethink/GNOME/buildstream/buildstream/plugin.py", line 556, in timed_activity
        yield
      File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 415, in timed_activity
        self.message(message)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 350, in message
        self._record_message(message)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 552, in _record_message
        self._log_handle.flush()
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 477, in recorded_messages
        yield self._log_filename
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 432, in _child_action
        logfile=filename)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/elementjob.py", line 106, in message
        **args))
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 350, in message
        self._record_message(message)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 552, in _record_message
        self._log_handle.flush()
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
        self.run()
      File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run
        self._target(*self._args, **self._kwargs)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 448, in _child_action
        self._child_shutdown(RC_OK)
    
    
    
    BUG: Message handling out of sync, unable to retrieve failure message for element autotools element at base/cmake.bst [line 1 column 0]
    
    
    
    
    
    ========================================================================================= 02:07:17 gnome (470/471) =========================================================================================
                                                                     (Tracked:77 166 0)→ (Pulled:0 470 0)→ (Fetched:138 332 0)→ (Built:107 0 1)                                                                 
                                                                                              ~~~~~ Active Tasks ~~~~~                                                                                          
    [00:08:09][Build:freedesktop-sdk.bst:base/nss.bst  ] [00:06:29][Build:freedesktop-sdk.bst:base/gettext.bst] [00:03:08][Build:freedesktop-sdk.bst:base/locales.bst]
    [00:00:00][Build:freedesktop-sdk.bst:base/gnupg.bst] 
    Process Process-1437:
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 477, in recorded_messages
        yield self._log_filename
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 394, in _child_action
        self.message(MessageType.START, self.action_name, logfile=filename)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/elementjob.py", line 106, in message
        **args))
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 350, in message
        self._record_message(message)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 552, in _record_message
        self._log_handle.flush()
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
        self.run()
      File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run
        self._target(*self._args, **self._kwargs)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 448, in _child_action
        self._child_shutdown(RC_OK)
    
    
    
    BUG: Message handling out of sync, unable to retrieve failure message for element autotools element at base/gnupg.bst [line 1 column 0]
    
    
    
    
    
    ========================================================================================= 02:07:17 gnome (470/471) =========================================================================================
                                                                     (Tracked:77 166 0)→ (Pulled:0 470 0)→ (Fetched:138 332 0)→ (Built:107 0 2)                                                                 
                                                                                              ~~~~~ Active Tasks ~~~~~                                                                                          
    [00:08:09][Build:freedesktop-sdk.bst:base/nss.bst     ] [00:06:29][Build:freedesktop-sdk.bst:base/gettext.bst] [00:03:08][Build:freedesktop-sdk.bst:base/locales.bst]
    [00:00:00][Build:freedesktop-sdk.bst:base/automake.bst] 
    Process Process-1438:
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 477, in recorded_messages
        yield self._log_filename
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 394, in _child_action
        self.message(MessageType.START, self.action_name, logfile=filename)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/elementjob.py", line 106, in message
        **args))
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 350, in message
        self._record_message(message)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 552, in _record_message
        self._log_handle.flush()
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
        self.run()
      File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run
        self._target(*self._args, **self._kwargs)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 448, in _child_action
        self._child_shutdown(RC_OK)
    
    
    
    BUG: Message handling out of sync, unable to retrieve failure message for element autotools element at base/automake.bst [line 1 column 0]
    
    
    
    
    
    ========================================================================================= 02:07:17 gnome (470/471) =========================================================================================
                                                                     (Tracked:77 166 0)→ (Pulled:0 470 0)→ (Fetched:138 332 0)→ (Built:107 0 3)                                                                 
                                                                                              ~~~~~ Active Tasks ~~~~~                                                                                          
    [00:08:09][Build:freedesktop-sdk.bst:base/nss.bst  ] [00:06:30][Build:freedesktop-sdk.bst:base/gettext.bst] [00:03:08][Build:freedesktop-sdk.bst:base/locales.bst]
    [00:00:00][Build:freedesktop-sdk.bst:base/groff.bst] 
    Process Process-1439:
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 477, in recorded_messages
        yield self._log_filename
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 394, in _child_action
        self.message(MessageType.START, self.action_name, logfile=filename)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/elementjob.py", line 106, in message
        **args))
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 350, in message
        self._record_message(message)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 552, in _record_message
        self._log_handle.flush()
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
        self.run()
      File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run
        self._target(*self._args, **self._kwargs)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 448, in _child_action
        self._child_shutdown(RC_OK)
    
    
    
    BUG: Message handling out of sync, unable to retrieve failure message for element autotools element at base/groff.bst [line 1 column 0]
    
    
    
    
    
    ========================================================================================= 02:07:17 gnome (470/471) =========================================================================================
                                                                     (Tracked:77 166 0)→ (Pulled:0 470 0)→ (Fetched:138 332 0)→ (Built:107 0 4)                                                                 
                                                                                              ~~~~~ Active Tasks ~~~~~                                                                                          
    [00:08:09][Build:freedesktop-sdk.bst:base/nss.bst  ] [00:06:30][Build:freedesktop-sdk.bst:base/gettext.bst] [00:03:08][Build:freedesktop-sdk.bst:base/locales.bst]
    [00:00:00][Build:freedesktop-sdk.bst:base/bison.bst] 
    Process Process-1440:
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 477, in recorded_messages
        yield self._log_filename
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 394, in _child_action
        self.message(MessageType.START, self.action_name, logfile=filename)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/elementjob.py", line 106, in message
        **args))
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 350, in message
        self._record_message(message)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 552, in _record_message
        self._log_handle.flush()
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
        self.run()
      File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run
        self._target(*self._args, **self._kwargs)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 448, in _child_action
        self._child_shutdown(RC_OK)
    
    
    
    BUG: Message handling out of sync, unable to retrieve failure message for element autotools element at base/bison.bst [line 1 column 0]
    
    
    
    
    
    ========================================================================================= 02:07:17 gnome (470/471) =========================================================================================
                                                                     (Tracked:77 166 0)→ (Pulled:0 470 0)→ (Fetched:138 332 0)→ (Built:107 0 5)                                                                 
                                                                                              ~~~~~ Active Tasks ~~~~~                                                                                          
    [00:08:09][Build:freedesktop-sdk.bst:base/nss.bst] [00:06:30][Build:freedesktop-sdk.bst:base/gettext.bst] [00:03:08][Build:freedesktop-sdk.bst:base/locales.bst]
    [00:00:00][Build:freedesktop-sdk.bst:base/ed.bst ] 
    Process Process-1441:
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 477, in recorded_messages
        yield self._log_filename
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 394, in _child_action
        self.message(MessageType.START, self.action_name, logfile=filename)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/elementjob.py", line 106, in message
        **args))
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 350, in message
        self._record_message(message)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 552, in _record_message
        self._log_handle.flush()
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
        self.run()
      File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run
        self._target(*self._args, **self._kwargs)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 448, in _child_action
        self._child_shutdown(RC_OK)
    
    
    
    BUG: Message handling out of sync, unable to retrieve failure message for element autotools element at base/ed.bst [line 1 column 0]
    
    
    
    
    
    ========================================================================================= 02:07:17 gnome (470/471) =========================================================================================
                                                                     (Tracked:77 166 0)→ (Pulled:0 470 0)→ (Fetched:138 332 0)→ (Built:107 0 6)                                                                 
                                                                                              ~~~~~ Active Tasks ~~~~~                                                                                          
    [00:08:09][Build:freedesktop-sdk.bst:base/nss.bst] [00:06:30][Build:freedesktop-sdk.bst:base/gettext.bst] [00:03:09][Build:freedesktop-sdk.bst:base/locales.bst]
    [00:00:00][Build:freedesktop-sdk.bst:base/gdb.bst] 
    Process Process-1442:
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 477, in recorded_messages
        yield self._log_filename
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 394, in _child_action
        self.message(MessageType.START, self.action_name, logfile=filename)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/elementjob.py", line 106, in message
        **args))
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 350, in message
        self._record_message(message)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 552, in _record_message
        self._log_handle.flush()
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
        self.run()
      File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run
        self._target(*self._args, **self._kwargs)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 448, in _child_action
        self._child_shutdown(RC_OK)
    
    
    
    BUG: Message handling out of sync, unable to retrieve failure message for element autotools element at base/gdb.bst [line 1 column 0]
    
    
    
    
    
    ========================================================================================= 02:07:17 gnome (470/471) =========================================================================================
                                                                     (Tracked:77 166 0)→ (Pulled:0 470 0)→ (Fetched:138 332 0)→ (Built:107 0 7)                                                                 
                                                                                              ~~~~~ Active Tasks ~~~~~                                                                                          
    [00:08:09][Build:freedesktop-sdk.bst:base/nss.bst     ] [00:06:30][Build:freedesktop-sdk.bst:base/gettext.bst] [00:03:09][Build:freedesktop-sdk.bst:base/locales.bst]
    [00:00:00][Build:freedesktop-sdk.bst:base/intltool.bst] 
    Process Process-1443:
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 477, in recorded_messages
        yield self._log_filename
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 394, in _child_action
        self.message(MessageType.START, self.action_name, logfile=filename)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/elementjob.py", line 106, in message
        **args))
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 350, in message
        self._record_message(message)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 552, in _record_message
        self._log_handle.flush()
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
        self.run()
      File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run
        self._target(*self._args, **self._kwargs)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 448, in _child_action
        self._child_shutdown(RC_OK)
    
    
    
    BUG: Message handling out of sync, unable to retrieve failure message for element autotools element at base/intltool.bst [line 1 column 0]
    
    
    
    
    
    ========================================================================================= 02:07:18 gnome (470/471) =========================================================================================
                                                                     (Tracked:77 166 0)→ (Pulled:0 470 0)→ (Fetched:138 332 0)→ (Built:107 0 8)                                                                 
                                                                                              ~~~~~ Active Tasks ~~~~~                                                                                          
    [00:08:10][Build:freedesktop-sdk.bst:base/nss.bst   ] [00:06:30][Build:freedesktop-sdk.bst:base/gettext.bst] [00:03:09][Build:freedesktop-sdk.bst:base/locales.bst]
    [00:00:00][Build:freedesktop-sdk.bst:base/nettle.bst] 
    Process Process-1444:
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 477, in recorded_messages
        yield self._log_filename
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 394, in _child_action
        self.message(MessageType.START, self.action_name, logfile=filename)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/elementjob.py", line 106, in message
        **args))
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 350, in message
        self._record_message(message)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 552, in _record_message
        self._log_handle.flush()
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
        self.run()
      File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run
        self._target(*self._args, **self._kwargs)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 448, in _child_action
        self._child_shutdown(RC_OK)
    
    
    
    BUG: Message handling out of sync, unable to retrieve failure message for element autotools element at base/nettle.bst [line 1 column 0]
    
    
    
    
    
    Process Process-1434:
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 407, in timed_activity
        yield
      File "/codethink/GNOME/buildstream/buildstream/plugin.py", line 556, in timed_activity
        yield
      File "/codethink/GNOME/buildstream/buildstream/buildelement.py", line 186, in assemble
        self.__run_command(sandbox, cmd, command_name)
      File "/codethink/GNOME/buildstream/buildstream/buildelement.py", line 245, in __run_command
        collect=self.get_variable('install-root'))
    buildstream.element.ElementError: Command 'if [ -n "bst_build_dir" ]; then
      cd bst_build_dir
    fi
    make -j1 DESTDIR="/buildstream-install" install' failed with exitcode 2
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/element.py", line 1540, in _assemble
        collect = self.assemble(sandbox)
      File "/codethink/GNOME/buildstream/buildstream/buildelement.py", line 186, in assemble
        self.__run_command(sandbox, cmd, command_name)
      File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "/codethink/GNOME/buildstream/buildstream/plugin.py", line 556, in timed_activity
        yield
      File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 415, in timed_activity
        self.message(message)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 350, in message
        self._record_message(message)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 552, in _record_message
        self._log_handle.flush()
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 398, in _child_action
        result = self.child_process()
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/elementjob.py", line 94, in child_process
        return self._action_cb(self._element)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/queues/buildqueue.py", line 70, in process
        element._assemble()
      File "/codethink/GNOME/buildstream/buildstream/element.py", line 1584, in _assemble
        os.mkdir(assembledir)
    OSError: [Errno 28] No space left on device: '/home/tristan/.cache/buildstream/build/base-gettext-8l4uct30/artifact'
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 477, in recorded_messages
        yield self._log_filename
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 432, in _child_action
        logfile=filename)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/elementjob.py", line 106, in message
        **args))
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 350, in message
        self._record_message(message)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 552, in _record_message
        self._log_handle.flush()
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    OSError: [Errno 28] No space left on device
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
        self.run()
      File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run
        self._target(*self._args, **self._kwargs)
      File "/codethink/GNOME/buildstream/buildstream/_scheduler/jobs/job.py", line 448, in _child_action
        self._child_shutdown(RC_OK)
      File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "/codethink/GNOME/buildstream/buildstream/_context.py", line 480, in recorded_messages
        self._log_filename = None
    OSError: [Errno 28] No space left on device
    
    
    
    BUG: Message handling out of sync, unable to retrieve failure message for element autotools element at base/gettext.bst [line 1 column 0]

    Possible fixes

    Other relevant information

    The content of my buildstream.conf file:

    
    cache:
      quota: 20G

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading