Console Output

Skipping 188 KB.. Full Log
14: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_probe_count" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_probe_count.py"
14: Test timeout computed to be: 10000000
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        int kprobe__schedule(void *ctx) { return 0; }\n        int kretprobe__schedule(void *ctx) { return 0; }\n        '
14:   text = _assert_is_bytes(text)
14: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        int wololo(void *ctx) {\n          return 0;\n        }\n        '
14:   text = _assert_is_bytes(text)
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:808: DeprecationWarning: not a bytes object: 'wololo'
14:   fn_name = _assert_is_bytes(fn_name)
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:809: DeprecationWarning: not a bytes object: '^vfs_.*'
14:   event_re = _assert_is_bytes(event_re)
14: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: 'int count(void *ctx) { return 0; }'
14:   text = _assert_is_bytes(text)
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:807: DeprecationWarning: not a bytes object: 'schedule'
14:   event = _assert_is_bytes(event)
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:808: DeprecationWarning: not a bytes object: 'count'
14:   fn_name = _assert_is_bytes(fn_name)
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:807: DeprecationWarning: not a bytes object: 'submit_bio'
14:   event = _assert_is_bytes(event)
14: .cannot attach kprobe, probe entry may not exist
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:807: DeprecationWarning: not a bytes object: '___doesnotexist'
14:   event = _assert_is_bytes(event)
14: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:809: DeprecationWarning: not a bytes object: '.*'
14:   event_re = _assert_is_bytes(event_re)
14: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1338: DeprecationWarning: not a bytes object: 'c'
14:   name = _assert_is_bytes(name)
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1340: DeprecationWarning: not a bytes object: '.*'
14:   sym_re = _assert_is_bytes(sym_re)
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1341: DeprecationWarning: not a bytes object: 'count'
14:   fn_name = _assert_is_bytes(fn_name)
14: .
14: ----------------------------------------------------------------------
14: Ran 6 tests in 4.030s
14: 
14: OK
14/47 Test #14: py_test_probe_count ..............   Passed    4.18 sec
test 15
      Start 15: py_test_debuginfo

15: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_debuginfo" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_debuginfo.py"
15: Test timeout computed to be: 10000000
15: ......
15: ----------------------------------------------------------------------
15: Ran 6 tests in 0.646s
15: 
15: OK
15/47 Test #15: py_test_debuginfo ................   Passed    0.89 sec
test 16
      Start 16: py_test_brb

