Closed MehdiChinoune closed 2 years ago
I uses this:
- name: Building & Packaging uses: snapcore/action-build@v1 with: snapcraft-channel: beta snapcraft-args: --trace
It hangs:
Run snapcore/action-build@v1 Building Snapcraft project in "."... Installing Snapcraft plus dependencies /usr/bin/sg lxd -c snapcraft --trace 2022-05-2[7](https://github.com/MehdiChinoune/makhber/runs/6622451419?check_suite_focus=true#step:5:8) 0[8](https://github.com/MehdiChinoune/makhber/runs/6622451419?check_suite_focus=true#step:5:9):25:53.369 Starting Snapcraft 7.0 [20](https://github.com/MehdiChinoune/makhber/runs/6622451419?check_suite_focus=true#step:5:22)[22](https://github.com/MehdiChinoune/makhber/runs/6622451419?check_suite_focus=true#step:5:24)-05-27 08:25:53.370 Logging execution to '/home/runner/.cache/snapcraft/log/snapcraft-20220527-082553.368603.log' 2022-05-27 08:25:53.370 Raw pre-parsed sysargs: args={'help': False, 'verbose': False, 'quiet': False, 'trace': True, 'version': False} filtered=[] 2022-05-27 08:25:53.370 Using default command: 'pack' 2022-05-27 08:25:53.370 General parsed sysargs: command='pack' args=[] 2022-05-27 08:25:53.371 Command parsed sysargs: Namespace(debug=False, destructive_mode=False, directory=None, enable_developer_debug=False, enable_experimental_extensions=False, enable_experimental_target_arch=False, output=None, provider=None, target_arch=None, use_lxd=False) 2022-05-27 08:25:53.372 lifecycle command: 'pack', arguments: Namespace(debug=False, destructive_mode=False, directory=None, enable_developer_debug=False, enable_experimental_extensions=False, enable_experimental_target_arch=False, output=None, provider=None, target_arch=None, use_lxd=False) 2022-05-27 08:25:53.372 command: pack, arguments: Namespace(debug=False, destructive_mode=False, directory=None, enable_developer_debug=False, enable_experimental_extensions=False, enable_experimental_target_arch=False, output=None, provider=None, target_arch=None, use_lxd=False) 2022-05-27 08:25:53.410 Checking build provider availability 2022-05-27 08:25:53.536 Executing on host: lxc --project default profile show local:default 2022-05-27 08:25:54.[24](https://github.com/MehdiChinoune/makhber/runs/6622451419?check_suite_focus=true#step:5:26)2 Launching instance... 2022-05-27 08:[25](https://github.com/MehdiChinoune/makhber/runs/6622451419?check_suite_focus=true#step:5:27):54.243 Executing on host: lxc remote list --format=yaml 2022-05-[27](https://github.com/MehdiChinoune/makhber/runs/6622451419?check_suite_focus=true#step:5:29) 08:25:54.[31](https://github.com/MehdiChinoune/makhber/runs/6622451419?check_suite_focus=true#step:5:33)6 Executing on host: lxc remote add craft-com.ubuntu.cloud-buildd https://cloud-images.ubuntu.com/buildd/releases --protocol=simplestreams 2022-05-27 08:25:54.380 Remote 'craft-com.ubuntu.cloud-buildd' was successfully added. 2022-05-27 08:25:54.381 Executing on host: lxc project list local: --format=yaml 2022-05-27 08:25:54.452 Executing on host: lxc --project snapcraft project create local:snapcraft 2022-05-27 08:25:54.5[36](https://github.com/MehdiChinoune/makhber/runs/6622451419?check_suite_focus=true#step:5:38) Executing on host: lxc --project default profile show local:default 2022-05-27 08:25:54.611 Executing on host: lxc --project snapcraft profile edit local:default 2022-05-27 08:25:54.689 Executing on host: lxc --project snapcraft list local: --format=yaml 2022-05-27 08:25:54.759 Executing on host: lxc --project snapcraft image list local: --format=yaml 2022-05-27 08:25:54.845 Executing on host: lxc --project snapcraft info local: 2022-05-27 08:25:54.9[43](https://github.com/MehdiChinoune/makhber/runs/6622451419?check_suite_focus=true#step:5:45) Executing on host: lxc --project snapcraft launch craft-com.ubuntu.cloud-buildd:core22 local:snapcraft-makhber-546073 --config 'raw.idmap=both 1001 0' --config security.syscalls.intercept.mknod=true Error: The operation was canceled.
No response!
when https://github.com/snapcore/snapcraft/pull/3786 lands this should work again
I uses this:
It hangs: