-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
It seems that on flow jobs which require a workspace do not lock it until the end of the build.
It seems to be deleted before the job finish
01:03:01 + cd /var/lib/jenkins/jobs/salt-pr-lint-n/workspace
01:03:01 + pylint --rcfile=/var/lib/jenkins/jobs/salt-pr-lint-n/workspace/.testing.pylintrc /var/lib/jenkins/jobs/salt-pr-lint-n/workspace/salt/
01:03:01 + tee /var/lib/jenkins/jobs/salt-pr-lint-n/workspace/pylint-report.xml
01:08:59 ************* Module salt.daemons.flo.core
01:08:59 salt/daemons/flo/core.py:367: [E8303(too-many-blank-lines-(3)), ] PEP8 E303: too many blank lines (3)
01:09:00 + EC1=2
01:09:00 + pylint --rcfile=/var/lib/jenkins/jobs/salt-pr-lint-n/workspace/.testing.pylintrc --disable=W0232,E1002 /var/lib/jenkins/jobs/salt-pr-lint-n/workspace/tests/
01:09:00 + tee /var/lib/jenkins/jobs/salt-pr-lint-n/workspace/pylint-report-tests.xml
01:09:11 [?1034hTraceback (most recent call last):
01:09:11 File "/usr/bin/pylint", line 9, in <module>
01:09:11 load_entry_point('pylint==1.2.1', 'console_scripts', 'pylint')()
01:09:11 File "/usr/lib/python2.6/site-packages/pylint/_init_.py", line 21, in run_pylint
01:09:11 Run(sys.argv[1:])
01:09:11 File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 1051, in _init_
01:09:11 linter.check(args)
01:09:11 File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 626, in check
01:09:11 self.check_astroid_module(astroid, walker, rawcheckers, tokencheckers)
01:09:11 File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 712, in check_astroid_module
01:09:11 walker.walk(astroid)
01:09:11 File "/usr/lib/python2.6/site-packages/pylint/utils.py", line 715, in walk
01:09:11 self.walk(child)
01:09:11 File "/usr/lib/python2.6/site-packages/pylint/utils.py", line 715, in walk
01:09:11 self.walk(child)
01:09:11 File "/usr/lib/python2.6/site-packages/pylint/utils.py", line 715, in walk
01:09:11 self.walk(child)
01:09:11 File "/usr/lib/python2.6/site-packages/pylint/utils.py", line 715, in walk
01:09:11 self.walk(child)
01:09:11 File "/usr/lib/python2.6/site-packages/pylint/utils.py", line 712, in walk
01:09:11 cb(astroid)
01:09:11 File "/usr/lib/python2.6/site-packages/pylint/checkers/strings.py", line 182, in visit_callfunc
01:09:11 func = utils.safe_infer(node.func)
01:09:11 File "/usr/lib/python2.6/site-packages/pylint/checkers/utils.py", line 85, in safe_infer
01:09:11 value = inferit.next()
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/bases.py", line 313, in wrapped
01:09:11 for res in _func(node, context, **kwargs):
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/bases.py", line 337, in wrapper
01:09:11 for node in func(*args, **kwargs):
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/inference.py", line 219, in infer_getattr
01:09:11 for obj in owner.igetattr(self.attrname, context):
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/bases.py", line 178, in igetattr
01:09:11 get_attr = self.getattr(name, context, lookupclass=False)
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/bases.py", line 151, in getattr
01:09:11 values = self._proxied.instance_attr(name, context)
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/scoped_nodes.py", line 51, in wrapper
01:09:11 nodes = [n for n in func(*args, **kwargs) if not isinstance(n, cls)]
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/scoped_nodes.py", line 916, in instance_attr
01:09:11 for class_node in self.instance_attr_ancestors(name, context):
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/scoped_nodes.py", line 882, in instance_attr_ancestors
01:09:11 for astroid in self.ancestors(context=context):
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/scoped_nodes.py", line 849, in ancestors
01:09:11 for baseobj in stmt.infer(context):
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/bases.py", line 313, in wrapped
01:09:11 for res in _func(node, context, **kwargs):
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/bases.py", line 115, in _infer_stmts
01:09:11 for infered in stmt.infer(context):
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/bases.py", line 313, in wrapped
01:09:11 for res in _func(node, context, **kwargs):
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/inference.py", line 200, in infer_from
01:09:11 module = self.do_import_module(self.modname)
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/mixins.py", line 103, in do_import_module
01:09:11 return mymodule.import_module(modname, level=level)
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/brain/py2gi.py", line 125, in _new_import_module
01:09:11 return _orig_import_module(self, modname, relative_only, level)
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/scoped_nodes.py", line 353, in import_module
01:09:11 return MANAGER.ast_from_module_name(absmodname)
01:09:11 File "/usr/lib/python2.6/site-packages/astroid/manager.py", line 117, in ast_from_module_name
01:09:11 old_cwd = os.getcwd()
01:09:11 OSError: [Errno 2] No such file or directory
01:09:11 + EC2=1
01:09:11 + '[' 2 -ne 0 ']'
01:09:11 + exit 2
01:09:11 Build step 'Execute shell' marked build as failure
01:09:11 ERROR: Publisher hudson.plugins.violations.ViolationsPublisher aborted due to exception
01:09:11 /var/lib/jenkins/jobs/salt-pr-lint-n/workspace does not exist.
01:09:11 at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
01:09:11 at hudson.plugins.violations.ViolationsCollector.findFiles(ViolationsCollector.java:213)
01:09:11 at hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:173)
01:09:11 at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:114)
01:09:11 at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:25)
01:09:11 at hudson.FilePath.act(FilePath.java:981)
01:09:11 at hudson.FilePath.act(FilePath.java:959)
01:09:11 at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:74)
01:09:11 at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
01:09:11 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
01:09:11 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
01:09:11 at hudson.model.Build$BuildExecution.post2(Build.java:183)
01:09:11 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
01:09:11 at hudson.model.Run.execute(Run.java:1784)
01:09:11 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
01:09:11 at hudson.model.ResourceController.execute(ResourceController.java:89)
01:09:11 at hudson.model.Executor.run(Executor.java:240)