Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For Linux Agented CI test, run antrea-agent in a docker container #70

Merged
merged 8 commits into from
Jan 7, 2023

Conversation

Anandkumar26
Copy link
Contributor

@Anandkumar26 Anandkumar26 commented Nov 8, 2022

Run antrea-agent in docker container.
Use antrea 1.10 version of install script.
Add rhel VMs in Agented CI test.

Signed-off-by: Anand Kumar [email protected]

@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-eks

@codecov
Copy link

codecov bot commented Nov 8, 2022

Codecov Report

Merging #70 (796cf94) into main (1d3e901) will decrease coverage by 0.12%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #70      +/-   ##
==========================================
- Coverage   52.56%   52.43%   -0.13%     
==========================================
  Files          47       47              
  Lines        7439     7439              
==========================================
- Hits         3910     3901       -9     
- Misses       3137     3146       +9     
  Partials      392      392              
Flag Coverage Δ
unit-tests 52.43% <ø> (-0.13%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/cloud-provider/cloudapi/aws/aws_ec2.go 46.47% <0.00%> (-1.41%) ⬇️
pkg/controllers/cloud/networkpolicy.go 69.64% <0.00%> (-0.59%) ⬇️

@reachjainrahul
Copy link
Contributor

/nephe-test-e2e-with-agent-eks

1 similar comment
@reachjainrahul
Copy link
Contributor

/nephe-test-e2e-with-agent-eks

@Anandkumar26 Anandkumar26 changed the title Update wrapper script to use from Nephe Testing agented CI with docker installation Nov 24, 2022
@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-aks

@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-eks
/nephe-test-e2e-with-agent-aks

@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-aks
/nephe-test-e2e-with-agent-eks

@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-aks
/nephe-test-e2e-with-agent-eks

@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-eks

2 similar comments
@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-eks

@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-eks

@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-aks

@Anandkumar26 Anandkumar26 changed the title Testing agented CI with docker installation [Not for review] Testing agented CI with docker installation Dec 6, 2022
@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-eks

@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-aks
/nephe-test-e2e-with-agent-eks

1 similar comment
@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-aks
/nephe-test-e2e-with-agent-eks

@Anandkumar26 Anandkumar26 changed the title [Not for review] Testing agented CI with docker installation Linux Agented CI with docker installation Dec 22, 2022
@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-eks

2 similar comments
@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-eks

@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-eks

@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-eks

@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-aks
/nephe-test-e2e-with-agent-eks

@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-aks

hack/install-vm.sh Outdated Show resolved Hide resolved
@Anandkumar26 Anandkumar26 changed the title Linux Agented CI with docker installation For Linux Agented CI test, run antrea-agent in a docker container Jan 5, 2023
Do not install openvswitch on host VM

This is temporary PR to verify agented CI

Signed-off-by: Anand Kumar <[email protected]>
Docker installation on Rhel VM is
taking more time, so increasing the timeout.

Signed-off-by: Anand Kumar <[email protected]>
On rhel t2.micro vm, antrea-agent installation
and setting up apache web server was exceeding the
timeout. So as a workaround, upgrading the instance
size

Signed-off-by: Anand Kumar <[email protected]>
Also update wrapper script to use new arguments
Increase the timeout to run BeforeSuite()

Signed-off-by: Anand Kumar <[email protected]>
Also use 3.1.0 version of Azure/vnet/azurerm
to fix the error The argument "use_for_each" is required,
but no definition was found.

Signed-off-by: Anand Kumar <[email protected]>
@Anandkumar26
Copy link
Contributor Author

/nephe-test-e2e-with-agent-eks
/nephe-test-e2e-with-agent-aks

Also update the hostname for AWS Agented Linux VMs.

Signed-off-by: Anand Kumar <[email protected]>
Copy link
Contributor

@reachjainrahul reachjainrahul left a comment

Choose a reason for hiding this comment

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

/LGTM

@reachjainrahul reachjainrahul merged commit ac06666 into main Jan 7, 2023
@reachjainrahul reachjainrahul deleted the temp branch January 7, 2023 04:29
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.

2 participants