Re: automatic patch validation on TC

classic Classic list List threaded Threaded
33 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: automatic patch validation on TC

yzhdanov
Cos,

We still have problem while applying patch on TC. Attachments and comments
cannot be fetched from Jira when using jira-cli on current agents.

Can you please make sure that server side of jira-cli is properly
installed? Do you know any other way to fetch that?

--Yakov

2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:

> oops
>
>     s/not/now/g
>
> Cos
>
> On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <[hidden email]>
> >    wrote:
> >
> >      Thanks - that's great: not I'd be able to finish up the commenting
> part
> >      of the
> >      patch validation!
> >
> >    Cos, I think some meaning was lost due to typos. Do you mean that you
> will
> >    be able to finish it or will not?
> >    A
> >
> >      Cos
> >
> >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy wrote:
> >      >A  A  Hello Konstantin.
> >      >A  A  I've installed lira-cli on all agents (7) - path of cli is
> >      >A  A  /opt/jira-cli-3.9.0
> >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin Boudnik
> >      <[hidden email]>
> >      >A  A  wrote:
> >      >
> >      >A  A  A  I believe this is a different jira cli tools. The one I am
> >      using is 100%
> >      >A  A  A  java
> >      >A  A  A  - no Python nonsense (god forbids). I am talking about
> this
> >      particular
> >      >A  A  A  version
> >      >
> >      >A  A  A  A
> >      >A  A  A
> >
> https://bobswift.atlassian.net/wiki/download/attachments/16285777/jira-cli-3.9.0-distribution.zip?version=1&modificationDate=1401618313091&api=v2
> >      >
> >      >A  A  A  It seems to be the last official atlassian version of the
> >      tools that
> >      >A  A  A  still
> >      >A  A  A  works with out-of-stock JIRA server. Can we get it
> installed?
> >      >
> >      >A  A  A  Thanks,
> >      >A  A  A  AA  Cos
> >      >A  A  A  On Wed, Mar 25, 2015 at 11:15AM, Sergey Bachinskiy wrote:
> >      >A  A  A  >AA  AA  Hello Konstantin!
> >      >A  A  A  >AA  AA  As I've seen jira cli tools need python 2.7 to
> run?
> >      >A  A  A  >AA  AA  Should we have jira-cli on all build nodes?
> >      >A  A  A  >AA  AA  On Wed, Mar 25, 2015 at 1:07 AM, Dmitriy
> Setrakyan
> >      >A  A  A  <[hidden email]>
> >      >A  A  A  >AA  AA  wrote:
> >      >A  A  A  >
> >      >A  A  A  >AA  AA  AA  Sergey B (CC'ed) is admitting these boxes.
> >      Sergey, can you
> >      >A  A  A  please
> >      >A  A  A  >AA  AA  AA  respond here?
> >      >A  A  A  >AA  AA  AA  D.
> >      >A  A  A  >AA  AA  AA  On Tue, Mar 24, 2015 at 3:03 PM, Konstantin
> >      Boudnik
> >      >A  A  A  <[hidden email]>
> >      >A  A  A  >AA  AA  AA  wrote:
> >      >A  A  A  >
> >      >A  A  A  >AA  AA  AA  AA  Guys,
> >      >A  A  A  >
> >      >A  A  A  >AA  AA  AA  AA  is there any chance we can add jira-cli
> tools
> >      to the TC
> >      >A  A  A  agent nodes?
> >      >A  A  A  >AA  AA  AA  AA  It seems
> >      >A  A  A  >AA  AA  AA  AA  that OAuth setup doesn't move anywhere
> yet
> >      and I want to
> >      >A  A  A  finish this
> >      >A  A  A  >AA  AA  AA  AA  patch
> >      >A  A  A  >AA  AA  AA  AA  validation work ASAP. jira-cli tools
> allow an
> >      external
> >      >A  A  A  process to
> >      >A  A  A  >AA  AA  AA  AA  comm. with
> >      >A  A  A  >AA  AA  AA  AA  JIRA without any fancy SOAP/REST stuff.
> >      >A  A  A  >
> >      >A  A  A  >AA  AA  AA  AA  Can anyone who's admin'ing these boxes
> ping
> >      me off-line so
> >      >A  A  A  we can
> >      >A  A  A  >AA  AA  AA  AA  complete it?
> >      >A  A  A  >
> >      >A  A  A  >AA  AA  AA  AA  Thanks,
> >      >A  A  A  >AA  AA  AA  AA  AAA  Cos
> >      >A  A  A  >
> >      >A  A  A  >AA  AA  AA  AA  On Sat, Feb 28, 2015 at 05:22AM,
> Konstantin
> >      Boudnik wrote:
> >      >A  A  A  >AA  AA  AA  AA  > Y'all
> >      >A  A  A  >AA  AA  AA  AA  >
> >      >A  A  A  >AA  AA  AA  AA  > I have put together an initial version
> of
> >      the TC job that
> >      >A  A  A  pulls in
> >      >A  A  A  >AA  AA  AA  AA  JIRAs in PA
> >      >A  A  A  >AA  AA  AA  AA  > state and find the latest attachment by
> >      date. It also
> >      >A  A  A  creates and
> >      >A  A  A  >AA  AA  AA  AA  artifact
> >      >A  A  A  >AA  AA  AA  AA  > where all earlier processed
> attachments are
> >      listed to
> >      >A  A  A  avoid
> >      >A  A  A  >AA  AA  AA  AA  duplicated
> >      >A  A  A  >AA  AA  AA  AA  > test runs. The job is here
> >      >A  A  A  >AA  AA  AA  AA  >A
> >      >A  A  A  >AA  AA  AA  AA  A
> >      >A  A  A
> >
> http://204.14.53.152/viewType.html?buildTypeId=Ignite_PatchValidation_Main
> >      >A  A  A  >AA  AA  AA  AA  >
> >      >A  A  A  >AA  AA  AA  AA  > Now, I need some advice from TC
> experts, as
> >      I have no
> >      >A  A  A  experience
> >      >A  A  A  >AA  AA  AA  AA  with it,
> >      >A  A  A  >AA  AA  AA  AA  > really. The issue I have as this
> (perhaps,
> >      coming from my
> >      >A  A  A  ignorance
> >      >A  A  A  >AA  AA  AA  AA  about TC):
> >      >A  A  A  >AA  AA  AA  AA  >AAA  1. it seems that TC builds can be
> >      triggered by
> >      >A  A  A  creating a special
> >      >A  A  A  >AA  AA  AA  AA  remote
> >      >A  A  A  >AA  AA  AA  AA  >AAA  AAA  A branch in git. That would
> >      require a job to do
> >      >A  A  A  pushed to the
> >      >A  A  A  >AA  AA  AA  AA  git, which I
> >      >A  A  A  >AA  AA  AA  AA  >AAA  AAA  A am no fan of...
> >      >A  A  A  >AA  AA  AA  AA  >AAA  2. there might be a way to use some
> >      sort of
> >      >A  A  A  meta-runner that can
> >      >A  A  A  >AA  AA  AA  AA  fetch the
> >      >A  A  A  >AA  AA  AA  AA  >AAA  AAA  A repo, create a branch using
> >      provided patch, and
> >      >A  A  A  then trigger
> >      >A  A  A  >AA  AA  AA  AA  the test-run.
> >      >A  A  A  >AA  AA  AA  AA  >AAA  AAA  A I have no idea how to do it.
> >      >A  A  A  >AA  AA  AA  AA  >AAA  3. Some other unknown-unknown
> >      functionality, that I am
> >      >A  A  A  evidently
> >      >A  A  A  >AA  AA  AA  AA  missing?
> >      >A  A  A  >AA  AA  AA  AA  >
> >      >A  A  A  >AA  AA  AA  AA  > I would really like someone on this
> list
> >      with TC
> >      >A  A  A  expertise to tell
> >      >A  A  A  >AA  AA  AA  AA  me what's
> >      >A  A  A  >AA  AA  AA  AA  > the preferred way of performing such
> >      workflow? E.g. in
> >      >A  A  A  Jenkins I can
> >      >A  A  A  >AA  AA  AA  AA  trigger a
> >      >A  A  A  >AA  AA  AA  AA  > remote job with a parameter (JIRA #),
> which
> >      then will
> >      >A  A  A  download the
> >      >A  A  A  >AA  AA  AA  AA  latest
> >      >A  A  A  >AA  AA  AA  AA  > attachment from it (7 lines of Groovy),
> >      apply it to the
> >      >A  A  A  fresh repo
> >      >A  A  A  >AA  AA  AA  AA  clone and
> >      >A  A  A  >AA  AA  AA  AA  > run the tests. How we can do something
> like
> >      that in TC?
> >      >A  A  A  Looking for
> >      >A  A  A  >AA  AA  AA  AA  the
> >      >A  A  A  >AA  AA  AA  AA  > guidance and help from this list.
> >      >A  A  A  >AA  AA  AA  AA  >
> >      >A  A  A  >AA  AA  AA  AA  > --
> >      >A  A  A  >AA  AA  AA  AA  > Thanks in advance. Regards,
> >      >A  A  A  >AA  AA  AA  AA  >AAA  A Cos
> >      >A  A  A  >AA  AA  AA  AA  >
>
Reply | Threaded
Open this post in threaded view
|

Re: automatic patch validation on TC

Konstantin Boudnik-2
Hi Yakov.

With jira-cli 3.9 one doesn't need to install anything on the server side. The
older version of the tools work with JIRA backend. The newer version (not
produced by Atlassian anymore) requires some additional stuff to be set.

I will take a look at the agents' configuration later in the day and will get
back to you here.

Thanks,
  Cos

On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:

> Cos,
>
> We still have problem while applying patch on TC. Attachments and comments
> cannot be fetched from Jira when using jira-cli on current agents.
>
> Can you please make sure that server side of jira-cli is properly
> installed? Do you know any other way to fetch that?
>
> --Yakov
>
> 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
>
> > oops
> >
> >     s/not/now/g
> >
> > Cos
> >
> > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <[hidden email]>
> > >    wrote:
> > >
> > >      Thanks - that's great: not I'd be able to finish up the commenting
> > part of the patch validation!
> > >
> > >    Cos, I think some meaning was lost due to typos. Do you mean that you
> > will
> > >    be able to finish it or will not?
> > >
> > >      Cos
> > >
> > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy wrote:
> > >      >A  A  Hello Konstantin.
> > >      >A  A  I've installed lira-cli on all agents (7) - path of cli is
> > >      >A  A  /opt/jira-cli-3.9.0
> > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin Boudnik
> > >      <[hidden email]>
> > >      >A  A  wrote:
Reply | Threaded
Open this post in threaded view
|

Re: automatic patch validation on TC

yzhdanov
Cos,

Does cli works on your local machine?

Can you check if our JIRA allows remote API calls -> "Go to Administration
-> General Configuration and ensure Accept remote API calls in ON"?

Sergey tried it locally and it just hangs.


--Yakov

2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:

> Hi Yakov.
>
> With jira-cli 3.9 one doesn't need to install anything on the server side.
> The
> older version of the tools work with JIRA backend. The newer version (not
> produced by Atlassian anymore) requires some additional stuff to be set.
>
> I will take a look at the agents' configuration later in the day and will
> get
> back to you here.
>
> Thanks,
>   Cos
>
> On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
> > Cos,
> >
> > We still have problem while applying patch on TC. Attachments and
> comments
> > cannot be fetched from Jira when using jira-cli on current agents.
> >
> > Can you please make sure that server side of jira-cli is properly
> > installed? Do you know any other way to fetch that?
> >
> > --Yakov
> >
> > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> >
> > > oops
> > >
> > >     s/not/now/g
> > >
> > > Cos
> > >
> > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
> [hidden email]>
> > > >    wrote:
> > > >
> > > >      Thanks - that's great: not I'd be able to finish up the
> commenting
> > > part of the patch validation!
> > > >
> > > >    Cos, I think some meaning was lost due to typos. Do you mean that
> you
> > > will
> > > >    be able to finish it or will not?
> > > >
> > > >      Cos
> > > >
> > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy wrote:
> > > >      >A  A  Hello Konstantin.
> > > >      >A  A  I've installed lira-cli on all agents (7) - path of cli
> is
> > > >      >A  A  /opt/jira-cli-3.9.0
> > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin Boudnik
> > > >      <[hidden email]>
> > > >      >A  A  wrote:
>
Reply | Threaded
Open this post in threaded view
|

Fwd: automatic patch validation on TC

Yakov Zhdanov-2
Cos,

Does cli works on your local machine?

Can you check if our JIRA allows remote API calls -> "Go to Administration
-> General Configuration and ensure Accept remote API calls in ON"?

Sergey tried it locally and it just hangs.


--Yakov

2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:

> Hi Yakov.
>
> With jira-cli 3.9 one doesn't need to install anything on the server side.
> The
> older version of the tools work with JIRA backend. The newer version (not
> produced by Atlassian anymore) requires some additional stuff to be set.
>
> I will take a look at the agents' configuration later in the day and will
> get
> back to you here.
>
> Thanks,
>   Cos
>
> On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
> > Cos,
> >
> > We still have problem while applying patch on TC. Attachments and
> comments
> > cannot be fetched from Jira when using jira-cli on current agents.
> >
> > Can you please make sure that server side of jira-cli is properly
> > installed? Do you know any other way to fetch that?
> >
> > --Yakov
> >
> > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> >
> > > oops
> > >
> > >     s/not/now/g
> > >
> > > Cos
> > >
> > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
> [hidden email]>
> > > >    wrote:
> > > >
> > > >      Thanks - that's great: not I'd be able to finish up the
> commenting
> > > part of the patch validation!
> > > >
> > > >    Cos, I think some meaning was lost due to typos. Do you mean that
> you
> > > will
> > > >    be able to finish it or will not?
> > > >
> > > >      Cos
> > > >
> > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy wrote:
> > > >      >A  A  Hello Konstantin.
> > > >      >A  A  I've installed lira-cli on all agents (7) - path of cli
> is
> > > >      >A  A  /opt/jira-cli-3.9.0
> > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin Boudnik
> > > >      <[hidden email]>
> > > >      >A  A  wrote:
>
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: automatic patch validation on TC

Konstantin Boudnik-2
Yakov

Yes, cli works on my local machine. In fact I am using this version of cli to
work with ASF JIRA for years. This
https://issues.apache.org/jira/browse/IGNITE-495 is populated via cli only -
no manual edits.

Unfortunately, I wasn't able to verify the slaves last night - we'll try
today. Thanks!
  Cos

On Wed, Apr 29, 2015 at 12:45PM, Yakov Zhdanov wrote:

> Cos,
>
> Does cli works on your local machine?
>
> Can you check if our JIRA allows remote API calls -> "Go to Administration
> -> General Configuration and ensure Accept remote API calls in ON"?
>
> Sergey tried it locally and it just hangs.
>
>
> --Yakov
>
> 2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:
>
> > Hi Yakov.
> >
> > With jira-cli 3.9 one doesn't need to install anything on the server side.
> > The
> > older version of the tools work with JIRA backend. The newer version (not
> > produced by Atlassian anymore) requires some additional stuff to be set.
> >
> > I will take a look at the agents' configuration later in the day and will
> > get
> > back to you here.
> >
> > Thanks,
> >   Cos
> >
> > On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
> > > Cos,
> > >
> > > We still have problem while applying patch on TC. Attachments and
> > comments
> > > cannot be fetched from Jira when using jira-cli on current agents.
> > >
> > > Can you please make sure that server side of jira-cli is properly
> > > installed? Do you know any other way to fetch that?
> > >
> > > --Yakov
> > >
> > > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > >
> > > > oops
> > > >
> > > >     s/not/now/g
> > > >
> > > > Cos
> > > >
> > > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> > > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
> > [hidden email]>
> > > > >    wrote:
> > > > >
> > > > >      Thanks - that's great: not I'd be able to finish up the
> > commenting
> > > > part of the patch validation!
> > > > >
> > > > >    Cos, I think some meaning was lost due to typos. Do you mean that
> > you
> > > > will
> > > > >    be able to finish it or will not?
> > > > >
> > > > >      Cos
> > > > >
> > > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy wrote:
> > > > >      >A  A  Hello Konstantin.
> > > > >      >A  A  I've installed lira-cli on all agents (7) - path of cli
> > is
> > > > >      >A  A  /opt/jira-cli-3.9.0
> > > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin Boudnik
> > > > >      <[hidden email]>
> > > > >      >A  A  wrote:
> >

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: automatic patch validation on TC

Sergey Bachinskiy
Cos, could you pls give example how you get attachment or comment from jira
issue?

On Wed, Apr 29, 2015 at 10:16 PM, Konstantin Boudnik <[hidden email]> wrote:

> Yakov
>
> Yes, cli works on my local machine. In fact I am using this version of cli
> to
> work with ASF JIRA for years. This
> https://issues.apache.org/jira/browse/IGNITE-495 is populated via cli
> only -
> no manual edits.
>
> Unfortunately, I wasn't able to verify the slaves last night - we'll try
> today. Thanks!
>   Cos
>
> On Wed, Apr 29, 2015 at 12:45PM, Yakov Zhdanov wrote:
> > Cos,
> >
> > Does cli works on your local machine?
> >
> > Can you check if our JIRA allows remote API calls -> "Go to
> Administration
> > -> General Configuration and ensure Accept remote API calls in ON"?
> >
> > Sergey tried it locally and it just hangs.
> >
> >
> > --Yakov
> >
> > 2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> >
> > > Hi Yakov.
> > >
> > > With jira-cli 3.9 one doesn't need to install anything on the server
> side.
> > > The
> > > older version of the tools work with JIRA backend. The newer version
> (not
> > > produced by Atlassian anymore) requires some additional stuff to be
> set.
> > >
> > > I will take a look at the agents' configuration later in the day and
> will
> > > get
> > > back to you here.
> > >
> > > Thanks,
> > >   Cos
> > >
> > > On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
> > > > Cos,
> > > >
> > > > We still have problem while applying patch on TC. Attachments and
> > > comments
> > > > cannot be fetched from Jira when using jira-cli on current agents.
> > > >
> > > > Can you please make sure that server side of jira-cli is properly
> > > > installed? Do you know any other way to fetch that?
> > > >
> > > > --Yakov
> > > >
> > > > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > >
> > > > > oops
> > > > >
> > > > >     s/not/now/g
> > > > >
> > > > > Cos
> > > > >
> > > > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> > > > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
> > > [hidden email]>
> > > > > >    wrote:
> > > > > >
> > > > > >      Thanks - that's great: not I'd be able to finish up the
> > > commenting
> > > > > part of the patch validation!
> > > > > >
> > > > > >    Cos, I think some meaning was lost due to typos. Do you mean
> that
> > > you
> > > > > will
> > > > > >    be able to finish it or will not?
> > > > > >
> > > > > >      Cos
> > > > > >
> > > > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy wrote:
> > > > > >      >A  A  Hello Konstantin.
> > > > > >      >A  A  I've installed lira-cli on all agents (7) - path of
> cli
> > > is
> > > > > >      >A  A  /opt/jira-cli-3.9.0
> > > > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin Boudnik
> > > > > >      <[hidden email]>
> > > > > >      >A  A  wrote:
> > >
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: automatic patch validation on TC

Konstantin Boudnik-2
If you look at the branch ignite-620 (as referred in the ticket) you'll see
the example at the very end. I am waiting to get this stuff committed, so I
can finish all the tiny bits that left, like commenting.

Literally, all I need right now, is a review so I can commit the code (which
is completely independent from the rest of the system) to unblock my further
progress.

Cos

On Wed, Apr 29, 2015 at 11:05PM, Sergey Bachinskiy wrote:

> Cos, could you pls give example how you get attachment or comment from jira
> issue?
>
> On Wed, Apr 29, 2015 at 10:16 PM, Konstantin Boudnik <[hidden email]> wrote:
>
> > Yakov
> >
> > Yes, cli works on my local machine. In fact I am using this version of cli
> > to
> > work with ASF JIRA for years. This
> > https://issues.apache.org/jira/browse/IGNITE-495 is populated via cli
> > only -
> > no manual edits.
> >
> > Unfortunately, I wasn't able to verify the slaves last night - we'll try
> > today. Thanks!
> >   Cos
> >
> > On Wed, Apr 29, 2015 at 12:45PM, Yakov Zhdanov wrote:
> > > Cos,
> > >
> > > Does cli works on your local machine?
> > >
> > > Can you check if our JIRA allows remote API calls -> "Go to
> > Administration
> > > -> General Configuration and ensure Accept remote API calls in ON"?
> > >
> > > Sergey tried it locally and it just hangs.
> > >
> > >
> > > --Yakov
> > >
> > > 2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > >
> > > > Hi Yakov.
> > > >
> > > > With jira-cli 3.9 one doesn't need to install anything on the server
> > side.
> > > > The
> > > > older version of the tools work with JIRA backend. The newer version
> > (not
> > > > produced by Atlassian anymore) requires some additional stuff to be
> > set.
> > > >
> > > > I will take a look at the agents' configuration later in the day and
> > will
> > > > get
> > > > back to you here.
> > > >
> > > > Thanks,
> > > >   Cos
> > > >
> > > > On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
> > > > > Cos,
> > > > >
> > > > > We still have problem while applying patch on TC. Attachments and
> > > > comments
> > > > > cannot be fetched from Jira when using jira-cli on current agents.
> > > > >
> > > > > Can you please make sure that server side of jira-cli is properly
> > > > > installed? Do you know any other way to fetch that?
> > > > >
> > > > > --Yakov
> > > > >
> > > > > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > > >
> > > > > > oops
> > > > > >
> > > > > >     s/not/now/g
> > > > > >
> > > > > > Cos
> > > > > >
> > > > > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> > > > > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
> > > > [hidden email]>
> > > > > > >    wrote:
> > > > > > >
> > > > > > >      Thanks - that's great: not I'd be able to finish up the
> > > > commenting
> > > > > > part of the patch validation!
> > > > > > >
> > > > > > >    Cos, I think some meaning was lost due to typos. Do you mean
> > that
> > > > you
> > > > > > will
> > > > > > >    be able to finish it or will not?
> > > > > > >
> > > > > > >      Cos
> > > > > > >
> > > > > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy wrote:
> > > > > > >      >A  A  Hello Konstantin.
> > > > > > >      >A  A  I've installed lira-cli on all agents (7) - path of
> > cli
> > > > is
> > > > > > >      >A  A  /opt/jira-cli-3.9.0
> > > > > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin Boudnik
> > > > > > >      <[hidden email]>
> > > > > > >      >A  A  wrote:
> > > >
> >
> >
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: automatic patch validation on TC

dsetrakyan
On Wed, Apr 29, 2015 at 4:02 PM, Konstantin Boudnik <[hidden email]> wrote:

> If you look at the branch ignite-620 (as referred in the ticket) you'll see
> the example at the very end. I am waiting to get this stuff committed, so I
> can finish all the tiny bits that left, like commenting.
>
> Literally, all I need right now, is a review so I can commit the code
> (which
> is completely independent from the rest of the system) to unblock my
> further
> progress.
>

Cos, I think you should go ahead and commit this change. I think it was not
on the critical release path and got delayed. We should definitely do a
better job at reviewing all patches much sooner, rather than just letting
them sit there.


> Cos
>
> On Wed, Apr 29, 2015 at 11:05PM, Sergey Bachinskiy wrote:
> > Cos, could you pls give example how you get attachment or comment from
> jira
> > issue?
> >
> > On Wed, Apr 29, 2015 at 10:16 PM, Konstantin Boudnik <[hidden email]>
> wrote:
> >
> > > Yakov
> > >
> > > Yes, cli works on my local machine. In fact I am using this version of
> cli
> > > to
> > > work with ASF JIRA for years. This
> > > https://issues.apache.org/jira/browse/IGNITE-495 is populated via cli
> > > only -
> > > no manual edits.
> > >
> > > Unfortunately, I wasn't able to verify the slaves last night - we'll
> try
> > > today. Thanks!
> > >   Cos
> > >
> > > On Wed, Apr 29, 2015 at 12:45PM, Yakov Zhdanov wrote:
> > > > Cos,
> > > >
> > > > Does cli works on your local machine?
> > > >
> > > > Can you check if our JIRA allows remote API calls -> "Go to
> > > Administration
> > > > -> General Configuration and ensure Accept remote API calls in ON"?
> > > >
> > > > Sergey tried it locally and it just hangs.
> > > >
> > > >
> > > > --Yakov
> > > >
> > > > 2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > >
> > > > > Hi Yakov.
> > > > >
> > > > > With jira-cli 3.9 one doesn't need to install anything on the
> server
> > > side.
> > > > > The
> > > > > older version of the tools work with JIRA backend. The newer
> version
> > > (not
> > > > > produced by Atlassian anymore) requires some additional stuff to be
> > > set.
> > > > >
> > > > > I will take a look at the agents' configuration later in the day
> and
> > > will
> > > > > get
> > > > > back to you here.
> > > > >
> > > > > Thanks,
> > > > >   Cos
> > > > >
> > > > > On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
> > > > > > Cos,
> > > > > >
> > > > > > We still have problem while applying patch on TC. Attachments and
> > > > > comments
> > > > > > cannot be fetched from Jira when using jira-cli on current
> agents.
> > > > > >
> > > > > > Can you please make sure that server side of jira-cli is properly
> > > > > > installed? Do you know any other way to fetch that?
> > > > > >
> > > > > > --Yakov
> > > > > >
> > > > > > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > > > >
> > > > > > > oops
> > > > > > >
> > > > > > >     s/not/now/g
> > > > > > >
> > > > > > > Cos
> > > > > > >
> > > > > > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> > > > > > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
> > > > > [hidden email]>
> > > > > > > >    wrote:
> > > > > > > >
> > > > > > > >      Thanks - that's great: not I'd be able to finish up the
> > > > > commenting
> > > > > > > part of the patch validation!
> > > > > > > >
> > > > > > > >    Cos, I think some meaning was lost due to typos. Do you
> mean
> > > that
> > > > > you
> > > > > > > will
> > > > > > > >    be able to finish it or will not?
> > > > > > > >
> > > > > > > >      Cos
> > > > > > > >
> > > > > > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy
> wrote:
> > > > > > > >      >A  A  Hello Konstantin.
> > > > > > > >      >A  A  I've installed lira-cli on all agents (7) - path
> of
> > > cli
> > > > > is
> > > > > > > >      >A  A  /opt/jira-cli-3.9.0
> > > > > > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin
> Boudnik
> > > > > > > >      <[hidden email]>
> > > > > > > >      >A  A  wrote:
> > > > >
> > >
> > >
>
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: automatic patch validation on TC

Konstantin Boudnik-2
On Wed, Apr 29, 2015 at 04:38PM, Dmitriy Setrakyan wrote:

> On Wed, Apr 29, 2015 at 4:02 PM, Konstantin Boudnik <[hidden email]> wrote:
>
> > If you look at the branch ignite-620 (as referred in the ticket) you'll see
> > the example at the very end. I am waiting to get this stuff committed, so I
> > can finish all the tiny bits that left, like commenting.
> >
> > Literally, all I need right now, is a review so I can commit the code
> > (which
> > is completely independent from the rest of the system) to unblock my
> > further
> > progress.
> >
>
> Cos, I think you should go ahead and commit this change. I think it was not
> on the critical release path and got delayed. We should definitely do a
> better job at reviewing all patches much sooner, rather than just letting
> them sit there.

Thanks, I will commit this tonight. And +1 on the fixing the review process.
Say, I was lucky that my patch wasn't touching anything in the existing code.
Just imaging for a second how painful the conflict resolution would be for a
core patch after a month of lagging?

Best,
  Cos

> >
> > On Wed, Apr 29, 2015 at 11:05PM, Sergey Bachinskiy wrote:
> > > Cos, could you pls give example how you get attachment or comment from
> > jira
> > > issue?
> > >
> > > On Wed, Apr 29, 2015 at 10:16 PM, Konstantin Boudnik <[hidden email]>
> > wrote:
> > >
> > > > Yakov
> > > >
> > > > Yes, cli works on my local machine. In fact I am using this version of
> > cli
> > > > to
> > > > work with ASF JIRA for years. This
> > > > https://issues.apache.org/jira/browse/IGNITE-495 is populated via cli
> > > > only -
> > > > no manual edits.
> > > >
> > > > Unfortunately, I wasn't able to verify the slaves last night - we'll
> > try
> > > > today. Thanks!
> > > >   Cos
> > > >
> > > > On Wed, Apr 29, 2015 at 12:45PM, Yakov Zhdanov wrote:
> > > > > Cos,
> > > > >
> > > > > Does cli works on your local machine?
> > > > >
> > > > > Can you check if our JIRA allows remote API calls -> "Go to
> > > > Administration
> > > > > -> General Configuration and ensure Accept remote API calls in ON"?
> > > > >
> > > > > Sergey tried it locally and it just hangs.
> > > > >
> > > > >
> > > > > --Yakov
> > > > >
> > > > > 2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > > >
> > > > > > Hi Yakov.
> > > > > >
> > > > > > With jira-cli 3.9 one doesn't need to install anything on the
> > server
> > > > side.
> > > > > > The
> > > > > > older version of the tools work with JIRA backend. The newer
> > version
> > > > (not
> > > > > > produced by Atlassian anymore) requires some additional stuff to be
> > > > set.
> > > > > >
> > > > > > I will take a look at the agents' configuration later in the day
> > and
> > > > will
> > > > > > get
> > > > > > back to you here.
> > > > > >
> > > > > > Thanks,
> > > > > >   Cos
> > > > > >
> > > > > > On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
> > > > > > > Cos,
> > > > > > >
> > > > > > > We still have problem while applying patch on TC. Attachments and
> > > > > > comments
> > > > > > > cannot be fetched from Jira when using jira-cli on current
> > agents.
> > > > > > >
> > > > > > > Can you please make sure that server side of jira-cli is properly
> > > > > > > installed? Do you know any other way to fetch that?
> > > > > > >
> > > > > > > --Yakov
> > > > > > >
> > > > > > > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > > > > >
> > > > > > > > oops
> > > > > > > >
> > > > > > > >     s/not/now/g
> > > > > > > >
> > > > > > > > Cos
> > > > > > > >
> > > > > > > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> > > > > > > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
> > > > > > [hidden email]>
> > > > > > > > >    wrote:
> > > > > > > > >
> > > > > > > > >      Thanks - that's great: not I'd be able to finish up the
> > > > > > commenting
> > > > > > > > part of the patch validation!
> > > > > > > > >
> > > > > > > > >    Cos, I think some meaning was lost due to typos. Do you
> > mean
> > > > that
> > > > > > you
> > > > > > > > will
> > > > > > > > >    be able to finish it or will not?
> > > > > > > > >
> > > > > > > > >      Cos
> > > > > > > > >
> > > > > > > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy
> > wrote:
> > > > > > > > >      >A  A  Hello Konstantin.
> > > > > > > > >      >A  A  I've installed lira-cli on all agents (7) - path
> > of
> > > > cli
> > > > > > is
> > > > > > > > >      >A  A  /opt/jira-cli-3.9.0
> > > > > > > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin
> > Boudnik
> > > > > > > > >      <[hidden email]>
> > > > > > > > >      >A  A  wrote:
> > > > > >
> > > >
> > > >
> >
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: automatic patch validation on TC

Konstantin Boudnik-2
In reply to this post by Sergey Bachinskiy
Guys,

I managed to get into the master, but I can not get into master server, but I
can not get into slaves machines as the ip addresses listen in the TC server
are from private network and master doesn't have a routing there.

How I can get into slaves to change on the jira-cli tools? Or shall I just
make a tiny build and try to execute it from there?

Thanks
  Cos

On Wed, Apr 29, 2015 at 11:05PM, Sergey Bachinskiy wrote:

> Cos, could you pls give example how you get attachment or comment from jira
> issue?
>
> On Wed, Apr 29, 2015 at 10:16 PM, Konstantin Boudnik <[hidden email]> wrote:
>
> > Yakov
> >
> > Yes, cli works on my local machine. In fact I am using this version of cli
> > to
> > work with ASF JIRA for years. This
> > https://issues.apache.org/jira/browse/IGNITE-495 is populated via cli
> > only -
> > no manual edits.
> >
> > Unfortunately, I wasn't able to verify the slaves last night - we'll try
> > today. Thanks!
> >   Cos
> >
> > On Wed, Apr 29, 2015 at 12:45PM, Yakov Zhdanov wrote:
> > > Cos,
> > >
> > > Does cli works on your local machine?
> > >
> > > Can you check if our JIRA allows remote API calls -> "Go to
> > Administration
> > > -> General Configuration and ensure Accept remote API calls in ON"?
> > >
> > > Sergey tried it locally and it just hangs.
> > >
> > >
> > > --Yakov
> > >
> > > 2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > >
> > > > Hi Yakov.
> > > >
> > > > With jira-cli 3.9 one doesn't need to install anything on the server
> > side.
> > > > The
> > > > older version of the tools work with JIRA backend. The newer version
> > (not
> > > > produced by Atlassian anymore) requires some additional stuff to be
> > set.
> > > >
> > > > I will take a look at the agents' configuration later in the day and
> > will
> > > > get
> > > > back to you here.
> > > >
> > > > Thanks,
> > > >   Cos
> > > >
> > > > On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
> > > > > Cos,
> > > > >
> > > > > We still have problem while applying patch on TC. Attachments and
> > > > comments
> > > > > cannot be fetched from Jira when using jira-cli on current agents.
> > > > >
> > > > > Can you please make sure that server side of jira-cli is properly
> > > > > installed? Do you know any other way to fetch that?
> > > > >
> > > > > --Yakov
> > > > >
> > > > > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > > >
> > > > > > oops
> > > > > >
> > > > > >     s/not/now/g
> > > > > >
> > > > > > Cos
> > > > > >
> > > > > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> > > > > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
> > > > [hidden email]>
> > > > > > >    wrote:
> > > > > > >
> > > > > > >      Thanks - that's great: not I'd be able to finish up the
> > > > commenting
> > > > > > part of the patch validation!
> > > > > > >
> > > > > > >    Cos, I think some meaning was lost due to typos. Do you mean
> > that
> > > > you
> > > > > > will
> > > > > > >    be able to finish it or will not?
> > > > > > >
> > > > > > >      Cos
> > > > > > >
> > > > > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy wrote:
> > > > > > >      >A  A  Hello Konstantin.
> > > > > > >      >A  A  I've installed lira-cli on all agents (7) - path of
> > cli
> > > > is
> > > > > > >      >A  A  /opt/jira-cli-3.9.0
> > > > > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin Boudnik
> > > > > > >      <[hidden email]>
> > > > > > >      >A  A  wrote:
> > > >
> >
> >
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: automatic patch validation on TC

Sergey Bachinskiy
Cos, agents in docker container 2 of them in master  - you can login to
root shell of agent by shell command - docker -i -t container_id bash, id
of container you can get by command - docker ps (all enabled and running
containers)
to another machine with agents you can login by ip 204.14.53.153 and user
gg with password Gr1dGa1N

On Fri, May 1, 2015 at 2:51 AM, Konstantin Boudnik <[hidden email]> wrote:

> Guys,
>
> I managed to get into the master, but I can not get into master server,
> but I
> can not get into slaves machines as the ip addresses listen in the TC
> server
> are from private network and master doesn't have a routing there.
>
> How I can get into slaves to change on the jira-cli tools? Or shall I just
> make a tiny build and try to execute it from there?
>
> Thanks
>   Cos
>
> On Wed, Apr 29, 2015 at 11:05PM, Sergey Bachinskiy wrote:
> > Cos, could you pls give example how you get attachment or comment from
> jira
> > issue?
> >
> > On Wed, Apr 29, 2015 at 10:16 PM, Konstantin Boudnik <[hidden email]>
> wrote:
> >
> > > Yakov
> > >
> > > Yes, cli works on my local machine. In fact I am using this version of
> cli
> > > to
> > > work with ASF JIRA for years. This
> > > https://issues.apache.org/jira/browse/IGNITE-495 is populated via cli
> > > only -
> > > no manual edits.
> > >
> > > Unfortunately, I wasn't able to verify the slaves last night - we'll
> try
> > > today. Thanks!
> > >   Cos
> > >
> > > On Wed, Apr 29, 2015 at 12:45PM, Yakov Zhdanov wrote:
> > > > Cos,
> > > >
> > > > Does cli works on your local machine?
> > > >
> > > > Can you check if our JIRA allows remote API calls -> "Go to
> > > Administration
> > > > -> General Configuration and ensure Accept remote API calls in ON"?
> > > >
> > > > Sergey tried it locally and it just hangs.
> > > >
> > > >
> > > > --Yakov
> > > >
> > > > 2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > >
> > > > > Hi Yakov.
> > > > >
> > > > > With jira-cli 3.9 one doesn't need to install anything on the
> server
> > > side.
> > > > > The
> > > > > older version of the tools work with JIRA backend. The newer
> version
> > > (not
> > > > > produced by Atlassian anymore) requires some additional stuff to be
> > > set.
> > > > >
> > > > > I will take a look at the agents' configuration later in the day
> and
> > > will
> > > > > get
> > > > > back to you here.
> > > > >
> > > > > Thanks,
> > > > >   Cos
> > > > >
> > > > > On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
> > > > > > Cos,
> > > > > >
> > > > > > We still have problem while applying patch on TC. Attachments and
> > > > > comments
> > > > > > cannot be fetched from Jira when using jira-cli on current
> agents.
> > > > > >
> > > > > > Can you please make sure that server side of jira-cli is properly
> > > > > > installed? Do you know any other way to fetch that?
> > > > > >
> > > > > > --Yakov
> > > > > >
> > > > > > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > > > >
> > > > > > > oops
> > > > > > >
> > > > > > >     s/not/now/g
> > > > > > >
> > > > > > > Cos
> > > > > > >
> > > > > > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> > > > > > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
> > > > > [hidden email]>
> > > > > > > >    wrote:
> > > > > > > >
> > > > > > > >      Thanks - that's great: not I'd be able to finish up the
> > > > > commenting
> > > > > > > part of the patch validation!
> > > > > > > >
> > > > > > > >    Cos, I think some meaning was lost due to typos. Do you
> mean
> > > that
> > > > > you
> > > > > > > will
> > > > > > > >    be able to finish it or will not?
> > > > > > > >
> > > > > > > >      Cos
> > > > > > > >
> > > > > > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy
> wrote:
> > > > > > > >      >A  A  Hello Konstantin.
> > > > > > > >      >A  A  I've installed lira-cli on all agents (7) - path
> of
> > > cli
> > > > > is
> > > > > > > >      >A  A  /opt/jira-cli-3.9.0
> > > > > > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin
> Boudnik
> > > > > > > >      <[hidden email]>
> > > > > > > >      >A  A  wrote:
> > > > >
> > >
> > >
>
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: automatic patch validation on TC

Dmitriy Setrakyan
I have instructed Sergey to change the password and not send passwords to a
public dev list.

D.

On Fri, May 1, 2015 at 5:24 AM, Sergey Bachinskiy <[hidden email]>
wrote:

> Cos, agents in docker container 2 of them in master  - you can login to
> root shell of agent by shell command - docker -i -t container_id bash, id
> of container you can get by command - docker ps (all enabled and running
> containers)
> to another machine with agents you can login by ip 204.14.53.153 and user
> gg with password Gr1dGa1N
>
> On Fri, May 1, 2015 at 2:51 AM, Konstantin Boudnik <[hidden email]> wrote:
>
>> Guys,
>>
>> I managed to get into the master, but I can not get into master server,
>> but I
>> can not get into slaves machines as the ip addresses listen in the TC
>> server
>> are from private network and master doesn't have a routing there.
>>
>> How I can get into slaves to change on the jira-cli tools? Or shall I just
>> make a tiny build and try to execute it from there?
>>
>> Thanks
>>   Cos
>>
>> On Wed, Apr 29, 2015 at 11:05PM, Sergey Bachinskiy wrote:
>> > Cos, could you pls give example how you get attachment or comment from
>> jira
>> > issue?
>> >
>> > On Wed, Apr 29, 2015 at 10:16 PM, Konstantin Boudnik <[hidden email]>
>> wrote:
>> >
>> > > Yakov
>> > >
>> > > Yes, cli works on my local machine. In fact I am using this version
>> of cli
>> > > to
>> > > work with ASF JIRA for years. This
>> > > https://issues.apache.org/jira/browse/IGNITE-495 is populated via cli
>> > > only -
>> > > no manual edits.
>> > >
>> > > Unfortunately, I wasn't able to verify the slaves last night - we'll
>> try
>> > > today. Thanks!
>> > >   Cos
>> > >
>> > > On Wed, Apr 29, 2015 at 12:45PM, Yakov Zhdanov wrote:
>> > > > Cos,
>> > > >
>> > > > Does cli works on your local machine?
>> > > >
>> > > > Can you check if our JIRA allows remote API calls -> "Go to
>> > > Administration
>> > > > -> General Configuration and ensure Accept remote API calls in ON"?
>> > > >
>> > > > Sergey tried it locally and it just hangs.
>> > > >
>> > > >
>> > > > --Yakov
>> > > >
>> > > > 2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:
>> > > >
>> > > > > Hi Yakov.
>> > > > >
>> > > > > With jira-cli 3.9 one doesn't need to install anything on the
>> server
>> > > side.
>> > > > > The
>> > > > > older version of the tools work with JIRA backend. The newer
>> version
>> > > (not
>> > > > > produced by Atlassian anymore) requires some additional stuff to
>> be
>> > > set.
>> > > > >
>> > > > > I will take a look at the agents' configuration later in the day
>> and
>> > > will
>> > > > > get
>> > > > > back to you here.
>> > > > >
>> > > > > Thanks,
>> > > > >   Cos
>> > > > >
>> > > > > On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
>> > > > > > Cos,
>> > > > > >
>> > > > > > We still have problem while applying patch on TC. Attachments
>> and
>> > > > > comments
>> > > > > > cannot be fetched from Jira when using jira-cli on current
>> agents.
>> > > > > >
>> > > > > > Can you please make sure that server side of jira-cli is
>> properly
>> > > > > > installed? Do you know any other way to fetch that?
>> > > > > >
>> > > > > > --Yakov
>> > > > > >
>> > > > > > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
>> > > > > >
>> > > > > > > oops
>> > > > > > >
>> > > > > > >     s/not/now/g
>> > > > > > >
>> > > > > > > Cos
>> > > > > > >
>> > > > > > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
>> > > > > > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
>> > > > > [hidden email]>
>> > > > > > > >    wrote:
>> > > > > > > >
>> > > > > > > >      Thanks - that's great: not I'd be able to finish up the
>> > > > > commenting
>> > > > > > > part of the patch validation!
>> > > > > > > >
>> > > > > > > >    Cos, I think some meaning was lost due to typos. Do you
>> mean
>> > > that
>> > > > > you
>> > > > > > > will
>> > > > > > > >    be able to finish it or will not?
>> > > > > > > >
>> > > > > > > >      Cos
>> > > > > > > >
>> > > > > > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy
>> wrote:
>> > > > > > > >      >A  A  Hello Konstantin.
>> > > > > > > >      >A  A  I've installed lira-cli on all agents (7) -
>> path of
>> > > cli
>> > > > > is
>> > > > > > > >      >A  A  /opt/jira-cli-3.9.0
>> > > > > > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin
>> Boudnik
>> > > > > > > >      <[hidden email]>
>> > > > > > > >      >A  A  wrote:
>> > > > >
>> > >
>> > >
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: automatic patch validation on TC

dsetrakyan
Just got confirmation that the password was changed. We must be very
careful going forward.

On Fri, May 1, 2015 at 5:38 AM, Dmitriy Setrakyan <[hidden email]>
wrote:

> I have instructed Sergey to change the password and not send passwords to
> a public dev list.
>
> D.
>
> On Fri, May 1, 2015 at 5:24 AM, Sergey Bachinskiy <
> [hidden email]> wrote:
>
>> Cos, agents in docker container 2 of them in master  - you can login to
>> root shell of agent by shell command - docker -i -t container_id bash, id
>> of container you can get by command - docker ps (all enabled and running
>> containers)
>> to another machine with agents you can login by ip 204.14.53.153 and user
>> gg with password Gr1dGa1N
>>
>> On Fri, May 1, 2015 at 2:51 AM, Konstantin Boudnik <[hidden email]>
>> wrote:
>>
>>> Guys,
>>>
>>> I managed to get into the master, but I can not get into master server,
>>> but I
>>> can not get into slaves machines as the ip addresses listen in the TC
>>> server
>>> are from private network and master doesn't have a routing there.
>>>
>>> How I can get into slaves to change on the jira-cli tools? Or shall I
>>> just
>>> make a tiny build and try to execute it from there?
>>>
>>> Thanks
>>>   Cos
>>>
>>> On Wed, Apr 29, 2015 at 11:05PM, Sergey Bachinskiy wrote:
>>> > Cos, could you pls give example how you get attachment or comment from
>>> jira
>>> > issue?
>>> >
>>> > On Wed, Apr 29, 2015 at 10:16 PM, Konstantin Boudnik <[hidden email]>
>>> wrote:
>>> >
>>> > > Yakov
>>> > >
>>> > > Yes, cli works on my local machine. In fact I am using this version
>>> of cli
>>> > > to
>>> > > work with ASF JIRA for years. This
>>> > > https://issues.apache.org/jira/browse/IGNITE-495 is populated via
>>> cli
>>> > > only -
>>> > > no manual edits.
>>> > >
>>> > > Unfortunately, I wasn't able to verify the slaves last night - we'll
>>> try
>>> > > today. Thanks!
>>> > >   Cos
>>> > >
>>> > > On Wed, Apr 29, 2015 at 12:45PM, Yakov Zhdanov wrote:
>>> > > > Cos,
>>> > > >
>>> > > > Does cli works on your local machine?
>>> > > >
>>> > > > Can you check if our JIRA allows remote API calls -> "Go to
>>> > > Administration
>>> > > > -> General Configuration and ensure Accept remote API calls in ON"?
>>> > > >
>>> > > > Sergey tried it locally and it just hangs.
>>> > > >
>>> > > >
>>> > > > --Yakov
>>> > > >
>>> > > > 2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:
>>> > > >
>>> > > > > Hi Yakov.
>>> > > > >
>>> > > > > With jira-cli 3.9 one doesn't need to install anything on the
>>> server
>>> > > side.
>>> > > > > The
>>> > > > > older version of the tools work with JIRA backend. The newer
>>> version
>>> > > (not
>>> > > > > produced by Atlassian anymore) requires some additional stuff to
>>> be
>>> > > set.
>>> > > > >
>>> > > > > I will take a look at the agents' configuration later in the day
>>> and
>>> > > will
>>> > > > > get
>>> > > > > back to you here.
>>> > > > >
>>> > > > > Thanks,
>>> > > > >   Cos
>>> > > > >
>>> > > > > On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
>>> > > > > > Cos,
>>> > > > > >
>>> > > > > > We still have problem while applying patch on TC. Attachments
>>> and
>>> > > > > comments
>>> > > > > > cannot be fetched from Jira when using jira-cli on current
>>> agents.
>>> > > > > >
>>> > > > > > Can you please make sure that server side of jira-cli is
>>> properly
>>> > > > > > installed? Do you know any other way to fetch that?
>>> > > > > >
>>> > > > > > --Yakov
>>> > > > > >
>>> > > > > > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
>>> > > > > >
>>> > > > > > > oops
>>> > > > > > >
>>> > > > > > >     s/not/now/g
>>> > > > > > >
>>> > > > > > > Cos
>>> > > > > > >
>>> > > > > > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
>>> > > > > > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
>>> > > > > [hidden email]>
>>> > > > > > > >    wrote:
>>> > > > > > > >
>>> > > > > > > >      Thanks - that's great: not I'd be able to finish up
>>> the
>>> > > > > commenting
>>> > > > > > > part of the patch validation!
>>> > > > > > > >
>>> > > > > > > >    Cos, I think some meaning was lost due to typos. Do you
>>> mean
>>> > > that
>>> > > > > you
>>> > > > > > > will
>>> > > > > > > >    be able to finish it or will not?
>>> > > > > > > >
>>> > > > > > > >      Cos
>>> > > > > > > >
>>> > > > > > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy
>>> wrote:
>>> > > > > > > >      >A  A  Hello Konstantin.
>>> > > > > > > >      >A  A  I've installed lira-cli on all agents (7) -
>>> path of
>>> > > cli
>>> > > > > is
>>> > > > > > > >      >A  A  /opt/jira-cli-3.9.0
>>> > > > > > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin
>>> Boudnik
>>> > > > > > > >      <[hidden email]>
>>> > > > > > > >      >A  A  wrote:
>>> > > > >
>>> > >
>>> > >
>>>
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: automatic patch validation on TC

Konstantin Boudnik-2
In reply to this post by Sergey Bachinskiy
Ah, darn - now I remember that the TC is in containers ;( Silly me - thanks
man: we'll check it shortly and report about my findings.

Cos

On Fri, May 01, 2015 at 01:24PM, Sergey Bachinskiy wrote:

> Cos, agents in docker container 2 of them in master  - you can login to
> root shell of agent by shell command - docker -i -t container_id bash, id
> of container you can get by command - docker ps (all enabled and running
> containers)
> to another machine with agents you can login by ip 204.14.53.153 and user
> gg with password Gr1dGa1N
>
> On Fri, May 1, 2015 at 2:51 AM, Konstantin Boudnik <[hidden email]> wrote:
>
> > Guys,
> >
> > I managed to get into the master, but I can not get into master server,
> > but I
> > can not get into slaves machines as the ip addresses listen in the TC
> > server
> > are from private network and master doesn't have a routing there.
> >
> > How I can get into slaves to change on the jira-cli tools? Or shall I just
> > make a tiny build and try to execute it from there?
> >
> > Thanks
> >   Cos
> >
> > On Wed, Apr 29, 2015 at 11:05PM, Sergey Bachinskiy wrote:
> > > Cos, could you pls give example how you get attachment or comment from
> > jira
> > > issue?
> > >
> > > On Wed, Apr 29, 2015 at 10:16 PM, Konstantin Boudnik <[hidden email]>
> > wrote:
> > >
> > > > Yakov
> > > >
> > > > Yes, cli works on my local machine. In fact I am using this version of
> > cli
> > > > to
> > > > work with ASF JIRA for years. This
> > > > https://issues.apache.org/jira/browse/IGNITE-495 is populated via cli
> > > > only -
> > > > no manual edits.
> > > >
> > > > Unfortunately, I wasn't able to verify the slaves last night - we'll
> > try
> > > > today. Thanks!
> > > >   Cos
> > > >
> > > > On Wed, Apr 29, 2015 at 12:45PM, Yakov Zhdanov wrote:
> > > > > Cos,
> > > > >
> > > > > Does cli works on your local machine?
> > > > >
> > > > > Can you check if our JIRA allows remote API calls -> "Go to
> > > > Administration
> > > > > -> General Configuration and ensure Accept remote API calls in ON"?
> > > > >
> > > > > Sergey tried it locally and it just hangs.
> > > > >
> > > > >
> > > > > --Yakov
> > > > >
> > > > > 2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > > >
> > > > > > Hi Yakov.
> > > > > >
> > > > > > With jira-cli 3.9 one doesn't need to install anything on the
> > server
> > > > side.
> > > > > > The
> > > > > > older version of the tools work with JIRA backend. The newer
> > version
> > > > (not
> > > > > > produced by Atlassian anymore) requires some additional stuff to be
> > > > set.
> > > > > >
> > > > > > I will take a look at the agents' configuration later in the day
> > and
> > > > will
> > > > > > get
> > > > > > back to you here.
> > > > > >
> > > > > > Thanks,
> > > > > >   Cos
> > > > > >
> > > > > > On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
> > > > > > > Cos,
> > > > > > >
> > > > > > > We still have problem while applying patch on TC. Attachments and
> > > > > > comments
> > > > > > > cannot be fetched from Jira when using jira-cli on current
> > agents.
> > > > > > >
> > > > > > > Can you please make sure that server side of jira-cli is properly
> > > > > > > installed? Do you know any other way to fetch that?
> > > > > > >
> > > > > > > --Yakov
> > > > > > >
> > > > > > > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > > > > >
> > > > > > > > oops
> > > > > > > >
> > > > > > > >     s/not/now/g
> > > > > > > >
> > > > > > > > Cos
> > > > > > > >
> > > > > > > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> > > > > > > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
> > > > > > [hidden email]>
> > > > > > > > >    wrote:
> > > > > > > > >
> > > > > > > > >      Thanks - that's great: not I'd be able to finish up the
> > > > > > commenting
> > > > > > > > part of the patch validation!
> > > > > > > > >
> > > > > > > > >    Cos, I think some meaning was lost due to typos. Do you
> > mean
> > > > that
> > > > > > you
> > > > > > > > will
> > > > > > > > >    be able to finish it or will not?
> > > > > > > > >
> > > > > > > > >      Cos
> > > > > > > > >
> > > > > > > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy
> > wrote:
> > > > > > > > >      >A  A  Hello Konstantin.
> > > > > > > > >      >A  A  I've installed lira-cli on all agents (7) - path
> > of
> > > > cli
> > > > > > is
> > > > > > > > >      >A  A  /opt/jira-cli-3.9.0
> > > > > > > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin
> > Boudnik
> > > > > > > > >      <[hidden email]>
> > > > > > > > >      >A  A  wrote:
> > > > > >
> > > >
> > > >
> >
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: automatic patch validation on TC

Konstantin Boudnik-2
In reply to this post by Sergey Bachinskiy
Hi Sergey.

I can not re-attach an instance with the command you provided; also using
attach doesn't provide me with an interactive shell.

Clearly these instances are running sshd, but I have no credentials to log in.
Perhaps it'd be easier if we can jump on a skype call and quickly figure it
out?

Thanks for all your help!
  Cos

On Fri, May 01, 2015 at 01:24PM, Sergey Bachinskiy wrote:

> Cos, agents in docker container 2 of them in master  - you can login to
> root shell of agent by shell command - docker -i -t container_id bash, id
> of container you can get by command - docker ps (all enabled and running
> containers)
> to another machine with agents you can login by ip 204.14.53.153 and user
> gg with password Gr1dGa1N
>
> On Fri, May 1, 2015 at 2:51 AM, Konstantin Boudnik <[hidden email]> wrote:
>
> > Guys,
> >
> > I managed to get into the master, but I can not get into master server,
> > but I
> > can not get into slaves machines as the ip addresses listen in the TC
> > server
> > are from private network and master doesn't have a routing there.
> >
> > How I can get into slaves to change on the jira-cli tools? Or shall I just
> > make a tiny build and try to execute it from there?
> >
> > Thanks
> >   Cos
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: automatic patch validation on TC

Konstantin Boudnik-2
In reply to this post by Yakov Zhdanov-2
Sergey and I had a good Skype call and everything seems to be resolved. The
installed jira-cli tools work just fine http://bit.ly/1c2qmeH

Attachments and comments do not need to be fetched using jira-cli. The
proposed workflow for the automatic patching is explained at the bottom of
    dev-tools/src/main/groovy/jiraslurp.groovy
please let me know if there are any questions about it.

Sergey will see to make sure that we have parameterized builds, which will be
triggered from the groovy script above. In fact, that is the last thing that
is blocking the completion of this task. Looks like our off-line conversation
with him helped to get the ball rolling!

Cos

On Wed, Apr 29, 2015 at 12:45PM, Yakov Zhdanov wrote:

> Cos,
>
> Does cli works on your local machine?
>
> Can you check if our JIRA allows remote API calls -> "Go to Administration
> -> General Configuration and ensure Accept remote API calls in ON"?
>
> Sergey tried it locally and it just hangs.
>
>
> --Yakov
>
> 2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:
>
> > Hi Yakov.
> >
> > With jira-cli 3.9 one doesn't need to install anything on the server side.
> > The
> > older version of the tools work with JIRA backend. The newer version (not
> > produced by Atlassian anymore) requires some additional stuff to be set.
> >
> > I will take a look at the agents' configuration later in the day and will
> > get
> > back to you here.
> >
> > Thanks,
> >   Cos
> >
> > On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
> > > Cos,
> > >
> > > We still have problem while applying patch on TC. Attachments and
> > comments
> > > cannot be fetched from Jira when using jira-cli on current agents.
> > >
> > > Can you please make sure that server side of jira-cli is properly
> > > installed? Do you know any other way to fetch that?
> > >
> > > --Yakov
> > >
> > > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > >
> > > > oops
> > > >
> > > >     s/not/now/g
> > > >
> > > > Cos
> > > >
> > > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> > > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
> > [hidden email]>
> > > > >    wrote:
> > > > >
> > > > >      Thanks - that's great: not I'd be able to finish up the
> > commenting
> > > > part of the patch validation!
> > > > >
> > > > >    Cos, I think some meaning was lost due to typos. Do you mean that
> > you
> > > > will
> > > > >    be able to finish it or will not?
> > > > >
> > > > >      Cos
> > > > >
> > > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy wrote:
> > > > >      >A  A  Hello Konstantin.
> > > > >      >A  A  I've installed lira-cli on all agents (7) - path of cli
> > is
> > > > >      >A  A  /opt/jira-cli-3.9.0
> > > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin Boudnik
> > > > >      <[hidden email]>
> > > > >      >A  A  wrote:
> >

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: automatic patch validation on TC

yzhdanov
Guys,

It seems we need to stop any activity in this direction.

I have just realized that automatic patch validation (at least in its form
we agreed on) opens a huge security hole - anyone who attaches a patch to
JIRA can execute literally any code (!) on our public TC -
java/bash/binary/built-in OS/etc. Should I continue on what this can lead
to? I think no.

So, the only acceptable way is to assign committer to review a patch
manually and then submit it to TC.

Process in my view should be the following:

1. Contributor finishes with the task and attaches a patch to JIRA issue.
2. Committer picks up the issue and reviews the changes.
3. If changes are OK, committer submits them to TC in a separate branch.
4. After TC passes committer merges the changes to the target sprint branch.
5. JIRA issue gets closed.

Thoughts?

--Yakov

2015-05-05 23:31 GMT+03:00 Konstantin Boudnik <[hidden email]>:

> Sergey and I had a good Skype call and everything seems to be resolved. The
> installed jira-cli tools work just fine http://bit.ly/1c2qmeH
>
> Attachments and comments do not need to be fetched using jira-cli. The
> proposed workflow for the automatic patching is explained at the bottom of
>     dev-tools/src/main/groovy/jiraslurp.groovy
> please let me know if there are any questions about it.
>
> Sergey will see to make sure that we have parameterized builds, which will
> be
> triggered from the groovy script above. In fact, that is the last thing
> that
> is blocking the completion of this task. Looks like our off-line
> conversation
> with him helped to get the ball rolling!
>
> Cos
>
> On Wed, Apr 29, 2015 at 12:45PM, Yakov Zhdanov wrote:
> > Cos,
> >
> > Does cli works on your local machine?
> >
> > Can you check if our JIRA allows remote API calls -> "Go to
> Administration
> > -> General Configuration and ensure Accept remote API calls in ON"?
> >
> > Sergey tried it locally and it just hangs.
> >
> >
> > --Yakov
> >
> > 2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> >
> > > Hi Yakov.
> > >
> > > With jira-cli 3.9 one doesn't need to install anything on the server
> side.
> > > The
> > > older version of the tools work with JIRA backend. The newer version
> (not
> > > produced by Atlassian anymore) requires some additional stuff to be
> set.
> > >
> > > I will take a look at the agents' configuration later in the day and
> will
> > > get
> > > back to you here.
> > >
> > > Thanks,
> > >   Cos
> > >
> > > On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
> > > > Cos,
> > > >
> > > > We still have problem while applying patch on TC. Attachments and
> > > comments
> > > > cannot be fetched from Jira when using jira-cli on current agents.
> > > >
> > > > Can you please make sure that server side of jira-cli is properly
> > > > installed? Do you know any other way to fetch that?
> > > >
> > > > --Yakov
> > > >
> > > > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > >
> > > > > oops
> > > > >
> > > > >     s/not/now/g
> > > > >
> > > > > Cos
> > > > >
> > > > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> > > > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
> > > [hidden email]>
> > > > > >    wrote:
> > > > > >
> > > > > >      Thanks - that's great: not I'd be able to finish up the
> > > commenting
> > > > > part of the patch validation!
> > > > > >
> > > > > >    Cos, I think some meaning was lost due to typos. Do you mean
> that
> > > you
> > > > > will
> > > > > >    be able to finish it or will not?
> > > > > >
> > > > > >      Cos
> > > > > >
> > > > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy wrote:
> > > > > >      >A  A  Hello Konstantin.
> > > > > >      >A  A  I've installed lira-cli on all agents (7) - path of
> cli
> > > is
> > > > > >      >A  A  /opt/jira-cli-3.9.0
> > > > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin Boudnik
> > > > > >      <[hidden email]>
> > > > > >      >A  A  wrote:
> > >
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: automatic patch validation on TC

Konstantin Boudnik-2
Here's two reasons why current approach is secure enough (and in fact has
been used for some time on Apache build infrastructure):

- only project contributors can manipulate JIRA: attaching, changing
  state, etc. Don't we trust our contributors?
- if TC agents aren't running as privileged user - and they shouldn't be -
  malicious code won't do any harm to the system.

Thoughts?
  Cos

On Tue, May 19, 2015 at 04:47PM, Yakov Zhdanov wrote:

> Guys,
>
> It seems we need to stop any activity in this direction.
>
> I have just realized that automatic patch validation (at least in its form
> we agreed on) opens a huge security hole - anyone who attaches a patch to
> JIRA can execute literally any code (!) on our public TC -
> java/bash/binary/built-in OS/etc. Should I continue on what this can lead
> to? I think no.
>
> So, the only acceptable way is to assign committer to review a patch
> manually and then submit it to TC.
>
> Process in my view should be the following:
>
> 1. Contributor finishes with the task and attaches a patch to JIRA issue.
> 2. Committer picks up the issue and reviews the changes.
> 3. If changes are OK, committer submits them to TC in a separate branch.
> 4. After TC passes committer merges the changes to the target sprint branch.
> 5. JIRA issue gets closed.
>
> Thoughts?
>
> --Yakov
>
> 2015-05-05 23:31 GMT+03:00 Konstantin Boudnik <[hidden email]>:
>
> > Sergey and I had a good Skype call and everything seems to be resolved. The
> > installed jira-cli tools work just fine http://bit.ly/1c2qmeH
> >
> > Attachments and comments do not need to be fetched using jira-cli. The
> > proposed workflow for the automatic patching is explained at the bottom of
> >     dev-tools/src/main/groovy/jiraslurp.groovy
> > please let me know if there are any questions about it.
> >
> > Sergey will see to make sure that we have parameterized builds, which will
> > be
> > triggered from the groovy script above. In fact, that is the last thing
> > that
> > is blocking the completion of this task. Looks like our off-line
> > conversation
> > with him helped to get the ball rolling!
> >
> > Cos
> >
> > On Wed, Apr 29, 2015 at 12:45PM, Yakov Zhdanov wrote:
> > > Cos,
> > >
> > > Does cli works on your local machine?
> > >
> > > Can you check if our JIRA allows remote API calls -> "Go to
> > Administration
> > > -> General Configuration and ensure Accept remote API calls in ON"?
> > >
> > > Sergey tried it locally and it just hangs.
> > >
> > >
> > > --Yakov
> > >
> > > 2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > >
> > > > Hi Yakov.
> > > >
> > > > With jira-cli 3.9 one doesn't need to install anything on the server
> > side.
> > > > The
> > > > older version of the tools work with JIRA backend. The newer version
> > (not
> > > > produced by Atlassian anymore) requires some additional stuff to be
> > set.
> > > >
> > > > I will take a look at the agents' configuration later in the day and
> > will
> > > > get
> > > > back to you here.
> > > >
> > > > Thanks,
> > > >   Cos
> > > >
> > > > On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
> > > > > Cos,
> > > > >
> > > > > We still have problem while applying patch on TC. Attachments and
> > > > comments
> > > > > cannot be fetched from Jira when using jira-cli on current agents.
> > > > >
> > > > > Can you please make sure that server side of jira-cli is properly
> > > > > installed? Do you know any other way to fetch that?
> > > > >
> > > > > --Yakov
> > > > >
> > > > > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > > >
> > > > > > oops
> > > > > >
> > > > > >     s/not/now/g
> > > > > >
> > > > > > Cos
> > > > > >
> > > > > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> > > > > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
> > > > [hidden email]>
> > > > > > >    wrote:
> > > > > > >
> > > > > > >      Thanks - that's great: not I'd be able to finish up the
> > > > commenting
> > > > > > part of the patch validation!
> > > > > > >
> > > > > > >    Cos, I think some meaning was lost due to typos. Do you mean
> > that
> > > > you
> > > > > > will
> > > > > > >    be able to finish it or will not?
> > > > > > >
> > > > > > >      Cos
> > > > > > >
> > > > > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy wrote:
> > > > > > >      >A  A  Hello Konstantin.
> > > > > > >      >A  A  I've installed lira-cli on all agents (7) - path of
> > cli
> > > > is
> > > > > > >      >A  A  /opt/jira-cli-3.9.0
> > > > > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin Boudnik
> > > > > > >      <[hidden email]>
> > > > > > >      >A  A  wrote:
> > > >
> >
> >
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: automatic patch validation on TC

Artem Shutak
Ok, I've reopened the root issue
https://issues.apache.org/jira/browse/IGNITE-456 and will continue progress.

If there is any objections, let me know.

-- Artem --

On Tue, May 19, 2015 at 8:53 PM, Konstantin Boudnik <[hidden email]> wrote:

> Here's two reasons why current approach is secure enough (and in fact has
> been used for some time on Apache build infrastructure):
>
> - only project contributors can manipulate JIRA: attaching, changing
>   state, etc. Don't we trust our contributors?
> - if TC agents aren't running as privileged user - and they shouldn't be -
>   malicious code won't do any harm to the system.
>
> Thoughts?
>   Cos
>
> On Tue, May 19, 2015 at 04:47PM, Yakov Zhdanov wrote:
> > Guys,
> >
> > It seems we need to stop any activity in this direction.
> >
> > I have just realized that automatic patch validation (at least in its
> form
> > we agreed on) opens a huge security hole - anyone who attaches a patch to
> > JIRA can execute literally any code (!) on our public TC -
> > java/bash/binary/built-in OS/etc. Should I continue on what this can lead
> > to? I think no.
> >
> > So, the only acceptable way is to assign committer to review a patch
> > manually and then submit it to TC.
> >
> > Process in my view should be the following:
> >
> > 1. Contributor finishes with the task and attaches a patch to JIRA issue.
> > 2. Committer picks up the issue and reviews the changes.
> > 3. If changes are OK, committer submits them to TC in a separate branch.
> > 4. After TC passes committer merges the changes to the target sprint
> branch.
> > 5. JIRA issue gets closed.
> >
> > Thoughts?
> >
> > --Yakov
> >
> > 2015-05-05 23:31 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> >
> > > Sergey and I had a good Skype call and everything seems to be
> resolved. The
> > > installed jira-cli tools work just fine http://bit.ly/1c2qmeH
> > >
> > > Attachments and comments do not need to be fetched using jira-cli. The
> > > proposed workflow for the automatic patching is explained at the
> bottom of
> > >     dev-tools/src/main/groovy/jiraslurp.groovy
> > > please let me know if there are any questions about it.
> > >
> > > Sergey will see to make sure that we have parameterized builds, which
> will
> > > be
> > > triggered from the groovy script above. In fact, that is the last thing
> > > that
> > > is blocking the completion of this task. Looks like our off-line
> > > conversation
> > > with him helped to get the ball rolling!
> > >
> > > Cos
> > >
> > > On Wed, Apr 29, 2015 at 12:45PM, Yakov Zhdanov wrote:
> > > > Cos,
> > > >
> > > > Does cli works on your local machine?
> > > >
> > > > Can you check if our JIRA allows remote API calls -> "Go to
> > > Administration
> > > > -> General Configuration and ensure Accept remote API calls in ON"?
> > > >
> > > > Sergey tried it locally and it just hangs.
> > > >
> > > >
> > > > --Yakov
> > > >
> > > > 2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > >
> > > > > Hi Yakov.
> > > > >
> > > > > With jira-cli 3.9 one doesn't need to install anything on the
> server
> > > side.
> > > > > The
> > > > > older version of the tools work with JIRA backend. The newer
> version
> > > (not
> > > > > produced by Atlassian anymore) requires some additional stuff to be
> > > set.
> > > > >
> > > > > I will take a look at the agents' configuration later in the day
> and
> > > will
> > > > > get
> > > > > back to you here.
> > > > >
> > > > > Thanks,
> > > > >   Cos
> > > > >
> > > > > On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
> > > > > > Cos,
> > > > > >
> > > > > > We still have problem while applying patch on TC. Attachments and
> > > > > comments
> > > > > > cannot be fetched from Jira when using jira-cli on current
> agents.
> > > > > >
> > > > > > Can you please make sure that server side of jira-cli is properly
> > > > > > installed? Do you know any other way to fetch that?
> > > > > >
> > > > > > --Yakov
> > > > > >
> > > > > > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > > > >
> > > > > > > oops
> > > > > > >
> > > > > > >     s/not/now/g
> > > > > > >
> > > > > > > Cos
> > > > > > >
> > > > > > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> > > > > > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
> > > > > [hidden email]>
> > > > > > > >    wrote:
> > > > > > > >
> > > > > > > >      Thanks - that's great: not I'd be able to finish up the
> > > > > commenting
> > > > > > > part of the patch validation!
> > > > > > > >
> > > > > > > >    Cos, I think some meaning was lost due to typos. Do you
> mean
> > > that
> > > > > you
> > > > > > > will
> > > > > > > >    be able to finish it or will not?
> > > > > > > >
> > > > > > > >      Cos
> > > > > > > >
> > > > > > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy
> wrote:
> > > > > > > >      >A  A  Hello Konstantin.
> > > > > > > >      >A  A  I've installed lira-cli on all agents (7) - path
> of
> > > cli
> > > > > is
> > > > > > > >      >A  A  /opt/jira-cli-3.9.0
> > > > > > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin
> Boudnik
> > > > > > > >      <[hidden email]>
> > > > > > > >      >A  A  wrote:
> > > > >
> > >
> > >
>
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: automatic patch validation on TC

Yakov Zhdanov-2
In reply to this post by Konstantin Boudnik-2
I still insist that this should be implemented with great care.

Cos, can you please provide information on which projects used same
approach?

> Don't we trust our contributors?

Well, you never know how they store the password and how strong it is.

> if TC agents aren't running as privileged user - and they shouldn't be -
  malicious code won't do any harm to the system.

Ignite tests should be able to do a lot of operations - establish network
connections, accept incoming connections, start processes and access file
system.

In order to address possible issues we need to:
1. limit the tests scenarios launched on patch attach.
2. backup TC workers state once a day and store several days history to
quickly restore the state.

--
Yakov Zhdanov, Director R&D
*GridGain Systems*
www.gridgain.com

2015-05-19 20:53 GMT+03:00 Konstantin Boudnik <[hidden email]>:

> Here's two reasons why current approach is secure enough (and in fact has
> been used for some time on Apache build infrastructure):
>
> - only project contributors can manipulate JIRA: attaching, changing
>   state, etc. Don't we trust our contributors?
> - if TC agents aren't running as privileged user - and they shouldn't be -
>   malicious code won't do any harm to the system.
>
> Thoughts?
>   Cos
>
> On Tue, May 19, 2015 at 04:47PM, Yakov Zhdanov wrote:
> > Guys,
> >
> > It seems we need to stop any activity in this direction.
> >
> > I have just realized that automatic patch validation (at least in its
> form
> > we agreed on) opens a huge security hole - anyone who attaches a patch to
> > JIRA can execute literally any code (!) on our public TC -
> > java/bash/binary/built-in OS/etc. Should I continue on what this can lead
> > to? I think no.
> >
> > So, the only acceptable way is to assign committer to review a patch
> > manually and then submit it to TC.
> >
> > Process in my view should be the following:
> >
> > 1. Contributor finishes with the task and attaches a patch to JIRA issue.
> > 2. Committer picks up the issue and reviews the changes.
> > 3. If changes are OK, committer submits them to TC in a separate branch.
> > 4. After TC passes committer merges the changes to the target sprint
> branch.
> > 5. JIRA issue gets closed.
> >
> > Thoughts?
> >
> > --Yakov
> >
> > 2015-05-05 23:31 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> >
> > > Sergey and I had a good Skype call and everything seems to be
> resolved. The
> > > installed jira-cli tools work just fine http://bit.ly/1c2qmeH
> > >
> > > Attachments and comments do not need to be fetched using jira-cli. The
> > > proposed workflow for the automatic patching is explained at the
> bottom of
> > >     dev-tools/src/main/groovy/jiraslurp.groovy
> > > please let me know if there are any questions about it.
> > >
> > > Sergey will see to make sure that we have parameterized builds, which
> will
> > > be
> > > triggered from the groovy script above. In fact, that is the last thing
> > > that
> > > is blocking the completion of this task. Looks like our off-line
> > > conversation
> > > with him helped to get the ball rolling!
> > >
> > > Cos
> > >
> > > On Wed, Apr 29, 2015 at 12:45PM, Yakov Zhdanov wrote:
> > > > Cos,
> > > >
> > > > Does cli works on your local machine?
> > > >
> > > > Can you check if our JIRA allows remote API calls -> "Go to
> > > Administration
> > > > -> General Configuration and ensure Accept remote API calls in ON"?
> > > >
> > > > Sergey tried it locally and it just hangs.
> > > >
> > > >
> > > > --Yakov
> > > >
> > > > 2015-04-28 20:30 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > >
> > > > > Hi Yakov.
> > > > >
> > > > > With jira-cli 3.9 one doesn't need to install anything on the
> server
> > > side.
> > > > > The
> > > > > older version of the tools work with JIRA backend. The newer
> version
> > > (not
> > > > > produced by Atlassian anymore) requires some additional stuff to be
> > > set.
> > > > >
> > > > > I will take a look at the agents' configuration later in the day
> and
> > > will
> > > > > get
> > > > > back to you here.
> > > > >
> > > > > Thanks,
> > > > >   Cos
> > > > >
> > > > > On Tue, Apr 28, 2015 at 01:40PM, Yakov Zhdanov wrote:
> > > > > > Cos,
> > > > > >
> > > > > > We still have problem while applying patch on TC. Attachments and
> > > > > comments
> > > > > > cannot be fetched from Jira when using jira-cli on current
> agents.
> > > > > >
> > > > > > Can you please make sure that server side of jira-cli is properly
> > > > > > installed? Do you know any other way to fetch that?
> > > > > >
> > > > > > --Yakov
> > > > > >
> > > > > > 2015-04-01 6:23 GMT+03:00 Konstantin Boudnik <[hidden email]>:
> > > > > >
> > > > > > > oops
> > > > > > >
> > > > > > >     s/not/now/g
> > > > > > >
> > > > > > > Cos
> > > > > > >
> > > > > > > On Tue, Mar 31, 2015 at 06:58PM, Dmitriy Setrakyan wrote:
> > > > > > > >    On Tue, Mar 31, 2015 at 6:54 PM, Konstantin Boudnik <
> > > > > [hidden email]>
> > > > > > > >    wrote:
> > > > > > > >
> > > > > > > >      Thanks - that's great: not I'd be able to finish up the
> > > > > commenting
> > > > > > > part of the patch validation!
> > > > > > > >
> > > > > > > >    Cos, I think some meaning was lost due to typos. Do you
> mean
> > > that
> > > > > you
> > > > > > > will
> > > > > > > >    be able to finish it or will not?
> > > > > > > >
> > > > > > > >      Cos
> > > > > > > >
> > > > > > > >      On Wed, Apr 01, 2015 at 12:00AM, Sergey Bachinskiy
> wrote:
> > > > > > > >      >A  A  Hello Konstantin.
> > > > > > > >      >A  A  I've installed lira-cli on all agents (7) - path
> of
> > > cli
> > > > > is
> > > > > > > >      >A  A  /opt/jira-cli-3.9.0
> > > > > > > >      >A  A  On Wed, Mar 25, 2015 at 10:16 PM, Konstantin
> Boudnik
> > > > > > > >      <[hidden email]>
> > > > > > > >      >A  A  wrote:
> > > > >
> > >
> > >
>
12