Console Output
Skipping 169 KB..
Full Log18: text = _assert_is_bytes(text)
18: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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:167: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:167: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: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'dummy'
18: name = _assert_is_bytes(name)
18: /usr/lib/python3.6/site-packages/bcc/__init__.py:624: DeprecationWarning: not a bytes object: 'sync'
18: name = _assert_is_bytes(name)
18: /usr/lib/python3.6/site-packages/bcc/__init__.py:639: DeprecationWarning: not a bytes object: 'do_trace'
18: fn_name = _assert_is_bytes(fn_name)
18: E/usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\nBPF_HASH(t1, struct bpf_tunnel_key, int, 1);\n'
18: text = _assert_is_bytes(text)
18: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 't1'
18: name = _assert_is_bytes(name)
18: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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(&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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'testing'
18: name = _assert_is_bytes(name)
18: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ..../usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:371: DeprecationWarning: not a bytes object: 'count_sched'
18: func_name = _assert_is_bytes(func_name)
18: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:371: DeprecationWarning: not a bytes object: 'count_foo'
18: func_name = _assert_is_bytes(func_name)
18: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\n#define KBUILD_MODNAME "foo"\n#include <net/tcp.h>\n#define _(P) ({typeof(P) val = 0; bpf_probe_read(&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: /usr/lib/python3.6/site-packages/bcc/__init__.py:371: DeprecationWarning: not a bytes object: 'count_tcp'
18: func_name = _assert_is_bytes(func_name)
18: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\n#define KBUILD_MODNAME "foo"\n#include <net/tcp.h>\n#define _(P) ({typeof(P) val = 0; bpf_probe_read(&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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:371: DeprecationWarning: not a bytes object: 'trace_entry1'
18: func_name = _assert_is_bytes(func_name)
18: /usr/lib/python3.6/site-packages/bcc/__init__.py:371: DeprecationWarning: not a bytes object: 'trace_entry2'
18: func_name = _assert_is_bytes(func_name)
18: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\n#define KBUILD_MODNAME "foo"\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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\n#define KBUILD_MODNAME "foo"\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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\n#define KBUILD_MODNAME "foo"\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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\n#define KBUILD_MODNAME "foo"\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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\n#define KBUILD_MODNAME "foo"\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(&val, sizeof(val), &(TCP_SKB_CB(skb)->tcp_gso_size));\n return val;\n}\n'
18: text = _assert_is_bytes(text)
18: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\n#define KBUILD_MODNAME "foo"\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(&val, sizeof(val), &(TCP_SKB_CB(skb)->tcp_gso_size));\n return val + skb->protocol;\n}\n'
18: text = _assert_is_bytes(text)
18: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: E/usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:624: DeprecationWarning: not a bytes object: 'open'
18: name = _assert_is_bytes(name)
18: /usr/lib/python3.6/site-packages/bcc/__init__.py:639: DeprecationWarning: not a bytes object: 'do_sys_open'
18: fn_name = _assert_is_bytes(fn_name)
18: E/usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\nBPF_PROG_ARRAY(dummy, 256);\n'
18: text = _assert_is_bytes(text)
18: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\nint do_next(struct pt_regs *ctx) {\n return 0;\n}\n'
18: text = _assert_is_bytes(text)
18: /usr/lib/python3.6/site-packages/bcc/__init__.py:371: DeprecationWarning: not a bytes object: 'do_next'
18: func_name = _assert_is_bytes(func_name)
18: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:371: DeprecationWarning: not a bytes object: 'foo'
18: func_name = _assert_is_bytes(func_name)
18: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'stats'
18: name = _assert_is_bytes(name)
18: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\nBPF_HASH(stats, int, struct { u32 a[3]; u32 b; }, 10);\n'
18: text = _assert_is_bytes(text)
18: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: 'int failure(void *ctx) { if (); return 0; }'
18: text = _assert_is_bytes(text)
18: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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_init(&key, &zero);\n (*val)++;\n return 0;\n}\n'
18: text = _assert_is_bytes(text)
18: E/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: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:638: DeprecationWarning: not a bytes object: '__vfs_read'
18: event = _assert_is_bytes(event)
18: /usr/lib/python3.6/site-packages/bcc/__init__.py:639: DeprecationWarning: not a bytes object: 'trace_read_entry'
18: fn_name = _assert_is_bytes(fn_name)
18: E/usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'act'
18: name = _assert_is_bytes(name)
18: .
18: ======================================================================
18: ERROR: test_arbitrary_increment_simple (__main__.TestClang)
18: ----------------------------------------------------------------------
18: Traceback (most recent call last):
18: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_clang.py", line 1225, in test_arbitrary_increment_simple
18: b.attach_kprobe(event=b"htab_map_delete_elem", fn_name=b"map_delete")
18: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
18: (fn_name, event))
18: Exception: Failed to attach BPF program b'map_delete' to kprobe b'htab_map_delete_elem'
18:
18: ======================================================================
18: ERROR: test_char_array_probe (__main__.TestClang)
18: ----------------------------------------------------------------------
18: Traceback (most recent call last):
18: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_clang.py", line 324, in test_char_array_probe
18: }""")
18: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 355, in __init__
18: self._trace_autoload()
18: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
18: fn_name=fn.name)
18: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
18: (fn_name, event))
18: Exception: Failed to attach BPF program b'kprobe__blk_update_request' to kprobe b'blk_update_request'
18:
18: ======================================================================
18: ERROR: test_map_insert (__main__.TestClang)
18: ----------------------------------------------------------------------
18: Traceback (most recent call last):
18: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_clang.py", line 888, in test_map_insert
18: b.attach_kprobe(event=b.get_syscall_fnname("sync"), fn_name="do_trace")
18: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
18: (fn_name, event))
18: Exception: Failed to attach BPF program b'do_trace' to kprobe b'__x64_sys_sync'
18:
18: ======================================================================
18: ERROR: test_probe_simple_assign (__main__.TestClang)
18: ----------------------------------------------------------------------
18: Traceback (most recent call last):
18: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_clang.py", line 417, in test_probe_simple_assign
18: }""")
18: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 355, in __init__
18: self._trace_autoload()
18: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
18: fn_name=fn.name)
18: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
18: (fn_name, event))
18: Exception: Failed to attach BPF program b'kprobe____kmalloc' to kprobe b'__kmalloc'
18:
18: ======================================================================
18: ERROR: test_probe_struct_assign (__main__.TestClang)
18: ----------------------------------------------------------------------
18: Traceback (most recent call last):
18: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_clang.py", line 382, in test_probe_struct_assign
18: fn_name="do_sys_open")
18: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
18: (fn_name, event))
18: Exception: Failed to attach BPF program b'do_sys_open' to kprobe b'__x64_sys_open'
18:
18: ======================================================================
18: ERROR: test_task_switch (__main__.TestClang)
18: ----------------------------------------------------------------------
18: Traceback (most recent call last):
18: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_clang.py", line 403, in test_task_switch
18: """)
18: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 355, in __init__
18: self._trace_autoload()
18: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
18: fn_name=fn.name)
18: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
18: (fn_name, event))
18: Exception: Failed to attach BPF program b'kprobe__finish_task_switch' to kprobe b'finish_task_switch'
18:
18: ======================================================================
18: ERROR: test_unary_operator (__main__.TestClang)
18: ----------------------------------------------------------------------
18: Traceback (most recent call last):
18: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_clang.py", line 820, in test_unary_operator
18: b.attach_kprobe(event="__vfs_read", fn_name="trace_read_entry")
18: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
18: (fn_name, event))
18: Exception: Failed to attach BPF program b'trace_read_entry' to kprobe b'__vfs_read'
18:
18: ----------------------------------------------------------------------
18: Ran 79 tests in 84.035s
18:
18: FAILED (errors=7)
18: 0
18: Failed
18/40 Test #18: py_test_clang ....................***Failed 84.24 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <linux/sched.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 Key k = {.slot = bpf_log2l(prev->real_start_time)};\n if (!bpf_get_current_comm(&k.name, sizeof(k.name)))\n hist1.increment(k);\n return 0;\n}\n'
19: text = _assert_is_bytes(text)
19: E/usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: E/usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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 return 0;\n}\n'
19: text = _assert_is_bytes(text)
19: E/usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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 return 0;\n}\n'
19: text = _assert_is_bytes(text)
19: E
19: ======================================================================
19: ERROR: test_chars (__main__.TestHistogram)
19: ----------------------------------------------------------------------
19: Traceback (most recent call last):
19: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_histogram.py", line 70, in test_chars
19: """)
19: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 355, in __init__
19: self._trace_autoload()
19: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
19: fn_name=fn.name)
19: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
19: (fn_name, event))
19: Exception: Failed to attach BPF program b'kprobe__finish_task_switch' to kprobe b'finish_task_switch'
19:
19: ======================================================================
19: ERROR: test_multiple_key (__main__.TestHistogram)
19: ----------------------------------------------------------------------
19: Traceback (most recent call last):
19: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_histogram.py", line 96, in test_multiple_key
19: """)
19: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 355, in __init__
19: self._trace_autoload()
19: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
19: fn_name=fn.name)
19: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
19: (fn_name, event))
19: Exception: Failed to attach BPF program b'kprobe__vfs_read' to kprobe b'vfs_read'
19:
19: ======================================================================
19: ERROR: test_simple (__main__.TestHistogram)
19: ----------------------------------------------------------------------
19: Traceback (most recent call last):
19: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_histogram.py", line 22, in test_simple
19: """)
19: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 355, in __init__
19: self._trace_autoload()
19: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
19: fn_name=fn.name)
19: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
19: (fn_name, event))
19: Exception: Failed to attach BPF program b'kprobe__htab_map_delete_elem' to kprobe b'htab_map_delete_elem'
19:
19: ======================================================================
19: ERROR: test_struct (__main__.TestHistogram)
19: ----------------------------------------------------------------------
19: Traceback (most recent call last):
19: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_histogram.py", line 48, in test_struct
19: """)
19: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 355, in __init__
19: self._trace_autoload()
19: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
19: fn_name=fn.name)
19: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
19: (fn_name, event))
19: Exception: Failed to attach BPF program b'kprobe__htab_map_delete_elem' to kprobe b'htab_map_delete_elem'
19:
19: ----------------------------------------------------------------------
19: Ran 4 tests in 1.290s
19:
19: FAILED (errors=4)
19: Failed
19/40 Test #19: py_test_histogram ................***Failed 1.44 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: 'BPF_ARRAY(table1, u64, 128);'
20: text = _assert_is_bytes(text)
20: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'table1'
20: name = _assert_is_bytes(name)
20: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:624: DeprecationWarning: not a bytes object: 'nanosleep'
20: name = _assert_is_bytes(name)
20: /usr/lib/python3.6/site-packages/bcc/__init__.py:639: DeprecationWarning: not a bytes object: 'do_sys_nanosleep'
20: fn_name = _assert_is_bytes(fn_name)
20: E/usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: E.
20: ======================================================================
20: ERROR: test_perf_buffer (__main__.TestArray)
20: ----------------------------------------------------------------------
20: Traceback (most recent call last):
20: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_array.py", line 67, in test_perf_buffer
20: fn_name="do_sys_nanosleep")
20: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
20: (fn_name, event))
20: Exception: Failed to attach BPF program b'do_sys_nanosleep' to kprobe b'__x64_sys_nanosleep'
20:
20: ======================================================================
20: ERROR: test_perf_buffer_for_each_cpu (__main__.TestArray)
20: ----------------------------------------------------------------------
20: Traceback (most recent call last):
20: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_array.py", line 100, in test_perf_buffer_for_each_cpu
20: fn_name="do_sys_nanosleep")
20: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
20: (fn_name, event))
20: Exception: Failed to attach BPF program b'do_sys_nanosleep' to kprobe b'__x64_sys_nanosleep'
20:
20: ----------------------------------------------------------------------
20: Ran 4 tests in 0.648s
20:
20: FAILED (errors=2)
20: Failed
20/40 Test #20: py_array .........................***Failed 0.80 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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 == 11338)\n incr(0);\n return 0;\n}'
21: text = _assert_is_bytes(text)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1003: DeprecationWarning: not a bytes object: '/tmp/libz.so.1'
21: name = _assert_is_bytes(name)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1004: DeprecationWarning: not a bytes object: 'zlibVersion'
21: sym = _assert_is_bytes(sym)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1006: DeprecationWarning: not a bytes object: 'count'
21: fn_name = _assert_is_bytes(fn_name)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1037: DeprecationWarning: not a bytes object: '/tmp/libz.so.1'
21: name = _assert_is_bytes(name)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1038: DeprecationWarning: not a bytes object: 'zlibVersion'
21: sym = _assert_is_bytes(sym)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1040: DeprecationWarning: not a bytes object: 'count'
21: fn_name = _assert_is_bytes(fn_name)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'stats'
21: name = _assert_is_bytes(name)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1090: DeprecationWarning: not a bytes object: '/tmp/libz.so.1'
21: name = _assert_is_bytes(name)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1091: DeprecationWarning: not a bytes object: 'zlibVersion'
21: sym = _assert_is_bytes(sym)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1077: DeprecationWarning: not a bytes object: '/tmp/libz.so.1'
21: name = _assert_is_bytes(name)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1078: DeprecationWarning: not a bytes object: 'zlibVersion'
21: sym = _assert_is_bytes(sym)
21: .Python 2.7.15
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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: /usr/lib/python3.6/site-packages/bcc/__init__.py:1003: DeprecationWarning: not a bytes object: '/usr/bin/python'
21: name = _assert_is_bytes(name)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1004: DeprecationWarning: not a bytes object: 'main'
21: sym = _assert_is_bytes(sym)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1037: DeprecationWarning: not a bytes object: '/usr/bin/python'
21: name = _assert_is_bytes(name)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1038: DeprecationWarning: not a bytes object: 'main'
21: sym = _assert_is_bytes(sym)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1090: DeprecationWarning: not a bytes object: '/usr/bin/python'
21: name = _assert_is_bytes(name)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1091: DeprecationWarning: not a bytes object: 'main'
21: sym = _assert_is_bytes(sym)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1077: DeprecationWarning: not a bytes object: '/usr/bin/python'
21: name = _assert_is_bytes(name)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1078: DeprecationWarning: not a bytes object: 'main'
21: sym = _assert_is_bytes(sym)
21: .Arena 0:
21: system bytes = 20185088
21: in use bytes = 3230464
21: Total (incl. mmap):
21: system bytes = 20484096
21: in use bytes = 3529472
21: max mmap regions = 7
21: max mmap bytes = 2289664
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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 == 11336)\n incr(0);\n return 0;\n}'
21: text = _assert_is_bytes(text)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1003: DeprecationWarning: not a bytes object: 'c'
21: name = _assert_is_bytes(name)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1004: DeprecationWarning: not a bytes object: 'malloc_stats'
21: sym = _assert_is_bytes(sym)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1037: DeprecationWarning: not a bytes object: 'c'
21: name = _assert_is_bytes(name)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1038: DeprecationWarning: not a bytes object: 'malloc_stats'
21: sym = _assert_is_bytes(sym)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1090: DeprecationWarning: not a bytes object: 'c'
21: name = _assert_is_bytes(name)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1091: DeprecationWarning: not a bytes object: 'malloc_stats'
21: sym = _assert_is_bytes(sym)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1077: DeprecationWarning: not a bytes object: 'c'
21: name = _assert_is_bytes(name)
21: /usr/lib/python3.6/site-packages/bcc/__init__.py:1078: DeprecationWarning: not a bytes object: 'malloc_stats'
21: sym = _assert_is_bytes(sym)
21: .
21: ----------------------------------------------------------------------
21: Ran 3 tests in 6.465s
21:
21: OK
21/40 Test #21: py_uprobes ....................... Passed 6.62 sec
test 22
Start 22: py_test_stackid
22: 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"
22: Test timeout computed to be: 10000000
22: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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'
22: text = _assert_is_bytes(text)
22: E/usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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'
22: text = _assert_is_bytes(text)
22: E
22: ======================================================================
22: ERROR: test_simple (__main__.TestStackBuildid)
22: ----------------------------------------------------------------------
22: Traceback (most recent call last):
22: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_stackid.py", line 77, in test_simple
22: """)
22: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 355, in __init__
22: self._trace_autoload()
22: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
22: fn_name=fn.name)
22: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
22: (fn_name, event))
22: Exception: Failed to attach BPF program b'kprobe__sys_getuid' to kprobe b'__x64_sys_getuid'
22:
22: ======================================================================
22: ERROR: test_simple (__main__.TestStackid)
22: ----------------------------------------------------------------------
22: Traceback (most recent call last):
22: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_stackid.py", line 40, in test_simple
22: """)
22: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 355, in __init__
22: self._trace_autoload()
22: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
22: fn_name=fn.name)
22: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
22: (fn_name, event))
22: Exception: Failed to attach BPF program b'kprobe__htab_map_lookup_elem' to kprobe b'htab_map_lookup_elem'
22:
22: ----------------------------------------------------------------------
22: Ran 2 tests in 0.543s
22:
22: FAILED (errors=2)
22: Failed
22/40 Test #22: py_test_stackid ..................***Failed 0.69 sec
test 23
Start 23: py_test_tracepoint
23: 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"
23: Test timeout computed to be: 10000000
23: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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 '
23: text = _assert_is_bytes(text)
23: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'switches'
23: name = _assert_is_bytes(name)
23: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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 '
23: text = _assert_is_bytes(text)
23: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'execs'
23: name = _assert_is_bytes(name)
23: .
23: ----------------------------------------------------------------------
23: Ran 2 tests in 2.273s
23:
23: OK
23/40 Test #23: py_test_tracepoint ............... Passed 2.44 sec
test 24
Start 24: py_test_perf_event
24: 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"
24: Test timeout computed to be: 10000000
24: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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 return 0;\n}\n'
24: text = _assert_is_bytes(text)
24: /usr/lib/python3.6/site-packages/bcc/__init__.py:624: DeprecationWarning: not a bytes object: 'getuid'
24: name = _assert_is_bytes(name)
24: /usr/lib/python3.6/site-packages/bcc/__init__.py:639: DeprecationWarning: not a bytes object: 'do_sys_getuid'
24: fn_name = _assert_is_bytes(fn_name)
24: E
24: ======================================================================
24: ERROR: test_cycles (__main__.TestPerfCounter)
24: ----------------------------------------------------------------------
24: Traceback (most recent call last):
24: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_perf_event.py", line 44, in test_cycles
24: b.attach_kprobe(event=event_name, fn_name="do_sys_getuid")
24: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
24: (fn_name, event))
24: Exception: Failed to attach BPF program b'do_sys_getuid' to kprobe b'__x64_sys_getuid'
24:
24: ----------------------------------------------------------------------
24: Ran 1 test in 0.243s
24:
24: FAILED (errors=1)
24: Failed
24/40 Test #24: py_test_perf_event ...............***Failed 0.39 sec
test 25
Start 25: py_test_utils
25: 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"
25: Test timeout computed to be: 10000000
25: ..
25: ----------------------------------------------------------------------
25: Ran 2 tests in 0.001s
25:
25: OK
25/40 Test #25: py_test_utils .................... Passed 0.14 sec
test 26
Start 26: py_test_percpu
26: 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"
26: Test timeout computed to be: 10000000
26: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: 'BPF_TABLE("percpu_array", u32, u32, stub, 1);'
26: text = _assert_is_bytes(text)
26: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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 '
26: text = _assert_is_bytes(text)
26: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\n typedef struct counter {\n u32 c1;\n u32 c2;\n } counter;\n BPF_TABLE("percpu_hash", u32, counter, stats, 1);\n int hello_world(void *ctx) {\n u32 key=0;\n counter value = {0,0}, *val;\n val = stats.lookup_or_init(&key, &value);\n val->c1 += 1;\n val->c2 += 1;\n return 0;\n }\n '
26: text = _assert_is_bytes(text)
26: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'stats'
26: name = _assert_is_bytes(name)
26: /usr/lib/python3.6/site-packages/bcc/__init__.py:624: DeprecationWarning: not a bytes object: 'clone'
26: name = _assert_is_bytes(name)
26: /usr/lib/python3.6/site-packages/bcc/__init__.py:639: DeprecationWarning: not a bytes object: 'hello_world'
26: fn_name = _assert_is_bytes(fn_name)
26: E/usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\n BPF_TABLE("percpu_array", u32, u32, stats, 1);\n int hello_world(void *ctx) {\n u32 key=0;\n u32 value = 0, *val;\n val = stats.lookup_or_init(&key, &value);\n *val += 1;\n return 0;\n }\n '
26: text = _assert_is_bytes(text)
26: E/usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\n BPF_TABLE("percpu_hash", u32, u64, stats, 1);\n int hello_world(void *ctx) {\n u32 key=0;\n u64 value = 0, *val;\n val = stats.lookup_or_init(&key, &value);\n *val += 1;\n return 0;\n }\n '
26: text = _assert_is_bytes(text)
26: E
26: ======================================================================
26: ERROR: test_struct_custom_func (__main__.TestPercpu)
26: ----------------------------------------------------------------------
26: Traceback (most recent call last):
26: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_percpu.py", line 106, in test_struct_custom_func
26: bpf_code.attach_kprobe(event=event_name, fn_name="hello_world")
26: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
26: (fn_name, event))
26: Exception: Failed to attach BPF program b'hello_world' to kprobe b'__x64_sys_clone'
26:
26: ======================================================================
26: ERROR: test_u32 (__main__.TestPercpu)
26: ----------------------------------------------------------------------
26: Traceback (most recent call last):
26: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_percpu.py", line 70, in test_u32
26: bpf_code.attach_kprobe(event=event_name, fn_name="hello_world")
26: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
26: (fn_name, event))
26: Exception: Failed to attach BPF program b'hello_world' to kprobe b'__x64_sys_clone'
26:
26: ======================================================================
26: ERROR: test_u64 (__main__.TestPercpu)
26: ----------------------------------------------------------------------
26: Traceback (most recent call last):
26: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_percpu.py", line 40, in test_u64
26: bpf_code.attach_kprobe(event=event_name, fn_name="hello_world")
26: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
26: (fn_name, event))
26: Exception: Failed to attach BPF program b'hello_world' to kprobe b'__x64_sys_clone'
26:
26: ----------------------------------------------------------------------
26: Ran 4 tests in 1.201s
26:
26: FAILED (errors=3)
26: Failed
26/40 Test #26: py_test_percpu ...................***Failed 1.35 sec
test 27
Start 27: py_test_dump_func
27: 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"
27: Test timeout computed to be: 10000000
27: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\n int entry(void)\n {\n return 1;\n }'
27: text = _assert_is_bytes(text)
27: /usr/lib/python3.6/site-packages/bcc/__init__.py:406: DeprecationWarning: not a bytes object: 'entry'
27: func_name = _assert_is_bytes(func_name)
27: .
27: ----------------------------------------------------------------------
27: Ran 1 test in 0.129s
27:
27: OK
27/40 Test #27: py_test_dump_func ................ Passed 0.26 sec
test 28
Start 28: py_test_disassembler
28: 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"
28: Test timeout computed to be: 10000000
28: ./usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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 }'
28: text = _assert_is_bytes(text)
28: /usr/lib/python3.6/site-packages/bcc/__init__.py:406: DeprecationWarning: not a bytes object: 'test_func'
28: func_name = _assert_is_bytes(func_name)
28: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'test_map'
28: name = _assert_is_bytes(name)
28: .
28: ----------------------------------------------------------------------
28: Ran 2 tests in 0.137s
28:
28: OK
28/40 Test #28: py_test_disassembler ............. Passed 0.29 sec
test 29
Start 29: py_test_tools_smoke
29: 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"
29: Test timeout computed to be: 10000000
29: Traceback (most recent call last):
29: File "../../tools/argdist.py", line 711, in run
29: self._attach()
29: File "../../tools/argdist.py", line 682, in _attach
29: probe.attach(self.bpf)
29: File "../../tools/argdist.py", line 446, in attach
29: self._attach_k()
29: File "../../tools/argdist.py", line 437, in _attach_k
29: fn_name=self.probe_func_name)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program do_sys_open_probe0 to kprobe do_sys_open
29: F.Traceback (most recent call last):
29: File "../../tools/biolatency.py", line 139, in <module>
29: b.attach_kprobe(event="blk_start_request", fn_name="trace_req_start")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_req_start to kprobe blk_start_request
29: FTraceback (most recent call last):
29: File "../../tools/biosnoop.py", line 158, in <module>
29: b.attach_kprobe(event="blk_account_io_start", fn_name="trace_pid_start")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_pid_start to kprobe blk_account_io_start
29: FTraceback (most recent call last):
29: File "../../tools/biotop.py", line 175, in <module>
29: b.attach_kprobe(event="blk_account_io_start", fn_name="trace_pid_start")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_pid_start to kprobe blk_account_io_start
29: FTraceback (most recent call last):
29: File "../../tools/biotop.py", line 175, in <module>
29: b.attach_kprobe(event="blk_account_io_start", fn_name="trace_pid_start")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_pid_start to kprobe blk_account_io_start
29: F...Traceback (most recent call last):
29: File "../../tools/cachestat.py", line 97, in <module>
29: b.attach_kprobe(event="add_to_page_cache_lru", fn_name="do_count")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program do_count to kprobe add_to_page_cache_lru
29: F.Traceback (most recent call last):
29: File "../../tools/capable.py", line 181, in <module>
29: b = BPF(text=bpf_text)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kprobe__cap_capable to kprobe cap_capable
29: FTraceback (most recent call last):
29: File "../../tools/cpudist.py", line 160, in <module>
29: b.attach_kprobe(event="finish_task_switch", fn_name="sched_switch")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program sched_switch to kprobe finish_task_switch
29: F...Traceback (most recent call last):
29: File "../../tools/dcsnoop.py", line 130, in <module>
29: b = BPF(text=bpf_text)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kprobe__d_lookup to kprobe d_lookup
29: FTraceback (most recent call last):
29: File "../../tools/dcstat.py", line 94, in <module>
29: b.attach_kprobe(event="lookup_fast", fn_name="count_fast")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program count_fast to kprobe lookup_fast
29: F..Traceback (most recent call last):
29: File "../../tools/execsnoop.py", line 172, in <module>
29: b.attach_kprobe(event=execve_fnname, fn_name="syscall__execve")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program syscall__execve to kprobe __x64_sys_execve
29: FTraceback (most recent call last):
29: File "../../tools/ext4dist.py", line 196, in <module>
29: b.attach_kprobe(event=ext4_read_fn, fn_name=ext4_trace_read_fn)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_entry to kprobe ext4_file_read_iter
29: FTraceback (most recent call last):
29: File "../../tools/ext4slower.py", line 315, in <module>
29: b.attach_kprobe(event="ext4_file_read_iter", fn_name="trace_read_entry")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_read_entry to kprobe ext4_file_read_iter
29: FTraceback (most recent call last):
29: File "../../tools/filelife.py", line 114, in <module>
29: b.attach_kprobe(event="vfs_create", fn_name="trace_create")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_create to kprobe vfs_create
29: FTraceback (most recent call last):
29: File "../../tools/fileslower.py", line 202, in <module>
29: b.attach_kprobe(event="__vfs_read", fn_name="trace_read_entry")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_read_entry to kprobe __vfs_read
29: FTraceback (most recent call last):
29: File "../../tools/filetop.py", line 162, in <module>
29: b.attach_kprobe(event="vfs_read", fn_name="trace_read_entry")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_read_entry to kprobe vfs_read
29: FFFTraceback (most recent call last):
29: File "../../tools/funcslower.py", line 240, in <module>
29: b.attach_kprobe(event=function, fn_name="trace_%d" % i)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_0 to kprobe __kmalloc
29: F.Traceback (most recent call last):
29: File "../../tools/hardirqs.py", line 152, in <module>
29: b.attach_kprobe(event="handle_irq_event_percpu", fn_name="trace_start")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_start to kprobe handle_irq_event_percpu
29: FTraceback (most recent call last):
29: File "../../tools/killsnoop.py", line 115, in <module>
29: b.attach_kprobe(event=kill_fnname, fn_name="syscall__kill")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program syscall__kill to kprobe __x64_sys_kill
29: F.Traceback (most recent call last):
29: File "../../tools/mdflush.py", line 54, in <module>
29: """)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kprobe__md_flush_request to kprobe md_flush_request
29: F.Traceback (most recent call last):
29: File "../../tools/mountsnoop.py", line 425, in <module>
29: main()
29: File "../../tools/mountsnoop.py", line 407, in main
29: b.attach_kprobe(event=mount_fnname, fn_name="syscall__mount")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program syscall__mount to kprobe __x64_sys_mount
29: F...Traceback (most recent call last):
29: File "../../tools/offcputime.py", line 236, in <module>
29: b.attach_kprobe(event="finish_task_switch", fn_name="oncpu")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program oncpu to kprobe finish_task_switch
29: FTraceback (most recent call last):
29: File "../../tools/offwaketime.py", line 264, in <module>
29: b.attach_kprobe(event="finish_task_switch", fn_name="oncpu")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program oncpu to kprobe finish_task_switch
29: FTraceback (most recent call last):
29: File "../../tools/oomkill.py", line 64, in <module>
29: b = BPF(text=bpf_text)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kprobe__oom_kill_process to kprobe oom_kill_process
29: FTraceback (most recent call last):
29: File "../../tools/opensnoop.py", line 181, in <module>
29: b.attach_kprobe(event="do_sys_open", fn_name="trace_entry")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_entry to kprobe do_sys_open
29: FTraceback (most recent call last):
29: File "../../tools/pidpersec.py", line 38, in <module>
29: b.attach_kprobe(event="sched_fork", fn_name="do_count")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program do_count to kprobe sched_fork
29: F...Traceback (most recent call last):
29: File "../../tools/shmsnoop.py", line 182, in <module>
29: b.attach_kprobe(event=syscall_fnname, fn_name="syscall__shmget")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program syscall__shmget to kprobe __x64_sys_shmget
29: FTraceback (most recent call last):
29: File "../../tools/slabratetop.py", line 107, in <module>
29: b = BPF(text=bpf_text)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kprobe__kmem_cache_alloc to kprobe kmem_cache_alloc
29: FTraceback (most recent call last):
29: File "../../tools/sofdsnoop.py", line 269, in <module>
29: b.attach_kprobe(event=syscall_fnname, fn_name="syscall__sendmsg")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program syscall__sendmsg to kprobe __x64_sys_sendmsg
29: F.Traceback (most recent call last):
29: File "../../tools/solisten.py", line 186, in <module>
29: b = BPF(text=bpf_text)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kprobe__inet_listen to kprobe inet_listen
29: F.FTraceback (most recent call last):
29: File "../../tools/statsnoop.py", line 118, in <module>
29: b.attach_kprobe(event=syscall_fnname, fn_name="syscall__entry")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program syscall__entry to kprobe __x64_sys_stat
29: FTraceback (most recent call last):
29: File "../../tools/syncsnoop.py", line 34, in <module>
29: fn_name="syscall__sync")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program syscall__sync to kprobe __x64_sys_sync
29: F.Traceback (most recent call last):
29: File "../../tools/tcpaccept.py", line 228, in <module>
29: b = BPF(text=bpf_text)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 1109, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 684, in attach_kretprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kretprobe__inet_csk_accept to kretprobe inet_csk_accept
29: FTraceback (most recent call last):
29: File "../../tools/tcpconnect.py", line 290, in <module>
29: b.attach_kprobe(event="tcp_v4_connect", fn_name="trace_connect_entry")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_connect_entry to kprobe tcp_v4_connect
29: FTraceback (most recent call last):
29: File "../../tools/tcpconnlat.py", line 196, in <module>
29: b.attach_kprobe(event="tcp_v4_connect", fn_name="trace_connect")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_connect to kprobe tcp_v4_connect
29: FTraceback (most recent call last):
29: File "../../tools/tcpdrop.py", line 181, in <module>
29: b.attach_kprobe(event="tcp_drop", fn_name="trace_tcp_drop")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_tcp_drop to kprobe tcp_drop
29: F.Traceback (most recent call last):
29: File "../../tools/tcpretrans.py", line 255, in <module>
29: b.attach_kprobe(event="tcp_retransmit_skb", fn_name="trace_retransmit")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_retransmit to kprobe tcp_retransmit_skb
29: FTraceback (most recent call last):
29: File "../../tools/tcptop.py", line 206, in <module>
29: b = BPF(text=bpf_text)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kprobe__tcp_cleanup_rbuf to kprobe tcp_cleanup_rbuf
29: F.FTraceback (most recent call last):
29: File "../../tools/ttysnoop.py", line 101, in <module>
29: b = BPF(text=bpf_text)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 1104, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kprobe__tty_write to kprobe tty_write
29: F....'unknown': unknown terminal type.
29: ...Traceback (most recent call last):
29: File "../../tools/vfsstat.py", line 65, in <module>
29: b.attach_kprobe(event="vfs_read", fn_name="do_read")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program do_read to kprobe vfs_read
29: FTraceback (most recent call last):
29: File "../../tools/wakeuptime.py", line 166, in <module>
29: b.attach_kprobe(event="schedule", fn_name="offcpu")
29: File "/usr/lib/python2.7/site-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program offcpu to kprobe schedule
29: F....
29: ======================================================================
29: FAIL: test_argdist (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 69, in test_argdist
29: self.run_with_duration("argdist.py -v -C 'p::do_sys_open()' -n 1 -i 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_biolatency (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 76, in test_biolatency
29: self.run_with_duration("biolatency.py 1 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_biosnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 80, in test_biosnoop
29: self.run_with_int("biosnoop.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_biotop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 83, in test_biotop
29: self.run_with_duration("biotop.py 1 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_bitesize (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 86, in test_bitesize
29: self.run_with_int("biotop.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_cachestat (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 101, in test_cachestat
29: self.run_with_duration("cachestat.py 1 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_capable (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 111, in test_capable
29: self.run_with_int("capable.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_cpudist (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 114, in test_cpudist
29: self.run_with_duration("cpudist.py 1 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_dcsnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 134, in test_dcsnoop
29: self.run_with_int("dcsnoop.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_dcstat (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 137, in test_dcstat
29: self.run_with_duration("dcstat.py 1 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_execsnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 153, in test_execsnoop
29: self.run_with_int("execsnoop.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_ext4dist (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 156, in test_ext4dist
29: self.run_with_duration("ext4dist.py 1 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_ext4slower (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 160, in test_ext4slower
29: self.run_with_int("ext4slower.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_filelife (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 164, in test_filelife
29: self.run_with_int("filelife.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_fileslower (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 168, in test_fileslower
29: self.run_with_int("fileslower.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_filetop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 171, in test_filetop
29: self.run_with_duration("filetop.py 1 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_funccount (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 174, in test_funccount
29: self.run_with_int("funccount.py __kmalloc -i 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 0
29:
29: ======================================================================
29: FAIL: test_funclatency (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 178, in test_funclatency
29: self.run_with_int("funclatency.py __kmalloc -i 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 0
29:
29: ======================================================================
29: FAIL: test_funcslower (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 182, in test_funcslower
29: self.run_with_int("funcslower.py __kmalloc")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_hardirqs (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 189, in test_hardirqs
29: self.run_with_duration("hardirqs.py 1 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_killsnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 200, in test_killsnoop
29: self.run_with_int("killsnoop.py", kill=True)
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_mdflush (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 209, in test_mdflush
29: self.run_with_int("mdflush.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_mountsnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 217, in test_mountsnoop
29: self.run_with_int("mountsnoop.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_offcputime (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 241, in test_offcputime
29: self.run_with_duration("offcputime.py 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_offwaketime (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 245, in test_offwaketime
29: self.run_with_duration("offwaketime.py 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_oomkill (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 249, in test_oomkill
29: self.run_with_int("oomkill.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_opensnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 253, in test_opensnoop
29: self.run_with_int("opensnoop.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_pidpersec (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 256, in test_pidpersec
29: self.run_with_int("pidpersec.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_shmsnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 271, in test_shmsnoop
29: self.run_with_int("shmsnoop.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_slabratetop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 278, in test_slabratetop
29: self.run_with_duration("slabratetop.py 1 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_sofdsnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 275, in test_sofdsnoop
29: self.run_with_int("sofdsnoop.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_solisten (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 287, in test_solisten
29: self.run_with_int("solisten.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_stackcount (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 295, in test_stackcount
29: self.run_with_int("stackcount.py __kmalloc -i 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 0
29:
29: ======================================================================
29: FAIL: test_statsnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 299, in test_statsnoop
29: self.run_with_int("statsnoop.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_syncsnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 303, in test_syncsnoop
29: self.run_with_int("syncsnoop.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_tcpaccept (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 311, in test_tcpaccept
29: self.run_with_int("tcpaccept.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_tcpconnect (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 315, in test_tcpconnect
29: self.run_with_int("tcpconnect.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_tcpconnlat (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 319, in test_tcpconnlat
29: self.run_with_int("tcpconnlat.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_tcpdrop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 331, in test_tcpdrop
29: self.run_with_int("tcpdrop.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_tcpretrans (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 327, in test_tcpretrans
29: self.run_with_int("tcpretrans.py")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_tcptop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 334, in test_tcptop
29: self.run_with_duration("tcptop.py 1 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_trace (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 341, in test_trace
29: self.run_with_int("trace.py do_sys_open")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_ttysnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 345, in test_ttysnoop
29: self.run_with_int("ttysnoop.py /dev/console")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: False is not true : rc was 1
29:
29: ======================================================================
29: FAIL: test_vfsstat (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 380, in test_vfsstat
29: self.run_with_duration("vfsstat.py 1 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_wakeuptime (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 384, in test_wakeuptime
29: self.run_with_duration("wakeuptime.py 1")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ----------------------------------------------------------------------
29: Ran 80 tests in 144.645s
29:
29: FAILED (failures=45)
29: Failed
29/40 Test #29: py_test_tools_smoke ..............***Failed 144.74 sec
test 30
Start 30: py_test_tools_memleak
30: 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"
30: Test timeout computed to be: 10000000
30: ........
30: ----------------------------------------------------------------------
30: Ran 8 tests in 21.718s
30:
30: OK
30/40 Test #30: py_test_tools_memleak ............ Passed 21.82 sec
test 31
Start 31: py_test_usdt
31: 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"
31: Test timeout computed to be: 10000000
31: <stdin>: In function ‘main’:
31: <stdin>:23:17: warning: null character(s) preserved in literal
31: <stdin>:28:17: warning: null character(s) preserved in literal
31: 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 -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/helpers.h -isystem /virtual/include -I /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python -D __BPF_TRACING__ -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include/generated/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include/generated -I /lib/modules/4.17.12-200.fc28.x86_64/build/include -I /lib/modules/4.17.12-200.fc28.x86_64/build/./arch/x86/include/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include/generated/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/include/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/include/generated -I /lib/modules/4.17.12-200.fc28.x86_64/build/include/generated/uapi -I ./arch/x86/include -I arch/x86/include/generated/uapi -I arch/x86/include/generated -I include -I ./arch/x86/include/uapi -I arch/x86/include/generated/uapi -I ./include/uapi -I include/generated/uapi -D __KERNEL__ -D __HAVE_BUILTIN_BSWAP16__ -D __HAVE_BUILTIN_BSWAP32__ -D __HAVE_BUILTIN_BSWAP64__ -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
31: #if defined(BPF_LICENSE)
31: #error BPF_LICENSE cannot be specified through cflags
31: #endif
31: #if !defined(CONFIG_CC_STACKPROTECTOR)
31: #if defined(CONFIG_CC_STACKPROTECTOR_AUTO) \
31: || defined(CONFIG_CC_STACKPROTECTOR_REGULAR) \
31: || defined(CONFIG_CC_STACKPROTECTOR_STRONG)
31: #define CONFIG_CC_STACKPROTECTOR
31: #endif
31: #endif
31: #include <uapi/linux/ptrace.h>
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace1_1(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int8_t)) return -1;
31: switch(PT_REGS_IP(ctx)) {
31: case 0x400687ULL: *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
31: case 0x400690ULL: *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
31: }
31: return -1;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace1_2(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int32_t)) return -1;
31: switch(PT_REGS_IP(ctx)) {
31: case 0x400687ULL: { u64 __addr = ctx->bp + -24; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
31: case 0x400690ULL: { u64 __addr = ctx->bp + -20; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
31: }
31: return -1;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace3_1(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int32_t)) return -1;
31: switch(PT_REGS_IP(ctx)) {
31: case 0x400688ULL: { u64 __addr = ctx->bp + -20; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
31: case 0x4006a7ULL: *((int32_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
31: }
31: return -1;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace3_2(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int32_t)) return -1;
31: switch(PT_REGS_IP(ctx)) {
31: case 0x400688ULL: { u64 __addr = ctx->bp + -24; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
31: case 0x4006a7ULL: *((int32_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory"); return 0;
31: }
31: return -1;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace2_1(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int32_t)) return -1;
31: *((int32_t *)dest) = 5;
31: return 0;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace2_2(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int8_t)) return -1;
31: *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
31: return 0;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace4_1(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int64_t)) return -1;
31: *((int64_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
31: return 0;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace4_2(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int64_t)) return -1;
31: *((int64_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory");
31: return 0;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace5_1(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int64_t)) return -1;
31: *((int64_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory");
31: return 0;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace5_2(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int64_t)) return -1;
31: *((int64_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
31: return 0;
31: }
31:
31: #include <linux/blkdev.h>
31: #include <uapi/linux/ptrace.h>
31:
31: struct probe_result_t1 {
31: char v1;
31: int v2;
31: };
31:
31: struct probe_result_t2 {
31: int v1;
31: char v2;
31: };
31:
31: struct probe_result_t3 {
31: int v1;
31: int v2;
31: };
31:
31: struct probe_result_t4 {
31: u64 v1;
31: char v2[8];
31: };
31:
31: struct probe_result_t5 {
31: char v1[8];
31: u64 v2;
31: };
31:
31: BPF_PERF_OUTPUT(event1);
31: BPF_PERF_OUTPUT(event2);
31: BPF_PERF_OUTPUT(event3);
31: BPF_PERF_OUTPUT(event4);
31: BPF_PERF_OUTPUT(event5);
31:
31: __attribute__((section(".bpf.fn.do_trace1")))
31: int do_trace1(struct pt_regs *ctx) {
31:
31: struct probe_result_t1 result = {};
31: _bpf_readarg_do_trace1_1(ctx, &result.v1, sizeof(*(&result.v1)));
31: _bpf_readarg_do_trace1_2(ctx, &result.v2, sizeof(*(&result.v2)));
31: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -1), CUR_CPU_IDENTIFIER, &result, sizeof(result));
31: return 0;
31: };
31: __attribute__((section(".bpf.fn.do_trace2")))
31: int do_trace2(struct pt_regs *ctx) {
31:
31: struct probe_result_t2 result = {};
31: _bpf_readarg_do_trace2_1(ctx, &result.v1, sizeof(*(&result.v1)));
31: _bpf_readarg_do_trace2_2(ctx, &result.v2, sizeof(*(&result.v2)));
31: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -2), CUR_CPU_IDENTIFIER, &result, sizeof(result));
31: return 0;
31: }
31: __attribute__((section(".bpf.fn.do_trace3")))
31: int do_trace3(struct pt_regs *ctx) {
31:
31: struct probe_result_t3 result = {};
31: _bpf_readarg_do_trace3_1(ctx, &result.v1, sizeof(*(&result.v1)));
31: _bpf_readarg_do_trace3_2(ctx, &result.v2, sizeof(*(&result.v2)));
31: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -3), CUR_CPU_IDENTIFIER, &result, sizeof(result));
31: return 0;
31: }
31: __attribute__((section(".bpf.fn.do_trace4")))
31: int do_trace4(struct pt_regs *ctx) {
31:
31: struct probe_result_t4 result = {};
31: _bpf_readarg_do_trace4_1(ctx, &result.v1, sizeof(*(&result.v1)));
31: ({ u64 __addr = 0x0; _bpf_readarg_do_trace4_2(ctx, &__addr, sizeof(__addr));bpf_probe_read(&result.v2, sizeof(result.v2), (void *)__addr);});
31: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -4), CUR_CPU_IDENTIFIER, &result, sizeof(result));
31: return 0;
31: }
31: __attribute__((section(".bpf.fn.do_trace5")))
31: int do_trace5(struct pt_regs *ctx) {
31:
31: struct probe_result_t5 result = {};
31: ({ u64 __addr = 0x0; _bpf_readarg_do_trace5_1(ctx, &__addr, sizeof(__addr));bpf_probe_read(&result.v1, sizeof(result.v1), (void *)__addr);});
31: _bpf_readarg_do_trace5_2(ctx, &result.v2, sizeof(*(&result.v2)));
31: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -5), CUR_CPU_IDENTIFIER, &result, sizeof(result));
31: return 0;
31: }
31:
31: #include <bcc/footer.h>
31: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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'
31: text = _assert_is_bytes(text)
31: /usr/lib/python3.6/site-packages/bcc/__init__.py:1003: DeprecationWarning: not a bytes object: '/proc/11639/root/tmp/tmpg985xrde'
31: name = _assert_is_bytes(name)
31: /usr/lib/python3.6/site-packages/bcc/__init__.py:1006: DeprecationWarning: not a bytes object: 'do_trace1'
31: fn_name = _assert_is_bytes(fn_name)
31: /usr/lib/python3.6/site-packages/bcc/__init__.py:1006: DeprecationWarning: not a bytes object: 'do_trace3'
31: fn_name = _assert_is_bytes(fn_name)
31: /usr/lib/python3.6/site-packages/bcc/__init__.py:1006: DeprecationWarning: not a bytes object: 'do_trace2'
31: fn_name = _assert_is_bytes(fn_name)
31: /usr/lib/python3.6/site-packages/bcc/__init__.py:1006: DeprecationWarning: not a bytes object: 'do_trace4'
31: fn_name = _assert_is_bytes(fn_name)
31: /usr/lib/python3.6/site-packages/bcc/__init__.py:1006: DeprecationWarning: not a bytes object: 'do_trace5'
31: fn_name = _assert_is_bytes(fn_name)
31: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'event1'
31: name = _assert_is_bytes(name)
31: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'event2'
31: name = _assert_is_bytes(name)
31: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'event3'
31: name = _assert_is_bytes(name)
31: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'event4'
31: name = _assert_is_bytes(name)
31: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'event5'
31: name = _assert_is_bytes(name)
31: .
31: ----------------------------------------------------------------------
31: Ran 1 test in 3.053s
31:
31: OK
31: b'str4'
31: b'str5'
31: b'str6'
31: b'str7'
31: Running from kernel directory at: /lib/modules/4.17.12-200.fc28.x86_64/source
31/40 Test #31: py_test_usdt ..................... Passed 3.35 sec
test 32
Start 32: py_test_usdt2
32: 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"
32: Test timeout computed to be: 10000000
32: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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 == 11649)\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 == 11649)\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 == 11649)\n event3.perf_submit(ctx, &result, sizeof(result));\n else\n event6.perf_submit(ctx, &result, sizeof(result));\n return 0;\n}\n'
32: text = _assert_is_bytes(text)
32: /usr/lib/python3.6/site-packages/bcc/__init__.py:1003: DeprecationWarning: not a bytes object: '/proc/11649/root/tmp/tmp5rdz1ugb'
32: name = _assert_is_bytes(name)
32: /usr/lib/python3.6/site-packages/bcc/__init__.py:1006: DeprecationWarning: not a bytes object: 'do_trace1'
32: fn_name = _assert_is_bytes(fn_name)
32: /usr/lib/python3.6/site-packages/bcc/__init__.py:1006: DeprecationWarning: not a bytes object: 'do_trace2'
32: fn_name = _assert_is_bytes(fn_name)
32: /usr/lib/python3.6/site-packages/bcc/__init__.py:1003: DeprecationWarning: not a bytes object: '/proc/11650/root/tmp/tmp5rdz1ugb'
32: name = _assert_is_bytes(name)
32: /usr/lib/python3.6/site-packages/bcc/__init__.py:1006: DeprecationWarning: not a bytes object: 'do_trace3'
32: fn_name = _assert_is_bytes(fn_name)
32: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'event1'
32: name = _assert_is_bytes(name)
32: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'event2'
32: name = _assert_is_bytes(name)
32: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'event3'
32: name = _assert_is_bytes(name)
32: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'event4'
32: name = _assert_is_bytes(name)
32: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'event5'
32: name = _assert_is_bytes(name)
32: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'event6'
32: name = _assert_is_bytes(name)
32: .
32: ----------------------------------------------------------------------
32: Ran 1 test in 2.051s
32:
32: OK
32/40 Test #32: py_test_usdt2 .................... Passed 2.28 sec
test 33
Start 33: py_test_usdt3
33: 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"
33: Test timeout computed to be: 10000000
33: test:probe [sema 0x0]
33: location #1 /proc/11673/root/tmp/tmpos3leqk1/liba.so 0x5c0
33: argument #1 4 signed bytes @ *(bp - 4)
33: location #2 /proc/11673/root/tmp/tmpos3leqk1/libb.so 0x5c0
33: argument #1 4 signed bytes @ *(bp - 4)
33: location #3 /proc/11673/root/tmp/tmpos3leqk1/a.out 0x40065d
33: argument #1 4 signed bytes @ *(bp - 4)
33: libc:setjmp [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x36cc1
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ si
33: argument #3 8 unsigned bytes @ ax
33: libc:longjmp [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x36da3
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ si
33: argument #3 8 unsigned bytes @ dx
33: location #2 /proc/11673/root/usr/lib64/libc-2.27.so 0x10b493
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ si
33: argument #3 8 unsigned bytes @ dx
33: libc:longjmp_target [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x36dbf
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ ax
33: argument #3 8 unsigned bytes @ dx
33: location #2 /proc/11673/root/usr/lib64/libc-2.27.so 0x10b4af
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ ax
33: argument #3 8 unsigned bytes @ dx
33: libc:memory_mallopt_arena_max [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x7f783
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 unsigned bytes @ *(&mp_ + 32)
33: location #2 /proc/11673/root/usr/lib64/libc-2.27.so 0x85dc9
33: argument #1 8 unsigned bytes @ bx
33: argument #2 8 unsigned bytes @ *(&mp_ + 32)
33: libc:memory_mallopt_arena_test [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x7f793
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 unsigned bytes @ *(&mp_ + 24)
33: location #2 /proc/11673/root/usr/lib64/libc-2.27.so 0x85de1
33: argument #1 8 unsigned bytes @ bx
33: argument #2 8 unsigned bytes @ *(&mp_ + 24)
33: libc:memory_tunable_tcache_max_bytes [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x7f7ab
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 unsigned bytes @ *(&mp_ + 88)
33: libc:memory_tunable_tcache_count [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x7f7e3
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 unsigned bytes @ *(&mp_ + 96)
33: libc:memory_tunable_tcache_unsorted_limit [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x7f7f3
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 unsigned bytes @ *(&mp_ + 104)
33: libc:memory_mallopt_trim_threshold [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x7fc03
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 unsigned bytes @ *(&mp_ + 0)
33: argument #3 4 signed bytes @ *(&mp_ + 52)
33: location #2 /proc/11673/root/usr/lib64/libc-2.27.so 0x85d60
33: argument #1 8 unsigned bytes @ bx
33: argument #2 8 unsigned bytes @ *(&mp_ + 0)
33: argument #3 4 signed bytes @ *(&mp_ + 52)
33: libc:memory_mallopt_top_pad [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x7fc23
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 unsigned bytes @ *(&mp_ + 8)
33: argument #3 4 signed bytes @ *(&mp_ + 52)
33: location #2 /proc/11673/root/usr/lib64/libc-2.27.so 0x85e90
33: argument #1 8 unsigned bytes @ bx
33: argument #2 8 unsigned bytes @ *(&mp_ + 8)
33: argument #3 4 signed bytes @ *(&mp_ + 52)
33: libc:memory_mallopt_mmap_threshold [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x7fc50
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 unsigned bytes @ *(&mp_ + 16)
33: argument #3 4 signed bytes @ *(&mp_ + 52)
33: location #2 /proc/11673/root/usr/lib64/libc-2.27.so 0x85e6f
33: argument #1 8 unsigned bytes @ bx
33: argument #2 8 unsigned bytes @ *(&mp_ + 16)
33: argument #3 4 signed bytes @ *(&mp_ + 52)
33: libc:memory_mallopt_mmap_max [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x7fc73
33: argument #1 4 signed bytes @ ax
33: argument #2 4 signed bytes @ *(&mp_ + 44)
33: argument #3 4 signed bytes @ *(&mp_ + 52)
33: location #2 /proc/11673/root/usr/lib64/libc-2.27.so 0x85e40
33: argument #1 4 signed bytes @ bx
33: argument #2 4 signed bytes @ *(&mp_ + 44)
33: argument #3 4 signed bytes @ *(&mp_ + 52)
33: libc:memory_mallopt_perturb [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x7fc93
33: argument #1 4 signed bytes @ ax
33: argument #2 4 signed bytes @ *(&perturb_byte + 0)
33: location #2 /proc/11673/root/usr/lib64/libc-2.27.so 0x85df0
33: argument #1 4 signed bytes @ bx
33: argument #2 4 signed bytes @ *(&perturb_byte + 0)
33: libc:memory_arena_reuse_free_list [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x7fe27
33: argument #1 8 unsigned bytes @ bx
33: libc:memory_heap_new [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x802b9
33: argument #1 8 unsigned bytes @ bx
33: argument #2 8 unsigned bytes @ bp
33: libc:memory_arena_reuse [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x808a1
33: argument #1 8 unsigned bytes @ bx
33: argument #2 8 unsigned bytes @ bp
33: libc:memory_arena_reuse_wait [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x8091d
33: argument #1 8 unsigned bytes @ dx
33: argument #2 8 unsigned bytes @ dx
33: argument #3 8 unsigned bytes @ bp
33: libc:memory_arena_new [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x80a84
33: argument #1 8 unsigned bytes @ bx
33: argument #2 8 unsigned bytes @ r12
33: libc:memory_arena_retry [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x80c29
33: argument #1 8 unsigned bytes @ si
33: argument #2 8 unsigned bytes @ di
33: libc:memory_sbrk_less [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x8128f
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 signed bytes @ bp
33: libc:memory_heap_free [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x81ab9
33: argument #1 8 unsigned bytes @ bx
33: argument #2 8 unsigned bytes @ ax
33: libc:memory_heap_less [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x81d41
33: argument #1 8 unsigned bytes @ bx
33: argument #2 8 unsigned bytes @ r15
33: libc:memory_heap_more [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x81f96
33: argument #1 8 unsigned bytes @ r9
33: argument #2 8 unsigned bytes @ r8
33: libc:memory_sbrk_more [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x8230a
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 signed bytes @ r12
33: libc:memory_malloc_retry [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x84890
33: argument #1 8 unsigned bytes @ bp
33: libc:memory_memalign_retry [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x84b85
33: argument #1 8 unsigned bytes @ bp
33: argument #2 8 unsigned bytes @ bx
33: libc:memory_mallopt_free_dyn_thresholds [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x84cd8
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 unsigned bytes @ dx
33: libc:memory_realloc_retry [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x850e5
33: argument #1 8 unsigned bytes @ bp
33: argument #2 8 unsigned bytes @ bx
33: libc:memory_calloc_retry [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x85548
33: argument #1 8 unsigned bytes @ bp
33: libc:memory_mallopt [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x85d24
33: argument #1 4 signed bytes @ bp
33: argument #2 4 signed bytes @ bx
33: libc:memory_mallopt_mxfast [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x85e16
33: argument #1 4 signed bytes @ bx
33: argument #2 8 unsigned bytes @ *(&global_max_fast + 0)
33: libc:lll_lock_wait_private [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/libc-2.27.so 0x107504
33: argument #1 8 unsigned bytes @ di
33: rtld:init_start [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/ld-2.27.so 0x388f
33: argument #1 4 signed bytes @ 0
33: argument #2 8 unsigned bytes @ bx
33: rtld:init_complete [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/ld-2.27.so 0x3fe7
33: argument #1 4 signed bytes @ 0
33: argument #2 8 unsigned bytes @ bx
33: rtld:map_failed [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/ld-2.27.so 0x5bd6
33: argument #1 8 signed bytes @ *(sp + 72)
33: argument #2 8 unsigned bytes @ bp
33: rtld:map_start [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/ld-2.27.so 0x6002
33: argument #1 8 signed bytes @ *(bp + 40)
33: argument #2 8 unsigned bytes @ bx
33: rtld:map_complete [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/ld-2.27.so 0x1354c
33: argument #1 8 signed bytes @ *(r15 + 40)
33: argument #2 8 unsigned bytes @ r14
33: argument #3 8 unsigned bytes @ bx
33: rtld:reloc_start [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/ld-2.27.so 0x13644
33: argument #1 8 signed bytes @ *(r15 + 40)
33: argument #2 8 unsigned bytes @ *(bp - 64)
33: rtld:reloc_complete [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/ld-2.27.so 0x139a8
33: argument #1 8 signed bytes @ *(r15 + 40)
33: argument #2 8 unsigned bytes @ *(bp - 64)
33: argument #3 8 unsigned bytes @ bx
33: rtld:unmap_start [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/ld-2.27.so 0x144d7
33: argument #1 8 signed bytes @ r13
33: argument #2 8 unsigned bytes @ r14
33: rtld:unmap_complete [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/ld-2.27.so 0x14721
33: argument #1 8 signed bytes @ *(bp - 128)
33: argument #2 8 unsigned bytes @ bx
33: rtld:setjmp [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/ld-2.27.so 0x1ad9d
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ si
33: argument #3 8 unsigned bytes @ ax
33: rtld:longjmp [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/ld-2.27.so 0x1addd
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ si
33: argument #3 8 unsigned bytes @ dx
33: rtld:longjmp_target [sema 0x0]
33: location #1 /proc/11673/root/usr/lib64/ld-2.27.so 0x1adf9
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ ax
33: argument #3 8 unsigned bytes @ dx
33: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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'
33: text = _assert_is_bytes(text)
33: /usr/lib/python3.6/site-packages/bcc/__init__.py:1003: DeprecationWarning: not a bytes object: '/proc/11673/root/tmp/tmpos3leqk1/liba.so'
33: name = _assert_is_bytes(name)
33: /usr/lib/python3.6/site-packages/bcc/__init__.py:1006: DeprecationWarning: not a bytes object: 'do_trace'
33: fn_name = _assert_is_bytes(fn_name)
33: /usr/lib/python3.6/site-packages/bcc/__init__.py:1003: DeprecationWarning: not a bytes object: '/proc/11673/root/tmp/tmpos3leqk1/libb.so'
33: name = _assert_is_bytes(name)
33: /usr/lib/python3.6/site-packages/bcc/__init__.py:1003: DeprecationWarning: not a bytes object: '/proc/11673/root/tmp/tmpos3leqk1/a.out'
33: name = _assert_is_bytes(name)
33: /usr/lib/python3.6/site-packages/bcc/__init__.py:487: DeprecationWarning: not a bytes object: 'event'
33: name = _assert_is_bytes(name)
33: .
33: ----------------------------------------------------------------------
33: Ran 1 test in 1.147s
33:
33: OK
33: temp directory: /tmp/tmpos3leqk1
33/40 Test #33: py_test_usdt3 .................... Passed 1.36 sec
test 34
Start 34: py_test_license
34: 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"
34: Test timeout computed to be: 10000000
34: /virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
34: #error BPF_LICENSE cannot be specified through cflags
34: ^
34: 1 error generated.
34: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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'
34: text = _assert_is_bytes(text)
34: x/virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
34: #error BPF_LICENSE cannot be specified through cflags
34: ^
34: 1 error generated.
34: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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'
34: text = _assert_is_bytes(text)
34: x/usr/lib/python3.6/site-packages/bcc/__init__.py:624: DeprecationWarning: not a bytes object: 'read'
34: name = _assert_is_bytes(name)
34: /usr/lib/python3.6/site-packages/bcc/__init__.py:639: DeprecationWarning: not a bytes object: 'license_program'
34: fn_name = _assert_is_bytes(fn_name)
34: Ebpf: Failed to load program: Invalid argument
34: 0: (bf) r6 = r1
34: 1: (85) call bpf_ktime_get_ns#5
34: cannot call GPL only function from proprietary program
34:
34: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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'
34: text = _assert_is_bytes(text)
34: x/usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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'
34: text = _assert_is_bytes(text)
34: EE/virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
34: #error BPF_LICENSE cannot be specified through cflags
34: ^
34: 1 error generated.
34: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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_init(&key, &zero); // update counter\n (*val)++;\n return 0;\n}\n'
34: text = _assert_is_bytes(text)
34: xbpf: Failed to load program: Invalid argument
34: 0: (bf) r6 = r1
34: 1: (85) call bpf_ktime_get_ns#5
34: cannot call GPL only function from proprietary program
34:
34: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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'
34: text = _assert_is_bytes(text)
34: x/usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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_init(&key, &zero); // update counter\n (*val)++;\n return 0;\n}\n\n#define BPF_LICENSE Proprietary\n'
34: text = _assert_is_bytes(text)
34: E/usr/lib/python3.6/site-packages/bcc/__init__.py:296: 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_init(&key, &zero); // update counter\n (*val)++;\n return 0;\n}\n\n#define BPF_LICENSE Proprietary license\n'
34: text = _assert_is_bytes(text)
34: E
34: ======================================================================
34: ERROR: test_default (__main__.TestLicense)
34: ----------------------------------------------------------------------
34: Traceback (most recent call last):
34: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_license.py", line 63, in test_default
34: self.load_bpf_code(b)
34: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_license.py", line 58, in load_bpf_code
34: bpf_code.attach_kprobe(event=event_name, fn_name="license_program")
34: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
34: (fn_name, event))
34: Exception: Failed to attach BPF program b'license_program' to kprobe b'__x64_sys_read'
34:
34: ======================================================================
34: ERROR: test_gpl_compatible_macro (__main__.TestLicense)
34: ----------------------------------------------------------------------
34: Traceback (most recent call last):
34: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_license.py", line 75, in test_gpl_compatible_macro
34: self.load_bpf_code(b)
34: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_license.py", line 58, in load_bpf_code
34: bpf_code.attach_kprobe(event=event_name, fn_name="license_program")
34: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
34: (fn_name, event))
34: Exception: Failed to attach BPF program b'license_program' to kprobe b'__x64_sys_read'
34:
34: ======================================================================
34: ERROR: test_gpl_helper_macro (__main__.TestLicense)
34: ----------------------------------------------------------------------
34: Traceback (most recent call last):
34: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_license.py", line 67, in test_gpl_helper_macro
34: self.load_bpf_code(b)
34: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_license.py", line 58, in load_bpf_code
34: bpf_code.attach_kprobe(event=event_name, fn_name="license_program")
34: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
34: (fn_name, event))
34: Exception: Failed to attach BPF program b'license_program' to kprobe b'__x64_sys_read'
34:
34: ======================================================================
34: ERROR: test_proprietary_macro (__main__.TestLicense)
34: ----------------------------------------------------------------------
34: Traceback (most recent call last):
34: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_license.py", line 71, in test_proprietary_macro
34: self.load_bpf_code(b)
34: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_license.py", line 58, in load_bpf_code
34: bpf_code.attach_kprobe(event=event_name, fn_name="license_program")
34: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
34: (fn_name, event))
34: Exception: Failed to attach BPF program b'license_program' to kprobe b'__x64_sys_read'
34:
34: ======================================================================
34: ERROR: test_proprietary_words_macro (__main__.TestLicense)
34: ----------------------------------------------------------------------
34: Traceback (most recent call last):
34: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_license.py", line 79, in test_proprietary_words_macro
34: self.load_bpf_code(b)
34: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_license.py", line 58, in load_bpf_code
34: bpf_code.attach_kprobe(event=event_name, fn_name="license_program")
34: File "/usr/lib/python3.6/site-packages/bcc/__init__.py", line 659, in attach_kprobe
34: (fn_name, event))
34: Exception: Failed to attach BPF program b'license_program' to kprobe b'__x64_sys_read'
34:
34: ----------------------------------------------------------------------
34: Ran 10 tests in 1.867s
34:
34: FAILED (errors=5, expected failures=5)
34: Failed
34/40 Test #34: py_test_license ..................***Failed 2.02 sec
test 35
Start 35: py_test_free_bcc_memory
35: 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"
35: Test timeout computed to be: 10000000
35: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: 'int test() { return 0; }'
35: text = _assert_is_bytes(text)
35: /usr/lib64/python3.6/subprocess.py:766: ResourceWarning: subprocess 11684 is still running
35: ResourceWarning, source=self)
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_free_bcc_memory.py:46: ResourceWarning: unclosed file <_io.BufferedReader name=3>
35: [rss1, unit1] = self.getRssFile()
35: /usr/lib64/python3.6/subprocess.py:766: ResourceWarning: subprocess 11685 is still running
35: ResourceWarning, source=self)
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_free_bcc_memory.py:53: ResourceWarning: unclosed file <_io.BufferedReader name=3>
35: [rss2, unit2] = self.getRssFile()
35: .
35: ----------------------------------------------------------------------
35: Ran 1 test in 0.205s
35:
35: OK
35: Before freeing llvm memory: RssFile: b'55888' b'kB'
35: After freeing llvm memory: RssFile: b'55016' b'kB'
35/40 Test #35: py_test_free_bcc_memory .......... Passed 0.36 sec
test 36
Start 36: py_test_rlimit
36: 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"
36: Test timeout computed to be: 10000000
36: could not open bpf map: unused, error: Operation not permitted
36: /usr/lib/python3.6/site-packages/bcc/__init__.py:296: DeprecationWarning: not a bytes object: '\nBPF_HASH(unused, u64, u64, 65536);\nint test() { return 0; }\n'
36: text = _assert_is_bytes(text)
36: .
36: ----------------------------------------------------------------------
36: Ran 1 test in 0.253s
36:
36: OK
36/40 Test #36: py_test_rlimit ................... Passed 0.41 sec
test 37
Start 37: lua_test_clang
37: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "lua_test_clang" "sudo" "/usr/bin/luajit" "test_clang.lua"
37: Test timeout computed to be: 10000000
37: /virtual/main.c:1:30: error: expected expression
37: int failure(void *ctx) { if (); return 0; }
37: ^
37: 1 error generated.
37: ....................
37: Ran 20 tests in 13.453 seconds, 20 successes, 0 failures
37: OK
37/40 Test #37: lua_test_clang ................... Passed 13.67 sec
test 38
Start 38: lua_test_uprobes
38: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "lua_test_uprobes" "sudo" "/usr/bin/luajit" "test_uprobes.lua"
38: Test timeout computed to be: 10000000
38: Python 2.7.15
38: Arena 0:
38: system bytes = 18128896
38: in use bytes = 1178448
38: Total (incl. mmap):
38: system bytes = 18128896
38: in use bytes = 1178448
38: max mmap regions = 7
38: max mmap bytes = 2134016
38: ..
38: Ran 2 tests in 0.335 seconds, 2 successes, 0 failures
38: OK
38/40 Test #38: lua_test_uprobes ................. Passed 0.45 sec
test 39
Start 39: lua_test_dump
39: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "lua_test_dump" "sudo" "/usr/bin/luajit" "test_dump.lua"
39: Test timeout computed to be: 10000000
39: .
39: Ran 1 tests in 0.125 seconds, 1 successes, 0 failures
39: OK
39/40 Test #39: lua_test_dump .................... Passed 0.19 sec
test 40
Start 40: lua_test_standalone
40: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/lua/test_standalone.sh
40: Test timeout computed to be: 10000000
40: + cd src/lua
40: + [[ ! -x bcc-lua ]]
40: + echo 'bcc-lua not built --- skipping'
40: bcc-lua not built --- skipping
40: + exit 0
40/40 Test #40: lua_test_standalone .............. Passed 0.00 sec
65% tests passed, 14 tests failed out of 40
Total Test time (real) = 339.35 sec
The following tests FAILED:
9 - py_test_trace1 (Failed)
10 - py_test_trace2 (Failed)
11 - py_test_trace3_c (Failed)
12 - py_test_trace4 (Failed)
13 - py_test_trace_maxactive (Failed)
14 - py_test_probe_count (Failed)
18 - py_test_clang (Failed)
19 - py_test_histogram (Failed)
20 - py_array (Failed)
22 - py_test_stackid (Failed)
24 - py_test_perf_event (Failed)
26 - py_test_percpu (Failed)
29 - py_test_tools_smoke (Failed)
34 - py_test_license (Failed)
Errors while running CTest
Build step 'Execute shell' marked build as failure
Finished: FAILURE