| 1 | Build 'Swipe :: Swipe Tests' #db64dd0d8474817070f5e281cb510a4d8f4965bc, branch '92-frontend-cash-register-opening-closing'
|
|---|
| 2 | Started 'Mon May 08 16:37:36 CEST 2017' on 'LamboAgent2' by 'Matthias van de Meent (mmeent)'
|
|---|
| 3 | Finished 'Mon May 08 16:37:52 CEST 2017' with status 'FAILURE Exit code 1'
|
|---|
| 4 | TeamCity URL https://teamcity.iapc.utwente.nl/viewLog.html?buildId=1512&buildTypeId=Swipe_SwipeTests
|
|---|
| 5 | TeamCity server version is 10.0.2 (build 42234)
|
|---|
| 6 |
|
|---|
| 7 | [16:37:31]E: bt1 (21s)
|
|---|
| 8 | [16:37:31]i: TeamCity server version is 10.0.2 (build 42234)
|
|---|
| 9 | [16:37:31] : Finalize build settings
|
|---|
| 10 | [16:37:36] : The build is removed from the queue to be prepared for the start
|
|---|
| 11 | [16:37:36] : Collecting changes in 1 VCS root
|
|---|
| 12 | [16:37:36] : [Collecting changes in 1 VCS root] VCS Root details
|
|---|
| 13 | [16:37:36] : [VCS Root details] "GitLab" {instance id=3, parent internal id=1, parent id=Swipe_GitLab, description: "git@git.iapc.utwente.nl:swipe/swipe.git#refs/heads/master"}
|
|---|
| 14 | [16:37:36]i: [Collecting changes in 1 VCS root] Waiting for completion of current operations for the VCS root 'GitLab'
|
|---|
| 15 | [16:37:36]i: [Collecting changes in 1 VCS root] Detecting changes in VCS root 'GitLab' (used in 'Rebuild Environment', 'Swipe Tests')
|
|---|
| 16 | [16:37:36]i: [Collecting changes in 1 VCS root] Will collect changes for 'GitLab' starting from revision 9d028ec11b6434dfbe6c8d7edce9fe7b8b1c4f0a
|
|---|
| 17 | [16:37:36] : [Collecting changes in 1 VCS root] Compute revision for 'GitLab'
|
|---|
| 18 | [16:37:36] : [Compute revision for 'GitLab'] Upper limit revision: db64dd0d8474817070f5e281cb510a4d8f4965bc, maxModId 2017
|
|---|
| 19 | [16:37:36] : [Compute revision for 'GitLab'] Latest commit attached to build configuration: db64dd0d8474817070f5e281cb510a4d8f4965bc
|
|---|
| 20 | [16:37:36] : [Compute revision for 'GitLab'] Computed revision: db64dd0d8474817070f5e281cb510a4d8f4965bc
|
|---|
| 21 | [16:37:36] : Starting the build on the agent LamboAgent2
|
|---|
| 22 | [16:37:36]i: Agent time zone: Europe/Amsterdam
|
|---|
| 23 | [16:37:36]i: Agent is running under JRE: 1.8.0_121-8u121-b13-1~bpo8+1-b13
|
|---|
| 24 | [16:37:36] : Clearing temporary directory: /opt/TeamCityAgents/BuildAgent2/temp/buildTmp
|
|---|
| 25 | [16:37:36] : Publishing internal artifacts
|
|---|
| 26 | [16:37:37] : [Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher]
|
|---|
| 27 | [16:37:37] : [Publishing internal artifacts] Publishing 1 file using [WebPublisher]
|
|---|
| 28 | [16:37:36] : Checkout directory: /opt/TeamCityAgents/BuildAgent2/work/70c0276a8fcc3d9f
|
|---|
| 29 | [16:37:36] : Updating sources: server side checkout
|
|---|
| 30 | [16:37:37] : [Updating sources] Using vcs information from agent file: 70c0276a8fcc3d9f.xml
|
|---|
| 31 | [16:37:37] : [Updating sources] Building incremental patch for VCS root: GitLab; checkout rules: =>; revision: db64dd0d8474817070f5e281cb510a4d8f4965bc --> db64dd0d8474817070f5e281cb510a4d8f4965bc
|
|---|
| 32 | [16:37:37] : [Updating sources] Repository sources transferred
|
|---|
| 33 | [16:37:37] : Build preparation done
|
|---|
| 34 | [16:37:37]W: Step 1/4: Prepare environment (Command Line) (1s)
|
|---|
| 35 | [16:37:37] : [Step 1/4] Starting: /opt/TeamCityAgents/BuildAgent2/temp/agentTmp/custom_script8282724513568483579
|
|---|
| 36 | [16:37:37] : [Step 1/4] in directory: /opt/TeamCityAgents/BuildAgent2/work/70c0276a8fcc3d9f
|
|---|
| 37 | [16:37:37] : [Step 1/4] --- Using existing swipe environment in /tmp/swipe_env
|
|---|
| 38 | [16:37:37] : [Step 1/4] --- Environment information:
|
|---|
| 39 | [16:37:37] : [Step 1/4] ------------------------
|
|---|
| 40 | [16:37:37] : [Step 1/4] --- Python version:
|
|---|
| 41 | [16:37:37] : [Step 1/4] Python 3.4.2
|
|---|
| 42 | [16:37:37] : [Step 1/4] --- Pip version:
|
|---|
| 43 | [16:37:37] : [Step 1/4] pip 9.0.1 from /tmp/swipe_env/lib/python3.4/site-packages (python 3.4)
|
|---|
| 44 | [16:37:37] : [Step 1/4] --- Environment packages:
|
|---|
| 45 | [16:37:38] : [Step 1/4] appdirs (1.4.3)
|
|---|
| 46 | [16:37:38] : [Step 1/4] Django (1.11.1)
|
|---|
| 47 | [16:37:38] : [Step 1/4] django-cors-headers (1.3.1)
|
|---|
| 48 | [16:37:38] : [Step 1/4] django-gravatar2 (1.4.0)
|
|---|
| 49 | [16:37:38] : [Step 1/4] djangorestframework (3.6.2)
|
|---|
| 50 | [16:37:38]W: [Step 1/4] DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
|
|---|
| 51 | [16:37:38] : [Step 1/4] docutils (0.13.1)
|
|---|
| 52 | [16:37:38] : [Step 1/4] olefile (0.44)
|
|---|
| 53 | [16:37:38] : [Step 1/4] packaging (16.8)
|
|---|
| 54 | [16:37:38] : [Step 1/4] Pillow (4.1.1)
|
|---|
| 55 | [16:37:38] : [Step 1/4] pip (9.0.1)
|
|---|
| 56 | [16:37:38] : [Step 1/4] pyparsing (2.2.0)
|
|---|
| 57 | [16:37:38] : [Step 1/4] pytz (2017.2)
|
|---|
| 58 | [16:37:38] : [Step 1/4] reportlab (3.4.0)
|
|---|
| 59 | [16:37:38] : [Step 1/4] setuptools (35.0.2)
|
|---|
| 60 | [16:37:38] : [Step 1/4] six (1.10.0)
|
|---|
| 61 | [16:37:38] : [Step 1/4] teamcity-messages (1.21)
|
|---|
| 62 | [16:37:38] : [Step 1/4] --- NPM version:
|
|---|
| 63 | [16:37:38] : [Step 1/4] 3.10.10
|
|---|
| 64 | [16:37:38] : [Step 1/4] --- NodeJS version:
|
|---|
| 65 | [16:37:38] : [Step 1/4] v6.10.3
|
|---|
| 66 | [16:37:38] : [Step 1/4] Process exited with code 0
|
|---|
| 67 | [16:37:38] : Step 2/4: Setup settings (Command Line)
|
|---|
| 68 | [16:37:38] : [Step 2/4] Starting: /opt/TeamCityAgents/BuildAgent2/temp/agentTmp/custom_script7218607572743022921
|
|---|
| 69 | [16:37:38] : [Step 2/4] in directory: /opt/TeamCityAgents/BuildAgent2/work/70c0276a8fcc3d9f/swipe
|
|---|
| 70 | [16:37:38] : [Step 2/4] Preparing local.py settings file for testing
|
|---|
| 71 | [16:37:38] : [Step 2/4] Process exited with code 0
|
|---|
| 72 | [16:37:38]E: Step 3/4: Run Python tests (Command Line) (13s)
|
|---|
| 73 | [16:37:38] : [Step 3/4] Starting: /opt/TeamCityAgents/BuildAgent2/temp/agentTmp/custom_script7194789460554800727
|
|---|
| 74 | [16:37:38] : [Step 3/4] in directory: /opt/TeamCityAgents/BuildAgent2/work/70c0276a8fcc3d9f
|
|---|
| 75 | [16:37:38] : [Step 3/4] --- Activating environment /tmp/swipe_env
|
|---|
| 76 | [16:37:38] : [Step 3/4] --- Running swipe tests...
|
|---|
| 77 | [16:37:51] : [Step 3/4] Creating test database for alias 'default'...
|
|---|
| 78 | [16:37:51]W: [Step 3/4] Traceback (most recent call last):
|
|---|
| 79 | [16:37:51]W: [Step 3/4] File "manage.py", line 10, in <module>
|
|---|
| 80 | [16:37:51]W: [Step 3/4] execute_from_command_line(sys.argv)
|
|---|
| 81 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
|
|---|
| 82 | [16:37:51]W: [Step 3/4] utility.execute()
|
|---|
| 83 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/core/management/__init__.py", line 355, in execute
|
|---|
| 84 | [16:37:51]W: [Step 3/4] self.fetch_command(subcommand).run_from_argv(self.argv)
|
|---|
| 85 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/core/management/commands/test.py", line 29, in run_from_argv
|
|---|
| 86 | [16:37:51]W: [Step 3/4] super(Command, self).run_from_argv(argv)
|
|---|
| 87 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/core/management/base.py", line 283, in run_from_argv
|
|---|
| 88 | [16:37:51]W: [Step 3/4] self.execute(*args, **cmd_options)
|
|---|
| 89 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/core/management/base.py", line 330, in execute
|
|---|
| 90 | [16:37:51]W: [Step 3/4] output = self.handle(*args, **options)
|
|---|
| 91 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/core/management/commands/test.py", line 62, in handle
|
|---|
| 92 | [16:37:51]W: [Step 3/4] failures = test_runner.run_tests(test_labels)
|
|---|
| 93 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/test/runner.py", line 602, in run_tests
|
|---|
| 94 | [16:37:51]W: [Step 3/4] self.run_checks()
|
|---|
| 95 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/test/runner.py", line 562, in run_checks
|
|---|
| 96 | [16:37:51]W: [Step 3/4] call_command('check', verbosity=self.verbosity)
|
|---|
| 97 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/core/management/__init__.py", line 130, in call_command
|
|---|
| 98 | [16:37:51]W: [Step 3/4] return command.execute(*args, **defaults)
|
|---|
| 99 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/core/management/base.py", line 330, in execute
|
|---|
| 100 | [16:37:51]W: [Step 3/4] output = self.handle(*args, **options)
|
|---|
| 101 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/core/management/commands/check.py", line 68, in handle
|
|---|
| 102 | [16:37:51]W: [Step 3/4] fail_level=getattr(checks, options['fail_level']),
|
|---|
| 103 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/core/management/base.py", line 359, in check
|
|---|
| 104 | [16:37:51]W: [Step 3/4] include_deployment_checks=include_deployment_checks,
|
|---|
| 105 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/core/management/base.py", line 346, in _run_checks
|
|---|
| 106 | [16:37:51]W: [Step 3/4] return checks.run_checks(**kwargs)
|
|---|
| 107 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/core/checks/registry.py", line 81, in run_checks
|
|---|
| 108 | [16:37:51]W: [Step 3/4] new_errors = check(app_configs=app_configs)
|
|---|
| 109 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/core/checks/urls.py", line 16, in check_url_config
|
|---|
| 110 | [16:37:51]W: [Step 3/4] return check_resolver(resolver)
|
|---|
| 111 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/core/checks/urls.py", line 26, in check_resolver
|
|---|
| 112 | [16:37:51]W: [Step 3/4] return check_method()
|
|---|
| 113 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/urls/resolvers.py", line 254, in check
|
|---|
| 114 | [16:37:51]W: [Step 3/4] for pattern in self.url_patterns:
|
|---|
| 115 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/utils/functional.py", line 35, in __get__
|
|---|
| 116 | [16:37:51]W: [Step 3/4] res = instance.__dict__[self.name] = self.func(instance)
|
|---|
| 117 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/urls/resolvers.py", line 405, in url_patterns
|
|---|
| 118 | [16:37:51]W: [Step 3/4] patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
|
|---|
| 119 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/utils/functional.py", line 35, in __get__
|
|---|
| 120 | [16:37:51]W: [Step 3/4] res = instance.__dict__[self.name] = self.func(instance)
|
|---|
| 121 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/urls/resolvers.py", line 398, in urlconf_module
|
|---|
| 122 | [16:37:51]W: [Step 3/4] return import_module(self.urlconf_name)
|
|---|
| 123 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/importlib/__init__.py", line 109, in import_module
|
|---|
| 124 | [16:37:51]W: [Step 3/4] return _bootstrap._gcd_import(name[level:], package, level)
|
|---|
| 125 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
|
|---|
| 126 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
|
|---|
| 127 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
|
|---|
| 128 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
|
|---|
| 129 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 1129, in _exec
|
|---|
| 130 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 1471, in exec_module
|
|---|
| 131 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
|
|---|
| 132 | [16:37:51]W: [Step 3/4] File "/opt/TeamCityAgents/BuildAgent2/work/70c0276a8fcc3d9f/swipe/urls.py", line 39, in <module>
|
|---|
| 133 | [16:37:51]W: [Step 3/4] url(r'^', include('www.urls')),
|
|---|
| 134 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/conf/urls/__init__.py", line 50, in include
|
|---|
| 135 | [16:37:51]W: [Step 3/4] urlconf_module = import_module(urlconf_module)
|
|---|
| 136 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/importlib/__init__.py", line 109, in import_module
|
|---|
| 137 | [16:37:51]W: [Step 3/4] return _bootstrap._gcd_import(name[level:], package, level)
|
|---|
| 138 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
|
|---|
| 139 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
|
|---|
| 140 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
|
|---|
| 141 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
|
|---|
| 142 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 1129, in _exec
|
|---|
| 143 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 1471, in exec_module
|
|---|
| 144 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
|
|---|
| 145 | [16:37:51]W: [Step 3/4] File "/opt/TeamCityAgents/BuildAgent2/work/70c0276a8fcc3d9f/www/urls.py", line 16, in <module>
|
|---|
| 146 | [16:37:51]W: [Step 3/4] url(r'^article/', include('article.urls')),
|
|---|
| 147 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/site-packages/django/conf/urls/__init__.py", line 50, in include
|
|---|
| 148 | [16:37:51]W: [Step 3/4] urlconf_module = import_module(urlconf_module)
|
|---|
| 149 | [16:37:51]W: [Step 3/4] File "/tmp/swipe_env/lib/python3.4/importlib/__init__.py", line 109, in import_module
|
|---|
| 150 | [16:37:51]W: [Step 3/4] return _bootstrap._gcd_import(name[level:], package, level)
|
|---|
| 151 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
|
|---|
| 152 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
|
|---|
| 153 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
|
|---|
| 154 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
|
|---|
| 155 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 1129, in _exec
|
|---|
| 156 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 1471, in exec_module
|
|---|
| 157 | [16:37:51]W: [Step 3/4] File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
|
|---|
| 158 | [16:37:51]W: [Step 3/4] File "/opt/TeamCityAgents/BuildAgent2/work/70c0276a8fcc3d9f/article/urls.py", line 3, in <module>
|
|---|
| 159 | [16:37:51]W: [Step 3/4] from article import views
|
|---|
| 160 | [16:37:51]W: [Step 3/4] File "/opt/TeamCityAgents/BuildAgent2/work/70c0276a8fcc3d9f/article/views.py", line 5, in <module>
|
|---|
| 161 | [16:37:51]W: [Step 3/4] from article.serializers import ArticleTypeSerializer
|
|---|
| 162 | [16:37:51]W: [Step 3/4] File "/opt/TeamCityAgents/BuildAgent2/work/70c0276a8fcc3d9f/article/serializers.py", line 6, in <module>
|
|---|
| 163 | [16:37:51]W: [Step 3/4] from money.serializers import MoneySerializerField
|
|---|
| 164 | [16:37:51]W: [Step 3/4] File "/opt/TeamCityAgents/BuildAgent2/work/70c0276a8fcc3d9f/money/serializers.py", line 138
|
|---|
| 165 | [16:37:51]W: [Step 3/4] VATPeriod.objects.create(**vp_data, vat=vat)
|
|---|
| 166 | [16:37:51]W: [Step 3/4] ^
|
|---|
| 167 | [16:37:51]W: [Step 3/4] SyntaxError: invalid syntax
|
|---|
| 168 | [16:37:52]W: [Step 3/4] Process exited with code 1
|
|---|
| 169 | [16:37:52]E: [Step 3/4] Step Run Python tests (Command Line) failed
|
|---|
| 170 | [16:37:52]W: Step 4/4: Run NodeJS Linter (Command Line)
|
|---|
| 171 | [16:37:52]W: [Step 4/4] Build step Run NodeJS Linter (Command Line) is skipped because the previous step has failed
|
|---|
| 172 | [16:37:52] : Publishing internal artifacts
|
|---|
| 173 | [16:37:52] : [Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher]
|
|---|
| 174 | [16:37:52] : [Publishing internal artifacts] Publishing 1 file using [WebPublisher]
|
|---|
| 175 | [16:37:52] : Build finished
|
|---|