[JIRA] (OVIRT-899) Create locking on experimental flow
by Gil Shinar (oVirt JIRA)
Gil Shinar created OVIRT-899:
--------------------------------
Summary: Create locking on experimental flow
Key: OVIRT-899
URL: https://ovirt-jira.atlassian.net/browse/OVIRT-899
Project: oVirt - virtualization made easy
Issue Type: Task
Reporter: Gil Shinar
Assignee: infra
In order to make experimental flow atomic, we need to do as follows:
in deploy.sh script and in start_testing_latest.sh we need to add a loop in the beginning of each script that does the following:
*while 1:
do
is_locked=$((echo aaa > my.lock) 2> /dev/null || echo is locked)
if [[ -z $is_locked ]]; then
break
else
sleep 5
fi
done*
Wrap the whole script with a trap so in the end if each script we will be able to remove my.lock no matter what happened.
--
This message was sent by Atlassian JIRA
(v1000.606.0#100023)
8 years, 1 month
[JIRA] (OVIRT-896) Re: Jenkins issues
by eyal edri [Administrator] (oVirt JIRA)
eyal edri [Administrator] created OVIRT-896:
-----------------------------------------------
Summary: Re: Jenkins issues
Key: OVIRT-896
URL: https://ovirt-jira.atlassian.net/browse/OVIRT-896
Project: oVirt - virtualization made easy
Issue Type: By-EMAIL
Reporter: eyal edri [Administrator]
Assignee: infra
better to send such info to infra-support to document as a ticket. ( adding
infra-support )
On Thu, Dec 1, 2016 at 12:22 PM, Fabian Deutsch <fdeutsch(a)redhat.com> wrote:
> Hey,
>
> so - I have an issue
> this job:
> is often picking a wrong commit!
> http://jenkins.ovirt.org/user/fabiand/my-views/view/ovirt-
> node-ng/job/ovirt-node-ng_master_build-artifacts-el7-
> x86_64/219/consoleFull
>
> It says it resetted to master, but master is actually a different commit.
> I observed this a few times in the recent days.
>
> Does somebody have an idea why this could be happening?
>
> 00:00:02.156 Checking out Revision
> c1970c6f7a6404e8ab030147eec81233905345cf (origin/master)
>
> on my local host:
> $ git rev-parse FETCH_HEAD^{commit} # timeout=10
> 9123c1fd3ce15b02f2e69efdc367ae1477193aef
>
> c1970c6f7a6404e8ab030147eec81233905345cf -- does actually no exist (in
> my history)
>
> - fabian
>
--
Eyal Edri
Associate Manager
RHV DevOps
EMEA ENG Virtualization R&D
Red Hat Israel
phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ)
--
This message was sent by Atlassian JIRA
(v1000.606.0#100023)
8 years, 1 month
Jenkins issues
by Fabian Deutsch
Hey,
so - I have an issue
this job:
is often picking a wrong commit!
http://jenkins.ovirt.org/user/fabiand/my-views/view/ovirt-node-ng/job/ovi...
It says it resetted to master, but master is actually a different commit.
I observed this a few times in the recent days.
Does somebody have an idea why this could be happening?
00:00:02.156 Checking out Revision
c1970c6f7a6404e8ab030147eec81233905345cf (origin/master)
on my local host:
$ git rev-parse FETCH_HEAD^{commit} # timeout=10
9123c1fd3ce15b02f2e69efdc367ae1477193aef
c1970c6f7a6404e8ab030147eec81233905345cf -- does actually no exist (in
my history)
- fabian
8 years, 1 month