Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

[Test Script] Update busybox ping test to run from Jenkins #606

Merged
merged 8 commits into from
May 5, 2021
Merged

[Test Script] Update busybox ping test to run from Jenkins #606

merged 8 commits into from
May 5, 2021

Conversation

kiran1048
Copy link
Contributor

Added features to restart ACA on remote nodes before start of test.
All tests being on AWS machines.

@codecov-commenter
Copy link

codecov-commenter commented May 3, 2021

Codecov Report

Merging #606 (b313d70) into master (455181e) will increase coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #606      +/-   ##
============================================
+ Coverage     32.68%   32.75%   +0.06%     
- Complexity     1242     1248       +6     
============================================
  Files           522      522              
  Lines         13093    13117      +24     
  Branches       1606     1610       +4     
============================================
+ Hits           4279     4296      +17     
- Misses         8233     8236       +3     
- Partials        581      585       +4     
Impacted Files Coverage Δ Complexity Δ
...rewei/alcor/portmanager/processor/PortContext.java 67.53% <0.00%> (-1.39%) 32.00% <0.00%> (+1.00%) ⬇️
...alcor/elasticipmanager/dao/ElasticIpAllocator.java 63.53% <0.00%> (-0.28%) 48.00% <0.00%> (ø%)
...lcor/portmanager/processor/DataPlaneProcessor.java 69.72% <0.00%> (+1.43%) 39.00% <0.00%> (+5.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 455181e...b313d70. Read the comment docs.

@cj-chung cj-chung requested review from cj-chung and xieus May 3, 2021 18:25
@cj-chung cj-chung requested a review from pkommoju May 3, 2021 18:26
Copy link
Contributor

@pkommoju pkommoju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A clarification about get_username(), ubuntu, and SSH would be very helpful.

@kiran1048
Copy link
Contributor Author

A clarification about get_username(), ubuntu, and SSH would be very helpful.

yes, in the test setup readme, we will keep the steps needed to allow the three hosts to seamlessly ssh to each other in order to run the tests.

Copy link
Contributor

@xieus xieus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. only one minor comment. Thank you @kiran1048.


from helper_functions import *
from termcolor import colored

def busybox_container_cleanup(ip, con):
def busybox_container_cleanup(aca_node_ip, con):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like the change as making the parameter explicit.

Btw, con = container? Can we also make a similar change here?

@xieus xieus added the environment setup Develop and test environment setup label May 5, 2021
@xieus xieus added this to the Version 0.12.2021.04.30 milestone May 5, 2021
@xieus xieus changed the title Updates to busy box ping test to run from Jenkins [Test Script] Update busybox ping test to run from Jenkins May 5, 2021
@xieus xieus merged commit b592d69 into futurewei-cloud:master May 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
environment setup Develop and test environment setup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants