System-call source excerpts

Line numbers refer to the complete decompressed trace. This page includes event lines and one line of context.

Download the complete compressed trace

  925  40    1789813859.713948 read(0<pipe:[7162823]>, "", 258048) = 0  926  40    1789813859.714047 openat(AT_FDCWD</workspace>, "/dev/null", O_RDWR|O_CLOEXEC) = 3</dev/null<char 1:3>>  927  40    1789813859.714149 pipe2([4<pipe:[7162830]>, 5<pipe:[7162830]>], O_CLOEXEC) = 0 2747  42    1789813860.077361 close(3</usr/local/lib/python3.12/urllib/response.py>) = 0 2748  42    1789813860.078607 mkdir("/workspace/public", 0777) = 0 2749  42    1789813860.078730 mkdir("/workspace/work", 0777) = 0 2750  42    1789813860.078825 openat(AT_FDCWD</workspace>, "/workspace/input/orders.json", O_RDONLY|O_CLOEXEC) = 3</workspace/input/orders.json> 2751  42    1789813860.078912 fstat(3</workspace/input/orders.json>, {st_mode=S_IFREG|0644, st_size=119, ...}) = 0 2752  42    1789813860.078987 ioctl(3</workspace/input/orders.json>, TCGETS, 0x7fffeae56660) = -1 ENOTTY (Inappropriate ioctl for device) 2754  42    1789813860.079127 lseek(3</workspace/input/orders.json>, 0, SEEK_CUR) = 0 2755  42    1789813860.079192 fstat(3</workspace/input/orders.json>, {st_mode=S_IFREG|0644, st_size=119, ...}) = 0 2756  42    1789813860.079264 read(3</workspace/input/orders.json>, "[{\"id\": \"order-a\", \"total_cents\": 1099}, {\"id\": \"order-b\", \"total_cents\": 2199}, {\"id\": \"order-c\", \"total_cents\": 499}]", 120) = 119 2757  42    1789813860.079335 read(3</workspace/input/orders.json>, "", 1) = 0 2758  42    1789813860.079435 close(3</workspace/input/orders.json>) = 0 2883  43    1789813860.089159 getppid()       = 42 2884  43    1789813860.089224 newfstatat(AT_FDCWD</workspace>, "/workspace", {st_mode=S_IFDIR|0755, st_size=120, ...}, 0) = 0 2885  43    1789813860.089308 newfstatat(AT_FDCWD</workspace>, ".", {st_mode=S_IFDIR|0755, st_size=120, ...}, 0) = 0 2886  43    1789813860.089386 geteuid()       = 65534 2894  43    1789813860.089890 chdir("/workspace/work") = 0 2895  43    1789813860.089961 openat(AT_FDCWD</workspace/work>, "item", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3</workspace/work/item> 2896  43    1789813860.090058 fcntl(1<pipe:[7162830]>, F_DUPFD, 10) = 10<pipe:[7162830]> 2900  43    1789813860.090335 close(3</workspace/work/item>) = 0 2901  43    1789813860.090401 write(1</workspace/work/item>, "local", 5) = 5 2902  43    1789813860.090483 dup2(10<pipe:[7162830]>, 1</workspace/work/item>) = 1<pipe:[7162830]> 3015  44    1789813860.100001 fstat(1<pipe:[7162830]>, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 3016  44    1789813860.100085 openat(AT_FDCWD</workspace/work>, "item", O_RDONLY) = 3</workspace/work/item> 3017  44    1789813860.100176 fstat(3</workspace/work/item>, {st_mode=S_IFREG|0600, st_size=5, ...}) = 0 3018  44    1789813860.100258 fadvise64(3</workspace/work/item>, 0, 0, POSIX_FADV_SEQUENTIAL) = 0 3019  44    1789813860.100334 mmap(NULL, 270336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x75ae80713000 3020  44    1789813860.100413 read(3</workspace/work/item>, "local", 262144) = 5 3021  44    1789813860.100500 write(1<pipe:[7162830]>, "local", 5 <unfinished ...> 3023  44    1789813860.100594 <... write resumed>) = 5 3024  44    1789813860.100663 read(3</workspace/work/item>,  <unfinished ...> 3025  40    1789813860.100693 read(4<pipe:[7162830]>,  <unfinished ...> 3026  44    1789813860.100717 <... read resumed>"", 262144) = 0 3027  40    1789813860.100735 <... read resumed>"local", 4096) = 5 3151  45    1789813860.110317 ioctl(0</dev/null<char 1:3>>, TCGETS, 0x7fff8cbf3610) = -1 ENOTTY (Inappropriate ioctl for device) 3152  45    1789813860.110393 newfstatat(AT_FDCWD</workspace/work>, "item", {st_mode=S_IFREG|0600, st_size=5, ...}, AT_SYMLINK_NOFOLLOW) = 0 3153  45    1789813860.110465 unlinkat(AT_FDCWD</workspace/work>, "item", 0) = 0 3154  45    1789813860.110540 lseek(0</dev/null<char 1:3>>, 0, SEEK_CUR) = 0 3167  42    1789813860.111424 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=43, si_uid=65534, si_status=0, si_utime=0, si_stime=0} --- 3168  42    1789813860.111521 openat(AT_FDCWD</workspace>, "/workspace/public/report.json", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 3</workspace/public/report.json> 3169  42    1789813860.111612 fstat(3</workspace/public/report.json>, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 3170  42    1789813860.111705 ioctl(3</workspace/public/report.json>, TCGETS, 0x7fffeae566e0) = -1 ENOTTY (Inappropriate ioctl for device) 3172  42    1789813860.111843 lseek(3</workspace/public/report.json>, 0, SEEK_CUR) = 0 3173  42    1789813860.111912 write(3</workspace/public/report.json>, "{\"order_count\": 3, \"total_cents\": 3797}", 39) = 39 3174  42    1789813860.111987 close(3</workspace/public/report.json>) = 0 3295  42    1789813860.145696 ioctl(3<TCP:[7163474]>, FIONBIO, [1]) = 0 3296  42    1789813860.152637 connect(3<TCP:[7163474]>, {sa_family=AF_INET, sin_port=htons(8765), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress) 3297  42    1789813860.159622 poll([{fd=3<TCP:[127.0.0.1:56742->127.0.0.1:8765]>, events=POLLOUT|POLLERR}], 1, 2000) = 1 ([{fd=3, revents=POLLOUT}])