Skip to content

Commit b28e820

Browse files
committed
Disabling Gtests due to issue 4331178
Signed-off-by: NirWolfer <[email protected]>
1 parent 1e16cae commit b28e820

File tree

5 files changed

+21
-12
lines changed

5 files changed

+21
-12
lines changed

contrib/jenkins_tests/gtest.sh

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,14 @@ rc=$(($rc+$?))
8080
eval "${sudo_cmd} $timeout_exe env GTEST_TAP=2 LD_PRELOAD=$gtest_lib $gtest_app $gtest_opt_ipv6 --gtest_filter=-xlio_* --gtest_output=xml:${WORKSPACE}/${prefix}/test-basic-ipv6.xml"
8181
rc=$(($rc+$?))
8282

83-
# Verify Delegated TCP Timers tests
84-
eval "${sudo_cmd} $timeout_exe env XLIO_RX_POLL_ON_TX_TCP=1 XLIO_TCP_ABORT_ON_CLOSE=1 XLIO_TCP_CTL_THREAD=delegate GTEST_TAP=2 LD_PRELOAD=$gtest_lib $gtest_app $gtest_opt --gtest_filter=-xlio* --gtest_output=xml:${WORKSPACE}/${prefix}/test-delegate.xml"
85-
rc=$(($rc+$?))
83+
#Skipping this test temporarily;Please see Issue #4331178.
84+
# # Verify Delegated TCP Timers tests
85+
# eval "${sudo_cmd} $timeout_exe env XLIO_RX_POLL_ON_TX_TCP=1 XLIO_TCP_ABORT_ON_CLOSE=1 XLIO_TCP_CTL_THREAD=delegate GTEST_TAP=2 LD_PRELOAD=$gtest_lib $gtest_app $gtest_opt --gtest_filter=-xlio* --gtest_output=xml:${WORKSPACE}/${prefix}/test-delegate.xml"
86+
# rc=$(($rc+$?))
8687

87-
# Verify Delegated TCP Timers tests IPv6
88-
eval "${sudo_cmd} $timeout_exe env XLIO_RX_POLL_ON_TX_TCP=1 XLIO_TCP_ABORT_ON_CLOSE=1 XLIO_TCP_CTL_THREAD=delegate GTEST_TAP=2 LD_PRELOAD=$gtest_lib $gtest_app $gtest_opt_ipv6 --gtest_filter=-xlio* --gtest_output=xml:${WORKSPACE}/${prefix}/test-delegate-ipv6.xml"
89-
rc=$(($rc+$?))
88+
# # Verify Delegated TCP Timers tests IPv6
89+
# eval "${sudo_cmd} $timeout_exe env XLIO_RX_POLL_ON_TX_TCP=1 XLIO_TCP_ABORT_ON_CLOSE=1 XLIO_TCP_CTL_THREAD=delegate GTEST_TAP=2 LD_PRELOAD=$gtest_lib $gtest_app $gtest_opt_ipv6 --gtest_filter=-xlio* --gtest_output=xml:${WORKSPACE}/${prefix}/test-delegate-ipv6.xml"
90+
# rc=$(($rc+$?))
9091

9192
if [[ -z "${MANUAL_RUN}" ]]; then
9293
make -C tests/gtest clean
@@ -110,13 +111,14 @@ rc=$(($rc+$?))
110111
eval "${sudo_cmd} $timeout_exe env XLIO_SOCKETXTREME=1 GTEST_TAP=2 LD_PRELOAD=$gtest_lib $gtest_app $gtest_opt_ipv6 --gtest_filter=socketxtreme_poll.*:socketxtreme_ring.*:sock_socket.*:tcp_bind.*:tcp_connect.*:tcp_sendto.*:tcp_set_get_sockopt*:udp_bind.*:udp_connect.*:udp_sendto.*:udp_socket.* --gtest_output=xml:${WORKSPACE}/${prefix}/test-socketxtreme-ipv6.xml"
111112
rc=$(($rc+$?))
112113

113-
# Verify socketxtreme mode and Delegated TCP Timers tests
114-
eval "${sudo_cmd} $timeout_exe env XLIO_SOCKETXTREME=1 XLIO_RX_POLL_ON_TX_TCP=1 XLIO_TCP_ABORT_ON_CLOSE=1 XLIO_TCP_CTL_THREAD=delegate GTEST_TAP=2 LD_PRELOAD=$gtest_lib $gtest_app $gtest_opt --gtest_filter=socketxtreme_poll.*:socketxtreme_ring.*:sock_socket.*:tcp_bind.*:tcp_connect.*:tcp_sendto.*:tcp_set_get_sockopt*:udp_bind.*:udp_connect.*:udp_sendto.*:udp_socket.* --gtest_output=xml:${WORKSPACE}/${prefix}/test-socketxtreme-delegate.xml"
115-
rc=$(($rc+$?))
114+
#Skipping this test temporarily;Please see Issue #4331178.
115+
# # Verify socketxtreme mode and Delegated TCP Timers tests
116+
# eval "${sudo_cmd} $timeout_exe env XLIO_SOCKETXTREME=1 XLIO_RX_POLL_ON_TX_TCP=1 XLIO_TCP_ABORT_ON_CLOSE=1 XLIO_TCP_CTL_THREAD=delegate GTEST_TAP=2 LD_PRELOAD=$gtest_lib $gtest_app $gtest_opt --gtest_filter=socketxtreme_poll.*:socketxtreme_ring.*:sock_socket.*:tcp_bind.*:tcp_connect.*:tcp_sendto.*:tcp_set_get_sockopt*:udp_bind.*:udp_connect.*:udp_sendto.*:udp_socket.* --gtest_output=xml:${WORKSPACE}/${prefix}/test-socketxtreme-delegate.xml"
117+
# rc=$(($rc+$?))
116118

