aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Farner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AURORA-480) End to end tests fail under vagrant due to apparent vagrant image errors
Date Tue, 27 May 2014 23:00:03 GMT

    [ https://issues.apache.org/jira/browse/AURORA-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14010467#comment-14010467
] 

Bill Farner commented on AURORA-480:
------------------------------------

Did you try re-provisioning and/or re-creating your vagrant machine?

> End to end tests fail under vagrant due to apparent vagrant image errors
> ------------------------------------------------------------------------
>
>                 Key: AURORA-480
>                 URL: https://issues.apache.org/jira/browse/AURORA-480
>             Project: Aurora
>          Issue Type: Bug
>          Components: Client, Continuous Integration
>            Reporter: Mark Chu-Carroll
>            Priority: Blocker
>
> When I try to run the end-to-end tests using vagrant, I end up with an error:
> {verbatim}
> [sun-wukong incubator-aurora (master)]$ !sh
> sh src/test/sh/org/apache/aurora/e2e/test_end_to_end_v2.sh
> + . src/test/sh/org/apache/aurora/e2e/test_common.sh
> ++ exec
> + RETCODE=1
> + export EXAMPLE_DIR=/vagrant/src/test/sh/org/apache/aurora/e2e/http
> + EXAMPLE_DIR=/vagrant/src/test/sh/org/apache/aurora/e2e/http
> + TEST_CLUSTER=devcluster
> + TEST_ROLE=vagrant
> + TEST_ENV=test
> + TEST_JOB=http_example
> + TEST_SCHEDULER_IP=192.168.33.7
> + TEST_ARGS=($TEST_CLUSTER $TEST_ROLE $TEST_ENV $TEST_JOB $TEST_SCHEDULER_IP $EXAMPLE_DIR/http_example.aurora
$EXAMPLE_DIR/http_example_updated.aurora)
> + trap collect_result EXIT
> + vagrant up
> Bringing machine 'devcluster' up with 'virtualbox' provider...
> [devcluster] VirtualBox VM is already running.
> + test_http_example devcluster vagrant test http_example 192.168.33.7 /vagrant/src/test/sh/org/apache/aurora/e2e/http/http_example.aurora
/vagrant/src/test/sh/org/apache/aurora/e2e/http/http_example_updated.aurora
> + local _cluster=devcluster _role=vagrant _env=test _job=http_example _sched_ip=192.168.33.7
> + local _base_config=/vagrant/src/test/sh/org/apache/aurora/e2e/http/http_example.aurora
_updated_config=/vagrant/src/test/sh/org/apache/aurora/e2e/http/http_example_updated.aurora
> + jobkey=devcluster/vagrant/test/http_example
> + echo '== Creating job'
> == Creating job
> + vagrant ssh -c 'aurora2 job create devcluster/vagrant/test/http_example /vagrant/src/test/sh/org/apache/aurora/e2e/http/http_example.aurora'
> bash: line 2: aurora2: command not found
> + collect_result
> + [[ 1 = 0 ]]
> + echo '!!!'
> !!!
> + echo 'FAIL (something returned non-zero)'
> FAIL (something returned non-zero)
> + echo ''
> + echo 'This may be a transient failure (as in scheduler failover) or it could be a real
issue'
> This may be a transient failure (as in scheduler failover) or it could be a real issue
> + echo 'with your code. Either way, this script DNR merging to master. Note you may need
to'
> with your code. Either way, this script DNR merging to master. Note you may need to
> + echo 'reconcile state manually.'
> reconcile state manually.
> + echo '!!!'
> !!!
> + vagrant ssh -c 'aurora killall devcluster/vagrant/test/http_example'
> bash: line 2: aurora: command not found
> {verbatim}
> Checking the transcript from creating the devcluster, I found build errors:
> {verbatim}
> [sun-wukong incubator-aurora (master)]$ !sh
> sh src/test/sh/org/apache/aurora/e2e/test_end_to_end_v2.sh
> + . src/test/sh/org/apache/aurora/e2e/test_common.sh
> ++ exec
> + RETCODE=1
> + export EXAMPLE_DIR=/vagrant/src/test/sh/org/apache/aurora/e2e/http
> + EXAMPLE_DIR=/vagrant/src/test/sh/org/apache/aurora/e2e/http
> + TEST_CLUSTER=devcluster
> + TEST_ROLE=vagrant
> + TEST_ENV=test
> + TEST_JOB=http_example
> + TEST_SCHEDULER_IP=192.168.33.7
> + TEST_ARGS=($TEST_CLUSTER $TEST_ROLE $TEST_ENV $TEST_JOB $TEST_SCHEDULER_IP $EXAMPLE_DIR/http_example.aurora
$EXAMPLE_DIR/http_example_updated.aurora)
> + trap collect_result EXIT
> + vagrant up
> Bringing machine 'devcluster' up with 'virtualbox' provider...
> [devcluster] VirtualBox VM is already running.
> + test_http_example devcluster vagrant test http_example 192.168.33.7 /vagrant/src/test/sh/org/apache/aurora/e2e/http/http_example.aurora
/vagrant/src/test/sh/org/apache/aurora/e2e/http/http_example_updated.aurora
> + local _cluster=devcluster _role=vagrant _env=test _job=http_example _sched_ip=192.168.33.7
> + local _base_config=/vagrant/src/test/sh/org/apache/aurora/e2e/http/http_example.aurora
_updated_config=/vagrant/src/test/sh/org/apache/aurora/e2e/http/http_example_updated.aurora
> + jobkey=devcluster/vagrant/test/http_example
> + echo '== Creating job'
> == Creating job
> + vagrant ssh -c 'aurora2 job create devcluster/vagrant/test/http_example /vagrant/src/test/sh/org/apache/aurora/e2e/http/http_example.aurora'
> bash: line 2: aurora2: command not found
> + collect_result
> + [[ 1 = 0 ]]
> + echo '!!!'
> !!!
> + echo 'FAIL (something returned non-zero)'
> FAIL (something returned non-zero)
> + echo ''
> + echo 'This may be a transient failure (as in scheduler failover) or it could be a real
issue'
> This may be a transient failure (as in scheduler failover) or it could be a real issue
> + echo 'with your code. Either way, this script DNR merging to master. Note you may need
to'
> with your code. Either way, this script DNR merging to master. Note you may need to
> + echo 'reconcile state manually.'
> reconcile state manually.
> + echo '!!!'
> !!!
> + vagrant ssh -c 'aurora killall devcluster/vagrant/test/http_example'
> bash: line 2: aurora: command not found
> {verbatim}
> This looks like some relatively recent changes to the vagrant setup and/or the end-to-end
tests broke things?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message