RFR: 7903765: wget failed in build.sh in jtreg

Yasumasa Suenaga ysuenaga at openjdk.org
Fri Jul 5 04:48:30 UTC 2024


On Fri, 5 Jul 2024 03:43:55 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can you maybe run that wget command explicitly from the command line and see what error messages you see?

I saw following log when I run build.sh with `bash -x`


+ /usr/bin/wget -q https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.8-bin.zip -O /home/ysuenaga/github/jtreg/make/../build/deps/apache-ant-1.10.8-bin.zip
+ ret=1
+ '[' '!' 1 = 0 ']'
+ error 'wget exited with exit code 1'
+ log_message ERROR 'wget exited with exit code 1'


When I run `wget` without `-q`, it reports `wget` failed  due to relative path.


$ wget https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.8-bin.zip -O /home/ysuenaga/github/jtreg/make/../build/deps
/apache-ant-1.10.8-bin.zip
Internal error: Unexpected relative path: '/home/ysuenaga/github/jtreg/make/..'

-------------

PR Comment: https://git.openjdk.org/jtreg/pull/211#issuecomment-2210154945


More information about the jtreg-dev mailing list