adoptium / adoptium/aqa-tests

Update git clone logic in build.xml

Open
#4,846 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
155
Forks
346
Avg merge
2d 9h
Merged PRs (30d)
36

Description

We have encountered lots of test material staging problems (see [build.xml](https://github.com/adoptium/aqa-tests/blob/master/jck/build.xml#L89)). In the build.xml, the logic is complicated as we try to handle lots of different cases.

To make this simple, if git cmd fails, we should remove the pre-staged material and re-clone.

related:
- infrastructure/issues/8508
- backlog/issues/1255
- backlog/issues/1248

Contributor guide

Open the contributing guide

Research direction

Start by reading jck/build.xml around line 89 and trace the existing git clone and pre-staged-material handling. Reproduce or inspect the staging failure path, then verify that a failed git command removes the pre-staged material and retries the clone; confirm the relevant test-material staging flow completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
build-system, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.