Hi everyone,
I'll be performing a planned Jenkins restart within the next hour.
No new jobs will be scheduled during this maintenance period.
I will inform you once it is back online.
--
Regards,
Evgheni Dereveanchin
CI has stopped from being triggered for pushed gerrit updates.
Example at: https://gerrit.ovirt.org/#/c/103320/
last PS did not trigger CI tests.
Please advise.
Hey everyone,
A problem was identified that causes the CI not working with gerrit
patches.
We are working on fixing the automatic triggering and bringing it online
asap.
We are sorry for the inconvenience at the moment.
If you want to run the CI for your patch atm you can use the manual gerrit
trigger job:
https://jenkins.ovirt.org/gerrit_manual_trigger/
Regards,
Ehud.
Hi all,
This is in a sense a continuation of the thread "Why filetransaction
needs to encode the content to utf-8?", but I decided that a new
thread is better.
I started to systematically convert the code to use a unicode
sandwich. I admit it was harder than I expected, and made me think
somewhat differently about the move to python3, and about how
reasonable (or not) it is to develop in the common subset of python2
and python3 vs ditching python2 and moving fully to python3. It seems
like at least parts of our (integration team) code will still have to
run in python2 also in oVirt 4.4, so I guess we'll not have much
choice :-)
Current patches are only for otopi and engine-setup, and are by no
means thorough - I didn't check each and every open() call and similar
ones. But it's enough for getting engine-setup finish successfully on
both python2 and python3 (EL7 and Fedora 29), with some utf-8 inserted
in relevant places of the input (for the plugins already handled).
I didn't bother trying non-utf-8 encodings. Perhaps I should, but it's
not completely clear to me what's the best approach [2].
Currently, you must have both otopi and engine updated to get things
working. If there is demand, I might spend some time
splitting/rebasing/etc to make it possible to update just one of them
and only later the other, but not sure it's worth it.
I don't mind splitting/squashing if it makes reviews simpler, but I
think the patches are ok as-is. These are the bottom patches of each
stack:
otopi: https://gerrit.ovirt.org/102085
engine-setup: https://gerrit.ovirt.org/102934
[1] http://python-future.org/unicode_literals.html
[2] https://stackoverflow.com/questions/4012571/python-which-encoding-is-used-f…
Thanks and best regards,
--
Didi
I am trying to run the code of
https://github.com/wefixit-AT/oVirtBackup/blob/master/backup.py
I am getting output as ovirtsdk.infrastructure.brokers.VMSnapshot object at 0x7fe9e59371d0
for the snippet print vm.snapshots.list(config.get_snapshot_description())
Is this the expected output.
When i run the whole code ..
The log i get is ...
2019-09-23 12:34:47,263: Start backup for: test2-sep20__vm25-183
2019-09-23 12:34:48,978: Snapshot creation started ...
2019-09-23 12:34:48,978: Snapshot created
2019-09-23 12:34:59,926: !!! No snapshot found !!!
2019-09-23 12:34:59,926: All backups done
2019-09-23 12:34:59,926: Backup failured for:
2019-09-23 12:34:59,927: test2-sep20__vm25-183
2019-09-23 12:34:59,927: Some errors occured during the backup, please check the log file
Could you guys please help me.