[R4.1]encp and intf mirroring testcases are failing due to tcpdump timinig issue

Bug #1738935 reported by aswani kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Won't Fix
Undecided
Unassigned
R4.0
Fix Committed
High
aswani kumar
R4.1
Fix Committed
High
aswani kumar
Trunk
Fix Committed
High
aswani kumar

Bug Description

R4.1 build 64 and 67
seeing encap and intf mirroring testcase failures
add a delay of 30 sec after starting tcpdump on all computes
before sending traffic

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/38443
Submitter: aswani kumar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/38444
Submitter: aswani kumar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/38443
Submitter: aswani kumar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/38444
Submitter: aswani kumar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/38443
Submitter: aswani kumar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/38444
Submitter: aswani kumar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/38513
Submitter: aswani kumar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/38514
Submitter: aswani kumar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/38443
Committed: http://github.com/Juniper/contrail-test-ci/commit/566610b180faf83876945a33877230f7ecd593b6
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 566610b180faf83876945a33877230f7ecd593b6
Author: Aswani Kumar Reddy G <email address hidden>
Date: Tue Dec 19 11:28:40 2017 +0530

added check for pcap and 10 sec delay to counter timing issue for tcpdump

Change-Id: I5cd2716de368450e07cd774195c30b4229052840
Closes-Bug: #1738935

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/38513
Committed: http://github.com/Juniper/contrail-test-ci/commit/d5f0eaff3296a9746940bdbbe4ccc941be7d1c33
Submitter: Zuul (<email address hidden>)
Branch: master

commit d5f0eaff3296a9746940bdbbe4ccc941be7d1c33
Author: Aswani Kumar Reddy G <email address hidden>
Date: Tue Dec 19 11:28:40 2017 +0530

added check for pcap and 10 sec delay to counter timing issue for tcpdump

Change-Id: I5cd2716de368450e07cd774195c30b4229052840
Closes-Bug: #1738935

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/38588
Submitter: Ankit Jain (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/38444
Committed: http://github.com/Juniper/contrail-test/commit/daa649e552ca8d83317e259bbccb0a5913a3528a
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit daa649e552ca8d83317e259bbccb0a5913a3528a
Author: Aswani Kumar Reddy G <email address hidden>
Date: Tue Dec 19 11:32:17 2017 +0530

added check for pcap and delay 10 sec to counter tcpdump timimg issue

Change-Id: I10c0564b127a2477a1403870659047ca6ec4bb3e
Closes-Bug: #1738935

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/38588
Submitter: Ankit Jain (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/38693
Submitter: aswani kumar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/38514
Submitter: aswani kumar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/38737
Submitter: Ankit Jain (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/38738
Submitter: Ankit Jain (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/38738
Committed: http://github.com/Juniper/contrail-test-ci/commit/0b6683218b1c4cace182d704c426c605d609c4e4
Submitter: Zuul (<email address hidden>)
Branch: master

commit 0b6683218b1c4cace182d704c426c605d609c4e4
Author: ankitja <email address hidden>
Date: Fri Dec 29 15:40:40 2017 +0530

Add a check to make sure pcap file is getting created

Closes-Bug: #1738935

Intf Mirroring cases failing in the sanity, but passed on rerun.

Possible cause for the intermittent failure in the sanity could be
the pcap file is getting deleted after starting tcpdump.

In the start_tcpdump method, we first delete already existing file before creating a new one.

To make sure that the pcap file is present after starting tcpdump we need to
make sure that the pcap file is actually deleted if already exists before starting tcpdump.

This commit might solve the intermittent issue in the sanity.

Change-Id: I2297433f25dbe1f8bae8c01e4601baaaee1290b9

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/38588
Committed: http://github.com/Juniper/contrail-test-ci/commit/931ea179f94407ff5bf787bbfe51ec99d736e293
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 931ea179f94407ff5bf787bbfe51ec99d736e293
Author: ankitja <email address hidden>
Date: Fri Dec 29 15:40:40 2017 +0530

Add a check to make sure pcap file is getting created

Closes-Bug: #1738935

Intf Mirroring cases failing in the sanity, but passed on rerun.

Possible cause for the intermittent failure in the sanity could be
the pcap file is getting deleted after starting tcpdump.

In the start_tcpdump method, we first delete already existing file before creating a new one.

To make sure that the pcap file is present after starting tcpdump we need to
make sure that the pcap file is actually deleted if already exists before starting tcpdump.

This commit might solve the intermittent issue in the sanity.

Change-Id: I2297433f25dbe1f8bae8c01e4601baaaee1290b9

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/38693
Committed: http://github.com/Juniper/contrail-test/commit/8397e097769367bbb5c28ece330cf052abcb47dc
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 8397e097769367bbb5c28ece330cf052abcb47dc
Author: Aswani Kumar Reddy G <email address hidden>
Date: Fri Jan 5 12:38:30 2018 +0530

updating method name to check_pcap_file_exists
Closes-Bug: #1738935

Change-Id: Ibef757cb07e7c2699f5289ec763e631f42576a1f

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/38514
Committed: http://github.com/Juniper/contrail-test/commit/650567c54a6e20711225fa104258b3b62ee949d2
Submitter: Zuul (<email address hidden>)
Branch: master

commit 650567c54a6e20711225fa104258b3b62ee949d2
Author: Aswani Kumar Reddy G <email address hidden>
Date: Tue Dec 19 11:32:17 2017 +0530

added check for pcap and delay 10 sec to counter tcpdump timimg issue

Change-Id: I10c0564b127a2477a1403870659047ca6ec4bb3e
Closes-Bug: #1738935

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/38737
Committed: http://github.com/Juniper/contrail-test-ci/commit/ea67dfefb22611b2d3c18e1fad32f82efc82c74b
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit ea67dfefb22611b2d3c18e1fad32f82efc82c74b
Author: ankitja <email address hidden>
Date: Fri Dec 29 15:40:40 2017 +0530

Add a check to make sure pcap file is getting created

Closes-Bug: #1738935

Intf Mirroring cases failing in the sanity, but passed on rerun.

Possible cause for the intermittent failure in the sanity could be
the pcap file is getting deleted after starting tcpdump.

In the start_tcpdump method, we first delete already existing file before creating a new one.

To make sure that the pcap file is present after starting tcpdump we need to
make sure that the pcap file is actually deleted if already exists before starting tcpdump.

This commit might solve the intermittent issue in the sanity.

Change-Id: I2297433f25dbe1f8bae8c01e4601baaaee1290b9

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/38962
Submitter: aswani kumar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/38963
Submitter: aswani kumar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/38985
Submitter: aswani kumar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/38986
Submitter: aswani kumar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/38985
Committed: http://github.com/Juniper/contrail-test-ci/commit/b62643d15eea96934e42cb91cf93434f21875dc3
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit b62643d15eea96934e42cb91cf93434f21875dc3
Author: Aswani Kumar Reddy G <email address hidden>
Date: Thu Jan 18 11:55:34 2018 +0530

increasing number of retries to 40

Closes-Bug: #1738935
Change-Id: Ifc31ce6f33995812c7532e3839372069e32d9270

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/38986
Committed: http://github.com/Juniper/contrail-test-ci/commit/23c7273df7bf5d7da03388cea3ebd242f5448d01
Submitter: Zuul (<email address hidden>)
Branch: master

commit 23c7273df7bf5d7da03388cea3ebd242f5448d01
Author: Aswani Kumar Reddy G <email address hidden>
Date: Thu Jan 18 11:55:34 2018 +0530

increasing number of retries to 40

Closes-Bug: #1738935
Change-Id: Ifc31ce6f33995812c7532e3839372069e32d9270

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/39141
Submitter: Ankit Jain (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/39185
Submitter: Ankit Jain (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/40095
Submitter: Ankit Jain (<email address hidden>)

Jeba Paulaiyan (jebap)
tags: added: sanity
removed: sanityblocker
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.