Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Started by user Maciej Ciołek
- [EnvInject] - Loading node environment variables.
- Building in workspace /data/jenkins-data/workspace/services/shipment-broker-service
- > git rev-parse --is-inside-work-tree # timeout=10
- Fetching changes from the remote Git repository
- > git config remote.origin.url git@bitbucket.org:neoclick/shipment-broker-service.git # timeout=10
- Fetching upstream changes from git@bitbucket.org:neoclick/shipment-broker-service.git
- > git --version # timeout=10
- using GIT_SSH to set credentials
- > git fetch --tags --progress git@bitbucket.org:neoclick/shipment-broker-service.git +refs/heads/*:refs/remotes/origin/*
- > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
- > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
- Checking out Revision 612eed2a88d026157dd913eda2a753c62b92dcd9 (refs/remotes/origin/master)
- > git config core.sparsecheckout # timeout=10
- > git checkout -f 612eed2a88d026157dd913eda2a753c62b92dcd9
- > git rev-list 612eed2a88d026157dd913eda2a753c62b92dcd9 # timeout=10
- [EnvInject] - Injecting environment variables from a build step.
- [EnvInject] - Injecting as environment variables the properties content
- SYMFONY__DATABASE__NAME=shipment_broker_service
- SYMFONY__DATABASE__PORT=5432
- SYMFONY__ZENDESK__TOKEN=example_token
- SYMFONY__DATABASE__USER=root
- SYMFONY__DATABASE__PASSWORD=root
- SYMFONY__APPID__GENERATOR__URL=192.168.99.100:8002/apps
- SYMFONY__KAFKA__HOST=kafka
- SYMFONY__ZENDESK__SUBDOMAIN=example.zendesk.com
- SYMFONY__ZENDESK__EMAIL=example@neoclick.io
- SYMFONY__DATABASE__HOST=db
- [EnvInject] - Variables injected successfully.
- [shipment-broker-service] $ /bin/sh -xe /tmp/hudson6354461766442465409.sh
- + sed -i s/VERSION=.*/VERSION="0.3"/ create_image.sh
- [shipment-broker-service] $ /bin/sh -xe /tmp/hudson261813808844844813.sh
- + composer install
- Loading composer repositories with package information
- Installing dependencies (including require-dev) from lock file
- Nothing to install or update
- Generating autoload files
- ocramius/package-versions: Generating version class...
- ocramius/package-versions: ...done generating version class
- > Incenteev\ParameterHandler\ScriptHandler::buildParameters
- Updating the "app/config/parameters.yml" file
- > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
- > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
- // Clearing the cache for the dev environment with debug true
- [OK] Cache for the "dev" environment (debug=true) was successfully cleared.
- > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets
- Trying to install assets as relative symbolic links.
- --- ----------------- ------------------
- Bundle Method / Error
- --- ----------------- ------------------
- ✔ FrameworkBundle relative symlink
- --- ----------------- ------------------
- [OK] All assets were successfully installed.
- > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
- > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget
- + php vendor/bin/phpunit
- PHPUnit 5.5.6 by Sebastian Bergmann and contributors.
- FFFF.F................WWWWWW...... 34 / 34 (100%)
- Time: 2.11 seconds, Memory: 38.00MB
- There were 6 warnings:
- 1) Tests\AppBundle\Validator\Constraints\ShipmentValidatorTest::testValidValues with data set "full-data" (array('inpostCourier', 'typeA', array(array('cod'))))
- PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
- 2) Tests\AppBundle\Validator\Constraints\ShipmentValidatorTest::testValidValues with data set "no-service" (array('inpostCourier', 'typeA', array(array('cod'))))
- PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
- 3) Tests\AppBundle\Validator\Constraints\ShipmentValidatorTest::testValidValues with data set "incorrect-method-name" (array('random', 'typeA', array(array('cod'))))
- PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
- 4) Tests\AppBundle\Validator\Constraints\ShipmentValidatorTest::testInvalidVariant
- PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
- 5) Tests\AppBundle\Validator\Constraints\ShipmentValidatorTest::testInvalidService
- PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
- 6) Tests\AppBundle\Validator\Constraints\ShipmentValidatorTest::testInvalidServiceAndVariant
- PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
- --
- There were 5 failures:
- 1) Tests\AppBundle\Controller\CollectionPointsControllerTest::return201StatusCodeAndId
- No route found for "POST /v1/collectionPoints"
- Failed asserting that 404 matches expected 201.
- /data/jenkins-data/workspace/services/shipment-broker-service/vendor/liip/functional-test-bundle/Test/WebTestCase.php:900
- /data/jenkins-data/workspace/services/shipment-broker-service/tests/AppBundle/Controller/CollectionPointsControllerTest.php:45
- 2) Tests\AppBundle\Controller\CollectionPointsControllerTest::returnValidationErrors
- No route found for "POST /v1/collectionPoints"
- Failed asserting that 404 matches expected 400.
- /data/jenkins-data/workspace/services/shipment-broker-service/vendor/liip/functional-test-bundle/Test/WebTestCase.php:900
- /data/jenkins-data/workspace/services/shipment-broker-service/tests/AppBundle/Controller/CollectionPointsControllerTest.php:73
- 3) Tests\AppBundle\Controller\CollectionPointsControllerTest::confirmReturn200
- No route found for "PUT /v1/collectionPoints/1/confirm"
- Failed asserting that 404 matches expected 200.
- /data/jenkins-data/workspace/services/shipment-broker-service/vendor/liip/functional-test-bundle/Test/WebTestCase.php:900
- /data/jenkins-data/workspace/services/shipment-broker-service/tests/AppBundle/Controller/CollectionPointsControllerTest.php:90
- 4) Tests\AppBundle\Controller\CollectionPointsControllerTest::confirmReturn403WhenPointInWrongState
- No route found for "PUT /v1/collectionPoints/1/confirm"
- Failed asserting that 404 matches expected 403.
- /data/jenkins-data/workspace/services/shipment-broker-service/vendor/liip/functional-test-bundle/Test/WebTestCase.php:900
- /data/jenkins-data/workspace/services/shipment-broker-service/tests/AppBundle/Controller/CollectionPointsControllerTest.php:107
- 5) Tests\AppBundle\Controller\CollectionPointsControllerTest::confirmWithIncorrectDataReturn400
- No route found for "PUT /v1/collectionPoints/1/confirm"
- Failed asserting that 404 matches expected 400.
- /data/jenkins-data/workspace/services/shipment-broker-service/vendor/liip/functional-test-bundle/Test/WebTestCase.php:900
- /data/jenkins-data/workspace/services/shipment-broker-service/tests/AppBundle/Controller/CollectionPointsControllerTest.php:138
- FAILURES!
- Tests: 34, Assertions: 64, Failures: 5, Warnings: 6.
- Build step 'Execute shell' marked build as failure
- Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur.
- Finished: FAILUR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement