Skip to content

amd64 build failing on mount and unmount #1033

@azaam1990

Description

@azaam1990

When running the build for a couple of hours it is failing with an error on mount and unmount as shown in the log output below:

DEBUG:onlrfs:Executing:sudo mount -t proc proc stretch/rootfs-amd64.d/proc
mount: mount point stretch/rootfs-amd64.d/proc does not exist
ERROR:onlrfs:Exception 'Could not mount proc in rfs.' in OnlRfsContext::__enter__
DEBUG:onlrfs:Executing:sudo umount -l stretch/rootfs-amd64.d/dev stretch/rootfs-amd64.d/proc
umount: stretch/rootfs-amd64.d/proc: mountpoint not found
ERROR:onlrfs:Could not unmount dev and proc
/home/user1/OpenNetworkLinux/make/rfs.mk:50: recipe for target 'RFS' failed
make[3]: *** [RFS] Error 1
Traceback (most recent call last):
  File "/home/user1/OpenNetworkLinux/tools/onlpm.py", line 1412, in <module>
    pm.build(p)
  File "/home/user1/OpenNetworkLinux/tools/onlpm.py", line 1087, in build
    products = pg.build(dir_=dir_)
  File "/home/user1/OpenNetworkLinux/tools/onlpm.py", line 690, in build
    self.gmake_locked("", 'Build')
  File "/home/user1/OpenNetworkLinux/tools/onlpm.py", line 665, in gmake_locked
    ex=OnlPackageError('%s failed.' % operation))
  File "/home/user1/OpenNetworkLinux/tools/onlu.py", line 126, in execute
    raise ex
onlpm.OnlPackageError: 'Build failed.'
/home/user1/OpenNetworkLinux/make/pkg.mk:30: recipe for target 'pkgall' failed
make[2]: *** [pkgall] Error 1
/home/user1/OpenNetworkLinux/make/subdirs.mk:15: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/home/user1/OpenNetworkLinux/builds/amd64'
Makefile:23: recipe for target 'amd64' failed
make: *** [amd64] Error 2
make: *** [Makefile:57: docker] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions