It’s nr_inode=0 issue, please try below cmd in container and build again:
sudo sed -i 's/nr_inodes=0/nr_inodes=100k/g' /usr/lib/python2.7/site-packages/mockbuild/plugins/tmpfs.py
Mingyuan
Hi all,
When I execute the "build-pkgs" in container, below errors printed:
06:22:54 mock_update_or_init: in
06:22:55 b1: mock_update_or_init_cfg: /localdisk/loadbuild/ubuntu/starlingx/std/configs/ubuntu-starlingx-tis-r5-pike-std/ubuntu-starlingx-tis-r5-pike-std.b1.cfg
06:22:55 b1: Updating the mock environment
06:22:55 b1: /usr/bin/mock -r /localdisk/loadbuild/ubuntu/starlingx/std/configs/ubuntu-starlingx-tis-r5-pike-std/ubuntu-starlingx-tis-r5-pike-std.b1.cfg
--configdir /localdisk/loadbuild/ubuntu/starlingx/std/configs/ubuntu-starlingx-tis-r5-pike-std --update
06:22:55 b1: /usr/bin/mock -r /localdisk/loadbuild/ubuntu/starlingx/std/configs/ubuntu-starlingx-tis-r5-pike-std/ubuntu-starlingx-tis-r5-pike-std.b1.cfg
--configdir /localdisk/loadbuild/ubuntu/starlingx/std/configs/ubuntu-starlingx-tis-r5-pike-std --update
06:22:55 b1: INFO: mock.py version 1.4.13 starting (python version = 2.7.5)...
06:22:55 b1: Start: init plugins
06:22:55 b1: INFO: tmpfs initialized
06:22:55 b1: INFO: selinux disabled
06:22:55 b1: Finish: init plugins
06:22:55 b1: Start: run
06:22:55 b1: Start: chroot init
06:22:55 b1: INFO: mounting tmpfs at /localdisk/loadbuild/ubuntu/starlingx/std/mock/b1/root.
06:22:55 b1: ERROR: Command failed:
06:22:55 b1: # mount -n -t tmpfs -o mode=0755 -o nr_inodes=0 -o size=11g mock_chroot_tmpfs /localdisk/loadbuild/ubuntu/starlingx/std/mock/b1/root
06:22:55 b1:
06:22:55 b2: mock_update_or_init_cfg: /localdisk/loadbuild/ubuntu/starlingx/std/configs/ubuntu-starlingx-tis-r5-pike-std/ubuntu-starlingx-tis-r5-pike-std.b2.cfg
06:22:55 b2: Updating the mock environment
06:22:55 b2: /usr/bin/mock -r /localdisk/loadbuild/ubuntu/starlingx/std/configs/ubuntu-starlingx-tis-r5-pike-std/ubuntu-starlingx-tis-r5-pike-std.b2.cfg
--configdir /localdisk/loadbuild/ubuntu/starlingx/std/configs/ubuntu-starlingx-tis-r5-pike-std --update
06:22:55 b2: /usr/bin/mock -r /localdisk/loadbuild/ubuntu/starlingx/std/configs/ubuntu-starlingx-tis-r5-pike-std/ubuntu-starlingx-tis-r5-pike-std.b2.cfg
--configdir /localdisk/loadbuild/ubuntu/starlingx/std/configs/ubuntu-starlingx-tis-r5-pike-std --update
06:22:55 b2: INFO: mock.py version 1.4.13 starting (python version = 2.7.5)...
06:22:55 b2: Start: init plugins
06:22:55 b2: INFO: tmpfs initialized
06:22:55 b2: INFO: selinux disabled
06:22:55 b2: Finish: init plugins
06:22:55 b2: Start: run
06:22:55 b2: Start: chroot init
06:22:55 b2: INFO: mounting tmpfs at /localdisk/loadbuild/ubuntu/starlingx/std/mock/b2/root.
06:22:55 b2: ERROR: Command failed:
06:22:55 b2: # mount -n -t tmpfs -o mode=0755 -o nr_inodes=0 -o size=11g mock_chroot_tmpfs /localdisk/loadbuild/ubuntu/starlingx/std/mock/b2/root
06:22:55 b2:
06:22:55 b3: mock_update_or_init_cfg: /localdisk/loadbuild/ubuntu/starlingx/std/configs/ubuntu-starlingx-tis-r5-pike-std/ubuntu-starlingx-tis-r5-pike-std.b3.cfg
06:22:55 b3: Updating the mock environment
06:22:55 b3: /usr/bin/mock -r /localdisk/loadbuild/ubuntu/starlingx/std/configs/ubuntu-starlingx-tis-r5-pike-std/ubuntu-starlingx-tis-r5-pike-std.b3.cfg
--configdir /localdisk/loadbuild/ubuntu/starlingx/std/configs/ubuntu-starlingx-tis-r5-pike-std --update
06:22:55 b3: /usr/bin/mock -r /localdisk/loadbuild/ubuntu/starlingx/std/configs/ubuntu-starlingx-tis-r5-pike-std/ubuntu-starlingx-tis-r5-pike-std.b3.cfg
--configdir /localdisk/loadbuild/ubuntu/starlingx/std/configs/ubuntu-starlingx-tis-r5-pike-std --update
06:22:55 b3: INFO: mock.py version 1.4.13 starting (python version = 2.7.5)...
06:22:55 b3: Start: init plugins
06:22:55 b3: INFO: tmpfs initialized
06:22:55 b3: INFO: selinux disabled
06:22:55 b3: Finish: init plugins
06:22:55 b3: Start: run
06:22:55 b3: Start: chroot init
06:22:55 b3: INFO: mounting tmpfs at /localdisk/loadbuild/ubuntu/starlingx/std/mock/b3/root.
06:22:55 b3: ERROR: Command failed:
06:22:55 b3: # mount -n -t tmpfs -o mode=0755 -o nr_inodes=0 -o size=11g mock_chroot_tmpfs /localdisk/loadbuild/ubuntu/starlingx/std/mock/b3/root
The full log attached.
Who can help me to fix it? thanks
BR
Tim Xiong