Actions
Bug #58046
closedqa/workunits/rados/test_librados_build.sh: specify redirect in curl command
% Done:
100%
Source:
Development
Backport:
quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
v18.0.0-868-g48599a73e9e
Released In:
v18.2.0~1030
Upkeep Timestamp:
2025-07-12T22:08:33+00:00
Tags:
Description
The workunit currently grabs files with:
curl --progress-bar --output hello_world_c.c 'http://git.ceph.com/?p=ceph.git;a=blob_plain;hb=main;f=examples/librados/hello_world_c.c'
Which results in:
2022-11-18T00:18:51.811 INFO:tasks.workunit.client.0.smithi159.stderr:+ check_sources
2022-11-18T00:18:51.811 INFO:tasks.workunit.client.0.smithi159.stderr:+ for s in $SOURCES
2022-11-18T00:18:51.811 INFO:tasks.workunit.client.0.smithi159.stderr:+ test -f hello_radosstriper.cc
2022-11-18T00:18:51.812 INFO:tasks.workunit.client.0.smithi159.stderr:+ for s in $SOURCES
2022-11-18T00:18:51.812 INFO:tasks.workunit.client.0.smithi159.stderr:+ test -f hello_world_c.c
2022-11-18T00:18:51.812 INFO:tasks.workunit.client.0.smithi159.stderr:+ for s in $SOURCES
2022-11-18T00:18:51.812 INFO:tasks.workunit.client.0.smithi159.stderr:+ test -f hello_world.cc
2022-11-18T00:18:51.812 INFO:tasks.workunit.client.0.smithi159.stderr:+ for s in $SOURCES
2022-11-18T00:18:51.812 INFO:tasks.workunit.client.0.smithi159.stderr:+ test -f Makefile
2022-11-18T00:18:51.812 INFO:tasks.workunit.client.0.smithi159.stderr:+ make all-system
2022-11-18T00:18:51.813 INFO:tasks.workunit.client.0.smithi159.stderr:Makefile:1: *** missing separator. Stop.
2022-11-18T00:18:51.813 INFO:tasks.workunit.client.0.smithi159.stderr:+ cleanup
2022-11-18T00:18:51.814 INFO:tasks.workunit.client.0.smithi159.stderr:+ for f in $BINARIES$SOURCES
2022-11-18T00:18:51.814 INFO:tasks.workunit.client.0.smithi159.stderr:+ rm -f /home/ubuntu/cephtest/mnt.0/client.0/tmp/hello_world_c
2022-11-18T00:18:51.815 INFO:tasks.workunit.client.0.smithi159.stderr:+ for f in $BINARIES$SOURCES
2022-11-18T00:18:51.815 INFO:tasks.workunit.client.0.smithi159.stderr:+ rm -f /home/ubuntu/cephtest/mnt.0/client.0/tmp/hello_world_cpp
2022-11-18T00:18:51.816 INFO:tasks.workunit.client.0.smithi159.stderr:+ for f in $BINARIES$SOURCES
2022-11-18T00:18:51.816 INFO:tasks.workunit.client.0.smithi159.stderr:+ rm -f /home/ubuntu/cephtest/mnt.0/client.0/tmp/hello_radosstriper_cpp
2022-11-18T00:18:51.817 INFO:tasks.workunit.client.0.smithi159.stderr:+ for f in $BINARIES$SOURCES
2022-11-18T00:18:51.817 INFO:tasks.workunit.client.0.smithi159.stderr:+ rm -f /home/ubuntu/cephtest/mnt.0/client.0/tmp/hello_radosstriper.cc
2022-11-18T00:18:51.818 INFO:tasks.workunit.client.0.smithi159.stderr:+ for f in $BINARIES$SOURCES
2022-11-18T00:18:51.818 INFO:tasks.workunit.client.0.smithi159.stderr:+ rm -f /home/ubuntu/cephtest/mnt.0/client.0/tmp/hello_world_c.c
2022-11-18T00:18:51.819 INFO:tasks.workunit.client.0.smithi159.stderr:+ for f in $BINARIES$SOURCES
2022-11-18T00:18:51.819 INFO:tasks.workunit.client.0.smithi159.stderr:+ rm -f /home/ubuntu/cephtest/mnt.0/client.0/tmp/hello_world.cc
2022-11-18T00:18:51.821 INFO:tasks.workunit.client.0.smithi159.stderr:+ for f in $BINARIES$SOURCES
2022-11-18T00:18:51.821 INFO:tasks.workunit.client.0.smithi159.stderr:+ rm -f /home/ubuntu/cephtest/mnt.0/client.0/tmp/Makefile
2022-11-18T00:18:51.822 DEBUG:teuthology.orchestra.run:got remote process result: 2
2022-11-18T00:18:51.823 INFO:tasks.workunit:Stopping ['rados/test_librados_build.sh'] on client.0...
2022-11-18T00:18:51.823 DEBUG:teuthology.orchestra.run.smithi159:> sudo rm -rf -- /home/ubuntu/cephtest/workunits.list.client.0 /home/ubuntu/cephtest/clone.client.0
If we use the `-L` parameter when curling, it allows us to follow redirects:
- curl --progress-bar --output hello_world_c.c 'http://git.ceph.com/?p=ceph.git;a=blob_plain;hb=main;f=examples/librados/hello_world_c.c'
+ curl --progress-bar --output hello_world_c.c -L 'http://git.ceph.com/?p=ceph.git;a=blob_plain;hb=main;f=examples/librados/hello_world_c.c'
Sample failure: http://pulpito.front.sepia.ceph.com/lflores-2022-11-17_23:48:32-rados:singleton-nomsgr-main-distro-default-smithi/7084983/
Updated by Laura Flores over 3 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 48938
Updated by Radoslaw Zarzynski over 3 years ago
- Status changed from Fix Under Review to Resolved
Updated by Aishwarya Mathuria over 3 years ago
Seen in Pacific run: /a/yuriw-2022-11-28_21:10:48-rados-wip-yuri10-testing-2022-11-28-1042-pacific-distro-default-smithi/7095374
Updated by Laura Flores over 3 years ago
- Status changed from Resolved to Pending Backport
- Backport set to quincy,pacific
Updated by Upkeep Bot over 3 years ago
- Copied to Backport #58116: pacific: qa/workunits/rados/test_librados_build.sh: specify redirect in curl command added
Updated by Upkeep Bot over 3 years ago
- Copied to Backport #58117: quincy: qa/workunits/rados/test_librados_build.sh: specify redirect in curl command added
Updated by Konstantin Shalygin over 1 year ago
- Status changed from Pending Backport to Resolved
- Assignee set to Laura Flores
- % Done changed from 0 to 100
- Source set to Development
Updated by Jaya Prakash 10 months ago
teuthology-2025-05-11_20:00:15-rados-main-distro-default-smithi/8280080
Updated by Upkeep Bot 8 months ago
- Merge Commit set to 48599a73e9e9aa91a1720acf1febae3a4c21971c
- Fixed In set to v18.0.0-868-g48599a73e9e
- Released In set to v18.2.0~1030
- Upkeep Timestamp set to 2025-07-12T22:08:33+00:00
Actions