16: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_brb_c" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_brb.py" "test_brb.c"
16: Test timeout computed to be: 10000000
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:423: DeprecationWarning: not a bytes object: 'test_brb.c'
16:   src_file = _assert_is_bytes(src_file)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'pem'
16:   func_name = _assert_is_bytes(func_name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'br1'
16:   func_name = _assert_is_bytes(func_name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'br2'
16:   func_name = _assert_is_bytes(func_name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'jump'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'pem_dest'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'pem_port'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'pem_ifindex'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'pem_stats'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'br1_dest'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'br1_mac'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'br1_rtr'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'br2_dest'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'br2_mac'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'br2_rtr'
16:   name = _assert_is_bytes(name)
16: net.ipv4.ip_forward = 1
16: ARPING 100.1.1.254 from 100.1.1.1 eth0
16: Unicast reply from 100.1.1.254 [8E:45:A6:3B:C4:5E]  1.503ms
16: Sent 1 probes (1 broadcast(s))
16: Received 1 response(s)
16: ARPING 200.1.1.254 from 200.1.1.1 eth0
16: Unicast reply from 200.1.1.254 [5E:36:FB:92:6E:D4]  0.613ms
16: Sent 1 probes (1 broadcast(s))
16: Received 1 response(s)
16: PING 200.1.1.1 (200.1.1.1) 56(84) bytes of data.
16: 64 bytes from 200.1.1.1: icmp_seq=1 ttl=63 time=0.086 ms
16: 64 bytes from 200.1.1.1: icmp_seq=2 ttl=63 time=0.068 ms
16: 
16: --- 200.1.1.1 ping statistics ---
16: 2 packets transmitted, 2 received, 0% packet loss, time 1001ms
16: rtt min/avg/max/mdev = 0.068/0.077/0.086/0.009 ms
16: [ ID] Interval       Transfer     Bandwidth
16: [  3]  0.0- 1.0 sec  2.30 GBytes  19.7 Gbits/sec
16: [ ID] Interval       Transfer     Bandwidth
16: [  4]  0.0- 1.0 sec  2.30 GBytes  19.6 Gbits/sec
16: Starting netserver with host 'IN(6)ADDR_ANY' port '12865' and family AF_UNSPEC
16: MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 200.1.1.1 () port 0 AF_INET
16: Recv   Send    Send                          
16: Socket Socket  Message  Elapsed              
16: Size   Size    Size     Time     Throughput  
16: bytes  bytes   bytes    secs.    10^6bits/sec  
16: 
16:  87380  16384  65160    1.00     16114.85   
16: MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 200.1.1.1 () port 0 AF_INET : first burst 0
16: Local /Remote
16: Socket Size   Request  Resp.   Elapsed  Trans.
16: Send   Recv   Size     Size    Time     Rate         
16: bytes  Bytes  bytes    bytes   secs.    per sec   
16: 
16: 16384  87380  1        1       1.00     22237.33   
16: 16384  87380 
16: .
16: ----------------------------------------------------------------------
16: Ran 1 test in 7.304s
16: 
16: OK
16/47 Test #16: py_test_brb ......................   Passed    7.57 sec
test 17
      Start 17: py_test_brb2

17: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_brb2_c" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_brb2.py" "test_brb2.c"
17: Test timeout computed to be: 10000000
17: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:423: DeprecationWarning: not a bytes object: 'test_brb2.c'
17:   src_file = _assert_is_bytes(src_file)
17: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'pem'
17:   func_name = _assert_is_bytes(func_name)
17: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'pem_dest'
17:   name = _assert_is_bytes(name)
17: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'pem_stats'
17:   name = _assert_is_bytes(name)
17: net.ipv4.ip_forward = 1
17: PING 200.1.1.1 (200.1.1.1) 56(84) bytes of data.
17: 64 bytes from 200.1.1.1: icmp_seq=1 ttl=63 time=0.189 ms
17: 64 bytes from 200.1.1.1: icmp_seq=2 ttl=63 time=0.092 ms
17: 
17: --- 200.1.1.1 ping statistics ---
17: 2 packets transmitted, 2 received, 0% packet loss, time 1000ms
17: rtt min/avg/max/mdev = 0.092/0.140/0.189/0.049 ms
17: [ ID] Interval       Transfer     Bandwidth
17: [  3]  0.0- 1.0 sec  2.28 GBytes  19.5 Gbits/sec
17: [ ID] Interval       Transfer     Bandwidth
17: [  4]  0.0- 1.0 sec  2.28 GBytes  19.4 Gbits/sec
17: Starting netserver with host 'IN(6)ADDR_ANY' port '12865' and family AF_UNSPEC
17: MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 200.1.1.1 () port 0 AF_INET
17: Recv   Send    Send                          
17: Socket Socket  Message  Elapsed              
17: Size   Size    Size     Time     Throughput  
17: bytes  bytes   bytes    secs.    10^6bits/sec  
17: 
17:  87380  16384  65160    1.00     18850.59   
17: MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 200.1.1.1 () port 0 AF_INET : first burst 0
17: Local /Remote
17: Socket Size   Request  Resp.   Elapsed  Trans.
17: Send   Recv   Size     Size    Time     Rate         
17: bytes  Bytes  bytes    bytes   secs.    per sec   
17: 
17: 16384  87380  1        1       1.00     19929.05   
17: 16384  87380 
17: .
17: ----------------------------------------------------------------------
17: Ran 1 test in 7.578s
17: 
17: OK
17/47 Test #17: py_test_brb2 .....................   Passed    7.84 sec
test 18
      Start 18: py_test_clang

18: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_clang" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_clang.py"
18: Test timeout computed to be: 10000000
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/blkdev.h>\n#include <uapi/linux/ptrace.h>\nint do_request(struct pt_regs *ctx, int req) {\n    bpf_trace_printk("req ptr: 0x%x\\n", req);\n    return 0;\n}\n'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'do_request'
18:   func_name = _assert_is_bytes(func_name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <bcc/proto.h>\nint dns_test(struct __sk_buff *skb) {\n    u8 *cursor = 0;\n    struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet));\n    if(ethernet->type == ETH_P_IP) {\n        struct ip_t *ip = cursor_advance(cursor, sizeof(*ip));\n        ip->src = ip->dst;\n        return 0;\n    }\n    return -1;\n}\n        '
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_HASH(table1);\nBPF_HASH(table2, u32);\nBPF_HASH(table3, u32, int);\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_PROG_ARRAY(jmp, 32);\n\n#define JMP_IDX_PIPE (1U << 1)\n\nenum action {\n    ACTION_PASS\n};\n\nint process(struct xdp_md *ctx) {\n    jmp.call((void *)ctx, ACTION_PASS);\n    jmp.call((void *)ctx, JMP_IDX_PIPE);\n    return XDP_PASS;\n}\n        '
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'jmp'
18:   name = _assert_is_bytes(name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#ifndef MYFLAG\n#error "MYFLAG not set as expected"\n#endif\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '#include <linux/blkdev.h>\nint kprobe__blk_update_request(struct pt_regs *ctx, struct request *req) {\n    bpf_trace_printk("%s\\n", req->rq_disk->disk_name);\n    return 0;\n}'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:423: DeprecationWarning: not a bytes object: 'test_clang_complex.c'
18:   src_file = _assert_is_bytes(src_file)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'handle_packet'
18:   func_name = _assert_is_bytes(func_name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nstruct list;\nstruct list {\n  struct list *selfp;\n  struct list *another_selfp;\n  struct list *selfp_array[2];\n};\nstruct empty {\n};\nunion emptyu {\n  struct empty *em1;\n  struct empty em2;\n  struct empty em3;\n  struct empty em4;\n};\nBPF_ARRAY(t1, struct list, 1);\nBPF_ARRAY(t2, struct list *, 1);\nBPF_ARRAY(t3, union emptyu, 1);\n'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 't3'
18:   name = _assert_is_bytes(name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/fs.h>\n#include <linux/mount.h>\nBPF_HASH(table1, struct super_block *);\nint trace_entry(struct pt_regs *ctx, struct file *file) {\n    if (!file) return 0;\n    struct vfsmount *mnt = file->f_path.mnt;\n    if (mnt) {\n        struct super_block *k = mnt->mnt_sb;\n        u64 zero = 0;\n        table1.update(&k, &zero);\n        k = mnt->mnt_sb;\n        table1.update(&k, &zero);\n    }\n\n    return 0;\n}\n'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'trace_entry'
18:   func_name = _assert_is_bytes(func_name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nenum b {\n    CHOICE_A,\n};\nstruct a {\n    enum b test;\n};\nBPF_HASH(drops, struct a);\n        '
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'drops'
18:   name = _assert_is_bytes(name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: 'BPF_TABLE_PUBLIC("hash", int, int, table1, 10);'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: 'BPF_TABLE("extern", int, int, table1, 10);'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'table1'
18:   name = _assert_is_bytes(name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/sched.h>\nint test(struct pt_regs *ctx) {\n    struct task_struct *task = (struct task_struct *)bpf_get_current_task();\n    return task->prio;\n}\n'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'test'
18:   func_name = _assert_is_bytes(func_name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <net/sock.h>\n#include <bcc/proto.h>\n\nBPF_HASH(currsock, u32, struct sock *);\n\nint trace_entry(struct pt_regs *ctx, struct sock *sk,\n    struct sockaddr *uaddr, int addr_len) {\n    u32 pid = bpf_get_current_pid_tgid();\n    currsock.update(&pid, &sk);\n    return 0;\n};\n\nint trace_exit(struct pt_regs *ctx) {\n    u32 pid = bpf_get_current_pid_tgid();\n    struct sock **skpp;\n    skpp = currsock.lookup(&pid);\n    if (skpp) {\n        struct sock *skp = *skpp;\n        return skp->__sk_common.skc_dport;\n    }\n    return 0;\n}\n        '
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'trace_exit'
18:   func_name = _assert_is_bytes(func_name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <net/sock.h>\n#include <bcc/proto.h>\n\nBPF_HASH(currsock, u32, struct sock *);\n\nint trace_entry(struct pt_regs *ctx, struct sock *sk,\n    struct sockaddr *uaddr, int addr_len) {\n    u32 pid = bpf_get_current_pid_tgid();\n    currsock.update(&pid, &sk);\n    return 0;\n};\n\nint trace_exit(struct pt_regs *ctx) {\n    u32 pid = bpf_get_current_pid_tgid();\n    struct sock **skpp = currsock.lookup(&pid);\n    if (skpp) {\n        struct sock *skp = *skpp;\n        return skp->__sk_common.skc_dport;\n    }\n    return 0;\n}\n        '
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <net/sock.h>\n#include <bcc/proto.h>\n\nBPF_HASH(currsock, u32, struct sock *);\n\nint trace_entry(struct pt_regs *ctx, struct sock *sk) {\n    u32 pid = bpf_get_current_pid_tgid();\n    struct sock **skp = &sk;\n    currsock.update(&pid, skp);\n    return 0;\n};\n\nint trace_exit(struct pt_regs *ctx) {\n    u32 pid = bpf_get_current_pid_tgid();\n    struct sock **skpp;\n    skpp = currsock.lookup(&pid);\n    if (skpp) {\n        struct sock *skp = *skpp;\n        return skp->__sk_common.skc_dport;\n    }\n    return 0;\n}\n        '
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <net/sock.h>\n#include <bcc/proto.h>\n\nBPF_HASH(currsock, u32, struct sock *);\n\nint trace_exit(struct pt_regs *ctx) {\n    u32 pid = bpf_get_current_pid_tgid();\n    struct sock **skpp;\n    skpp = currsock.lookup(&pid);\n    if (skpp) {\n        struct sock *skp = *skpp;\n        return skp->__sk_common.skc_dport;\n    }\n    return 0;\n}\n\nint trace_entry(struct pt_regs *ctx, struct sock *sk) {\n    u32 pid = bpf_get_current_pid_tgid();\n    currsock.update(&pid, &sk);\n    return 0;\n};\n        '
18:   text = _assert_is_bytes(text)
18: ./virtual/main.c:2:1: error: field has incomplete type 'struct key_t'
18: BPF_HASH(drops, struct key_t);
18: ^
18: /virtual/include/bcc/helpers.h:257:48: note: expanded from macro 'BPF_HASH'
18:   BPF_HASHX(__VA_ARGS__, BPF_HASH4, BPF_HASH3, BPF_HASH2, BPF_HASH1)(__VA_ARGS__)
18:                                                ^
18: /virtual/main.c:2:24: note: forward declaration of 'struct key_t'
18: BPF_HASH(drops, struct key_t);
18:                        ^
18: /virtual/main.c:2:1: error: field has incomplete type 'struct key_t'
18: BPF_HASH(drops, struct key_t);
18: ^
18: /virtual/include/bcc/helpers.h:257:48: note: expanded from macro 'BPF_HASH'
18:   BPF_HASHX(__VA_ARGS__, BPF_HASH4, BPF_HASH3, BPF_HASH2, BPF_HASH1)(__VA_ARGS__)
18:                                                ^
18: /virtual/main.c:2:24: note: forward declaration of 'struct key_t'
18: BPF_HASH(drops, struct key_t);
18:                        ^
18: 2 errors generated.
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_HASH(drops, struct key_t);\nstruct key_t {\n    u64 location;\n};\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_HASH(table1, unsigned __int128, __int128);\n'
18:   text = _assert_is_bytes(text)
18: ./virtual/main.c:6:12: error: cannot call non-static helper function
18:     return bar();
18:            ^
18: 1 error generated.
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nint bar(void) {\n    return 0;\n}\nint foo(struct pt_regs *ctx) {\n    return bar();\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/blkdev.h>\n#include <uapi/linux/ptrace.h>\n\nstruct key_t {\n    struct request *req;\n};\n\nBPF_HASH(start, struct key_t, u64, 1024);\nint do_request(struct pt_regs *ctx, struct request *req) {\n    struct key_t key = {};\n\n    bpf_trace_printk("traced start %d\\n", req->__data_len);\n\n    return 0;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/blk_types.h>\n#include <linux/blkdev.h>\n#include <linux/time64.h>\n\nBPF_PERCPU_ARRAY(rwdf_100ms, u64, 400);\n\nint do_request(struct pt_regs *ctx, struct request *rq) {\n    u32 cmd_flags;\n    u64 base, dur, slot, now = 100000;\n\n    if (!rq->start_time_ns)\n      return 0;\n\n    if (!rq->rq_disk || rq->rq_disk->major != 5 ||\n        rq->rq_disk->first_minor != 6)\n      return 0;\n\n    cmd_flags = rq->cmd_flags;\n    switch (cmd_flags & REQ_OP_MASK) {\n    case REQ_OP_READ:\n      base = 0;\n      break;\n    case REQ_OP_WRITE:\n      base = 100;\n      break;\n    case REQ_OP_DISCARD:\n      base = 200;\n      break;\n    case REQ_OP_FLUSH:\n      base = 300;\n      break;\n    default:\n      return 0;\n    }\n\n    dur = now - rq->start_time_ns;\n    slot = min_t(size_t, div_u64(dur, 100 * NSEC_PER_MSEC), 99);\n    rwdf_100ms.increment(base + slot);\n\n    return 0;\n}\n'
18:   text = _assert_is_bytes(text)
18: .s/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_HASH(dummy);\nvoid do_trace(struct pt_regs *ctx) {\n    u64 key = 0, val = 2;\n    dummy.insert(&key, &val);\n    key = 1;\n    dummy.update(&key, &val);\n}\n'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'dummy'
18:   name = _assert_is_bytes(name)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:793: DeprecationWarning: not a bytes object: 'sync'
18:   name = _assert_is_bytes(name)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:808: DeprecationWarning: not a bytes object: 'do_trace'
18:   fn_name = _assert_is_bytes(fn_name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/fs.h>\nint trace_entry(struct pt_regs *ctx, struct file *file) {\n    if (!file) return 0;\n    const char *name = file->f_path.dentry->d_name.name;\n    bpf_trace_printk("%s\\n", name);\n    return 0;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct sock {\n    u32 *sk_daddr;\n};\nint test(struct pt_regs *ctx, struct sock *skp) {\n    return *(skp->sk_daddr);\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_HASH(t1, struct bpf_tunnel_key, int, 1);\n'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 't1'
18:   name = _assert_is_bytes(name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/sched.h>\n#include <net/inet_sock.h>\nstatic inline int test_help(__be16 *addr) {\n    __be16 val = 0;\n    bpf_probe_read_kernel(&val, sizeof(val), addr);\n    return val;\n}\nint test(struct pt_regs *ctx) {\n    struct sock *sk;\n    sk = (struct sock *)PT_REGS_PARM1(ctx);\n    return test_help(&sk->sk_dport);\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'testing'
18:   name = _assert_is_bytes(name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nstruct key_t {\n  u32 f1_1;               /* offset 0 */\n  struct {\n    char f2_1;            /* offset 16 */\n    __int128 f2_2;        /* offset 32 */\n  };\n  u8 f1_3;                /* offset 48 */\n  unsigned __int128 f1_4; /* offset 64 */\n  char f1_5;              /* offset 80 */\n};\nstruct value_t {\n  u8 src[4] __attribute__ ((aligned (8))); /* offset 0 */\n  u8 dst[4] __attribute__ ((aligned (8))); /* offset 8 */\n};\nBPF_HASH(table1, struct key_t, struct value_t);\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <net/inet_sock.h>\nint trace_entry(struct pt_regs *ctx, struct sock *sk) {\n    u16 sport = ((struct inet_sock *)sk)->inet_sport;\n    return sport;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <bcc/proto.h>\nint handle_packet(void *ctx) {\n  u8 *cursor = 0;\n  struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet));\n  bpf_trace_printk("ethernet->dst = %llx, ethernet->src = %llx\\n",\n                   ethernet->dst, ethernet->src);\n  return 0;\n}\n'
18:   text = _assert_is_bytes(text)
18: ..../home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <linux/netdevice.h>\nstruct leaf { struct sk_buff *ptr; };\nint test(struct pt_regs *ctx, struct sk_buff *skb) {\n    struct leaf l = {};\n    struct leaf *lp = &l;\n    lp->ptr = skb;\n    return l.ptr->priority;\n}'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <linux/netdevice.h>\nstruct leaf { struct sk_buff *ptr; };\nint test(struct pt_regs *ctx, struct sk_buff *skb) {\n    struct leaf l = {};\n    struct leaf *lp = &l;\n    lp->ptr = skb;\n    return lp->ptr->priority;\n}'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/sched.h>\n#include <uapi/linux/ptrace.h>\nint count_sched(struct pt_regs *ctx, struct task_struct *prev) {\n    pid_t p = prev->pid;\n    return (p != -1);\n}\n'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'count_sched'
18:   func_name = _assert_is_bytes(func_name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/sched.h>\n#include <uapi/linux/ptrace.h>\nint count_foo(struct pt_regs *ctx, unsigned long a, unsigned long b) {\n    return (a != b);\n}\n'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'count_foo'
18:   func_name = _assert_is_bytes(func_name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <net/tcp.h>\n#define _(P) ({typeof(P) val = 0; bpf_probe_read_kernel(&val, sizeof(val), &P); val;})\nint count_tcp(struct pt_regs *ctx, struct sk_buff *skb) {\n    return _(TCP_SKB_CB(skb)->tcp_gso_size);\n}\n'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'count_tcp'
18:   func_name = _assert_is_bytes(func_name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <net/tcp.h>\n#define _(P) ({typeof(P) val = 0; bpf_probe_read_kernel(&val, sizeof(val), &P); val;})\nint test(struct pt_regs *ctx, struct sk_buff *skb) {\n    return _(TCP_SKB_CB(skb)->tcp_gso_size) + skb->protocol;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/ptrace.h>\n#include <linux/dcache.h>\nint test(struct pt_regs *ctx, const struct qstr *name) {\n    return name->name[1];\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/ptrace.h>\n#include <linux/dcache.h>\nint test(struct pt_regs *ctx, const struct qstr *name) {\n    return name->name  [ 1];\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/ptrace.h>\n#include <linux/dcache.h>\nint test(struct pt_regs *ctx, const struct qstr *name) {\n    return (name->name)[1];\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/ptrace.h>\nint test(struct pt_regs *ctx, char *name) {\n    return name[1];\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/ptrace.h>\nint test(struct pt_regs *ctx, char **name) {\n    return (*name)[1];\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/ptrace.h>\nstruct test_t {\n    int tab[5];\n};\nint test(struct pt_regs *ctx, struct test_t *t) {\n    return *(&t->tab[1]);\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <net/inet_sock.h>\nint test(struct pt_regs *ctx, struct sock *sk) {\n    return sk->__sk_common.skc_v6_rcv_saddr.in6_u.u6_addr32[0];\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/mm_types.h>\nint test(struct pt_regs *ctx, struct mm_struct *mm) {\n    return mm->rss_stat.count[MM_ANONPAGES].counter;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/sched.h>\n#include <net/inet_sock.h>\nint test(struct pt_regs *ctx) {\n    struct sock *newsk = (struct sock *)PT_REGS_RC(ctx);\n    return newsk->__sk_common.skc_rcv_saddr;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/fs.h>\nstatic void print_file_name(struct file *file) {\n    if (!file) return;\n    const char *name = file->f_path.dentry->d_name.name;\n    bpf_trace_printk("%s\\n", name);\n}\nstatic void print_file_name2(int unused, struct file *file) {\n    print_file_name(file);\n}\nint trace_entry1(struct pt_regs *ctx, struct file *file) {\n    print_file_name(file);\n    return 0;\n}\nint trace_entry2(struct pt_regs *ctx, int unused, struct file *file) {\n    print_file_name2(unused, file);\n    return 0;\n}\n'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'trace_entry1'
18:   func_name = _assert_is_bytes(func_name)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'trace_entry2'
18:   func_name = _assert_is_bytes(func_name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <linux/blkdev.h>\nBPF_HASH(start, struct request *);\nint do_request(struct pt_regs *ctx, struct request *req) {\n    u64 ts = bpf_ktime_get_ns();\n    start.update(&req, &ts);\n    return 0;\n}\n\nint do_completion(struct pt_regs *ctx, struct request *req) {\n    u64 *tsp = start.lookup(&req);\n    if (tsp != 0) {\n        start.delete(&req);\n    }\n    return 0;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/sched.h>\n#include <net/inet_sock.h>\nint test(struct pt_regs *ctx) {\n    struct sock *sk;\n    sk = (struct sock *)PT_REGS_PARM1(ctx);\n    return sk->sk_dport;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <linux/tcp.h>\nstatic inline u64 error_function() {\n    return 0;\n}\nstatic inline unsigned char *my_skb_transport_header(struct sk_buff *skb) {\n    if (skb)\n        return skb->head + skb->transport_header;\n    return (unsigned char *)error_function();\n}\nint test(struct pt_regs *ctx, struct sock *sk, struct sk_buff *skb) {\n    struct tcphdr *th = (struct tcphdr *)my_skb_transport_header(skb);\n    return th->seq;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <net/inet_sock.h>\nint test(struct pt_regs *ctx, struct sock *sk) {\n    struct sock *ptr1;\n    struct sock **ptr2 = &ptr1;\n    *ptr2 = sk;\n    return ((struct sock *)(*ptr2))->sk_daddr;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <net/inet_sock.h>\nint test(struct pt_regs *ctx, struct sock *sk) {\n    struct sock *ptr1;\n    struct sock **ptr2 = &ptr1;\n    struct sock ***ptr3 = &ptr2;\n    *ptr2 = sk;\n    *ptr3 = ptr2;\n    return ((struct sock *)(**ptr3))->sk_daddr;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <net/inet_sock.h>\nint test(struct pt_regs *ctx, struct sock *sk) {\n    struct sock **ptr1, **ptr2 = &sk;\n    ptr1 = &sk;\n    return (*ptr1)->sk_daddr + (*ptr2)->sk_daddr;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <net/inet_sock.h>\nstatic struct sock **subtest(struct sock **sk) {\n    return sk;\n}\nint test(struct pt_regs *ctx, struct sock *sk) {\n    struct sock **ptr1, **ptr2 = subtest(&sk);\n    ptr1 = subtest(&sk);\n    return (*ptr1)->sk_daddr + (*ptr2)->sk_daddr;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <net/inet_sock.h>\nstatic int subtest(struct sock ***skp) {\n    return ((struct sock *)(**skp))->sk_daddr;\n}\nint test(struct pt_regs *ctx, struct sock *sk) {\n    struct sock *ptr1;\n    struct sock **ptr2 = &ptr1;\n    struct sock ***ptr3 = &ptr2;\n    *ptr2 = sk;\n    *ptr3 = ptr2;\n    return subtest(ptr3);\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <net/inet_sock.h>\nint test(struct pt_regs *ctx, struct sock *skp) {\n    u32 *daddr = &skp->sk_daddr;\n    return *daddr;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct sock {\n    u32 **sk_daddr;\n};\nint test(struct pt_regs *ctx, struct sock *skp) {\n    u32 *daddr = *(skp->sk_daddr);\n    return *daddr;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./virtual/main.c:7:12: warning: incompatible pointer to integer conversion returning 'u32 *' (aka 'unsigned int *') from a function with result type 'int' [-Wint-conversion]
18:     return *(&skp->sk_daddr);
18:            ^~~~~~~~~~~~~~~~~
18: 1 warning generated.
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct sock {\n    u32 *sk_daddr;\n};\nint test(struct pt_regs *ctx, struct sock *skp) {\n    return *(&skp->sk_daddr);\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <linux/tcp.h>\nstatic inline unsigned char *my_skb_transport_header(struct sk_buff *skb) {\n    return skb->head + skb->transport_header;\n}\nint test(struct pt_regs *ctx, struct sock *sk, struct sk_buff *skb) {\n    struct tcphdr *th = (struct tcphdr *)my_skb_transport_header(skb);\n    return th->seq;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <linux/tcp.h>\nstatic inline struct tcphdr *my_skb_transport_header(struct sk_buff *skb) {\n    return (struct tcphdr *)skb->head + skb->transport_header;\n}\nint test(struct pt_regs *ctx, struct sock *sk, struct sk_buff *skb) {\n    return my_skb_transport_header(skb)->seq;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <linux/tcp.h>\nstatic inline unsigned char *my_skb_transport_header(struct sk_buff *skb) {\n    return skb->head + skb->transport_header;\n}\nint test(struct pt_regs *ctx, struct sock *sk, struct sk_buff *skb) {\n    u32 *seq = (u32 *)my_skb_transport_header(skb) + offsetof(struct tcphdr, seq);\n    return *seq;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/pkt_cls.h>\n#include <linux/if_ether.h>\nint test(struct __sk_buff *ctx) {\n    void* data_end = (void*)(long)ctx->data_end;\n    void* data = (void*)(long)ctx->data;\n    if (data + sizeof(struct ethhdr) > data_end)\n        return TC_ACT_SHOT;\n    struct ethhdr *eh = (struct ethhdr *)data;\n    if (eh->h_proto == 0x1)\n        return TC_ACT_SHOT;\n    return TC_ACT_OK;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/netdevice.h>\nTRACEPOINT_PROBE(skb, kfree_skb) {\n    struct sk_buff *skb = (struct sk_buff *)args->skbaddr;\n    return skb->protocol;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <net/tcp.h>\nint count_tcp(struct pt_regs *ctx, struct sk_buff *skb) {\n    // The below define is in net/tcp.h:\n    //    #define TCP_SKB_CB(__skb)\t((struct tcp_skb_cb *)&((__skb)->cb[0]))\n    // Note that it has AddrOf in the macro, which will cause current rewriter\n    // failing below statement\n    // return TCP_SKB_CB(skb)->tcp_gso_size;\n    u16 val = 0;\n    bpf_probe_read_kernel(&val, sizeof(val), &(TCP_SKB_CB(skb)->tcp_gso_size));\n    return val;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <net/tcp.h>\nint count_tcp(struct pt_regs *ctx, struct sk_buff *skb) {\n    // The below define is in net/tcp.h:\n    //    #define TCP_SKB_CB(__skb) ((struct tcp_skb_cb *)&((__skb)->cb[0]))\n    // Note that it has AddrOf in the macro, which will cause current rewriter\n    // failing below statement\n    // return TCP_SKB_CB(skb)->tcp_gso_size;\n    u16 val = 0;\n    bpf_probe_read_kernel(&val, sizeof(val), &(TCP_SKB_CB(skb)->tcp_gso_size));\n    return val + skb->protocol;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <linux/gfp.h>\nstruct leaf { size_t size; };\nBPF_HASH(simple_map, u32, struct leaf);\nint kprobe____kmalloc(struct pt_regs *ctx, size_t size) {\n    u32 pid = bpf_get_current_pid_tgid();\n    struct leaf* leaf = simple_map.lookup(&pid);\n    if (leaf)\n        leaf->size += size;\n    return 0;\n}'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <linux/netdevice.h>\nstruct leaf { void *ptr; };\nint test(struct pt_regs *ctx, struct sk_buff *skb) {\n    struct leaf l = {};\n    struct leaf *lp = &l;\n    lp->ptr = skb;\n    return 0;\n}'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct args_t {\n    const char *filename;\n    int flags;\n    int mode;\n};\nint do_sys_open(struct pt_regs *ctx, const char *filename,\n        int flags, int mode) {\n    struct args_t args = {};\n    args.filename = filename;\n    args.flags = flags;\n    args.mode = mode;\n    bpf_trace_printk("%s\\n", args.filename);\n    return 0;\n};\n'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:793: DeprecationWarning: not a bytes object: 'open'
18:   name = _assert_is_bytes(name)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:808: DeprecationWarning: not a bytes object: 'do_sys_open'
18:   fn_name = _assert_is_bytes(fn_name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/mm_types.h>\nint trace(struct pt_regs *ctx, struct page *page) {\n    void *p = page->mapping;\n    return p != NULL;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_PROG_ARRAY(dummy, 256);\n'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nint do_next(struct pt_regs *ctx) {\n    return 0;\n}\n'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'do_next'
18:   func_name = _assert_is_bytes(func_name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_HASH(stats, int, struct { u64 a; u64 b; u64 c:36; u64 d:28; struct { u32 a; u32 b; } s; }, 10);\nint foo(void *ctx) {\n    return 0;\n}\n'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'foo'
18:   func_name = _assert_is_bytes(func_name)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'stats'
18:   name = _assert_is_bytes(name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_HASH(stats, int, struct { u32 a[3]; u32 b; }, 10);\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nstruct Symbol {\n    char name[128];\n    char path[128];\n};\nstruct Event {\n    uint32_t pid;\n    uint32_t tid;\n    struct Symbol stack[64];\n};\nBPF_TABLE("array", int, struct Event, comms, 1);\n'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'comms'
18:   name = _assert_is_bytes(name)
18: ./virtual/main.c:1:30: error: expected expression
18: int failure(void *ctx) { if (); return 0; }
18:                              ^
18: 1 error generated.
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: 'int failure(void *ctx) { if (); return 0; }'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <linux/sched.h>\nstruct key_t {\n  u32 prev_pid;\n  u32 curr_pid;\n};\nBPF_HASH(stats, struct key_t, u64, 1024);\nint kprobe__finish_task_switch(struct pt_regs *ctx, struct task_struct *prev) {\n  struct key_t key = {};\n  u64 zero = 0, *val;\n  key.curr_pid = bpf_get_current_pid_tgid();\n  key.prev_pid = prev->pid;\n\n  val = stats.lookup_or_try_init(&key, &zero);\n  if (val) {\n    (*val)++;\n  }\n  return 0;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./virtual/main.c:3:73: error: too many arguments, bcc only supports in-register parameters
18: int many(struct pt_regs *ctx, int a, int b, int c, int d, int e, int f, int g) {
18:                                                                         ^
18: 1 error generated.
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nint many(struct pt_regs *ctx, int a, int b, int c, int d, int e, int f, int g) {\n    return 0;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/fs.h>\n#include <uapi/linux/ptrace.h>\nint trace_read_entry(struct pt_regs *ctx, struct file *file) {\n    return !file->f_op->read_iter;\n}\n        '
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:807: DeprecationWarning: not a bytes object: '__vfs_read'
18:   event = _assert_is_bytes(event)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:808: DeprecationWarning: not a bytes object: 'trace_read_entry'
18:   fn_name = _assert_is_bytes(fn_name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/blkdev.h>\nint trace_entry(struct pt_regs *ctx, struct request *req) {\n    if (!(req->bio->bi_flags & 1))\n        return 1;\n    if (((req->bio->bi_flags)))\n        return 1;\n    return 0;\n}\n'
18:   text = _assert_is_bytes(text)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_ARRAY(act, u32, 32);\n\n#define JMP_IDX_PIPE (1U << 1)\n\nenum action {\n    ACTION_PASS\n};\n\nint process(struct xdp_md *ctx) {\n    act.increment(ACTION_PASS);\n    act.increment(JMP_IDX_PIPE);\n    return XDP_PASS;\n}\n        '
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'act'
18:   name = _assert_is_bytes(name)
18: .
18: ----------------------------------------------------------------------
18: Ran 83 tests in 122.236s
18: 
18: OK (skipped=1)
18: 0
18/47 Test #18: py_test_clang ....................   Passed  122.63 sec
test 19
      Start 19: py_test_histogram

19: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_histogram" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_histogram.py"
19: Test timeout computed to be: 10000000
19: 
19: Bucket ptr = b'python'
19:      value               : count     distribution
19:          0 -> 1          : 200      |****************************************|
19: 
19: Bucket ptr = b'swapper/1'
19:                value                         : count     distribution
19:                    0 -> 1                    : 0        |                    |
19:                    2 -> 3                    : 0        |                    |
19:                    4 -> 7                    : 0        |                    |
19:                    8 -> 15                   : 0        |                    |
19:                   16 -> 31                   : 0        |                    |
19:                   32 -> 63                   : 0        |                    |
19:                   64 -> 127                  : 0        |                    |
19:                  128 -> 255                  : 0        |                    |
19:                  256 -> 511                  : 0        |                    |
19:                  512 -> 1023                 : 0        |                    |
19:                 1024 -> 2047                 : 0        |                    |
19:                 2048 -> 4095                 : 0        |                    |
19:                 4096 -> 8191                 : 0        |                    |
19:                 8192 -> 16383                : 0        |                    |
19:                16384 -> 32767                : 0        |                    |
19:                32768 -> 65535                : 0        |                    |
19:                65536 -> 131071               : 0        |                    |
19:               131072 -> 262143               : 0        |                    |
19:               262144 -> 524287               : 0        |                    |
19:               524288 -> 1048575              : 0        |                    |
19:              1048576 -> 2097151              : 0        |                    |
19:              2097152 -> 4194303              : 0        |                    |
19:              4194304 -> 8388607              : 0        |                    |
19:              8388608 -> 16777215             : 0        |                    |
19:             16777216 -> 33554431             : 0        |                    |
19:             33554432 -> 67108863             : 4        |*                   |
19:             67108864 -> 134217727            : 0        |                    |
19:            134217728 -> 268435455            : 0        |                    |
19:            268435456 -> 536870911            : 0        |                    |
19:            536870912 -> 1073741823           : 0        |                    |
19:           1073741824 -> 2147483647           : 0        |                    |
19:           2147483648 -> 4294967295           : 0        |                    |
19:           4294967296 -> 8589934591           : 0        |                    |
19:           8589934592 -> 17179869183          : 0        |                    |
19:          17179869184 -> 34359738367          : 0        |                    |
19:          34359738368 -> 68719476735          : 52       |********************|
19:          68719476736 -> 137438953471         : 0        |                    |
19:         137438953472 -> 274877906943         : 0        |                    |
19:         274877906944 -> 549755813887         : 0        |                    |
19:         549755813888 -> 1099511627775        : 2        |                    |
19: 
19: Bucket ptr = b'kworker/1:3'
19:      value               : count     distribution
19:          0 -> 1          : 0        |                                        |
19:          2 -> 3          : 0        |                                        |
19:          4 -> 7          : 0        |                                        |
19:          8 -> 15         : 0        |                                        |
19:         16 -> 31         : 0        |                                        |
19:         32 -> 63         : 0        |                                        |
19:         64 -> 127        : 0        |                                        |
19:        128 -> 255        : 0        |                                        |
19:        256 -> 511        : 0        |                                        |
19:        512 -> 1023       : 0        |                                        |
19:       1024 -> 2047       : 0        |                                        |
19:       2048 -> 4095       : 0        |                                        |
19:       4096 -> 8191       : 0        |                                        |
19:       8192 -> 16383      : 0        |                                        |
19:      16384 -> 32767      : 0        |                                        |
19:      32768 -> 65535      : 0        |                                        |
19:      65536 -> 131071     : 0        |                                        |
19:     131072 -> 262143     : 0        |                                        |
19:     262144 -> 524287     : 0        |                                        |
19:     524288 -> 1048575    : 0        |                                        |
19:    1048576 -> 2097151    : 0        |                                        |
19:    2097152 -> 4194303    : 0        |                                        |
19:    4194304 -> 8388607    : 0        |                                        |
19:    8388608 -> 16777215   : 0        |                                        |
19:   16777216 -> 33554431   : 0        |                                        |
19:   33554432 -> 67108863   : 2        |****************************************|
19: 
19: Bucket ptr = b'java'
19:      value               : count     distribution
19:          0 -> 1          : 0        |                                        |
19:          2 -> 3          : 0        |                                        |
19:          4 -> 7          : 0        |                                        |
19:          8 -> 15         : 0        |                                        |
19:         16 -> 31         : 0        |                                        |
19:         32 -> 63         : 0        |                                        |
19:         64 -> 127        : 0        |                                        |
19:        128 -> 255        : 0        |                                        |
19:        256 -> 511        : 0        |                                        |
19:        512 -> 1023       : 0        |                                        |
19:       1024 -> 2047       : 0        |                                        |
19:       2048 -> 4095       : 0        |                                        |
19:       4096 -> 8191       : 0        |                                        |
19:       8192 -> 16383      : 0        |                                        |
19:      16384 -> 32767      : 0        |                                        |
19:      32768 -> 65535      : 0        |                                        |
19:      65536 -> 131071     : 0        |                                        |
19:     131072 -> 262143     : 0        |                                        |
19:     262144 -> 524287     : 0        |                                        |
19:     524288 -> 1048575    : 0        |                                        |
19:    1048576 -> 2097151    : 0        |                                        |
19:    2097152 -> 4194303    : 0        |                                        |
19:    4194304 -> 8388607    : 0        |                                        |
19:    8388608 -> 16777215   : 0        |                                        |
19:   16777216 -> 33554431   : 0        |                                        |
19:   33554432 -> 67108863   : 52       |****************************************|
19: 
19: Bucket ptr = b'kworker/0:15'
19:      value               : count     distribution
19:          0 -> 1          : 2        |****************************************|
19: 
19: Bucket ptr = b'swapper/0'
19:                value                         : count     distribution
19:                    0 -> 1                    : 0        |                    |
19:                    2 -> 3                    : 0        |                    |
19:                    4 -> 7                    : 0        |                    |
19:                    8 -> 15                   : 0        |                    |/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <linux/sched.h>\n#include <linux/version.h>\ntypedef struct { char name[TASK_COMM_LEN]; u64 slot; } Key;\nBPF_HISTOGRAM(hist1, Key, 1024);\nint kprobe__finish_task_switch(struct pt_regs *ctx, struct task_struct *prev) {\n#if LINUX_VERSION_CODE < KERNEL_VERSION(5,5,0)\n    Key k = {.slot = bpf_log2l(prev->real_start_time)};\n#else\n    Key k = {.slot = bpf_log2l(prev->start_boottime)};\n#endif\n    if (!bpf_get_current_comm(&k.name, sizeof(k.name))) {\n        hist1.increment(k);\n        hist1.atomic_increment(k);\n    }\n    return 0;\n}\n'
19:   text = _assert_is_bytes(text)
19: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'hist1'
19:   name = _assert_is_bytes(name)
19: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <uapi/linux/fs.h>\nstruct hist_s_key {\n    u64 key_1;\n    u64 key_2;\n};\nstruct hist_key {\n    struct hist_s_key s_key;\n    u64 slot;\n};\nBPF_HISTOGRAM(mk_hist, struct hist_key, 1024);\nint kprobe__vfs_read(struct pt_regs *ctx, struct file *file,\n        char __user *buf, size_t count) {\n    struct hist_key key = {.slot = bpf_log2l(count)};\n    key.s_key.key_1 = (unsigned long)buf & 0x70;\n    key.s_key.key_2 = (unsigned long)buf & 0x7;\n    mk_hist.increment(key);\n    return 0;\n}\n'
19:   text = _assert_is_bytes(text)
19: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'mk_hist'
19:   name = _assert_is_bytes(name)
19: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct bpf_map;\nBPF_HISTOGRAM(hist1);\nBPF_HASH(stub);\nint kprobe__htab_map_delete_elem(struct pt_regs *ctx, struct bpf_map *map, u64 *k) {\n    hist1.increment(bpf_log2l(*k));\n    hist1.atomic_increment(bpf_log2l(*k));\n    return 0;\n}\n'
19:   text = _assert_is_bytes(text)
19: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'stub'
19:   name = _assert_is_bytes(name)
19: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct bpf_map;\ntypedef struct { void *map; u64 slot; } Key;\nBPF_HISTOGRAM(hist1, Key, 1024);\nBPF_HASH(stub1);\nBPF_HASH(stub2);\nint kprobe__htab_map_delete_elem(struct pt_regs *ctx, struct bpf_map *map, u64 *k) {\n    hist1.increment((Key){map, bpf_log2l(*k)});\n    hist1.atomic_increment((Key){map, bpf_log2l(*k)});\n    return 0;\n}\n'
19:   text = _assert_is_bytes(text)
19: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'stub1'
19:   name = _assert_is_bytes(name)
19: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'stub2'
19:   name = _assert_is_bytes(name)
19: .
19: ----------------------------------------------------------------------
19: Ran 4 tests in 4.137s
19: 
19: OK
19: 
19:                   16 -> 31                   : 0        |                    |
19:                   32 -> 63                   : 0        |                    |
19:                   64 -> 127                  : 0        |                    |
19:                  128 -> 255                  : 0        |                    |
19:                  256 -> 511                  : 0        |                    |
19:                  512 -> 1023                 : 0        |                    |
19:                 1024 -> 2047                 : 0        |                    |
19:                 2048 -> 4095                 : 0        |                    |
19:                 4096 -> 8191                 : 0        |                    |
19:                 8192 -> 16383                : 0        |                    |
19:                16384 -> 32767                : 0        |                    |
19:                32768 -> 65535                : 0        |                    |
19:                65536 -> 131071               : 0        |                    |
19:               131072 -> 262143               : 0        |                    |
19:               262144 -> 524287               : 0        |                    |
19:               524288 -> 1048575              : 0        |                    |
19:              1048576 -> 2097151              : 0        |                    |
19:              2097152 -> 4194303              : 0        |                    |
19:              4194304 -> 8388607              : 0        |                    |
19:              8388608 -> 16777215             : 0        |                    |
19:             16777216 -> 33554431             : 0        |                    |
19:             33554432 -> 67108863             : 0        |                    |
19:             67108864 -> 134217727            : 0        |                    |
19:            134217728 -> 268435455            : 0        |                    |
19:            268435456 -> 536870911            : 0        |                    |
19:            536870912 -> 1073741823           : 0        |                    |
19:           1073741824 -> 2147483647           : 0        |                    |
19:           2147483648 -> 4294967295           : 0        |                    |
19:           4294967296 -> 8589934591           : 0        |                    |
19:           8589934592 -> 17179869183          : 0        |                    |
19:          17179869184 -> 34359738367          : 0        |                    |
19:          34359738368 -> 68719476735          : 0        |                    |
19:          68719476736 -> 137438953471         : 0        |                    |
19:         137438953472 -> 274877906943         : 0        |                    |
19:         274877906944 -> 549755813887         : 0        |                    |
19:         549755813888 -> 1099511627775        : 202      |********************|
19: 
19: Bucket ptr = b'rcu_sched'
19:      value               : count     distribution
19:          0 -> 1          : 0        |                                        |
19:          2 -> 3          : 0        |                                        |
19:          4 -> 7          : 0        |                                        |
19:          8 -> 15         : 0        |                                        |
19:         16 -> 31         : 0        |                                        |
19:         32 -> 63         : 0        |                                        |
19:         64 -> 127        : 0        |                                        |
19:        128 -> 255        : 0        |                                        |
19:        256 -> 511        : 0        |                                        |
19:        512 -> 1023       : 0        |                                        |
19:       1024 -> 2047       : 0        |                                        |
19:       2048 -> 4095       : 0        |                                        |
19:       4096 -> 8191       : 0        |                                        |
19:       8192 -> 16383      : 0        |                                        |
19:      16384 -> 32767      : 0        |                                        |
19:      32768 -> 65535      : 0        |                                        |
19:      65536 -> 131071     : 0        |                                        |
19:     131072 -> 262143     : 0        |                                        |
19:     262144 -> 524287     : 0        |                                        |
19:     524288 -> 1048575    : 0        |                                        |
19:    1048576 -> 2097151    : 0        |                                        |
19:    2097152 -> 4194303    : 0        |                                        |
19:    4194304 -> 8388607    : 0        |                                        |
19:    8388608 -> 16777215   : 0        |                                        |
19:   16777216 -> 33554431   : 0        |                                        |
19:   33554432 -> 67108863   : 4        |****************************************|
19/47 Test #19: py_test_histogram ................   Passed    4.29 sec
test 20
      Start 20: py_array

20: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_array" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_array.py"
20: Test timeout computed to be: 10000000
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: 'BPF_ARRAY(table1, u64, 128);'
20:   text = _assert_is_bytes(text)
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'table1'
20:   name = _assert_is_bytes(name)
20: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_PERF_OUTPUT(events);\nint do_sys_nanosleep(void *ctx) {\n    struct {\n        u64 ts;\n    } data = {bpf_ktime_get_ns()};\n    events.perf_submit(ctx, &data, sizeof(data));\n    return 0;\n}\n'
20:   text = _assert_is_bytes(text)
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:793: DeprecationWarning: not a bytes object: 'nanosleep'
20:   name = _assert_is_bytes(name)
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:808: DeprecationWarning: not a bytes object: 'do_sys_nanosleep'
20:   fn_name = _assert_is_bytes(fn_name)
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:793: DeprecationWarning: not a bytes object: 'clock_nanosleep'
20:   name = _assert_is_bytes(name)
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'events'
20:   name = _assert_is_bytes(name)
20: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_PERF_OUTPUT(events);\nint do_sys_nanosleep(void *ctx) {\n    struct {\n        u64 cpu;\n    } data = {bpf_get_smp_processor_id()};\n    events.perf_submit(ctx, &data, sizeof(data));\n    return 0;\n}\n'
20:   text = _assert_is_bytes(text)
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:793: DeprecationWarning: not a bytes object: 'nanosleep'
20:   name = _assert_is_bytes(name)
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:808: DeprecationWarning: not a bytes object: 'do_sys_nanosleep'
20:   fn_name = _assert_is_bytes(fn_name)
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:793: DeprecationWarning: not a bytes object: 'clock_nanosleep'
20:   name = _assert_is_bytes(name)
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'events'
20:   name = _assert_is_bytes(name)
20: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: 'BPF_ARRAY(table1, u64, 128);'
20:   text = _assert_is_bytes(text)
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'table1'
20:   name = _assert_is_bytes(name)
20: .
20: ----------------------------------------------------------------------
20: Ran 4 tests in 1.682s
20: 
20: OK
20/47 Test #20: py_array .........................   Passed    1.83 sec
test 21
      Start 21: py_uprobes

21: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_uprobes" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_uprobes.py"
21: Test timeout computed to be: 10000000
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nBPF_TABLE("array", int, u64, stats, 1);\nstatic void incr(int idx) {\n    u64 *ptr = stats.lookup(&idx);\n    if (ptr)\n        ++(*ptr);\n}\nint count(struct pt_regs *ctx) {\n    bpf_trace_printk("count() uprobe fired");\n    u32 pid = bpf_get_current_pid_tgid();\n    if (pid == 12556)\n        incr(0);\n    return 0;\n}'
21:   text = _assert_is_bytes(text)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1338: DeprecationWarning: not a bytes object: '/tmp/libz.so.1'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1339: DeprecationWarning: not a bytes object: 'zlibVersion'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1341: DeprecationWarning: not a bytes object: 'count'
21:   fn_name = _assert_is_bytes(fn_name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1372: DeprecationWarning: not a bytes object: '/tmp/libz.so.1'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1373: DeprecationWarning: not a bytes object: 'zlibVersion'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1375: DeprecationWarning: not a bytes object: 'count'
21:   fn_name = _assert_is_bytes(fn_name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'stats'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1425: DeprecationWarning: not a bytes object: '/tmp/libz.so.1'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1426: DeprecationWarning: not a bytes object: 'zlibVersion'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1412: DeprecationWarning: not a bytes object: '/tmp/libz.so.1'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1413: DeprecationWarning: not a bytes object: 'zlibVersion'
21:   sym = _assert_is_bytes(sym)
21: .Python 2.7.15
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nBPF_ARRAY(stats, u64, 1);\nstatic void incr(int idx) {\n    u64 *ptr = stats.lookup(&idx);\n    if (ptr)\n        ++(*ptr);\n}\nint count(struct pt_regs *ctx) {\n    u32 pid = bpf_get_current_pid_tgid();\n    incr(0);\n    return 0;\n}'
21:   text = _assert_is_bytes(text)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1338: DeprecationWarning: not a bytes object: '/usr/bin/python'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1339: DeprecationWarning: not a bytes object: 'main'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1372: DeprecationWarning: not a bytes object: '/usr/bin/python'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1373: DeprecationWarning: not a bytes object: 'main'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1425: DeprecationWarning: not a bytes object: '/usr/bin/python'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1426: DeprecationWarning: not a bytes object: 'main'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1412: DeprecationWarning: not a bytes object: '/usr/bin/python'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1413: DeprecationWarning: not a bytes object: 'main'
21:   sym = _assert_is_bytes(sym)
21: .Arena 0:
21: system bytes     =   29241344
21: in use bytes     =    3139552
21: Total (incl. mmap):
21: system bytes     =   29540352
21: in use bytes     =    3438560
21: max mmap regions =          7
21: max mmap bytes   =    8712192
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nBPF_ARRAY(stats, u64, 1);\nstatic void incr(int idx) {\n    u64 *ptr = stats.lookup(&idx);\n    if (ptr)\n        ++(*ptr);\n}\nint count(struct pt_regs *ctx) {\n    bpf_trace_printk("count() uprobe fired");\n    u32 pid = bpf_get_current_pid_tgid();\n    if (pid == 12554)\n        incr(0);\n    return 0;\n}'
21:   text = _assert_is_bytes(text)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1338: DeprecationWarning: not a bytes object: 'c'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1339: DeprecationWarning: not a bytes object: 'malloc_stats'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1372: DeprecationWarning: not a bytes object: 'c'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1373: DeprecationWarning: not a bytes object: 'malloc_stats'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1425: DeprecationWarning: not a bytes object: 'c'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1426: DeprecationWarning: not a bytes object: 'malloc_stats'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1412: DeprecationWarning: not a bytes object: 'c'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1413: DeprecationWarning: not a bytes object: 'malloc_stats'
21:   sym = _assert_is_bytes(sym)
21: .
21: ----------------------------------------------------------------------
21: Ran 3 tests in 8.700s
21: 
21: OK
21/47 Test #21: py_uprobes .......................   Passed    8.86 sec
test 22
      Start 22: py_uprobes_2

22: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_uprobes2" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_uprobes2.py"
22: Test timeout computed to be: 10000000
22: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nint trace_fun_call(void *ctx) {{\n    return 1;\n}}\n'
22:   text = _assert_is_bytes(text)
22: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1338: DeprecationWarning: not a bytes object: '/tmp/tmpz1u52wpi'
22:   name = _assert_is_bytes(name)
22: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1339: DeprecationWarning: not a bytes object: 'fun'
22:   sym = _assert_is_bytes(sym)
22: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1341: DeprecationWarning: not a bytes object: 'trace_fun_call'
22:   fn_name = _assert_is_bytes(fn_name)
22: .
22: ----------------------------------------------------------------------
22: Ran 1 test in 0.317s
22: 
22: OK
22/47 Test #22: py_uprobes_2 .....................   Passed    0.48 sec
test 23
      Start 23: py_test_stackid

23: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_stackid" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_stackid.py"
23: Test timeout computed to be: 10000000
23: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct bpf_map;\nBPF_STACK_TRACE_BUILDID(stack_traces, 10240);\nBPF_HASH(stack_entries, int, int);\nBPF_HASH(stub);\nint kprobe__sys_getuid(struct pt_regs *ctx, struct bpf_map *map, u64 *k) {\n    int id = stack_traces.get_stackid(ctx, BPF_F_USER_STACK);\n    if (id < 0)\n        return 0;\n    int key = 1;\n    stack_entries.update(&key, &id);\n    return 0;\n}\n'
23:   text = _assert_is_bytes(text)
23: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'stub'
23:   name = _assert_is_bytes(name)
23: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'stack_traces'
23:   name = _assert_is_bytes(name)
23: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'stack_entries'
23:   name = _assert_is_bytes(name)
23: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct bpf_map;\nBPF_STACK_TRACE(stack_traces, 10240);\nBPF_HASH(stack_entries, int, int);\nBPF_HASH(stub);\nint kprobe__htab_map_lookup_elem(struct pt_regs *ctx, struct bpf_map *map, u64 *k) {\n    int id = stack_traces.get_stackid(ctx, BPF_F_REUSE_STACKID);\n    if (id < 0)\n        return 0;\n    int key = 1;\n    stack_entries.update(&key, &id);\n    return 0;\n}\n'
23:   text = _assert_is_bytes(text)
23: .
23: ----------------------------------------------------------------------
23: Ran 2 tests in 0.860s
23: 
23: OK
23/47 Test #23: py_test_stackid ..................   Passed    1.14 sec
test 24
      Start 24: py_test_tracepoint

24: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_tracepoint" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tracepoint.py"
24: Test timeout computed to be: 10000000
24: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        BPF_HASH(switches, u32, u64);\n        TRACEPOINT_PROBE(sched, sched_switch) {\n            u64 val = 0;\n            u32 pid = args->next_pid;\n            u64 *existing = switches.lookup_or_init(&pid, &val);\n            (*existing)++;\n            return 0;\n        }\n        '
24:   text = _assert_is_bytes(text)
24: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'switches'
24:   name = _assert_is_bytes(name)
24: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        struct value_t {\n            char filename[64];\n        };\n        BPF_HASH(execs, u32, struct value_t);\n        TRACEPOINT_PROBE(sched, sched_process_exec) {\n            struct value_t val = {0};\n            char fn[64];\n            u32 pid = args->pid;\n            struct value_t *existing = execs.lookup_or_init(&pid, &val);\n            TP_DATA_LOC_READ_CONST(fn, filename, 64);\n            __builtin_memcpy(existing->filename, fn, 64);\n            return 0;\n        }\n        '
24:   text = _assert_is_bytes(text)
24: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'execs'
24:   name = _assert_is_bytes(name)
24: .
24: ----------------------------------------------------------------------
24: Ran 2 tests in 2.556s
24: 
24: OK
24/47 Test #24: py_test_tracepoint ...............   Passed    2.81 sec
test 25
      Start 25: py_test_perf_event

25: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_perf_event" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_perf_event.py"
25: Test timeout computed to be: 10000000
25: perf_event_open: No such file or directory
25: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_PERF_ARRAY(cnt1, NUM_CPUS);\nBPF_ARRAY(prev, u64, NUM_CPUS);\nBPF_HISTOGRAM(dist);\nint do_sys_getuid(void *ctx) {\n    u32 cpu = bpf_get_smp_processor_id();\n    u64 val = cnt1.perf_read(CUR_CPU_IDENTIFIER);\n\n    if (((s64)val < 0) && ((s64)val > -256))\n        return 0;\n\n    prev.update(&cpu, &val);\n    return 0;\n}\nint do_ret_sys_getuid(void *ctx) {\n    u32 cpu = bpf_get_smp_processor_id();\n    u64 val = cnt1.perf_read(CUR_CPU_IDENTIFIER);\n\n    if (((s64)val < 0) && ((s64)val > -256))\n        return 0;\n\n    u64 *prevp = prev.lookup(&cpu);\n    if (prevp) {\n        dist.increment(bpf_log2l(val - *prevp));\n        dist.atomic_increment(bpf_log2l(val - *prevp));\n    }\n    return 0;\n}\n'
25:   text = _assert_is_bytes(text)
25: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:793: DeprecationWarning: not a bytes object: 'getuid'
25:   name = _assert_is_bytes(name)
25: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:808: DeprecationWarning: not a bytes object: 'do_sys_getuid'
25:   fn_name = _assert_is_bytes(fn_name)
25: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:840: DeprecationWarning: not a bytes object: 'do_ret_sys_getuid'
25:   fn_name = _assert_is_bytes(fn_name)
25: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'cnt1'
25:   name = _assert_is_bytes(name)
25: s
25: ----------------------------------------------------------------------
25: Ran 1 test in 0.396s
25: 
25: OK (skipped=1)
25/47 Test #25: py_test_perf_event ...............   Passed    0.59 sec
test 26
      Start 26: py_test_attach_perf_event

26: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_attach_perf_event" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_attach_perf_event.py"
26: Test timeout computed to be: 10000000
26: perf_event_open failed: No such file or directory
26: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/perf_event.h>\nstruct key_t {\n    int cpu;\n    int pid;\n    char name[100];\n};\n\nstatic inline __attribute__((always_inline)) void get_key(struct key_t* key) {\n    key->cpu = bpf_get_smp_processor_id();\n    key->pid = bpf_get_current_pid_tgid();\n    bpf_get_current_comm(&(key->name), sizeof(key->name));\n}\n\nint on_sample_hit(struct bpf_perf_event_data *ctx) {\n    struct key_t key = {};\n    get_key(&key);\n    u64 addr = 0;\n    struct bpf_perf_event_data_kern *kctx;\n    struct perf_sample_data *data;\n\n    kctx = (struct bpf_perf_event_data_kern *)ctx;\n    bpf_probe_read(&data, sizeof(struct perf_sample_data*), &(kctx->data));\n    if (data)\n        bpf_probe_read(&addr, sizeof(u64), &(data->addr));\n\n    bpf_trace_printk("test_attach_raw_event_powerpc: pid: %ld, comm: %s, addr: 0x%llx\\n", key.pid, key.name, addr);\n    return 0;\n}\n\n'
26:   text = _assert_is_bytes(text)
26: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1237: DeprecationWarning: not a bytes object: 'on_sample_hit'
26:   fn_name = _assert_is_bytes(fn_name)
26: CRITICAL:root:WARNING! Test test_attach_raw_event_powerpc (__main__.TestPerfAttachRaw) failed, but marked as passed because it is decorated with @mayFail.
26: CRITICAL:root:	The reason why this mayFail was: This fails on github actions environment, hw perf events are not supported
26: CRITICAL:root:	The failure was: "None"
26: CRITICAL:root:	Stacktrace: "Traceback (most recent call last):
26:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_attach_perf_event.py", line 59, in test_attach_raw_event_powerpc
26:     b.attach_perf_event_raw(attr=event_attr, fn_name="on_sample_hit", pid=-1, cpu=-1)
26:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py", line 1246, in attach_perf_event_raw
26:     pid, i, group_fd)
26:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py", line 1233, in _attach_perf_event_raw
26:     raise Exception("Failed to attach BPF to perf raw event")
26: Exception: Failed to attach BPF to perf raw event
26: 
26: During handling of the above exception, another exception occurred:
26: 
26: Traceback (most recent call last):
26:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/utils.py", line 36, in wrapper
26:     res = func(*args, **kwargs)
26:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_attach_perf_event.py", line 62, in test_attach_raw_event_powerpc
26:     exit()
26:   File "/usr/lib64/python3.6/_sitebuiltins.py", line 26, in __call__
26:     raise SystemExit(code)
26: SystemExit: None
26: "
26: .perf_event_open failed: No such file or directory
26: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/perf_event.h>\nstruct key_t {\n    int cpu;\n    int pid;\n    char name[100];\n};\n\nstatic inline __attribute__((always_inline)) void get_key(struct key_t* key) {\n    key->cpu = bpf_get_smp_processor_id();\n    key->pid = bpf_get_current_pid_tgid();\n    bpf_get_current_comm(&(key->name), sizeof(key->name));\n}\n\nint on_sample_hit(struct bpf_perf_event_data *ctx) {\n    struct key_t key = {};\n    get_key(&key);\n    u64 addr = ctx->addr;\n\n    bpf_trace_printk("test_attach_raw_event_x86: pid: %ld, comm: %s, addr: 0x%llx\\n", key.pid, key.name, addr);\n    return 0;\n}\n\n'
26:   text = _assert_is_bytes(text)
26: CRITICAL:root:WARNING! Test test_attach_raw_event_x86 (__main__.TestPerfAttachRaw) failed, but marked as passed because it is decorated with @mayFail.
26: CRITICAL:root:	The reason why this mayFail was: This fails on github actions environment, hw perf events are not supported
26: CRITICAL:root:	The failure was: "None"
26: CRITICAL:root:	Stacktrace: "Traceback (most recent call last):
26:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_attach_perf_event.py", line 105, in test_attach_raw_event_x86
26:     b.attach_perf_event_raw(attr=event_attr, fn_name="on_sample_hit", pid=-1, cpu=-1)
26:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py", line 1246, in attach_perf_event_raw
26:     pid, i, group_fd)
26:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py", line 1233, in _attach_perf_event_raw
26:     raise Exception("Failed to attach BPF to perf raw event")
26: Exception: Failed to attach BPF to perf raw event
26: 
26: During handling of the above exception, another exception occurred:
26: 
26: Traceback (most recent call last):
26:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/utils.py", line 36, in wrapper
26:     res = func(*args, **kwargs)
26:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_attach_perf_event.py", line 108, in test_attach_raw_event_x86
26:     exit()
26:   File "/usr/lib64/python3.6/_sitebuiltins.py", line 26, in __call__
26:     raise SystemExit(code)
26: SystemExit: None
26: "
26: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/perf_event.h>\nstruct key_t {\n    int cpu;\n    int pid;\n    char name[100];\n};\n\nstatic inline __attribute__((always_inline)) void get_key(struct key_t* key) {\n    key->cpu = bpf_get_smp_processor_id();\n    key->pid = bpf_get_current_pid_tgid();\n    bpf_get_current_comm(&(key->name), sizeof(key->name));\n}\n\nint on_sample_hit(struct bpf_perf_event_data *ctx) {\n    struct key_t key = {};\n    get_key(&key);\n    u64 addr = ctx->addr;\n\n    bpf_trace_printk("test_attach_raw_sw_event: pid: %ld, comm: %s, addr: 0x%llx\\n", key.pid, key.name, addr);\n    return 0;\n}\n\n'
26:   text = _assert_is_bytes(text)
26: .
26: ----------------------------------------------------------------------
26: Ran 3 tests in 7.309s
26: 
26: OK
26: Failed to attach to a raw event. Please check the event attr used
26: Failed to attach to a raw event. Please check the event attr used
26: Running for 1 seconds or hit Ctrl-C to end. Check trace file for samples information written by bpf_trace_printk.
26/47 Test #26: py_test_attach_perf_event ........   Passed    7.55 sec
test 27
      Start 27: py_test_utils

27: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_utils" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_utils.py"
27: Test timeout computed to be: 10000000
27: ..
27: ----------------------------------------------------------------------
27: Ran 2 tests in 0.001s
27: 
27: OK
27/47 Test #27: py_test_utils ....................   Passed    0.15 sec
test 28
      Start 28: py_test_percpu

28: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_percpu" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_percpu.py"
28: Test timeout computed to be: 10000000
28: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: 'BPF_PERCPU_ARRAY(stub, u32, 1);'
28:   text = _assert_is_bytes(text)
28: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        BPF_PERCPU_ARRAY(stub_default);\n        BPF_PERCPU_ARRAY(stub_type, u64);\n        BPF_PERCPU_ARRAY(stub_full, u64, 1024);\n        '
28:   text = _assert_is_bytes(text)
28: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        typedef struct counter {\n        u32 c1;\n        u32 c2;\n        } counter;\n        BPF_PERCPU_HASH(stats, u32, counter, 1);\n        int hello_world(void *ctx) {\n            u32 key=0;\n            counter value = {0,0}, *val;\n            val = stats.lookup_or_try_init(&key, &value);\n            if (val) {\n                val->c1 += 1;\n                val->c2 += 1;\n            }\n            return 0;\n        }\n        '
28:   text = _assert_is_bytes(text)
28: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'stats'
28:   name = _assert_is_bytes(name)
28: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:793: DeprecationWarning: not a bytes object: 'clone'
28:   name = _assert_is_bytes(name)
28: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:808: DeprecationWarning: not a bytes object: 'hello_world'
28:   fn_name = _assert_is_bytes(fn_name)
28: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        BPF_PERCPU_ARRAY(stats, u32, 1);\n        int hello_world(void *ctx) {\n            u32 key=0;\n            u32 value = 0, *val;\n            val = stats.lookup_or_try_init(&key, &value);\n            if (val) {\n                *val += 1;\n            }\n            return 0;\n        }\n        '
28:   text = _assert_is_bytes(text)
28: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        BPF_PERCPU_HASH(stats, u32, u64, 1);\n        int hello_world(void *ctx) {\n            u32 key=0;\n            u64 value = 0, *val;\n            val = stats.lookup_or_try_init(&key, &value);\n            if (val) {\n                *val += 1;\n            }\n            return 0;\n        }\n        '
28:   text = _assert_is_bytes(text)
28: .
28: ----------------------------------------------------------------------
28: Ran 4 tests in 2.337s
28: 
28: OK
28/47 Test #28: py_test_percpu ...................   Passed    2.50 sec
test 29
      Start 29: py_test_dump_func

29: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_dump_func" "simple" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_dump_func.py"
29: Test timeout computed to be: 10000000
29: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n            int entry(void)\n            {\n                return 1;\n            }'
29:   text = _assert_is_bytes(text)
29: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:539: DeprecationWarning: not a bytes object: 'entry'
29:   func_name = _assert_is_bytes(func_name)
29: .
29: ----------------------------------------------------------------------
29: Ran 1 test in 0.182s
29: 
29: OK
29/47 Test #29: py_test_dump_func ................   Passed    0.32 sec
test 30
      Start 30: py_test_disassembler

30: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_disassembler" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_disassembler.py"
30: Test timeout computed to be: 10000000
30: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n            struct key_t {int a; short b; struct {int c:4; int d:8;} e;} __attribute__((__packed__));\n            BPF_HASH(test_map, struct key_t);\n            int test_func(void)\n            {\n                return 1;\n            }'
30:   text = _assert_is_bytes(text)
30: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:539: DeprecationWarning: not a bytes object: 'test_func'
30:   func_name = _assert_is_bytes(func_name)
30: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'test_map'
30:   name = _assert_is_bytes(name)
30: .
30: ----------------------------------------------------------------------
30: Ran 2 tests in 0.289s
30: 
30: OK
30/47 Test #30: py_test_disassembler .............   Passed    0.44 sec
test 31
      Start 31: py_test_tools_smoke

31: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_tools_smoke" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py"
31: Test timeout computed to be: 10000000
31: Traceback (most recent call last):
31:   File "../../tools/argdist.py", line 723, in run
31:     self._main_loop()
31:   File "../../tools/argdist.py", line 713, in _main_loop
31:     exit()
31:   File "/usr/lib64/python2.7/site.py", line 355, in __call__
31:     raise SystemExit(code)
31: SystemExit: None
31: .....'unknown': unknown terminal type.
31: .'unknown': unknown terminal type.
31: 'unknown': unknown terminal type.
31: 'unknown': unknown terminal type.
31: .....................'unknown': unknown terminal type.
31: ....../bin/sh: line 1: 12719 Killed                  timeout -s KILL -k 5s 5s ../../tools/killsnoop.py > /dev/null
31: .s........WARNING: 1 stack traces lost and could not be displayed.
31: ..libbpf: failed to find valid kernel BTF
31: libbpf: vmlinux BTF is not found
31: ......'unknown': unknown terminal type.
31: ...............'unknown': unknown terminal type.
31: ...'unknown': unknown terminal type.
31: .....'unknown': unknown terminal type.
31: ...libbpf: failed to find valid kernel BTF
31: libbpf: vmlinux BTF is not found
31: ......
31: ----------------------------------------------------------------------
31: Ran 83 tests in 280.950s
31: 
31: OK (skipped=1)
31/47 Test #31: py_test_tools_smoke ..............   Passed  281.14 sec
test 32
      Start 32: py_test_tools_memleak

32: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_tools_memleak" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_memleak.py"
32: Test timeout computed to be: 10000000
32: ........
32: ----------------------------------------------------------------------
32: Ran 8 tests in 23.061s
32: 
32: OK
32/47 Test #32: py_test_tools_memleak ............   Passed   23.26 sec
test 33
      Start 33: py_test_usdt

33: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_usdt" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_usdt.py"
33: Test timeout computed to be: 10000000
33: <stdin>:23:17: warning: null character(s) preserved in literal
33: <stdin>:28:17: warning: null character(s) preserved in literal
33: clang -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm-bc -emit-llvm-uselists -disable-free -disable-llvm-verifier -discard-value-names -main-file-name main.c -mrelocation-model static -mthread-model posix -fno-jump-tables -fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file /usr/src/kernels/4.17.12-200.fc28.x86_64/main.gcno -nostdsysteminc -nobuiltininc -resource-dir lib64/clang/6.0.1 -isystem /virtual/lib/clang/include -include ./include/linux/kconfig.h -include /virtual/include/bcc/bpf.h -include /virtual/include/bcc/bpf_workaround.h -include /virtual/include/bcc/helpers.h -isystem /virtual/include -I /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python -D __BPF_TRACING__ -I arch/x86/include/ -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include/generated -I include -I /lib/modules/4.17.12-200.fc28.x86_64/build/include -I arch/x86/include/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include/generated/uapi -I include/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/include/generated/uapi -D __KERNEL__ -D KBUILD_MODNAME="bcc" -O2 -Wno-deprecated-declarations -Wno-gnu-variable-sized-type-not-at-end -Wno-pragma-once-outside-header -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-unused-value -Wno-pointer-sign -fdebug-compilation-dir /usr/src/kernels/4.17.12-200.fc28.x86_64 -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o main.bc -x c /virtual/main.c
33: #if defined(BPF_LICENSE)
33: #error BPF_LICENSE cannot be specified through cflags
33: #endif
33: #if !defined(CONFIG_CC_STACKPROTECTOR)
33: #if defined(CONFIG_CC_STACKPROTECTOR_AUTO) \
33:     || defined(CONFIG_CC_STACKPROTECTOR_REGULAR) \
33:     || defined(CONFIG_CC_STACKPROTECTOR_STRONG)
33: #define CONFIG_CC_STACKPROTECTOR
33: #endif
33: #endif
33: #define bpf_probe_read_kernel bpf_probe_read
33: #define bpf_probe_read_kernel_str bpf_probe_read_str
33: #define bpf_probe_read_user bpf_probe_read
33: #define bpf_probe_read_user_str bpf_probe_read_str
33: #include <uapi/linux/ptrace.h>
33: __attribute__((always_inline))
33: static __always_inline int _bpf_readarg_do_trace1_1(struct pt_regs *ctx, void *dest, size_t len) {
33:   if (len != sizeof(int8_t)) return -1;
33:   switch(PT_REGS_IP(ctx)) {
33:   case 0x400687ULL: *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
33:   case 0x400690ULL: *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
33:   }
33:   return -1;
33: }
33: __attribute__((always_inline))
33: static __always_inline int _bpf_readarg_do_trace1_2(struct pt_regs *ctx, void *dest, size_t len) {
33:   if (len != sizeof(int32_t)) return -1;
33:   switch(PT_REGS_IP(ctx)) {
33:   case 0x400687ULL: { u64 __addr = ctx->bp + -24; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read_user(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
33:   case 0x400690ULL: { u64 __addr = ctx->bp + -20; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read_user(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
33:   }
33:   return -1;
33: }
33: __attribute__((always_inline))
33: static __always_inline int _bpf_readarg_do_trace3_1(struct pt_regs *ctx, void *dest, size_t len) {
33:   if (len != sizeof(int32_t)) return -1;
33:   switch(PT_REGS_IP(ctx)) {
33:   case 0x400688ULL: { u64 __addr = ctx->bp + -20; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read_user(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
33:   case 0x4006a7ULL: *((int32_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
33:   }
33:   return -1;
33: }
33: __attribute__((always_inline))
33: static __always_inline int _bpf_readarg_do_trace3_2(struct pt_regs *ctx, void *dest, size_t len) {
33:   if (len != sizeof(int32_t)) return -1;
33:   switch(PT_REGS_IP(ctx)) {
33:   case 0x400688ULL: { u64 __addr = ctx->bp + -24; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read_user(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
33:   case 0x4006a7ULL: *((int32_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory"); return 0;
33:   }
33:   return -1;
33: }
33: __attribute__((always_inline))
33: static __always_inline int _bpf_readarg_do_trace2_1(struct pt_regs *ctx, void *dest, size_t len) {
33:   if (len != sizeof(int32_t)) return -1;
33:   *((int32_t *)dest) = 5;
33:   return 0;
33: }
33: __attribute__((always_inline))
33: static __always_inline int _bpf_readarg_do_trace2_2(struct pt_regs *ctx, void *dest, size_t len) {
33:   if (len != sizeof(int8_t)) return -1;
33:   *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
33:   return 0;
33: }
33: __attribute__((always_inline))
33: static __always_inline int _bpf_readarg_do_trace4_1(struct pt_regs *ctx, void *dest, size_t len) {
33:   if (len != sizeof(int64_t)) return -1;
33:   *((int64_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
33:   return 0;
33: }
33: __attribute__((always_inline))
33: static __always_inline int _bpf_readarg_do_trace4_2(struct pt_regs *ctx, void *dest, size_t len) {
33:   if (len != sizeof(int64_t)) return -1;
33:   *((int64_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory");
33:   return 0;
33: }
33: __attribute__((always_inline))
33: static __always_inline int _bpf_readarg_do_trace5_1(struct pt_regs *ctx, void *dest, size_t len) {
33:   if (len != sizeof(int64_t)) return -1;
33:   *((int64_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory");
33:   return 0;
33: }
33: __attribute__((always_inline))
33: static __always_inline int _bpf_readarg_do_trace5_2(struct pt_regs *ctx, void *dest, size_t len) {
33:   if (len != sizeof(int64_t)) return -1;
33:   *((int64_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
33:   return 0;
33: }
33: 
33: #include <linux/blkdev.h>
33: #include <uapi/linux/ptrace.h>
33: 
33: struct probe_result_t1 {
33:   char v1;
33:   int  v2;
33: };
33: 
33: struct probe_result_t2 {
33:   int  v1;
33:   char v2;
33: };
33: 
33: struct probe_result_t3 {
33:   int v1;
33:   int v2;
33: };
33: 
33: struct probe_result_t4 {
33:   u64  v1;
33:   char v2[8];
33: };
33: 
33: struct probe_result_t5 {
33:   char v1[8];
33:   u64  v2;
33: };
33: 
33: BPF_PERF_OUTPUT(event1);
33: BPF_PERF_OUTPUT(event2);
33: BPF_PERF_OUTPUT(event3);
33: BPF_PERF_OUTPUT(event4);
33: BPF_PERF_OUTPUT(event5);
33: 
33: __attribute__((section(".bpf.fn.do_trace1")))
33: int do_trace1(struct pt_regs *ctx) {
33: 
33:     struct probe_result_t1 result = {};
33:     _bpf_readarg_do_trace1_1(ctx, &result.v1, sizeof(*(&result.v1)));
33:     _bpf_readarg_do_trace1_2(ctx, &result.v2, sizeof(*(&result.v2)));
33:     bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -1), CUR_CPU_IDENTIFIER, &result, sizeof(result));
33:     return 0;
33: };
33: __attribute__((section(".bpf.fn.do_trace2")))
33: int do_trace2(struct pt_regs *ctx) {
33: 
33:     struct probe_result_t2 result = {};
33:     _bpf_readarg_do_trace2_1(ctx, &result.v1, sizeof(*(&result.v1)));
33:     _bpf_readarg_do_trace2_2(ctx, &result.v2, sizeof(*(&result.v2)));
33:     bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -2), CUR_CPU_IDENTIFIER, &result, sizeof(result));
33:     return 0;
33: }
33: __attribute__((section(".bpf.fn.do_trace3")))
33: int do_trace3(struct pt_regs *ctx) {
33: 
33:     struct probe_result_t3 result = {};
33:     _bpf_readarg_do_trace3_1(ctx, &result.v1, sizeof(*(&result.v1)));
33:     _bpf_readarg_do_trace3_2(ctx, &result.v2, sizeof(*(&result.v2)));
33:     bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -3), CUR_CPU_IDENTIFIER, &result, sizeof(result));
33:     return 0;
33: }
33: __attribute__((section(".bpf.fn.do_trace4")))
33: int do_trace4(struct pt_regs *ctx) {
33: 
33:     struct probe_result_t4 result = {};
33:     _bpf_readarg_do_trace4_1(ctx, &result.v1, sizeof(*(&result.v1)));
33:     ({ u64 __addr = 0x0; _bpf_readarg_do_trace4_2(ctx, &__addr, sizeof(__addr));bpf_probe_read(&result.v2, sizeof(result.v2), (void *)__addr);});
33:     bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -4), CUR_CPU_IDENTIFIER, &result, sizeof(result));
33:     return 0;
33: }
33: __attribute__((section(".bpf.fn.do_trace5")))
33: int do_trace5(struct pt_regs *ctx) {
33: 
33:     struct probe_result_t5 result = {};
33:     ({ u64 __addr = 0x0; _bpf_readarg_do_trace5_1(ctx, &__addr, sizeof(__addr));bpf_probe_read(&result.v1, sizeof(result.v1), (void *)__addr);});
33:     _bpf_readarg_do_trace5_2(ctx, &result.v2, sizeof(*(&result.v2)));
33:     bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -5), CUR_CPU_IDENTIFIER, &result, sizeof(result));
33:     return 0;
33: }
33: 
33: #include <bcc/footer.h>
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <linux/blkdev.h>\n#include <uapi/linux/ptrace.h>\n\nstruct probe_result_t1 {\n  char v1;\n  int  v2;\n};\n\nstruct probe_result_t2 {\n  int  v1;\n  char v2;\n};\n\nstruct probe_result_t3 {\n  int v1;\n  int v2;\n};\n\nstruct probe_result_t4 {\n  u64  v1;\n  char v2[8];\n};\n\nstruct probe_result_t5 {\n  char v1[8];\n  u64  v2;\n};\n\nBPF_PERF_OUTPUT(event1);\nBPF_PERF_OUTPUT(event2);\nBPF_PERF_OUTPUT(event3);\nBPF_PERF_OUTPUT(event4);\nBPF_PERF_OUTPUT(event5);\n\nint do_trace1(struct pt_regs *ctx) {\n    struct probe_result_t1 result = {};\n    bpf_usdt_readarg(1, ctx, &result.v1);\n    bpf_usdt_readarg(2, ctx, &result.v2);\n    event1.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n};\nint do_trace2(struct pt_regs *ctx) {\n    struct probe_result_t2 result = {};\n    bpf_usdt_readarg(1, ctx, &result.v1);\n    bpf_usdt_readarg(2, ctx, &result.v2);\n    event2.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n}\nint do_trace3(struct pt_regs *ctx) {\n    struct probe_result_t3 result = {};\n    bpf_usdt_readarg(1, ctx, &result.v1);\n    bpf_usdt_readarg(2, ctx, &result.v2);\n    event3.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n}\nint do_trace4(struct pt_regs *ctx) {\n    struct probe_result_t4 result = {};\n    bpf_usdt_readarg(1, ctx, &result.v1);\n    bpf_usdt_readarg_p(2, ctx, &result.v2, sizeof(result.v2));\n    event4.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n}\nint do_trace5(struct pt_regs *ctx) {\n    struct probe_result_t5 result = {};\n    bpf_usdt_readarg_p(1, ctx, &result.v1, sizeof(result.v1));\n    bpf_usdt_readarg(2, ctx, &result.v2);\n    event5.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n}\n'
33:   text = _assert_is_bytes(text)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1338: DeprecationWarning: not a bytes object: '/proc/12924/root/tmp/tmp9jz8m381'
33:   name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1341: DeprecationWarning: not a bytes object: 'do_trace1'
33:   fn_name = _assert_is_bytes(fn_name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1341: DeprecationWarning: not a bytes object: 'do_trace3'
33:   fn_name = _assert_is_bytes(fn_name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1341: DeprecationWarning: not a bytes object: 'do_trace2'
33:   fn_name = _assert_is_bytes(fn_name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1341: DeprecationWarning: not a bytes object: 'do_trace4'
33:   fn_name = _assert_is_bytes(fn_name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1341: DeprecationWarning: not a bytes object: 'do_trace5'
33:   fn_name = _assert_is_bytes(fn_name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'event1'
33:   name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'event2'
33:   name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'event3'
33:   name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'event4'
33:   name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'event5'
33:   name = _assert_is_bytes(name)
33: .
33: ----------------------------------------------------------------------
33: Ran 1 test in 5.057s
33: 
33: OK
33: b'str6'
33: b'str7'
33: b'str8'
33: b'str9'
33: b'str10'
33: b'str11'
33: Running from kernel directory at: /lib/modules/4.17.12-200.fc28.x86_64/source
33/47 Test #33: py_test_usdt .....................   Passed    5.33 sec
test 34
      Start 34: py_test_usdt2

34: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_usdt2" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_usdt2.py"
34: Test timeout computed to be: 10000000
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n\nBPF_PERF_OUTPUT(event1);\nBPF_PERF_OUTPUT(event2);\nBPF_PERF_OUTPUT(event3);\nBPF_PERF_OUTPUT(event4);\nBPF_PERF_OUTPUT(event5);\nBPF_PERF_OUTPUT(event6);\n\nint do_trace1(struct pt_regs *ctx) {\n    u32 pid = bpf_get_current_pid_tgid();\n    int result = 0;\n    bpf_usdt_readarg(1, ctx, &result);\n    if (pid == 12934)\n      event1.perf_submit(ctx, &result, sizeof(result));\n    else\n      event4.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n};\nint do_trace2(struct pt_regs *ctx) {\n    u32 pid = bpf_get_current_pid_tgid();\n    int result = 0;\n    bpf_usdt_readarg(1, ctx, &result);\n    if (pid == 12934)\n      event2.perf_submit(ctx, &result, sizeof(result));\n    else\n      event5.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n}\nint do_trace3(struct pt_regs *ctx) {\n    u32 pid = bpf_get_current_pid_tgid();\n    int result = 0;\n    bpf_usdt_readarg(1, ctx, &result);\n    if (pid == 12934)\n      event3.perf_submit(ctx, &result, sizeof(result));\n    else\n      event6.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n}\n'
34:   text = _assert_is_bytes(text)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1338: DeprecationWarning: not a bytes object: '/proc/12934/root/tmp/tmpho7u0ib6'
34:   name = _assert_is_bytes(name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1341: DeprecationWarning: not a bytes object: 'do_trace1'
34:   fn_name = _assert_is_bytes(fn_name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1341: DeprecationWarning: not a bytes object: 'do_trace2'
34:   fn_name = _assert_is_bytes(fn_name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1338: DeprecationWarning: not a bytes object: '/proc/12935/root/tmp/tmpho7u0ib6'
34:   name = _assert_is_bytes(name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1341: DeprecationWarning: not a bytes object: 'do_trace3'
34:   fn_name = _assert_is_bytes(fn_name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'event1'
34:   name = _assert_is_bytes(name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'event2'
34:   name = _assert_is_bytes(name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'event3'
34:   name = _assert_is_bytes(name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'event4'
34:   name = _assert_is_bytes(name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'event5'
34:   name = _assert_is_bytes(name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'event6'
34:   name = _assert_is_bytes(name)
34: .
34: ----------------------------------------------------------------------
34: Ran 1 test in 3.055s
34: 
34: OK
34/47 Test #34: py_test_usdt2 ....................   Passed    3.29 sec
test 35
      Start 35: py_test_usdt3

35: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_usdt3" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_usdt3.py"
35: Test timeout computed to be: 10000000
35: test:probe [sema 0x0]
35:   location #1 /proc/12959/root/tmp/tmpxd89ph62/liba.so 0x5d0
35:     argument #1 4 signed   bytes @ *(bp - 4)
35:   location #2 /proc/12959/root/tmp/tmpxd89ph62/libb.so 0x5d0
35:     argument #1 4 signed   bytes @ *(bp - 4)
35:   location #3 /proc/12959/root/tmp/tmpxd89ph62/a.out 0x40065d
35:     argument #1 4 signed   bytes @ *(bp - 4)
35: test_dup_name:probe [sema 0x0]
35:   location #1 /proc/12959/root/tmp/tmpxd89ph62/liba.so 0x5d1
35:     argument #1 4 signed   bytes @ *(bp - 4)
35:   location #2 /proc/12959/root/tmp/tmpxd89ph62/libb.so 0x5d1
35:     argument #1 4 signed   bytes @ *(bp - 4)
35:   location #3 /proc/12959/root/tmp/tmpxd89ph62/a.out 0x40065e
35:     argument #1 4 signed   bytes @ *(bp - 4)
35: libc:setjmp [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x36cc1
35:     argument #1 8 unsigned bytes @ di
35:     argument #2 4 signed   bytes @ si
35:     argument #3 8 unsigned bytes @ ax
35: libc:longjmp [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x36da3
35:     argument #1 8 unsigned bytes @ di
35:     argument #2 4 signed   bytes @ si
35:     argument #3 8 unsigned bytes @ dx
35:   location #2 /proc/12959/root/usr/lib64/libc-2.27.so 0x10b493
35:     argument #1 8 unsigned bytes @ di
35:     argument #2 4 signed   bytes @ si
35:     argument #3 8 unsigned bytes @ dx
35: libc:longjmp_target [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x36dbf
35:     argument #1 8 unsigned bytes @ di
35:     argument #2 4 signed   bytes @ ax
35:     argument #3 8 unsigned bytes @ dx
35:   location #2 /proc/12959/root/usr/lib64/libc-2.27.so 0x10b4af
35:     argument #1 8 unsigned bytes @ di
35:     argument #2 4 signed   bytes @ ax
35:     argument #3 8 unsigned bytes @ dx
35: libc:memory_mallopt_arena_max [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x7f783
35:     argument #1 8 unsigned bytes @ ax
35:     argument #2 8 unsigned bytes @ *(&mp_ + 32)
35:   location #2 /proc/12959/root/usr/lib64/libc-2.27.so 0x85dc9
35:     argument #1 8 unsigned bytes @ bx
35:     argument #2 8 unsigned bytes @ *(&mp_ + 32)
35: libc:memory_mallopt_arena_test [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x7f793
35:     argument #1 8 unsigned bytes @ ax
35:     argument #2 8 unsigned bytes @ *(&mp_ + 24)
35:   location #2 /proc/12959/root/usr/lib64/libc-2.27.so 0x85de1
35:     argument #1 8 unsigned bytes @ bx
35:     argument #2 8 unsigned bytes @ *(&mp_ + 24)
35: libc:memory_tunable_tcache_max_bytes [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x7f7ab
35:     argument #1 8 unsigned bytes @ ax
35:     argument #2 8 unsigned bytes @ *(&mp_ + 88)
35: libc:memory_tunable_tcache_count [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x7f7e3
35:     argument #1 8 unsigned bytes @ ax
35:     argument #2 8 unsigned bytes @ *(&mp_ + 96)
35: libc:memory_tunable_tcache_unsorted_limit [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x7f7f3
35:     argument #1 8 unsigned bytes @ ax
35:     argument #2 8 unsigned bytes @ *(&mp_ + 104)
35: libc:memory_mallopt_trim_threshold [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x7fc03
35:     argument #1 8 unsigned bytes @ ax
35:     argument #2 8 unsigned bytes @ *(&mp_ + 0)
35:     argument #3 4 signed   bytes @ *(&mp_ + 52)
35:   location #2 /proc/12959/root/usr/lib64/libc-2.27.so 0x85d60
35:     argument #1 8 unsigned bytes @ bx
35:     argument #2 8 unsigned bytes @ *(&mp_ + 0)
35:     argument #3 4 signed   bytes @ *(&mp_ + 52)
35: libc:memory_mallopt_top_pad [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x7fc23
35:     argument #1 8 unsigned bytes @ ax
35:     argument #2 8 unsigned bytes @ *(&mp_ + 8)
35:     argument #3 4 signed   bytes @ *(&mp_ + 52)
35:   location #2 /proc/12959/root/usr/lib64/libc-2.27.so 0x85e90
35:     argument #1 8 unsigned bytes @ bx
35:     argument #2 8 unsigned bytes @ *(&mp_ + 8)
35:     argument #3 4 signed   bytes @ *(&mp_ + 52)
35: libc:memory_mallopt_mmap_threshold [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x7fc50
35:     argument #1 8 unsigned bytes @ ax
35:     argument #2 8 unsigned bytes @ *(&mp_ + 16)
35:     argument #3 4 signed   bytes @ *(&mp_ + 52)
35:   location #2 /proc/12959/root/usr/lib64/libc-2.27.so 0x85e6f
35:     argument #1 8 unsigned bytes @ bx
35:     argument #2 8 unsigned bytes @ *(&mp_ + 16)
35:     argument #3 4 signed   bytes @ *(&mp_ + 52)
35: libc:memory_mallopt_mmap_max [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x7fc73
35:     argument #1 4 signed   bytes @ ax
35:     argument #2 4 signed   bytes @ *(&mp_ + 44)
35:     argument #3 4 signed   bytes @ *(&mp_ + 52)
35:   location #2 /proc/12959/root/usr/lib64/libc-2.27.so 0x85e40
35:     argument #1 4 signed   bytes @ bx
35:     argument #2 4 signed   bytes @ *(&mp_ + 44)
35:     argument #3 4 signed   bytes @ *(&mp_ + 52)
35: libc:memory_mallopt_perturb [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x7fc93
35:     argument #1 4 signed   bytes @ ax
35:     argument #2 4 signed   bytes @ *(&perturb_byte + 0)
35:   location #2 /proc/12959/root/usr/lib64/libc-2.27.so 0x85df0
35:     argument #1 4 signed   bytes @ bx
35:     argument #2 4 signed   bytes @ *(&perturb_byte + 0)
35: libc:memory_arena_reuse_free_list [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x7fe27
35:     argument #1 8 unsigned bytes @ bx
35: libc:memory_heap_new [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x802b9
35:     argument #1 8 unsigned bytes @ bx
35:     argument #2 8 unsigned bytes @ bp
35: libc:memory_arena_reuse [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x808a1
35:     argument #1 8 unsigned bytes @ bx
35:     argument #2 8 unsigned bytes @ bp
35: libc:memory_arena_reuse_wait [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x8091d
35:     argument #1 8 unsigned bytes @ dx
35:     argument #2 8 unsigned bytes @ dx
35:     argument #3 8 unsigned bytes @ bp
35: libc:memory_arena_new [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x80a84
35:     argument #1 8 unsigned bytes @ bx
35:     argument #2 8 unsigned bytes @ r12
35: libc:memory_arena_retry [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x80c29
35:     argument #1 8 unsigned bytes @ si
35:     argument #2 8 unsigned bytes @ di
35: libc:memory_sbrk_less [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x8128f
35:     argument #1 8 unsigned bytes @ ax
35:     argument #2 8 signed   bytes @ bp
35: libc:memory_heap_free [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x81ab9
35:     argument #1 8 unsigned bytes @ bx
35:     argument #2 8 unsigned bytes @ ax
35: libc:memory_heap_less [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x81d41
35:     argument #1 8 unsigned bytes @ bx
35:     argument #2 8 unsigned bytes @ r15
35: libc:memory_heap_more [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x81f96
35:     argument #1 8 unsigned bytes @ r9
35:     argument #2 8 unsigned bytes @ r8
35: libc:memory_sbrk_more [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x8230a
35:     argument #1 8 unsigned bytes @ ax
35:     argument #2 8 signed   bytes @ r12
35: libc:memory_malloc_retry [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x84890
35:     argument #1 8 unsigned bytes @ bp
35: libc:memory_memalign_retry [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x84b85
35:     argument #1 8 unsigned bytes @ bp
35:     argument #2 8 unsigned bytes @ bx
35: libc:memory_mallopt_free_dyn_thresholds [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x84cd8
35:     argument #1 8 unsigned bytes @ ax
35:     argument #2 8 unsigned bytes @ dx
35: libc:memory_realloc_retry [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x850e5
35:     argument #1 8 unsigned bytes @ bp
35:     argument #2 8 unsigned bytes @ bx
35: libc:memory_calloc_retry [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x85548
35:     argument #1 8 unsigned bytes @ bp
35: libc:memory_mallopt [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x85d24
35:     argument #1 4 signed   bytes @ bp
35:     argument #2 4 signed   bytes @ bx
35: libc:memory_mallopt_mxfast [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x85e16
35:     argument #1 4 signed   bytes @ bx
35:     argument #2 8 unsigned bytes @ *(&global_max_fast + 0)
35: libc:lll_lock_wait_private [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/libc-2.27.so 0x107504
35:     argument #1 8 unsigned bytes @ di
35: rtld:init_start [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/ld-2.27.so 0x388f
35:     argument #1 4 signed   bytes @ 0
35:     argument #2 8 unsigned bytes @ bx
35: rtld:init_complete [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/ld-2.27.so 0x3fe7
35:     argument #1 4 signed   bytes @ 0
35:     argument #2 8 unsigned bytes @ bx
35: rtld:map_failed [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/ld-2.27.so 0x5bd6
35:     argument #1 8 signed   bytes @ *(sp + 72)
35:     argument #2 8 unsigned bytes @ bp
35: rtld:map_start [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/ld-2.27.so 0x6002
35:     argument #1 8 signed   bytes @ *(bp + 40)
35:     argument #2 8 unsigned bytes @ bx
35: rtld:map_complete [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/ld-2.27.so 0x1354c
35:     argument #1 8 signed   bytes @ *(r15 + 40)
35:     argument #2 8 unsigned bytes @ r14
35:     argument #3 8 unsigned bytes @ bx
35: rtld:reloc_start [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/ld-2.27.so 0x13644
35:     argument #1 8 signed   bytes @ *(r15 + 40)
35:     argument #2 8 unsigned bytes @ *(bp - 64)
35: rtld:reloc_complete [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/ld-2.27.so 0x139a8
35:     argument #1 8 signed   bytes @ *(r15 + 40)
35:     argument #2 8 unsigned bytes @ *(bp - 64)
35:     argument #3 8 unsigned bytes @ bx
35: rtld:unmap_start [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/ld-2.27.so 0x144d7
35:     argument #1 8 signed   bytes @ r13
35:     argument #2 8 unsigned bytes @ r14
35: rtld:unmap_complete [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/ld-2.27.so 0x14721
35:     argument #1 8 signed   bytes @ *(bp - 128)
35:     argument #2 8 unsigned bytes @ bx
35: rtld:setjmp [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/ld-2.27.so 0x1ad9d
35:     argument #1 8 unsigned bytes @ di
35:     argument #2 4 signed   bytes @ si
35:     argument #3 8 unsigned bytes @ ax
35: rtld:longjmp [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/ld-2.27.so 0x1addd
35:     argument #1 8 unsigned bytes @ di
35:     argument #2 4 signed   bytes @ si
35:     argument #3 8 unsigned bytes @ dx
35: rtld:longjmp_target [sema 0x0]
35:   location #1 /proc/12959/root/usr/lib64/ld-2.27.so 0x1adf9
35:     argument #1 8 unsigned bytes @ di
35:     argument #2 4 signed   bytes @ ax
35:     argument #3 8 unsigned bytes @ dx
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_PERF_OUTPUT(event);\nint do_trace(struct pt_regs *ctx) {\n    int result = 0;\n    bpf_usdt_readarg(1, ctx, &result);\n    event.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n};\n'
35:   text = _assert_is_bytes(text)
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1338: DeprecationWarning: not a bytes object: '/proc/12959/root/tmp/tmpxd89ph62/liba.so'
35:   name = _assert_is_bytes(name)
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1341: DeprecationWarning: not a bytes object: 'do_trace'
35:   fn_name = _assert_is_bytes(fn_name)
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1338: DeprecationWarning: not a bytes object: '/proc/12959/root/tmp/tmpxd89ph62/libb.so'
35:   name = _assert_is_bytes(name)
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1338: DeprecationWarning: not a bytes object: '/proc/12959/root/tmp/tmpxd89ph62/a.out'
35:   name = _assert_is_bytes(name)
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'event'
35:   name = _assert_is_bytes(name)
35: .
35: ----------------------------------------------------------------------
35: Ran 1 test in 1.147s
35: 
35: OK
35: temp directory: /tmp/tmpxd89ph62
35/47 Test #35: py_test_usdt3 ....................   Passed    1.36 sec
test 36
      Start 36: py_test_license

36: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_license" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_license.py"
36: Test timeout computed to be: 10000000
36: /virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
36: #error BPF_LICENSE cannot be specified through cflags
36:  ^
36: 1 error generated.
36: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct gpl_s {\n    u64 ts;\n};\nBPF_PERF_OUTPUT(events);\nint license_program(struct pt_regs *ctx) {\n    struct gpl_s data = {};\n    data.ts = bpf_ktime_get_ns();\n    events.perf_submit(ctx, &data, sizeof(data));\n    return 0;\n}\n'
36:   text = _assert_is_bytes(text)
36: x/virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
36: #error BPF_LICENSE cannot be specified through cflags
36:  ^
36: 1 error generated.
36: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct gpl_s {\n    u64 ts;\n};\nBPF_PERF_OUTPUT(events);\nint license_program(struct pt_regs *ctx) {\n    struct gpl_s data = {};\n    data.ts = bpf_ktime_get_ns();\n    events.perf_submit(ctx, &data, sizeof(data));\n    return 0;\n}\n\n#define BPF_LICENSE GPL\n'
36:   text = _assert_is_bytes(text)
36: x/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:793: DeprecationWarning: not a bytes object: 'read'
36:   name = _assert_is_bytes(name)
36: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:808: DeprecationWarning: not a bytes object: 'license_program'
36:   fn_name = _assert_is_bytes(fn_name)
36: .bpf: Failed to load program: Invalid argument
36: 0: (bf) r6 = r1
36: 1: (85) call bpf_ktime_get_ns#5
36: cannot call GPL only function from proprietary program
36: 
36: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct gpl_s {\n    u64 ts;\n};\nBPF_PERF_OUTPUT(events);\nint license_program(struct pt_regs *ctx) {\n    struct gpl_s data = {};\n    data.ts = bpf_ktime_get_ns();\n    events.perf_submit(ctx, &data, sizeof(data));\n    return 0;\n}\n\n#define BPF_LICENSE \n'
36:   text = _assert_is_bytes(text)
36: x/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct gpl_s {\n    u64 ts;\n};\nBPF_PERF_OUTPUT(events);\nint license_program(struct pt_regs *ctx) {\n    struct gpl_s data = {};\n    data.ts = bpf_ktime_get_ns();\n    events.perf_submit(ctx, &data, sizeof(data));\n    return 0;\n}\n\n#define BPF_LICENSE Dual BSD/GPL\n'
36:   text = _assert_is_bytes(text)
36: ../virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
36: #error BPF_LICENSE cannot be specified through cflags
36:  ^
36: 1 error generated.
36: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct key_t {\n    u64 ip;\n    u32 pid;\n    u32 uid;\n    char comm[16];\n};\n\nBPF_HASH(counts, struct key_t);\n\nint license_program(struct pt_regs *ctx) {\n    struct key_t key = {};\n    u64 zero = 0 , *val;\n    u64 pid = bpf_get_current_pid_tgid();\n    u32 uid = bpf_get_current_uid_gid();\n\n    key.ip = PT_REGS_IP(ctx);\n    key.pid = pid & 0xFFFFFFFF;\n    key.uid = uid & 0xFFFFFFFF;\n    bpf_get_current_comm(&(key.comm), 16);\n\n    val = counts.lookup_or_try_init(&key, &zero);  // update counter\n    if (val) {\n        (*val)++;\n    }\n    return 0;\n}\n'
36:   text = _assert_is_bytes(text)
36: xbpf: Failed to load program: Invalid argument
36: 0: (bf) r6 = r1
36: 1: (85) call bpf_ktime_get_ns#5
36: cannot call GPL only function from proprietary program
36: 
36: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct gpl_s {\n    u64 ts;\n};\nBPF_PERF_OUTPUT(events);\nint license_program(struct pt_regs *ctx) {\n    struct gpl_s data = {};\n    data.ts = bpf_ktime_get_ns();\n    events.perf_submit(ctx, &data, sizeof(data));\n    return 0;\n}\n\n#define BPF_LICENSE Proprietary license\n'
36:   text = _assert_is_bytes(text)
36: x/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct key_t {\n    u64 ip;\n    u32 pid;\n    u32 uid;\n    char comm[16];\n};\n\nBPF_HASH(counts, struct key_t);\n\nint license_program(struct pt_regs *ctx) {\n    struct key_t key = {};\n    u64 zero = 0 , *val;\n    u64 pid = bpf_get_current_pid_tgid();\n    u32 uid = bpf_get_current_uid_gid();\n\n    key.ip = PT_REGS_IP(ctx);\n    key.pid = pid & 0xFFFFFFFF;\n    key.uid = uid & 0xFFFFFFFF;\n    bpf_get_current_comm(&(key.comm), 16);\n\n    val = counts.lookup_or_try_init(&key, &zero);  // update counter\n    if (val) {\n        (*val)++;\n    }\n    return 0;\n}\n\n#define BPF_LICENSE Proprietary\n'
36:   text = _assert_is_bytes(text)
36: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct key_t {\n    u64 ip;\n    u32 pid;\n    u32 uid;\n    char comm[16];\n};\n\nBPF_HASH(counts, struct key_t);\n\nint license_program(struct pt_regs *ctx) {\n    struct key_t key = {};\n    u64 zero = 0 , *val;\n    u64 pid = bpf_get_current_pid_tgid();\n    u32 uid = bpf_get_current_uid_gid();\n\n    key.ip = PT_REGS_IP(ctx);\n    key.pid = pid & 0xFFFFFFFF;\n    key.uid = uid & 0xFFFFFFFF;\n    bpf_get_current_comm(&(key.comm), 16);\n\n    val = counts.lookup_or_try_init(&key, &zero);  // update counter\n    if (val) {\n        (*val)++;\n    }\n    return 0;\n}\n\n#define BPF_LICENSE Proprietary license\n'
36:   text = _assert_is_bytes(text)
36: .
36: ----------------------------------------------------------------------
36: Ran 10 tests in 3.205s
36: 
36: OK (expected failures=5)
36/47 Test #36: py_test_license ..................   Passed    3.36 sec
test 37
      Start 37: py_test_free_bcc_memory

37: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_free_bcc_memory" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_free_bcc_memory.py"
37: Test timeout computed to be: 10000000
37: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: 'int test() { return 0; }'
37:   text = _assert_is_bytes(text)
37: /usr/lib64/python3.6/subprocess.py:766: ResourceWarning: subprocess 12975 is still running
37:   ResourceWarning, source=self)
37: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_free_bcc_memory.py:35: ResourceWarning: unclosed file <_io.BufferedReader name=3>
37:   [rss1, unit1] = self.getRssFile()
37: /usr/lib64/python3.6/subprocess.py:766: ResourceWarning: subprocess 12976 is still running
37:   ResourceWarning, source=self)
37: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_free_bcc_memory.py:42: ResourceWarning: unclosed file <_io.BufferedReader name=3>
37:   [rss2, unit2] = self.getRssFile()
37: .
37: ----------------------------------------------------------------------
37: Ran 1 test in 0.305s
37: 
37: OK
37: Before freeing llvm memory: RssFile:  b'56356' b'kB'
37: After  freeing llvm memory: RssFile:  b'55380' b'kB'
37/47 Test #37: py_test_free_bcc_memory ..........   Passed    0.55 sec
test 38
      Start 38: py_test_rlimit

38: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_rlimit" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_rlimit.py"
38: Test timeout computed to be: 10000000
38: could not open bpf map: unused, error: Operation not permitted
38: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_HASH(unused, u64, u64, 65536);\nint test() { return 0; }\n'
38:   text = _assert_is_bytes(text)
38: .
38: ----------------------------------------------------------------------
38: Ran 1 test in 0.533s
38: 
38: OK
38/47 Test #38: py_test_rlimit ...................   Passed    0.70 sec
test 39
      Start 39: py_test_lpm_trie

39: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_lpm_trie" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_lpm_trie.py"
39: Test timeout computed to be: 10000000
39: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        struct key_v4 {\n            u32 prefixlen;\n            u32 data[4];\n        };\n        BPF_LPM_TRIE(trie, struct key_v4, int, 16);\n        '
39:   text = _assert_is_bytes(text)
39: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'trie'
39:   name = _assert_is_bytes(name)
39: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        struct key_v6 {\n            u32 prefixlen;\n            u32 data[4];\n        };\n        BPF_LPM_TRIE(trie, struct key_v6, int, 16);\n        '
39:   text = _assert_is_bytes(text)
39: .
39: ----------------------------------------------------------------------
39: Ran 2 tests in 0.537s
39: 
39: OK
39/47 Test #39: py_test_lpm_trie .................   Passed    0.80 sec
test 40
      Start 40: py_ringbuf

40: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_ringbuf" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_ringbuf.py"
40: Test timeout computed to be: 10000000
40: ssss
40: ----------------------------------------------------------------------
40: Ran 4 tests in 0.000s
40: 
40: OK (skipped=4)
40/47 Test #40: py_ringbuf .......................   Passed    0.24 sec
test 41
      Start 41: py_queuestack

41: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_queuestack" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_queuestack.py"
41: Test timeout computed to be: 10000000
41: ss
41: ----------------------------------------------------------------------
41: Ran 2 tests in 0.000s
41: 
41: OK (skipped=2)
41/47 Test #41: py_queuestack ....................   Passed    0.24 sec
test 42
      Start 42: py_test_map_batch_ops

42: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_map_batch_ops" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_map_batch_ops.py"
42: Test timeout computed to be: 10000000
42: ssssss
42: ----------------------------------------------------------------------
42: Ran 6 tests in 0.000s
42: 
42: OK (skipped=6)
42/47 Test #42: py_test_map_batch_ops ............   Passed    0.23 sec
test 43
      Start 43: py_test_map_in_map

43: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_map_in_map" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_map_in_map.py"
43: Test timeout computed to be: 10000000
43: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n      BPF_ARRAY(cntl, int, 1);\n      BPF_ARRAY(ex1, int, 1024);\n      BPF_ARRAY(ex2, int, 1024);\n      BPF_ARRAY_OF_MAPS(maps_array, "ex1", 10);\n\n      int syscall__getuid(void *ctx) {\n         int key = 0, data, *val, cntl_val;\n         void *inner_map;\n\n         val = cntl.lookup(&key);\n         if (!val || *val == 0)\n           return 0;\n\n         cntl_val = *val;\n         inner_map = maps_array.lookup(&cntl_val);\n         if (!inner_map)\n           return 0;\n\n         val = bpf_map_lookup_elem(inner_map, &key);\n         if (val) {\n           data = 1 + *val;\n           bpf_map_update_elem(inner_map, &key, &data, 0);\n         }\n\n         return 0;\n      }\n'
43:   text = _assert_is_bytes(text)
43: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'cntl'
43:   name = _assert_is_bytes(name)
43: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'ex1'
43:   name = _assert_is_bytes(name)
43: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'ex2'
43:   name = _assert_is_bytes(name)
43: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'maps_array'
43:   name = _assert_is_bytes(name)
43: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:793: DeprecationWarning: not a bytes object: 'getuid'
43:   name = _assert_is_bytes(name)
43: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:808: DeprecationWarning: not a bytes object: 'syscall__getuid'
43:   fn_name = _assert_is_bytes(fn_name)
43: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n      BPF_ARRAY(cntl, int, 1);\n      BPF_TABLE("hash", int, int, ex1, 1024);\n      BPF_TABLE("hash", int, int, ex2, 1024);\n      BPF_HASH_OF_MAPS(maps_hash, int, "ex1", 10);\n\n      int syscall__getuid(void *ctx) {\n         int key = 0, data, *val, cntl_val;\n         void *inner_map;\n\n         val = cntl.lookup(&key);\n         if (!val || *val == 0)\n           return 0;\n\n         cntl_val = *val;\n         inner_map = maps_hash.lookup(&cntl_val);\n         if (!inner_map)\n           return 0;\n\n         val = bpf_map_lookup_elem(inner_map, &key);\n         if (!val) {\n           data = 1;\n           bpf_map_update_elem(inner_map, &key, &data, 0);\n         } else {\n           data = 1 + *val;\n           bpf_map_update_elem(inner_map, &key, &data, 0);\n         }\n\n         return 0;\n      }\n'
43:   text = _assert_is_bytes(text)
43: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'maps_hash'
43:   name = _assert_is_bytes(name)
43: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        struct custom_key {\n          int value_1;\n          int value_2;\n        };\n\n        BPF_ARRAY(cntl, int, 1);\n        BPF_TABLE("hash", int, int, ex1, 1024);\n        BPF_TABLE("hash", int, int, ex2, 1024);\n        BPF_HASH_OF_MAPS(maps_hash, struct custom_key, "ex1", 10);\n\n        int syscall__getuid(void *ctx) {\n          struct custom_key hash_key = {1, 0};\n          int key = 0, data, *val, cntl_val;\n          void *inner_map;\n\n          val = cntl.lookup(&key);\n          if (!val || *val == 0)\n            return 0;\n\n          hash_key.value_2 = *val;\n          inner_map = maps_hash.lookup(&hash_key);\n          if (!inner_map)\n            return 0;\n\n          val = bpf_map_lookup_elem(inner_map, &key);\n          if (!val) {\n            data = 1;\n            bpf_map_update_elem(inner_map, &key, &data, 0);\n          } else {\n            data = 1 + *val;\n            bpf_map_update_elem(inner_map, &key, &data, 0);\n          }\n\n          return 0;\n        }\n'
43:   text = _assert_is_bytes(text)
43: .
43: ----------------------------------------------------------------------
43: Ran 3 tests in 1.036s
43: 
43: OK
43/47 Test #43: py_test_map_in_map ...............   Passed    1.28 sec
test 44
      Start 44: lua_test_clang

44: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "lua_test_clang" "sudo" "/usr/bin/luajit" "test_clang.lua"
44: Test timeout computed to be: 10000000
44: /virtual/main.c:1:30: error: expected expression
44: int failure(void *ctx) { if (); return 0; }
44:                              ^
44: 1 error generated.
44: ....................
44: Ran 20 tests in 19.667 seconds, 20 successes, 0 failures
44: OK
44/47 Test #44: lua_test_clang ...................   Passed   19.93 sec
test 45
      Start 45: lua_test_uprobes

45: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "lua_test_uprobes" "sudo" "/usr/bin/luajit" "test_uprobes.lua"
45: Test timeout computed to be: 10000000
45: Python 2.7.15
45: Arena 0:
45: system bytes     =   24436736
45: in use bytes     =    1178288
45: Total (incl. mmap):
45: system bytes     =   24436736
45: in use bytes     =    1178288
45: max mmap regions =          7
45: max mmap bytes   =    8556544
45: ..
45: Ran 2 tests in 0.613 seconds, 2 successes, 0 failures
45: OK
45/47 Test #45: lua_test_uprobes .................   Passed    0.73 sec
test 46
      Start 46: lua_test_dump

46: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "lua_test_dump" "sudo" "/usr/bin/luajit" "test_dump.lua"
46: Test timeout computed to be: 10000000
46: .
46: Ran 1 tests in 0.265 seconds, 1 successes, 0 failures
46: OK
46/47 Test #46: lua_test_dump ....................   Passed    0.33 sec
test 47
      Start 47: lua_test_standalone

47: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/lua/test_standalone.sh
47: Test timeout computed to be: 10000000
47: + cd src/lua
47: + [[ ! -x bcc-lua ]]
47: + echo 'bcc-lua not built --- skipping'
47: bcc-lua not built --- skipping
47: + exit 0
47/47 Test #47: lua_test_standalone ..............   Passed    0.00 sec

100% tests passed, 0 tests failed out of 47

Total Test time (real) = 556.85 sec
++ head -n 1 Testing/TAG
+ cp Testing/20210915-0707/Test.xml ./CTestResults.xml
Taking single-use agent fedora28-slave-79b offline.
Finished: SUCCESS