[
https://issues.apache.org/jira/browse/MESOS-2372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328123#comment-14328123
]
Niklas Quarfot Nielsen commented on MESOS-2372:
-----------------------------------------------
Detecting the bug introduced with the 'internal' namespace:
{code}
$ python run.py --prev mesos-head/build-A/ --next mesos-head/build-B/
Running upgrade test from mesos 0.21.0 to mesos 0.22.0
##### Starting mesos 0.21.0 master #####
Run ['mesos-head/build-A/bin/mesos-master.sh', '--ip=127.0.0.1',
'--work_dir=/var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpc7TgeA'],
output: /var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpV6UvFf
##### Starting mesos 0.21.0 slave #####
Run ['mesos-head/build-A/bin/mesos-slave.sh', '--master=localhost:5050'],
output: /var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpenaQrM
##### Starting mesos 0.21.0 framework #####
Waiting for mesos 0.21.0 framework to complete (10 sec max)...
Run ['mesos-head/build-A/src/test-framework', '--master=localhost:5050'],
output: /var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpYjKvHF
##### Stopping mesos 0.21.0 slave #####
##### Starting mesos 0.22.0 slave #####
Run ['mesos-head/build-B/bin/mesos-slave.sh', '--master=localhost:5050'],
output: /var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpaXVFl2
##### Starting mesos 0.21.0 framework #####
Waiting for mesos 0.21.0 framework to complete (10 sec max)...
Run ['mesos-head/build-A/src/test-framework', '--master=localhost:5050'],
output: /var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpvEblHp
mesos 0.21.0 framework failed with mesos 0.21.0 master and mesos 0.22.0 slave
{code}
And upgrading from 0.21.0 to 0.21.0 (no upgrade and should succeed):
{code}
$ python run.py --prev mesos-head/build-A/ --next mesos-head/build-A/
Running upgrade test from mesos 0.21.0 to mesos 0.21.0
##### Starting mesos 0.21.0 master #####
Run ['mesos-head/build-A/bin/mesos-master.sh', '--ip=127.0.0.1',
'--work_dir=/var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpY5Wh84'],
output: /var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpO_c9Ym
##### Starting mesos 0.21.0 slave #####
Run ['mesos-head/build-A/bin/mesos-slave.sh', '--master=localhost:5050'],
output: /var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpA1qCDs
##### Starting mesos 0.21.0 framework #####
Waiting for mesos 0.21.0 framework to complete (10 sec max)...
Run ['mesos-head/build-A/src/test-framework', '--master=localhost:5050'],
output: /var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpp35hwx
##### Stopping mesos 0.21.0 slave #####
##### Starting mesos 0.21.0 slave #####
Run ['mesos-head/build-A/bin/mesos-slave.sh', '--master=localhost:5050'],
output: /var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpSBz7I3
##### Starting mesos 0.21.0 framework #####
Waiting for mesos 0.21.0 framework to complete (10 sec max)...
Run ['mesos-head/build-A/src/test-framework', '--master=localhost:5050'],
output: /var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpEFme99
##### Starting mesos 0.21.0 framework #####
Waiting for mesos 0.21.0 framework to complete (10 sec max)...
Run ['mesos-head/build-A/src/test-framework', '--master=localhost:5050'],
output: /var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpXEoS91
##### Stopping mesos 0.21.0 slave ####
##### Stopping mesos 0.21.0 slave ####
Run ['mesos-head/build-A/bin/mesos-master.sh', '--ip=127.0.0.1',
'--work_dir=/var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpXmjv7b'],
output: /var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpBiu7VB
##### Starting mesos 0.21.0 slave #####
Run ['mesos-head/build-A/bin/mesos-slave.sh', '--master=localhost:5050'],
output: /var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpF38DsK
##### Starting mesos 0.21.0 framework #####
Waiting for mesos 0.21.0 framework to complete (10 sec max)...
Run ['mesos-head/build-A/src/test-framework', '--master=localhost:5050'],
output: /var/folders/y3/w04yjljd5gbcvbvxvd5bhmp40000gn/T/tmpUl8MuX
{code}
> Test suite for verifying compatibility between Mesos components
> ---------------------------------------------------------------
>
> Key: MESOS-2372
> URL: https://issues.apache.org/jira/browse/MESOS-2372
> Project: Mesos
> Issue Type: Epic
> Reporter: Vinod Kone
> Assignee: Niklas Quarfot Nielsen
>
> While our current unit/integration test suite catches functional bugs, it
> doesn't catch compatibility bugs (e.g, MESOS-2371). This is really crucial to
> provide operators the ability to do seamless upgrades on live clusters.
> We should have a test suite / framework (ideally running on CI vetting each
> review on RB) that tests upgrade paths between master, slave, scheduler and
> executor.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)