action #17346
closed
[tools]rsync.pl does a sync even if --dry option is used for sle12_sp3
Added by thehejik almost 8 years ago.
Updated almost 8 years ago.
Description
I wanted to test rsync.pl if it correctly generates test variables for a new images, but it seems that --dry option is ignored when "sle12_sp3" module is called.
Even with --dry it executes unwanted rsync command in background instead of just printing test/image variables.
For sle12_sp3:
# su - geekotest
$ ./rsync.pl --verbose --dry sle12_sp3
... rsync performed on background
For casp it is working correctly without rsyncing:
# su - geekotest
$ ./rsync.pl --verbose --dry casp_dvd
... just correctly produces test variables output
https://gitlab.suse.de/openqa/scripts/blob/master/rsync.pl
After running rsync.pl --verbose --dry sle12_sp3
it can be dirty-workarounded by running in another terminal:
while true; do killall -9 rsync; sleep .5; done
I've seen it happening when fixing SLES debug repo. The reason was, I believe, that --dry
was not implemented for repo syncing (just for image syncing), plainly: rsync
was not run being with --dry
option, when it was provided to rsync.pl
.
- Project changed from openQA Project (public) to openQA Tests (public)
- Category changed from 132 to Infrastructure
- Status changed from New to In Progress
- Assignee set to okurz
- Project changed from openQA Tests (public) to openQA Project (public)
- Subject changed from rsync.pl does a sync even if --dry option is used for sle12_sp3 to [tools]rsync.pl does a sync even if --dry option is used for sle12_sp3
- Category deleted (
Infrastructure)
Moving back to the right project - rsync.pl is not a test ;)
- Status changed from In Progress to Resolved
Also available in: Atom
PDF