Project

General

Profile

Actions

action #17346

closed

[tools]rsync.pl does a sync even if --dry option is used for sle12_sp3

Added by thehejik about 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
2017-02-27
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by thehejik about 7 years ago

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

Actions #2

Updated by michalnowak almost 7 years ago

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.

Actions #3

Updated by okurz almost 7 years ago

  • Project changed from openQA Project to openQA Tests
  • Category changed from 132 to Infrastructure
  • Status changed from New to In Progress
  • Assignee set to okurz

seems to be a problem with addon sync

https://gitlab.suse.de/openqa/scripts/merge_requests/69

Actions #4

Updated by RBrownSUSE almost 7 years ago

  • Project changed from openQA Tests to openQA Project
  • 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 ;)

Actions #5

Updated by okurz almost 7 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF