Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.58 KB | None | 0 0
  1. Started by user Maciej Ciołek
  2. [EnvInject] - Loading node environment variables.
  3. Building in workspace /data/jenkins-data/workspace/services/shipment-broker-service
  4. > git rev-parse --is-inside-work-tree # timeout=10
  5. Fetching changes from the remote Git repository
  6. > git config remote.origin.url git@bitbucket.org:neoclick/shipment-broker-service.git # timeout=10
  7. Fetching upstream changes from git@bitbucket.org:neoclick/shipment-broker-service.git
  8. > git --version # timeout=10
  9. using GIT_SSH to set credentials
  10. > git fetch --tags --progress git@bitbucket.org:neoclick/shipment-broker-service.git +refs/heads/*:refs/remotes/origin/*
  11. > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
  12. > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
  13. Checking out Revision 612eed2a88d026157dd913eda2a753c62b92dcd9 (refs/remotes/origin/master)
  14. > git config core.sparsecheckout # timeout=10
  15. > git checkout -f 612eed2a88d026157dd913eda2a753c62b92dcd9
  16. > git rev-list 612eed2a88d026157dd913eda2a753c62b92dcd9 # timeout=10
  17. [EnvInject] - Injecting environment variables from a build step.
  18. [EnvInject] - Injecting as environment variables the properties content
  19. SYMFONY__DATABASE__NAME=shipment_broker_service
  20. SYMFONY__DATABASE__PORT=5432
  21. SYMFONY__ZENDESK__TOKEN=example_token
  22. SYMFONY__DATABASE__USER=root
  23. SYMFONY__DATABASE__PASSWORD=root
  24. SYMFONY__APPID__GENERATOR__URL=192.168.99.100:8002/apps
  25. SYMFONY__KAFKA__HOST=kafka
  26. SYMFONY__ZENDESK__SUBDOMAIN=example.zendesk.com
  27. SYMFONY__ZENDESK__EMAIL=example@neoclick.io
  28. SYMFONY__DATABASE__HOST=db
  29.  
  30. [EnvInject] - Variables injected successfully.
  31. [shipment-broker-service] $ /bin/sh -xe /tmp/hudson6354461766442465409.sh
  32. + sed -i s/VERSION=.*/VERSION="0.3"/ create_image.sh
  33. [shipment-broker-service] $ /bin/sh -xe /tmp/hudson261813808844844813.sh
  34. + composer install
  35. Loading composer repositories with package information
  36. Installing dependencies (including require-dev) from lock file
  37. Nothing to install or update
  38. Generating autoload files
  39. ocramius/package-versions: Generating version class...
  40. ocramius/package-versions: ...done generating version class
  41. > Incenteev\ParameterHandler\ScriptHandler::buildParameters
  42. Updating the "app/config/parameters.yml" file
  43. > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
  44. > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
  45.  
  46. // Clearing the cache for the dev environment with debug true
  47.  
  48. [OK] Cache for the "dev" environment (debug=true) was successfully cleared.
  49.  
  50. > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets
  51.  
  52. Trying to install assets as relative symbolic links.
  53.  
  54. --- ----------------- ------------------
  55. Bundle Method / Error
  56. --- ----------------- ------------------
  57. ✔ FrameworkBundle relative symlink
  58. --- ----------------- ------------------
  59.  
  60. [OK] All assets were successfully installed.
  61.  
  62. > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
  63. > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget
  64. + php vendor/bin/phpunit
  65. PHPUnit 5.5.6 by Sebastian Bergmann and contributors.
  66.  
  67. FFFF.F................WWWWWW...... 34 / 34 (100%)
  68.  
  69. Time: 2.11 seconds, Memory: 38.00MB
  70.  
  71. There were 6 warnings:
  72.  
  73. 1) Tests\AppBundle\Validator\Constraints\ShipmentValidatorTest::testValidValues with data set "full-data" (array('inpostCourier', 'typeA', array(array('cod'))))
  74. PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
  75.  
  76. 2) Tests\AppBundle\Validator\Constraints\ShipmentValidatorTest::testValidValues with data set "no-service" (array('inpostCourier', 'typeA', array(array('cod'))))
  77. PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
  78.  
  79. 3) Tests\AppBundle\Validator\Constraints\ShipmentValidatorTest::testValidValues with data set "incorrect-method-name" (array('random', 'typeA', array(array('cod'))))
  80. PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
  81.  
  82. 4) Tests\AppBundle\Validator\Constraints\ShipmentValidatorTest::testInvalidVariant
  83. PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
  84.  
  85. 5) Tests\AppBundle\Validator\Constraints\ShipmentValidatorTest::testInvalidService
  86. PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
  87.  
  88. 6) Tests\AppBundle\Validator\Constraints\ShipmentValidatorTest::testInvalidServiceAndVariant
  89. PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
  90.  
  91. --
  92.  
  93. There were 5 failures:
  94.  
  95. 1) Tests\AppBundle\Controller\CollectionPointsControllerTest::return201StatusCodeAndId
  96. No route found for "POST /v1/collectionPoints"
  97. Failed asserting that 404 matches expected 201.
  98.  
  99. /data/jenkins-data/workspace/services/shipment-broker-service/vendor/liip/functional-test-bundle/Test/WebTestCase.php:900
  100. /data/jenkins-data/workspace/services/shipment-broker-service/tests/AppBundle/Controller/CollectionPointsControllerTest.php:45
  101.  
  102. 2) Tests\AppBundle\Controller\CollectionPointsControllerTest::returnValidationErrors
  103. No route found for "POST /v1/collectionPoints"
  104. Failed asserting that 404 matches expected 400.
  105.  
  106. /data/jenkins-data/workspace/services/shipment-broker-service/vendor/liip/functional-test-bundle/Test/WebTestCase.php:900
  107. /data/jenkins-data/workspace/services/shipment-broker-service/tests/AppBundle/Controller/CollectionPointsControllerTest.php:73
  108.  
  109. 3) Tests\AppBundle\Controller\CollectionPointsControllerTest::confirmReturn200
  110. No route found for "PUT /v1/collectionPoints/1/confirm"
  111. Failed asserting that 404 matches expected 200.
  112.  
  113. /data/jenkins-data/workspace/services/shipment-broker-service/vendor/liip/functional-test-bundle/Test/WebTestCase.php:900
  114. /data/jenkins-data/workspace/services/shipment-broker-service/tests/AppBundle/Controller/CollectionPointsControllerTest.php:90
  115.  
  116. 4) Tests\AppBundle\Controller\CollectionPointsControllerTest::confirmReturn403WhenPointInWrongState
  117. No route found for "PUT /v1/collectionPoints/1/confirm"
  118. Failed asserting that 404 matches expected 403.
  119.  
  120. /data/jenkins-data/workspace/services/shipment-broker-service/vendor/liip/functional-test-bundle/Test/WebTestCase.php:900
  121. /data/jenkins-data/workspace/services/shipment-broker-service/tests/AppBundle/Controller/CollectionPointsControllerTest.php:107
  122.  
  123. 5) Tests\AppBundle\Controller\CollectionPointsControllerTest::confirmWithIncorrectDataReturn400
  124. No route found for "PUT /v1/collectionPoints/1/confirm"
  125. Failed asserting that 404 matches expected 400.
  126.  
  127. /data/jenkins-data/workspace/services/shipment-broker-service/vendor/liip/functional-test-bundle/Test/WebTestCase.php:900
  128. /data/jenkins-data/workspace/services/shipment-broker-service/tests/AppBundle/Controller/CollectionPointsControllerTest.php:138
  129.  
  130. FAILURES!
  131. Tests: 34, Assertions: 64, Failures: 5, Warnings: 6.
  132. Build step 'Execute shell' marked build as failure
  133. Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur.
  134. Finished: FAILUR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement