You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Tomek Janiszewski <ja...@gmail.com> on 2017/03/11 10:24:20 UTC

MESOS-7233: Looking for shepherd

Hi

I'm looking for shepherd for MESOS-7233 — Use varint comparator in replica
log.

JIRA: https://issues.apache.org/jira/browse/MESOS-7233
Review: https://reviews.apache.org/r/48291/

Thanks
Tomek

Re: MESOS-7233: Looking for shepherd

Posted by Tomek Janiszewski <ja...@gmail.com>.
OK, I discovered it myself, this test uses absolute paths.

@Benjamin You were right it's not backward compatible. I'll work on this.

mesos 1.3.0 framework failed with mesos 1.3.48291 master and mesos 1.3.0
agent




pt., 17 mar 2017 o 13:44 użytkownik Tomek Janiszewski <ja...@gmail.com>
napisał:

@Benjamin thanks for taking a look at this. I tried to run
mesos/test-upgrade.py but it failed on starting the framework? Below are
the logs? What am I doing wrong?

./support/test-upgrade.py --prev build --next build-varint
Running upgrade test from mesos 1.3.0 to mesos 1.3.0
+--------------+----------------+----------------+---------------+
| Test case    |   Framework    |     Master     |     Agent     |
+--------------+----------------+----------------+---------------+
|    #1        |  mesos 1.3.0 | mesos 1.3.0 | mesos 1.3.0 |
|    #2        |  mesos 1.3.0 | mesos 1.3.0 | mesos 1.3.0 |
|    #3        |  mesos 1.3.0 | mesos 1.3.0 | mesos 1.3.0 |
|    #4        |  mesos 1.3.0 | mesos 1.3.0 | mesos 1.3.0 |
+--------------+----------------+----------------+---------------+

NOTE: live denotes that master process keeps running from previous case.


Test case 1 (Run of previous setup)
##### Starting mesos 1.3.0 master #####
Run ['build/bin/mesos-master.sh', '--ip=127.0.0.1',
'--work_dir=/tmp/tmpGs3TLW', '--authenticate',
'--credentials=/tmp/tmpQUicSA', '--roles=test'], output: /tmp/tmpSVfW1x
##### Starting mesos 1.3.0 agent #####
Run ['build/bin/mesos-slave.sh', '--master=127.0.0.1:5050',
'--credential=/tmp/tmpQUicSA', '--work_dir=/tmp/tmpCgaNrV',
'--resources=disk:2048;mem:2048;cpus:2'], output: /tmp/tmpgil1QV
##### Starting mesos 1.3.0 framework #####
Waiting for mesos 1.3.0 framework to complete (10 sec max)...
Run ['build/src/test-framework', '--master=127.0.0.1:5050'], output:
/tmp/tmp_sTAa1
mesos 1.3.0 framework failed


pt., 17 mar 2017 o 00:44 użytkownik Benjamin Mahler <bm...@apache.org>
napisał:

Thanks Tomek, I'm not very familiar with the code but I dug in and couldn't
figure out how this is a backwards compatible change to make. Left a
comment on the review.

On Sat, Mar 11, 2017 at 2:24 AM, Tomek Janiszewski <ja...@gmail.com>
wrote:

> Hi
>
> I'm looking for shepherd for MESOS-7233 — Use varint comparator in replica
> log.
>
> JIRA: https://issues.apache.org/jira/browse/MESOS-7233
> Review: https://reviews.apache.org/r/48291/
>
> Thanks
> Tomek
>

Re: MESOS-7233: Looking for shepherd

Posted by Tomek Janiszewski <ja...@gmail.com>.
@Benjamin thanks for taking a look at this. I tried to run
mesos/test-upgrade.py but it failed on starting the framework? Below are
the logs? What am I doing wrong?

./support/test-upgrade.py --prev build --next build-varint
Running upgrade test from mesos 1.3.0 to mesos 1.3.0
+--------------+----------------+----------------+---------------+
| Test case    |   Framework    |     Master     |     Agent     |
+--------------+----------------+----------------+---------------+
|    #1        |  mesos 1.3.0 | mesos 1.3.0 | mesos 1.3.0 |
|    #2        |  mesos 1.3.0 | mesos 1.3.0 | mesos 1.3.0 |
|    #3        |  mesos 1.3.0 | mesos 1.3.0 | mesos 1.3.0 |
|    #4        |  mesos 1.3.0 | mesos 1.3.0 | mesos 1.3.0 |
+--------------+----------------+----------------+---------------+

NOTE: live denotes that master process keeps running from previous case.


Test case 1 (Run of previous setup)
##### Starting mesos 1.3.0 master #####
Run ['build/bin/mesos-master.sh', '--ip=127.0.0.1',
'--work_dir=/tmp/tmpGs3TLW', '--authenticate',
'--credentials=/tmp/tmpQUicSA', '--roles=test'], output: /tmp/tmpSVfW1x
##### Starting mesos 1.3.0 agent #####
Run ['build/bin/mesos-slave.sh', '--master=127.0.0.1:5050',
'--credential=/tmp/tmpQUicSA', '--work_dir=/tmp/tmpCgaNrV',
'--resources=disk:2048;mem:2048;cpus:2'], output: /tmp/tmpgil1QV
##### Starting mesos 1.3.0 framework #####
Waiting for mesos 1.3.0 framework to complete (10 sec max)...
Run ['build/src/test-framework', '--master=127.0.0.1:5050'], output:
/tmp/tmp_sTAa1
mesos 1.3.0 framework failed


pt., 17 mar 2017 o 00:44 użytkownik Benjamin Mahler <bm...@apache.org>
napisał:

> Thanks Tomek, I'm not very familiar with the code but I dug in and couldn't
> figure out how this is a backwards compatible change to make. Left a
> comment on the review.
>
> On Sat, Mar 11, 2017 at 2:24 AM, Tomek Janiszewski <ja...@gmail.com>
> wrote:
>
> > Hi
> >
> > I'm looking for shepherd for MESOS-7233 — Use varint comparator in
> replica
> > log.
> >
> > JIRA: https://issues.apache.org/jira/browse/MESOS-7233
> > Review: https://reviews.apache.org/r/48291/
> >
> > Thanks
> > Tomek
> >
>

Re: MESOS-7233: Looking for shepherd

Posted by Benjamin Mahler <bm...@apache.org>.
Thanks Tomek, I'm not very familiar with the code but I dug in and couldn't
figure out how this is a backwards compatible change to make. Left a
comment on the review.

On Sat, Mar 11, 2017 at 2:24 AM, Tomek Janiszewski <ja...@gmail.com>
wrote:

> Hi
>
> I'm looking for shepherd for MESOS-7233 — Use varint comparator in replica
> log.
>
> JIRA: https://issues.apache.org/jira/browse/MESOS-7233
> Review: https://reviews.apache.org/r/48291/
>
> Thanks
> Tomek
>