[Starlingx-discuss] Mount error when executing build-pkgs
xiongzhiwei at baicells.com
xiongzhiwei at baicells.com
Wed Jan 23 00:50:06 UTC 2019
Hi Mingyuna,
After changed the nr_inode as your suggestion, I encounter a new issue as below, do you know how can I fix it?
00:43:41 Start: build phase for registry-token-server-1.0.0-1.tis.1.src.rpm
00:43:41 Start: build setup for registry-token-server-1.0.0-1.tis.1.src.rpm
00:43:41 Finish: build setup for registry-token-server-1.0.0-1.tis.1.src.rpm
00:43:41 Start: rpmbuild registry-token-server-1.0.0-1.tis.1.src.rpm
00:43:41 Start: Outputting list of installed packages
00:43:41 Finish: Outputting list of installed packages
00:43:41 ERROR: Exception(/localdisk/loadbuild/ubuntu/starlingx/std/rpmbuild/SRPMS/registry-token-server-1.0.0-1.tis.1.src.rpm) Config(mock/b0) 0 minutes 7 seconds
00:43:41 INFO: Results and/or logs in: /localdisk/loadbuild/ubuntu/starlingx/std/results/ubuntu-starlingx-tis-r5-pike-std/registry-token-server-1.0.0-1.tis.1
00:43:41 ERROR: Command failed:
00:43:41 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/registry-token-server.spec
00:43:41
00:43:42 End build on 'b0': /localdisk/loadbuild/ubuntu/starlingx/std/rpmbuild/SRPMS/registry-token-server-1.0.0-1.tis.1.src.rpm
00:43:42 Error building registry-token-server-1.0.0-1.tis.1.src.rpm on 'b0'.
00:43:42 Will try to build again (if some other package will succeed).
00:43:42 ===== iteration 1 complete =====
Thank you very much.
Tim Xiong
From: Qi, Mingyuan
Date: 2019-01-22 23:41
To: xiongzhiwei at baicells.com; starlingx-discuss
Subject: RE: [Starlingx-discuss] Mount error when executing build-pkgs
Hi Tim,
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
From: xiongzhiwei at baicells.com [mailto:xiongzhiwei at baicells.com]
Sent: Tuesday, January 22, 2019 18:32
To: starlingx-discuss <starlingx-discuss at lists.starlingx.io>
Subject: [Starlingx-discuss] Mount error when executing build-pkgs
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190123/bfdf37b0/attachment-0001.html>
More information about the Starlingx-discuss
mailing list