cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

enable Reproducible Builds

Open hboutemy opened this issue 3 years ago • 113 comments

Description

This PR enable Reproducible Builds: https://maven.apache.org/guides/mini/guide-reproducible-builds.html

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)
  • [x] 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?

hboutemy avatar Oct 03 '22 17:10 hboutemy

Congratulations on your first Pull Request and welcome to the Apache CloudStack community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md) Here are some useful points:

  • In case of a new feature add useful documentation (raise doc PR at https://github.com/apache/cloudstack-documentation)
  • Be patient and persistent. It might take some time to get a review or get the final approval from the committers.
  • Pay attention to the quality of your code, ensure tests are passing and your PR doesn't have conflicts.
  • Please follow ASF Code of Conduct for all communication including (but not limited to) comments on Pull Requests, Issues, Mailing list and Slack.
  • Be sure to read the CloudStack Coding Conventions. Apache CloudStack is a community-driven project and together we are making it better 🚀. In case of doubts contact the developers at: Mailing List: [email protected] (https://cloudstack.apache.org/mailing-lists.html) Slack: https://apachecloudstack.slack.com/

boring-cyborg[bot] avatar Oct 03 '22 17:10 boring-cyborg[bot]

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Oct 03 '22 18:10 sonarqubecloud[bot]

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 16.01%. Comparing base (da94ae2) to head (eface4c).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #6801   +/-   ##
=========================================
  Coverage     16.01%   16.01%           
  Complexity    12779    12779           
=========================================
  Files          5634     5634           
  Lines        493013   493013           
  Branches      59774    59774           
=========================================
  Hits          78974    78974           
  Misses       405271   405271           
  Partials       8768     8768           
Flag Coverage Δ
uitests 4.02% <ø> (ø)
unittests 16.85% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Oct 03 '22 20:10 codecov[bot]

@DaanHoogland

hboutemy avatar Oct 06 '22 13:10 hboutemy

@blueorangutan package

DaanHoogland avatar Oct 06 '22 14:10 DaanHoogland

@DaanHoogland a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

blueorangutan avatar Oct 06 '22 14:10 blueorangutan

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 4365

blueorangutan avatar Oct 06 '22 15:10 blueorangutan

@blueorangutan test

DaanHoogland avatar Oct 06 '22 20:10 DaanHoogland

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

blueorangutan avatar Oct 06 '22 20:10 blueorangutan

Trillian Build Failed (tid-5077)

blueorangutan avatar Oct 06 '22 20:10 blueorangutan

@blueorangutan package

rohityadavcloud avatar Oct 08 '22 06:10 rohityadavcloud

@rohityadavcloud a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

blueorangutan avatar Oct 08 '22 06:10 blueorangutan

Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 4381

blueorangutan avatar Oct 08 '22 08:10 blueorangutan

@blueorangutan package

DaanHoogland avatar Oct 10 '22 19:10 DaanHoogland

@DaanHoogland a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

blueorangutan avatar Oct 10 '22 19:10 blueorangutan

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 4413

blueorangutan avatar Oct 10 '22 20:10 blueorangutan

@blueorangutan test

DaanHoogland avatar Oct 11 '22 15:10 DaanHoogland

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

blueorangutan avatar Oct 11 '22 15:10 blueorangutan

Trillian test result (tid-5099) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 45217 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6801-t5099-kvm-centos7.zip Smoke tests completed. 101 look OK, 3 have errors, 0 did not run Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_15_retrieve_ssvm_default_files Error 1.09 test_diagnostics.py
test_16_retrieve_ssvm_single_file Error 1.09 test_diagnostics.py
test_17_retrieve_cpvm_default_files Error 1.08 test_diagnostics.py
test_18_retrieve_cpvm_single_file Error 1.09 test_diagnostics.py
test_create_pvlan_network Error 0.05 test_pvlan.py
test_07_deploy_kubernetes_ha_cluster Failure 3620.71 test_kubernetes_clusters.py
test_08_upgrade_kubernetes_ha_cluster Failure 0.04 test_kubernetes_clusters.py
test_09_delete_kubernetes_ha_cluster Failure 0.04 test_kubernetes_clusters.py
ContextSuite context=TestKubernetesCluster>:teardown Error 73.93 test_kubernetes_clusters.py

blueorangutan avatar Oct 12 '22 04:10 blueorangutan

@blueorangutan package

DaanHoogland avatar Oct 12 '22 18:10 DaanHoogland

@DaanHoogland a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

blueorangutan avatar Oct 12 '22 18:10 blueorangutan

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 4437

blueorangutan avatar Oct 12 '22 20:10 blueorangutan

@blueorangutan test

DaanHoogland avatar Oct 13 '22 06:10 DaanHoogland

@blueorangutan test

rohityadavcloud avatar Oct 13 '22 07:10 rohityadavcloud

@rohityadavcloud a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

blueorangutan avatar Oct 13 '22 07:10 blueorangutan

Trillian test result (tid-5114) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 40905 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6801-t5114-kvm-centos7.zip Smoke tests completed. 102 look OK, 2 have errors, 0 did not run Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_15_retrieve_ssvm_default_files Error 1.10 test_diagnostics.py
test_16_retrieve_ssvm_single_file Error 1.10 test_diagnostics.py
test_17_retrieve_cpvm_default_files Error 1.09 test_diagnostics.py
test_18_retrieve_cpvm_single_file Error 1.09 test_diagnostics.py
test_08_upgrade_kubernetes_ha_cluster Failure 563.71 test_kubernetes_clusters.py

blueorangutan avatar Oct 13 '22 18:10 blueorangutan

applying insanity @blueorangutan test

DaanHoogland avatar Oct 14 '22 09:10 DaanHoogland

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

blueorangutan avatar Oct 14 '22 09:10 blueorangutan

Trillian test result (tid-5128) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 42274 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6801-t5128-kvm-centos7.zip Smoke tests completed. 102 look OK, 2 have errors, 0 did not run Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_15_retrieve_ssvm_default_files Error 1.09 test_diagnostics.py
test_16_retrieve_ssvm_single_file Error 1.09 test_diagnostics.py
test_17_retrieve_cpvm_default_files Error 1.09 test_diagnostics.py
test_18_retrieve_cpvm_single_file Error 1.09 test_diagnostics.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Failure 463.65 test_vpc_redundant.py

blueorangutan avatar Oct 14 '22 21:10 blueorangutan

the test_diagnostics failures seem consistant and need investigation

DaanHoogland avatar Oct 17 '22 08:10 DaanHoogland