Re: [go-nuts] TestSetuidEtc fails during test execution in a container

2021-05-14 Thread Kumar Srinivasan
00,,0000,0000,0001 Mems_allowed_list: 0 voluntary_ctxt_switches: 25 nonvoluntary_ctxt_switches: 2 ' Pid: 29435] FAIL exit status 1 FAIL misc/cgo/test 6.755s On Thu, May 13, 2021 at 6:40 AM Kumar Srinivasan wrote: > Thanks for looki

Re: [go-nuts] TestSetuidEtc fails during test execution in a container

2021-05-13 Thread Kumar Srinivasan
c_override,cap_fowner,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_sys_chroot,cap_mknod,cap_audit_write,cap_setfcap >>>>> >>>>> > >>>>> > The environment appears to be denying cap_setgid - which is why t

Re: [go-nuts] TestSetuidEtc fails during test execution in a container

2021-05-12 Thread Kumar Srinivasan
possible? >>> >>> Alternatively, can the test code detect that those restrictions are >>> being applied, and skip the test in that case? That's our usual >>> pattern for tests that can't be run in some environments. Thanks. >>> >>> Ian &

Re: [go-nuts] TestSetuidEtc fails during test execution in a container

2021-05-12 Thread Kumar Srinivasan
Whoops, I missed mentioning I was trying to build and test this branch + hash: https://go.googlesource.com/go/+/fcee6b930a01407527e3a0386af2ea7ac4e66d44 Thanks Kumar On Wed, May 12, 2021 at 2:33 PM Ian Lance Taylor wrote: > [ + agm ] > > On Wed, May 12, 2021 at 2:12 PM Kumar S

[go-nuts] TestSetuidEtc fails during test execution in a container

2021-05-12 Thread Kumar Srinivasan
attached below when I build and test within a container. However I don't see this issue in a Virtual Machine running CentOS7. Appreciate any help or insights anyone can offer. Thanks Kumar Srinivasan % uname -a Linux 7bb298e4-71d7-4f5e-4d4c-d58ac8ce61ac 4.15.0-76-generic #86-Ubuntu SMP Fri Ja