Skip to content

test: reduce vr traceroute hops#4913

Merged
yadvr merged 1 commit into
apache:4.15from
shapeblue:fix-change-vrtraceroutetesthops
Apr 15, 2021
Merged

test: reduce vr traceroute hops#4913
yadvr merged 1 commit into
apache:4.15from
shapeblue:fix-change-vrtraceroutetesthops

Conversation

@shwstppr

Copy link
Copy Markdown
Contributor

Description

Intermittent failures were seen with Trillian for test_10_traceroute_in_vr from test_diagnostics.py
Exception due to timeout,

2021-04-10 10:45:48,164 - DEBUG - Response : {jobprocstatus : 0, created : u'2021-04-10T10:44:47+0000', completed : u'2021-04-10T10:45:47+0000', cmd : u'org.apache.cloudstack.api.command.admin.diagnostics.RunDiagnosticsCmd', userid : u'accb47d3-99e0-11eb-ab0f-1e00f6000333', jobstatus : 1, jobid : u'663465e7-1ec4-4783-80d0-a54197ee729a', jobresultcode : 0, jobresulttype : u'object', jobresult : {stdout : u'', stderr : u'Command failed due to Exception: com.cloud.utils.ssh.SshException\nMessage: Timed out in waiting for SSH execution exit status\n', exitcode : u'-1'}, accountid : u'acca0117-99e0-11eb-ab0f-1e00f6000333'}

Change is to reduce the maximum number of hops for traceroute to 5 to prevent a timeout.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

[root@pr4710-t412-vmware-67u3-marvin marvin]# nosetests --with-xunit --xunit-file=results.xml --with-marvin --marvin-config=./pr4710-t412-vmware-67u3-advanced-cfg -s -a tags=advanced --hypervisor=VMware tests/smoke/test_diagnostics.py 
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
  from cryptography.hazmat.backends import default_backend

==== Marvin Init Started ====

=== Marvin Parse Config Successful ===

=== Marvin Setting TestData Successful===

==== Log Folder Path: /marvin/MarvinLogs/Apr_12_2021_12_17_54_MXI93T. All logs will be available here ====

=== Marvin Init Logging Successful===

==== Marvin Init Successful ====
=== TestName: test_01_ping_in_vr_success | Status : SUCCESS ===

=== TestName: test_02_ping_in_vr_failure | Status : SUCCESS ===

=== TestName: test_03_ping_in_ssvm_success | Status : SUCCESS ===

=== TestName: test_04_ping_in_ssvm_failure | Status : SUCCESS ===

=== TestName: test_05_ping_in_cpvm_success | Status : SUCCESS ===

=== TestName: test_06_ping_in_cpvm_failure | Status : SUCCESS ===

=== TestName: test_07_arping_in_vr | Status : SUCCESS ===

=== TestName: test_08_arping_in_ssvm | Status : SUCCESS ===

=== TestName: test_09_arping_in_cpvm | Status : SUCCESS ===

=== TestName: test_10_traceroute_in_vr | Status : SUCCESS ===

=== TestName: test_11_traceroute_in_ssvm | Status : SUCCESS ===

=== TestName: test_12_traceroute_in_cpvm | Status : SUCCESS ===

=== TestName: test_13_retrieve_vr_default_files | Status : SUCCESS ===

=== TestName: test_14_retrieve_vr_one_file | Status : SUCCESS ===

=== TestName: test_15_retrieve_ssvm_default_files | Status : SUCCESS ===

=== TestName: test_16_retrieve_ssvm_single_file | Status : SUCCESS ===

=== TestName: test_17_retrieve_cpvm_default_files | Status : SUCCESS ===

=== TestName: test_18_retrieve_cpvm_single_file | Status : SUCCESS ===

===final results are now copied to: /marvin//MarvinLogs/test_diagnostics_52X55O===

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@shwstppr

Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@shwstppr shwstppr added this to the 4.15.1.0 milestone Apr 12, 2021
@blueorangutan

Copy link
Copy Markdown

@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 395

@shwstppr

Copy link
Copy Markdown
Contributor Author

@blueorangutan test centos7 vmware-67u3

@blueorangutan

Copy link
Copy Markdown

@shwstppr a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian Build Failed (tid-416)

@yadvr

yadvr commented Apr 12, 2021

Copy link
Copy Markdown
Member

@blueorangutan test centos7 vmware-67u3

@blueorangutan

Copy link
Copy Markdown

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian Build Failed (tid-418)

@yadvr

yadvr commented Apr 12, 2021

Copy link
Copy Markdown
Member

@blueorangutan test centos7 vmware-67u3

@blueorangutan

Copy link
Copy Markdown

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian Build Failed (tid-419)

@shwstppr

Copy link
Copy Markdown
Contributor Author

@blueorangutan test centos7 vmware-67u3

@blueorangutan

Copy link
Copy Markdown

@shwstppr a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@shwstppr

Copy link
Copy Markdown
Contributor Author

@blueorangutan test centos7 vmware-67u3

@blueorangutan

Copy link
Copy Markdown

@shwstppr a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-431)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36163 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4913-t431-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Smoke tests completed. 86 look OK, 1 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
ContextSuite context=TestVAppsVM>:setup Error 78.86 test_vm_life_cycle.py

@shwstppr shwstppr marked this pull request as ready for review April 13, 2021 22:10
@yadvr yadvr merged commit 50da578 into apache:4.15 Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants