#8116 mass-rebuild-modules.py: few problems
Closed: Fixed 5 years ago by ignatenkobrain. Opened 5 years ago by ignatenkobrain.

@mohanboddu @sgallagh

I think there is something wrong with the mass-rebuild-modules.py script.

Cloning module eog
Cloning into 'eog'...
remote: Counting objects: 48, done.
remote: Compressing objects: 100% (47/47), done.
remote: Total 48 (delta 20), reused 0 (delta 0)
Receiving objects: 100% (48/48), 6.22 KiB | 2.07 MiB/s, done.
Resolving deltas: 100% (20/20), done.
Checking out the f28 stream branch
Could not execute switch_branch: /home/brain/massbuild_modules is not a valid repo
f28 failed fedpkg: Command '['fedpkg', 'switch-branch', u'f28']' returned non-zero exit status 1
Cloning module eog
fatal: destination path 'eog' already exists and is not an empty directory.
Could not execute clone: Failed to execute command.
eog failed fedpkg: Command '['fedpkg', 'clone', u'modules/eog']' returned non-zero exit status 1
Cloning module eog
fatal: destination path 'eog' already exists and is not an empty directory.
Could not execute clone: Failed to execute command.
eog failed fedpkg: Command '['fedpkg', 'clone', u'modules/eog']' returned non-zero exit status 1

It should check whether directory exists, and also do cwd() there.

What do you mean “it shows”? If you mean the list it prints, that’s the set it will consider rebuilding. It gets passed to libmodulemd to figure out if it actually should be built before it’s kicked off.

(If that’s it actually gets kicked off, then yes there is a bug.)

That comment was meant to reply elsewhere, sorry.

Metadata Update from @ignatenkobrain:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata