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 1789813856.558600 read(0<pipe:[7159773]>, "", 258048) = 0 926 40 1789813856.558766 openat(AT_FDCWD</workspace>, "/dev/null", O_RDWR|O_CLOEXEC) = 3</dev/null<char 1:3>> 927 40 1789813856.558916 pipe2([4<pipe:[7163905]>, 5<pipe:[7163905]>], O_CLOEXEC) = 0 2739 42 1789813856.980352 close(3</usr/local/lib/python3.12/urllib/response.py>) = 0 2740 42 1789813856.981755 mkdir("/workspace/public", 0777) = 0 2741 42 1789813856.981877 mkdir("/workspace/work", 0777) = 0 2742 42 1789813856.981986 openat(AT_FDCWD</workspace>, "/workspace/input/orders.json", O_RDONLY|O_CLOEXEC) = 3</workspace/input/orders.json> 2743 42 1789813856.982078 fstat(3</workspace/input/orders.json>, {st_mode=S_IFREG|0644, st_size=119, ...}) = 0 2744 42 1789813856.982162 ioctl(3</workspace/input/orders.json>, TCGETS, 0x7fff32ccb720) = -1 ENOTTY (Inappropriate ioctl for device) 2746 42 1789813856.982338 lseek(3</workspace/input/orders.json>, 0, SEEK_CUR) = 0 2747 42 1789813856.982413 fstat(3</workspace/input/orders.json>, {st_mode=S_IFREG|0644, st_size=119, ...}) = 0 2748 42 1789813856.982495 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 2749 42 1789813856.982577 read(3</workspace/input/orders.json>, "", 1) = 0 2750 42 1789813856.982673 close(3</workspace/input/orders.json>) = 0 2751 42 1789813856.982794 openat(AT_FDCWD</workspace>, "/workspace/work/caf\303\251.txt", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 3</workspace/work/caf\303\251.txt> 2752 42 1789813856.982893 fstat(3</workspace/work/caf\303\251.txt>, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 2753 42 1789813856.982970 ioctl(3</workspace/work/caf\303\251.txt>, TCGETS, 0x7fff32ccb7a0) = -1 ENOTTY (Inappropriate ioctl for device) 2755 42 1789813856.983128 lseek(3</workspace/work/caf\303\251.txt>, 0, SEEK_CUR) = 0 2756 42 1789813856.983210 write(3</workspace/work/caf\303\251.txt>, "working data", 12) = 12 2757 42 1789813856.983299 close(3</workspace/work/caf\303\251.txt>) = 0 2758 42 1789813856.983383 openat(AT_FDCWD</workspace>, "/workspace/work/caf\303\251.txt", O_RDONLY|O_CLOEXEC) = 3</workspace/work/caf\303\251.txt> 2759 42 1789813856.983476 fstat(3</workspace/work/caf\303\251.txt>, {st_mode=S_IFREG|0600, st_size=12, ...}) = 0 2760 42 1789813856.983556 ioctl(3</workspace/work/caf\303\251.txt>, TCGETS, 0x7fff32ccb7a0) = -1 ENOTTY (Inappropriate ioctl for device) 2762 42 1789813856.983734 lseek(3</workspace/work/caf\303\251.txt>, 0, SEEK_CUR) = 0 2763 42 1789813856.983804 fstat(3</workspace/work/caf\303\251.txt>, {st_mode=S_IFREG|0600, st_size=12, ...}) = 0 2764 42 1789813856.983880 read(3</workspace/work/caf\303\251.txt>, "working data", 13) = 12 2765 42 1789813856.983955 read(3</workspace/work/caf\303\251.txt>, "", 1) = 0 2766 42 1789813856.984034 close(3</workspace/work/caf\303\251.txt>) = 0 2767 42 1789813856.984112 unlink("/workspace/work/caf\303\251.txt") = 0 2768 42 1789813856.984249 openat(AT_FDCWD</workspace>, "/workspace/public/report.json", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 3</workspace/public/report.json> 2769 42 1789813856.984350 fstat(3</workspace/public/report.json>, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 2770 42 1789813856.984430 ioctl(3</workspace/public/report.json>, TCGETS, 0x7fff32ccb7a0) = -1 ENOTTY (Inappropriate ioctl for device) 2772 42 1789813856.984568 lseek(3</workspace/public/report.json>, 0, SEEK_CUR) = 0 2773 42 1789813856.984635 write(3</workspace/public/report.json>, "{\"order_count\": 3, \"total_cents\": 3797}", 39) = 39 2774 42 1789813856.984739 close(3</workspace/public/report.json>) = 0 2895 42 1789813857.022683 ioctl(3<TCP:[7162377]>, FIONBIO, [1]) = 0 2896 42 1789813857.031978 connect(3<TCP:[7162377]>, {sa_family=AF_INET, sin_port=htons(8765), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress) 2897 42 1789813857.041584 poll([{fd=3<TCP:[127.0.0.1:56696->127.0.0.1:8765]>, events=POLLOUT|POLLERR}], 1, 2000) = 1 ([{fd=3, revents=POLLOUT}])