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

Update sytem stf project name #2949

Closed
sophia-guo opened this issue Oct 5, 2021 · 16 comments · Fixed by adoptium/aqa-systemtest#469
Closed

Update sytem stf project name #2949

sophia-guo opened this issue Oct 5, 2021 · 16 comments · Fixed by adoptium/aqa-systemtest#469

Comments

@sophia-guo
Copy link
Contributor

sophia-guo commented Oct 5, 2021

System stf git repo name/project has changed to uppercase STF, to make it work on case-sensitive platforms we need to update the name accordingly. Otherwise we will get the following error

/home/runner/work/run-aqa/run-aqa/aqa-tests/system/common.xml:60: The directory /home/runner/work/run-aqa/run-aqa/aqa-tests/system/stf does not exist

For example it happened running github action on linux
https://github.com/adoptium/run-aqa/runs/3796240585?check_suite_focus=true

To fix it, the ${SYSTEMTEST_ROOT}/stf and ${SYSTEMTEST_DEST}/stf in https://github.com/adoptium/aqa-tests/blob/master/system/common.xml should be replaced by ${SYSTEMTEST_ROOT}/STF and ${SYSTEMTEST_DEST}/STF correspondingly. Note other stf in the comment or part of variable name or description should be keep as is. For example stf.build, stf.core, stf.sample, stf.load, stf_branch, etc.

For jenkins job "stf" in https://github.com/adoptium/aqa-tests/blob/master/buildenv/jenkins/JenkinsfileBase#L424 will also need to be updated to "STF".

@sophia-guo
Copy link
Contributor Author

sophia-guo commented Oct 5, 2021

Looks like https://github.com/adoptium/STF may also need to update? I will take a look and see if the change is needed in STF repo.
https://github.com/adoptium/STF/blob/master/stf.build/scripts/stf_clone_make.bat#L16
https://github.com/adoptium/STF/blob/master/stf.build/scripts/stf_clone_make.sh#L17

Looks those are fine, just ignore this comment.

@abigailsleek
Copy link

I will like to assign this to myself.

@smlambert
Copy link
Contributor

This issue is still available.

@abigailsleek
Copy link

abigailsleek commented Oct 9, 2021 via email

@smlambert
Copy link
Contributor

Once a PR for the other issue is ready for review, you can pick up a new issue. We prefer the approach of take 1 issue, prepare a fix for it, push a PR for review, then take another issue, rather than working on multiple issues at once.

@abigailsleek
Copy link

abigailsleek commented Oct 9, 2021 via email

@Lovelynchristian
Copy link

I would love this to be assigned to me.

@keithc-ca
Copy link
Contributor

It might be better to go the other way: update scripts to use a working directory based on the actual repo name (STF instead of stf).

@llxia
Copy link
Contributor

llxia commented Oct 18, 2021

@Lovelynchristian do you have any questions regarding this issue?

@Lovelynchristian
Copy link

Lovelynchristian commented Oct 18, 2021 via email

@llxia
Copy link
Contributor

llxia commented Oct 18, 2021

@Lovelynchristian This fix is important as it affects GitHub PR testing. We would prefer to get this fix in asap. Is it possible to have PR created by the end of this Friday? Thanks

@Lovelynchristian
Copy link

@llxia I'm very sorry, I thought i could pull through with this issue . I'm working on another project currently. Please pardon me for all inconveniences.

@llxia
Copy link
Contributor

llxia commented Oct 19, 2021

No problem @Lovelynchristian . I will unassign you with this issue. Please feel free to pick up any other issues when you have time.

@xius666
Copy link
Contributor

xius666 commented Oct 19, 2021

Can I take this?

@llxia
Copy link
Contributor

llxia commented Oct 19, 2021

Thanks @xius666

@sophia-guo
Copy link
Contributor Author

sophia-guo commented Oct 20, 2021

Agreed #2949 (comment). There are multiple places in aqa-tests and aqa-systemtest are using as directoryVariable/stf/..... Setting a working directory based on the actual repo name (STF instead of stf) should make the job easier. For now we'd like this first be addressed.

Probably open a separate issue to improve this(Setting a working directory based on the actual repo name for STF). @Mesbah-Alam thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants