Bug #6149
closed[Crunch] Install step logs error message from `setup.py egg_info`
Description
I came across the error message:
stderr starting: ['srun','--nodelist=compute6','-D','/tmp','--job-name=qr1hi-8i9sb-74468yxq0cauxbw','sh','-c','mkdir -p /tmp/crunch-job/opt && cd /tmp/crunch-job && perl -']
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr fatal: Not a git repository (or any parent up to mount point /tmp)
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr Traceback (most recent call last):
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr File "/tmp/crunch-job/opt/python/setup.py", line 49, in <module>
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr cmdclass={'egg_info': tagger},
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr dist.run_commands()
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr self.run_command(cmd)
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr File "/usr/lib/python2.7/distutils/dist.py", line 971, in run_command
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr cmd_obj.ensure_finalized()
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr File "/usr/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr self.finalize_options()
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr File "/usr/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 85, in finalize_options
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr self.vtags = self.tags()
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr File "/tmp/crunch-job/opt/python/gittaggers.py", line 19, in tags
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr self.tag_build = self.git_timestamp_tag()
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr File "/tmp/crunch-job/opt/python/gittaggers.py", line 14, in git_timestamp_tag
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr '--format=format:%ct', '.']).strip()
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr File "/usr/lib/python2.7/subprocess.py", line 544, in check_output
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr raise CalledProcessError(retcode, cmd, output=output)
2015-05-26_19:51:23 qr1hi-8i9sb-74468yxq0cauxbw 3908 stderr subprocess.CalledProcessError: Command '['git', 'log', '--first-parent', '--max-count=1', '--format=format:%ct', '.']' returned non-zero exit status 128
but it doesn't affect me, it just looks bad