117-
# Verify socketxtreme mode and Delegated TCP Timers tests IPv6
118-
eval "${sudo_cmd} $timeout_exe env XLIO_SOCKETXTREME=1 XLIO_RX_POLL_ON_TX_TCP=1 XLIO_TCP_ABORT_ON_CLOSE=1 XLIO_TCP_CTL_THREAD=delegate GTEST_TAP=2 LD_PRELOAD=$gtest_lib $gtest_app $gtest_opt_ipv6 --gtest_filter=socketxtreme_poll.*:socketxtreme_ring.*:sock_socket.*:tcp_bind.*:tcp_connect.*:tcp_sendto.*:tcp_set_get_sockopt*:udp_bind.*:udp_connect.*:udp_sendto.*:udp_socket.* --gtest_output=xml:${WORKSPACE}/${prefix}/test-socketxtreme-delegate-ipv6.xml"
119-
rc=$(($rc+$?))
119+
# # Verify socketxtreme mode and Delegated TCP Timers tests IPv6
120+
# eval "${sudo_cmd} $timeout_exe env XLIO_SOCKETXTREME=1 XLIO_RX_POLL_ON_TX_TCP=1 XLIO_TCP_ABORT_ON_CLOSE=1 XLIO_TCP_CTL_THREAD=delegate GTEST_TAP=2 LD_PRELOAD=$gtest_lib $gtest_app $gtest_opt_ipv6 --gtest_filter=socketxtreme_poll.*:socketxtreme_ring.*:sock_socket.*:tcp_bind.*:tcp_connect.*:tcp_sendto.*:tcp_set_get_sockopt*:udp_bind.*:udp_connect.*:udp_sendto.*:udp_socket.* --gtest_output=xml:${WORKSPACE}/${prefix}/test-socketxtreme-delegate-ipv6.xml"
121+
# rc=$(($rc+$?))
120122

121123
# Verify keep_alive
122124
eval "${sudo_cmd} $timeout_exe env GTEST_TAP=2 LD_PRELOAD=$gtest_lib $gtest_app $gtest_opt --gtest_filter=keep_alive* --gtest_output=xml:${WORKSPACE}/${prefix}/test-keepalive_ipv4.xml"

tests/gtest/tcp/tcp_send.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ TEST_F(tcp_send, ti_2)
102102
*/
103103
TEST_F(tcp_send, null_iov_elements)
104104
{
105+
GTEST_SKIP() << "Skipping this test temporarily;Please see Issue #4331178.";
105106
std::string buff1("abcd");
106107
std::string buff2("efgh");
107108
std::string buff3("ijkl");

tests/gtest/tcp/tcp_sockopt.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,7 @@ class tcp_with_fifo : public testing::TestWithParam<setsockopt_param> {
892892
*/
893893
TEST_P(tcp_with_fifo, accepted_socket_inherits_the_setsockopt_param)
894894
{
895+
GTEST_SKIP() << "Skipping this test temporarily;Please see Issue #4331178.";
895896
SKIP_TRUE(!getenv("XLIO_TCP_CTL_THREAD"), "Skip non default XLIO_TCP_CTL_THREAD");
896897

897898
int level, optname, value;

tests/gtest/udp/udp_bind.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ class pktinfo : public udp_base {
548548
*/
549549
TEST_F(pktinfo, check_recvmsg_returns_expected_pktinfo)
550550
{
551+
GTEST_SKIP() << "Skipping this test temporarily;Please see Issue #4331178.";
551552
int pid = fork();
552553
if (0 == pid) { /* Child-client code */
553554
client_func();

tests/gtest/xliod/xliod_flow.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ class xliod_flow : public xliod_base {
7979
*/
8080
TEST_F(xliod_flow, ti_1)
8181
{
82+
GTEST_SKIP() << "Skipping this test temporarily;Please see Issue #4331178.";
8283
int rc = 0;
8384
struct xlio_hdr answer;
8485

@@ -124,6 +125,7 @@ TEST_F(xliod_flow, ti_1)
124125
*/
125126
TEST_F(xliod_flow, ti_2)
126127
{
128+
GTEST_SKIP() << "Skipping this test temporarily;Please see Issue #4331178.";
127129
int rc = 0;
128130
struct xlio_hdr answer;
129131

@@ -178,6 +180,7 @@ TEST_F(xliod_flow, ti_2)
178180
*/
179181
TEST_F(xliod_flow, ti_3)
180182
{
183+
GTEST_SKIP() << "Skipping this test temporarily;Please see Issue #4331178.";
181184
int rc = 0;
182185
struct xlio_hdr answer;
183186

@@ -240,6 +243,7 @@ TEST_F(xliod_flow, ti_3)
240243
*/
241244
TEST_F(xliod_flow, ti_4)
242245
{
246+
GTEST_SKIP() << "Skipping this test temporarily;Please see Issue #4331178.";
243247
int rc = 0;
244248
struct xlio_hdr answer;
245249

0 commit comments

Comments
 (0)