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

Resolve Window IntegTest copy and startup issues #2892

Conversation

peterzhuamazon
Copy link
Member

Signed-off-by: Your Name you@example.com

Description

Resolve Window IntegTest copy and startup issues

Issues Resolved

#2649

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Your Name <you@example.com>
@peterzhuamazon peterzhuamazon added bug Something isn't working integtest windows labels Nov 14, 2022
@peterzhuamazon peterzhuamazon requested a review from a team as a code owner November 14, 2022 21:51
@peterzhuamazon peterzhuamazon self-assigned this Nov 14, 2022
Your Name added 2 commits November 15, 2022 01:13
Signed-off-by: Your Name <you@example.com>
Signed-off-by: Your Name <you@example.com>
@codecov-commenter
Copy link

codecov-commenter commented Nov 15, 2022

Codecov Report

Merging #2892 (6fb4d47) into main (97548a3) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2892      +/-   ##
==========================================
- Coverage   93.72%   93.72%   -0.01%     
==========================================
  Files         158      158              
  Lines        4401     4414      +13     
==========================================
+ Hits         4125     4137      +12     
- Misses        276      277       +1     
Impacted Files Coverage Δ
src/test_workflow/integ_test/distribution_zip.py 100.00% <ø> (ø)
src/test_workflow/dependency_installer.py 95.12% <100.00%> (+0.25%) ⬆️
src/manifests/component_manifest.py 91.52% <0.00%> (-0.48%) ⬇️
src/manifests_workflow/component_opensearch.py 90.00% <0.00%> (ø)
src/manifests_workflow/input_manifests.py 83.21% <0.00%> (+0.23%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@peterzhuamazon peterzhuamazon merged commit c7273f0 into opensearch-project:main Nov 15, 2022
@peterzhuamazon peterzhuamazon deleted the opensearch-integTest-windows-fix1 branch November 15, 2022 01:29
urllib.request.urlretrieve(source, dest)
# Required to make sure validators.url is checking an actual url with '/'
# else '\\' will fail the check even if it is a valid url format
# Ex: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/2.4.0/6452/windows/x64/zip\builds\opensearch\maven\org\opensearch\client\client-benchmarks\maven-metadata.xml
Copy link
Member

Choose a reason for hiding this comment

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

Where does the URL such as https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/2.4.0/6452/windows/x64/zip\builds\opensearch\maven\org\opensearch\client\client-benchmarks\maven-metadata.xml come from? That's an invalid URL that we probably generate from a Windows path somewhere. Let's fix that source rather than hack it here?

"opensearch": "./opensearch-windows-install.bat",
"opensearch-dashboards": "./opensearch-dashboards.bat",
"opensearch": ".\\opensearch-windows-install.bat",
"opensearch-dashboards": ".\\opensearch-dashboards.bat",
Copy link
Member

Choose a reason for hiding this comment

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

Nit: just realized that DistributionZip is really a DistributionWindowsZip and DistributionTar is really DistributionLinuxTar. Consider renaming.

mnin added a commit to graylog-labs/opensearch-build that referenced this pull request Nov 16, 2022
# By Peter Zhu (8) and others
# Via GitHub
* upstream/main: (24 commits)
  Updated manifests. (opensearch-project#2894)
  Update ref for 2.4.0 with tags (opensearch-project#2906)
  Fix status syntax for gradle check (opensearch-project#2907)
  Add the consolidated release notes for 2.4.0 release (opensearch-project#2887)
  Revert set output command (opensearch-project#2903)
  Fix status code for gradle check with retry (opensearch-project#2902)
  Upgrade actions and remove deprecated set ouput commands (opensearch-project#2901)
  Update opensearch-2.4.0.yml (opensearch-project#2896)
  Resolve Window IntegTest copy and startup issues (opensearch-project#2892)
  Update IM ref to include fix (opensearch-project#2890)
  Fix manifest workflow failure (opensearch-project#2889)
  Install twine on clients image (opensearch-project#2884)
  Freeze the ref with commit ID (opensearch-project#2882)
  Add latest url update toggle on distribution workflows (opensearch-project#2881)
  Update promoteArtifacts to support win/zip and add timer for gradle check windows (opensearch-project#2869)
  Fix signing the artifacts for .asc signatures (opensearch-project#2850)
  Update the ref with 2.4 branch for OSD. (opensearch-project#2855)
  Update the OSD manifest with commit ID (opensearch-project#2862)
  Add gradle check support for windows agent (opensearch-project#2860)
  Add default copy for opensearch-dashboards yml and docker entrypoint (opensearch-project#2861)
  ...

# Conflicts:
#	scripts/components/OpenSearch-Dashboards/install.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working integtest windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants