Re: [dpdk-dev] [PATCH] test/common: fix log2 check

2019-12-05 Thread Aaron Conole
David Marchand writes: > On Wed, Dec 4, 2019 at 10:20 PM Aaron Conole wrote: >> >> David Marchand writes: >> >> > We recently started to get random failures on the common_autotest ut with >> > clang on Ubuntu 16.04.6. >> > >> > Example: https://travis-ci.com/DPDK/dpdk/jobs/263177424 >> > >> > W

Re: [dpdk-dev] [PATCH] test/common: fix log2 check

2019-12-05 Thread David Marchand
On Wed, Dec 4, 2019 at 10:20 PM Aaron Conole wrote: > > David Marchand writes: > > > We recently started to get random failures on the common_autotest ut with > > clang on Ubuntu 16.04.6. > > > > Example: https://travis-ci.com/DPDK/dpdk/jobs/263177424 > > > > Wrong rte_log2_u64(0) val 0, expected

Re: [dpdk-dev] [PATCH] test/common: fix log2 check

2019-12-04 Thread Aaron Conole
David Marchand writes: > We recently started to get random failures on the common_autotest ut with > clang on Ubuntu 16.04.6. > > Example: https://travis-ci.com/DPDK/dpdk/jobs/263177424 > > Wrong rte_log2_u64(0) val 0, expected > Test Failed > > The ut passes 0 to log2() to get an expect