unikraft / pykraft

Python library for configuring and building unikernels
Other
177 stars 42 forks source link

kraft up hangs for indefinite period of time #66

Open ghost opened 3 years ago

ghost commented 3 years ago

Describe the bug kraft up hangs for indefinite period of time to proceed to next step.

To Reproduce Run kraft up -t nginx@staging my-nginx-unikernel.

Screenshots

$ kraft up -t nginx@staging my-nginx-unikernel
 100.00% :::::::::::::::::::::::::::::::::::::::: |       29 /       29 |:  app/nginx@d4c4944
 100.00% :::::::::::::::::::::::::::::::::::::::: |       77 /       77 |:  lib/nginx@d89c9a4
 100.00% :::::::::::::::::::::::::::::::::::::::: |     2364 /     2364 |:  core/unikraft@0.5
 100.00% :::::::::::::::::::::::::::::::::::::::: |       21 /       21 |:  lib/pthread-embedded@0.5
 100.00% :::::::::::::::::::::::::::::::::::::::: |       51 /       51 |:  lib/newlib@0.5
 100.00% :::::::::::::::::::::::::::::::::::::::: |       44 /       44 |:  lib/lwip@0.5
 100.00% :::::::::::::::::::::::::::::::::::::::: |       29 /       29 |:  app/nginx@d4c4944
[INFO    ] Initialized new unikraft application: /home/user/my-nginx-unikernel
make: Entering directory '/home/user/.unikraft/unikraft'
LN      Makefile
mkdir -p /home/user/my-nginx-unikernel/build/kconfig/lxdialog
make --no-print-directory CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \
obj=/home/user/my-nginx-unikernel/build/kconfig -C /home/user/.unikraft/unikraft/support/kconfig -f Makefile.br /home/user/my-nginx-unikernel/build/kconfig/conf
/usr/bin/gcc -I. -I/home/user/my-nginx-unikernel/build/kconfig -DCONFIG_=\"\"   -c fixdep.c -o /home/user/my-nginx-unikernel/build/kconfig/fixdep.o
/usr/bin/gcc -I. -I/home/user/my-nginx-unikernel/build/kconfig -DCONFIG_=\"\"   /home/user/my-nginx-unikernel/build/kconfig/fixdep.o -o /home/user/my-nginx-unikernel/build/kconfig/fixdep
/tmp/tmpiax1wgvb:16:warning: override: reassigning to symbol ARCH_X86_64
/tmp/tmpiax1wgvb:16:warning: override: ARCH_X86_64 changes choice state
/tmp/tmpiax1wgvb:17:warning: override: reassigning to symbol ARCH_X86_64
/tmp/tmpiax1wgvb:17:warning: override: ARCH_X86_64 changes choice state
/tmp/tmpiax1wgvb:19:warning: override: reassigning to symbol PLAT_KVM
/tmp/tmpiax1wgvb:20:warning: override: reassigning to symbol PLAT_KVM
#
# configuration written to /home/user/my-nginx-unikernel/.config
#
make: Leaving directory '/home/user/.unikraft/unikraft'

It took about 10 minutes to get the next lines of the outputs and to start build:

make: Entering directory '/home/user/.unikraft/unikraft'
WGET    libpthread-embedded: https://github.com/RWTH-OS/pthread-embedded/archive/44b41d760a433915d70a7be9809651b0a65e001d.zip

Even worse, every time I rerun the command I the same problem repeats over and over.

Desktop (please complete the following information):