Open razvand opened 3 months ago
Bun (PR #79 ) cannot be connected with curl. Use the following commands to replicate:
curl
rm -fr catalog rm start-buildkit.sh wget https://raw.githubusercontent.com/unikraft/catalog-for-maintainers/main/utils/start-buildkit.sh source start-buildkit.sh git clone https://github.com/unikraft/catalog cd catalog git remote add unikraft-upb https://github.com/unikraft-upb/catalog git fetch unikraft-upb git checkout -b "$branch" unikraft-upb/"$branch" cd "$path" sed -i -e "s/# CONFIG_LIBSYSCALL_SHIM_STRACE: 'y'/CONFIG_LIBSYSCALL_SHIM_STRACE: 'y'/" -e '/CONFIG_LIBPOSIX_ENVIRON_ENVP2/a\'$'\n''\ CONFIG_LIBPOSIX_ENVIRON_ENVP2: "RUST_BACKTRACE=full"' Kraftfile kraft build --no-cache --no-update --plat qemu --arch x86_64 kraft rm --all ; kraft run --rm --log-type basic --log-level debug -M "$memory" -p "$port":"$port" .
On another console run:
curl localhost:3000
Nothing happens.
The output message is:
clock_gettime(CLOCK_0x7, <out>timespec:{tv_sec=0, tv_nsec=891933181}) = OK clock_gettime(CLOCK_0x7, <out>timespec:{tv_sec=0, tv_nsec=893065779}) = OK clock_gettime(CLOCK_REALTIME, <out>timespec:{tv_sec=1709879161, tv_nsec=794184962}) = OK openat(AT_FDCWD, "/", O_RDONLY|O_CLOEXEC|O_DIRECTORY) = fd:5 getdents64(0x5, 0x417fff5f0, ...) = 0x9d8 getdents64(0x5, 0x417fff5f0, ...) = 0x0 openat(AT_FDCWD, "/", O_RDONLY|O_CLOEXEC|O_DIRECTORY) = fd:6 close(fd:5) = OK close(fd:6) = OK mmap(NULL, 33554432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000, fd:-1, 0) = va:0x100243c000 futex(va:0x100bd94aa4, FUTEX_WAKE|FUTEX_PRIVATE_FLAG, 0x7fffffff) = OK openat(AT_FDCWD, "/dev/urandom", O_RDONLY) = fd:5 futex(va:0x100bd94aac, FUTEX_WAKE|FUTEX_PRIVATE_FLAG, 0x7fffffff) = OK read(fd:5, <out>"Ew\xF4\x17\x91wa\xD8\x10+\x97\x82b\xDAB\xB5\xCE\x0E\xCE\x00\xA5B)\x1B"..., 128) = 128 openat(AT_FDCWD, "/proc/self/cgroup", O_RDONLY|O_CLOEXEC) = No such file or directory (-2) sysinfo(0x417fffb30, 0x1005e74c02, ...) = 0x0 futex(va:0x100bd9a698, FUTEX_WAKE|FUTEX_PRIVATE_FLAG, 0x7fffffff) = OK futex(va:0x100bd94958, FUTEX_WAKE|FUTEX_PRIVATE_FLAG, 0x7fffffff) = OK futex(va:0x100bd94f18, FUTEX_WAKE|FUTEX_PRIVATE_FLAG, 0x7fffffff) = OK futex(va:0x100bd94f00, FUTEX_WAKE|FUTEX_PRIVATE_FLAG, 0x7fffffff) = OK clock_gettime(CLOCK_0x6, <out>timespec:{tv_sec=0, tv_nsec=911707796}) = OK futex(va:0x100bd97f30, FUTEX_WAKE|FUTEX_PRIVATE_FLAG, 0x7fffffff) = OK rt_sigprocmask(0x1, 0x418000ee0, ...) = 0x0 rt_sigprocmask(0x0, 0x418000e40, ...) = 0x0 getpid() = pid:1 gettid() = pid:1 tgkill(0x1, 0x1, ...) = Function not implemented (-38) rt_sigprocmask(0x2, 0x418000dc0, ...) = 0x0 rt_sigaction(0x6, 0x418000d90, ...) = 0x0 rt_sigprocmask(0x0, 0x418000e40, ...) = 0x0 getpid() = pid:1 gettid() = pid:1 tgkill(0x1, 0x1, ...) = Function not implemented (-38) rt_sigprocmask(0x2, 0x418000dc0, ...) = 0x0
The output message without logging is:
en1: Interface is up Powered by Unikraft Telesto (0.16.2~10bd3ab3)
Bun (PR #79 ) cannot be connected with
curl
. Use the following commands to replicate:On another console run:
Nothing happens.
The output message is:
The output message without logging is: