Clemson-DPA / dpa-pipe

DPA pipeline
MIT License
51 stars 13 forks source link

Session Timeout #12

Closed mnemyx closed 9 years ago

mnemyx commented 9 years ago

While testing tif export/tex convert on Mari Session:

1.) About 6 UV patches on 2 channels (I thought this process just took too long) Traceback (most recent call last): File "/home/gguerre/pipedev/dpa-pipe/dpa/ui/app/entity/export.py", line 109, in accept version_action() File "/home/gguerre/pipedev/dpa-pipe/dpa/action/init.py", line 177, in call self.execute() File "/home/gguerre/pipedev/dpa-pipe/dpa/ptask/action/version.py", line 79, in execute self._create_version() File "/home/gguerre/pipedev/dpa-pipe/dpa/ptask/action/version.py", line 222, in _create_version parent_spec=self.source_version.spec, File "/home/gguerre/pipedev/dpa-pipe/dpa/ptask/version/init.py", line 78, in create return super(PTaskVersion, cls).create(data) File "/home/gguerre/pipedev/dpa-pipe/dpa/restful/mixins.py", line 28, in create 'create', cls.data_type, data=data) File "/home/gguerre/pipedev/dpa-pipe/dpa/restful/client.py", line 89, in execute_request headers=headers) File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/api.py", line 109, in post return request('post', url, data=data, json=json, _kwargs) File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/api.py", line 50, in request response = session.request(method=method, url=url, _kwargs) File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/sessions.py", line 465, in request resp = self.send(prep, _send_kwargs) File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/sessions.py", line 573, in send r = adapter.send(request, _kwargs) File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/adapters.py", line 415, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', error(4, 'Interrupted system call'))

2.) But it happened again on a simpler test - 3 UVs (2 empty), 1 Channel Successfully sourced: [1mtestdwa=dev=maritest=surface=hero [latest] [0m

New version successfully created in the database.

Successfully provisioned directory for version: 3 [1mtestdwa=dev=maritest=model=hero=products=maritest_model=workfile=0024 [22m Traceback (most recent call last): File "/home/gguerre/pipedev/dpa-pipe/dpa/ui/app/entity/export.py", line 109, in accept version_action() File "/home/gguerre/pipedev/dpa-pipe/dpa/action/init.py", line 177, in call self.execute() File "/home/gguerre/pipedev/dpa-pipe/dpa/ptask/action/version.py", line 80, in execute self._copy_subs() File "/home/gguerre/pipedev/dpa-pipe/dpa/ptask/action/version.py", line 325, in _copy_subs sub.product_version_spec, File "/home/gguerre/pipedev/dpa-pipe/dpa/product/subscription/init.py", line 57, in create return super(ProductSubscription, cls).create(data)

mnemyx commented 9 years ago

I think this might be related -

[14:40:45] gguerre@l0026:~/pipedev/dpa-pipe/dpa [1] testpipeup pipedown: command not found Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.7/dist-packages/virtualenvwrapper/hook_loader.py", line 10, in import logging File "logging/init.py", line 12, in from dpa.user import currentusername File "/home/gguerre/pipedev/dpa-pipe/dpa/user/init.py", line 55, in from dpa.restful import ReadOnlyRestfulObject, RestfulObjectError File "/home/gguerre/pipedev/dpa-pipe/dpa/restful/init.py", line 13, in from .client import RestfulClientError File "/home/gguerre/pipedev/dpa-pipe/dpa/restful/client.py", line 17, in import requests File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/init.py", line 53, in from .packages.urllib3.contrib import pyopenssl File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/packages/init.py", line 3, in from . import urllib3 File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/packages/urllib3/init.py", line 10, in from .connectionpool import ( File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 31, in from .connection import ( File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/packages/urllib3/connection.py", line 45, in from .util.ssl import ( File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/packages/urllib3/util/init.py", line 18, in from .retry import Retry File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/packages/urllib3/util/retry.py", line 14, in log = logging.getLogger(name) AttributeError: 'module' object has no attribute 'getLogger'

mnemyx commented 9 years ago

I just can't consistently recreate it, I swear...

New version successfully created in the database.

Successfully provisioned directory for version: 5 testdwa=dev=maritest=model=hero=products=maritest_model=workfile=0024 testdwa=dev=maritest=surface=hero=products=model=geom=0001

Cleaning up existing import directory. Provisioning new import directory. Traceback (most recent call last): File "/home/gguerre/pipedev/dpa-pipe/dpa/ui/ptask/version.py", line 60, in accept version_action() File "/home/gguerre/pipedev/dpa-pipe/dpa/action/init.py", line 177, in call self.execute() File "/home/gguerre/pipedev/dpa-pipe/dpa/ptask/action/version.py", line 85, in execute self._refresh_subs() File "/home/gguerre/pipedev/dpa-pipe/dpa/ptask/action/version.py", line 357, in _refresh_subs refresh_action() File "/home/gguerre/pipedev/dpa-pipe/dpa/action/init.py", line 177, in call self.execute() File "/home/gguerre/pipedev/dpa-pipe/dpa/product/subscription/action/refresh.py", line 55, in execute self._link_sub(sub, app='global') File "/home/gguerre/pipedev/dpa-pipe/dpa/product/subscription/action/refresh.py", line 165, in _link_sub product = product_ver.product File "/home/gguerre/pipedev/dpa-pipe/dpa/product/version/init.py", line 166, in product return Product.get(self.product_spec) File "/home/gguerre/pipedev/dpa-pipe/dpa/product/init.py", line 84, in get return super(Product, cls).get(spec) File "/home/gguerre/pipedev/dpa-pipe/dpa/restful/mixins.py", line 75, in get primary_key=primary_key, params=filters) File "/home/gguerre/pipedev/dpa-pipe/dpa/restful/client.py", line 89, in execute_request headers=headers) File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/api.py", line 69, in get return request('get', url, params=params, _kwargs) File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/api.py", line 50, in request response = session.request(method=method, url=url, _kwargs) File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/sessions.py", line 465, in request resp = self.send(prep, _send_kwargs) File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/sessions.py", line 573, in send r = adapter.send(request, _kwargs) File "/home/gguerre/pipedev/dpa-pipe-env/local/lib/python2.7/site-packages/requests/adapters.py", line 415, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', error(4, 'Interrupted system call'))

mnemyx commented 9 years ago

[15:04:21] gguerre@l0026:~/pipedev/dpa-pipe/dpa [2] pipeup Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.7/dist-packages/virtualenvwrapper/hook_loader.py", line 10, in import logging File "logging/init.py", line 12, in from dpa.user import currentusername File "/group/dpa/pipe/env/pipe-release/local/lib/python2.7/site-packages/dpa/user/init.py", line 55, in from dpa.restful import ReadOnlyRestfulObject, RestfulObjectError File "/group/dpa/pipe/env/pipe-release/local/lib/python2.7/site-packages/dpa/restful/init.py", line 13, in from .client import RestfulClientError File "/group/dpa/pipe/env/pipe-release/local/lib/python2.7/site-packages/dpa/restful/client.py", line 17, in import requests File "/group/dpa/pipe/env/pipe-release/local/lib/python2.7/site-packages/requests/init.py", line 53, in from .packages.urllib3.contrib import pyopenssl File "/group/dpa/pipe/env/pipe-release/local/lib/python2.7/site-packages/requests/packages/init.py", line 3, in from . import urllib3 File "/group/dpa/pipe/env/pipe-release/local/lib/python2.7/site-packages/requests/packages/urllib3/init.py", line 10, in from .connectionpool import ( File "/group/dpa/pipe/env/pipe-release/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 31, in from .connection import ( File "/group/dpa/pipe/env/pipe-release/local/lib/python2.7/site-packages/requests/packages/urllib3/connection.py", line 45, in from .util.ssl import ( File "/group/dpa/pipe/env/pipe-release/local/lib/python2.7/site-packages/requests/packages/urllib3/util/init.py", line 18, in from .retry import Retry File "/group/dpa/pipe/env/pipe-release/local/lib/python2.7/site-packages/requests/packages/urllib3/util/retry.py", line 14, in log = logging.getLogger(name) AttributeError: 'module' object has no attribute 'getLogger' virtualenvwrapper.sh: There was a problem running the initialization hooks. If Python could not import the module virtualenvwrapper.hook_loader, check that virtualenv has been installed for VIRTUALENVWRAPPER_PYTHON=/group/dpa/pipe/env/pipe-release/bin/python and that PATH is set properly.

* DPA Pipeline has been activated *

(pipe-release)[15:04:25] gguerre@l0026:~/pipedev/dpa-pipe/dpa [3] pipedown

* DPA Pipeline has been deactivated. *

[15:04:42] gguerre@l0026:~ [4] pipeup

* DPA Pipeline has been activated *

josh-t commented 9 years ago

We havent' seen this lately, so let's chalk this up to a machine issue. Please reopen if it crops up again.