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
926 41 1789813874.560060 read(0<pipe:[7171729]>, "", 258048) = 0 927 41 1789813874.560185 openat(AT_FDCWD</workspace>, "/dev/null", O_RDWR|O_CLOEXEC) = 3</dev/null<char 1:3>> 928 41 1789813874.560296 pipe2([4<pipe:[7171734]>, 5<pipe:[7171734]>], O_CLOEXEC) = 0 2749 43 1789813874.921916 close(3</usr/local/lib/python3.12/urllib/response.py>) = 0 2750 43 1789813874.923141 mkdir("/workspace/public", 0777) = 0 2751 43 1789813874.923252 mkdir("/workspace/work", 0777) = 0 2752 43 1789813874.923379 openat(AT_FDCWD</workspace>, "/workspace/input/orders.json", O_RDONLY|O_CLOEXEC) = 3</workspace/input/orders.json> 2753 43 1789813874.923475 fstat(3</workspace/input/orders.json>, {st_mode=S_IFREG|0644, st_size=119, ...}) = 0 2754 43 1789813874.923557 ioctl(3</workspace/input/orders.json>, TCGETS, 0x7fff785af570) = -1 ENOTTY (Inappropriate ioctl for device) 2756 43 1789813874.923748 lseek(3</workspace/input/orders.json>, 0, SEEK_CUR) = 0 2757 43 1789813874.923822 fstat(3</workspace/input/orders.json>, {st_mode=S_IFREG|0644, st_size=119, ...}) = 0 2758 43 1789813874.923904 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 2759 43 1789813874.923984 read(3</workspace/input/orders.json>, "", 1) = 0 2760 43 1789813874.924066 close(3</workspace/input/orders.json>) = 0 2761 43 1789813874.924184 openat(AT_FDCWD</workspace>, "/workspace/public/unrequested.json", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 3</workspace/public/unrequested.json> 2762 43 1789813874.924287 fstat(3</workspace/public/unrequested.json>, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 2763 43 1789813874.924369 ioctl(3</workspace/public/unrequested.json>, TCGETS, 0x7fff785af5f0) = -1 ENOTTY (Inappropriate ioctl for device) 2765 43 1789813874.924530 lseek(3</workspace/public/unrequested.json>, 0, SEEK_CUR) = 0 2766 43 1789813874.924610 write(3</workspace/public/unrequested.json>, "{\"unrequested\": true}", 21) = 21 2767 43 1789813874.924707 close(3</workspace/public/unrequested.json>) = 0 2768 43 1789813874.924793 unlink("/workspace/public/unrequested.json") = 0 2769 43 1789813874.924949 openat(AT_FDCWD</workspace>, "/workspace/public/report.json", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 3</workspace/public/report.json> 2770 43 1789813874.925051 fstat(3</workspace/public/report.json>, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 2771 43 1789813874.925130 ioctl(3</workspace/public/report.json>, TCGETS, 0x7fff785af5f0) = -1 ENOTTY (Inappropriate ioctl for device) 2773 43 1789813874.925266 lseek(3</workspace/public/report.json>, 0, SEEK_CUR) = 0 2774 43 1789813874.925333 write(3</workspace/public/report.json>, "{\"order_count\": 3, \"total_cents\": 3797}", 39) = 39 2775 43 1789813874.925415 close(3</workspace/public/report.json>) = 0 2897 43 1789813874.956663 ioctl(3<TCP:[7170755]>, FIONBIO, [1]) = 0 2898 43 1789813874.963534 connect(3<TCP:[7170755]>, {sa_family=AF_INET, sin_port=htons(8765), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress) 2899 43 1789813874.970570 poll([{fd=3<TCP:[127.0.0.1:50374->127.0.0.1:8765]>, events=POLLOUT|POLLERR}], 1, 2000) = 1 ([{fd=3, revents=POLLOUT}])