Bug #19976
Updated by Alfredo Deza almost 7 years ago
Output from failed build:
<pre>
Started by GitHub push by cbodley
[EnvInject] - Loading node environment variables.
Building remotely on docs.ceph.com (docs) in workspace /home/jenkins-build/build/workspace/ceph-docs
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://github.com/ceph/ceph
> git init /home/jenkins-build/build/workspace/ceph-docs # timeout=10
Fetching upstream changes from https://github.com/ceph/ceph
> git --version # timeout=10
> git fetch --tags --progress https://github.com/ceph/ceph +refs/heads/*:refs/remotes/origin/* # timeout=20
> git config remote.origin.url https://github.com/ceph/ceph # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/ceph/ceph # timeout=10
Fetching upstream changes from https://github.com/ceph/ceph
> git fetch --tags --progress https://github.com/ceph/ceph +refs/heads/*:refs/remotes/origin/* # timeout=20
Seen branch in repository origin/argonaut
Seen branch in repository origin/bobtail
Seen branch in repository origin/cuttlefish
Seen branch in repository origin/dnm-dang-reshard
Seen branch in repository origin/dumpling
Seen branch in repository origin/emperor
Seen branch in repository origin/evelu-ceph-disk
Seen branch in repository origin/firefly
Seen branch in repository origin/giant
Seen branch in repository origin/hammer
Seen branch in repository origin/hammer-next
Seen branch in repository origin/infernalis
Seen branch in repository origin/jewel
Seen branch in repository origin/jewel-next
Seen branch in repository origin/kraken
Seen branch in repository origin/luminous
Seen branch in repository origin/master
Seen branch in repository origin/osd-mark-inactive
Seen branch in repository origin/rh-jewel
Seen branch in repository origin/wip-15752-master_ceph
Seen branch in repository origin/wip-19280
Seen branch in repository origin/wip-19805-jewel
Seen branch in repository origin/wip-bluestore-prefer-wal-size
Seen branch in repository origin/wip-bp-kraken-systemd
Seen branch in repository origin/wip-buildfix-python-out-of-tree
Seen branch in repository origin/wip-cd-dev-option
Seen branch in repository origin/wip-cd-hammer
Seen branch in repository origin/wip-ceph-disk-fix-jewel
Seen branch in repository origin/wip-cherrypick-4tamil
Seen branch in repository origin/wip-da-SCA-20170510
Seen branch in repository origin/wip-daemon-failure
Seen branch in repository origin/wip-doc-rgw-remove-agent
Seen branch in repository origin/wip-json-smarter-escapes
Seen branch in repository origin/wip-master-rgw-0lenfix1
Seen branch in repository origin/wip-message-factory
Seen branch in repository origin/wip-nfs-ganesha-teuthology
Seen branch in repository origin/wip-orit-resharding-hammer
Seen branch in repository origin/wip-orit-testing
Seen branch in repository origin/wip-osd-ioinject
Seen branch in repository origin/wip-qemu-redir
Seen branch in repository origin/wip-rest-flask
Seen branch in repository origin/wip-rest-flask-kraken
Seen branch in repository origin/wip-rgw-config-docs
Seen branch in repository origin/wip-rgw-multisite-teuthology
Seen branch in repository origin/wip-rgw-polymorphic-errors
Seen branch in repository origin/wip-rgw-ssl-teuthology
Seen branch in repository origin/wip-s3a-hadoop
Seen branch in repository origin/wip-sage-testing
Seen branch in repository origin/wip-selinux-optimize
Seen branch in repository origin/wip-snap-trim-sleep
Seen branch in repository origin/wip-turn-off-fcgi-tserlin
Seen branch in repository origin/wip-use-only-dev
Seen branch in repository origin/wip-v10.2.7
Seen branch in repository origin/wip-xml-string-wrap
Seen branch in repository origin/wip_dmclock_clients
Seen 55 remote branches
JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://wiki.jenkins-ci.org/display/JENKINS/Remove+Git+Plugin+BuildsByBranch+BuildData
Checking out Revision ba249854e586b056947a51f7d23bc5ec821bd976 (origin/wip-doc-rgw-remove-agent)
> git config core.sparsecheckout # timeout=10
> git checkout -f ba249854e586b056947a51f7d23bc5ec821bd976 # timeout=20
> git rev-list 0f9935cc97d259e045993762eced89388e3bb712 # timeout=10
First time build. Skipping changelog.
[ceph-docs] $ /bin/bash /tmp/jenkins838689737648461580.sh
++ git diff --name-only 'ba249854e586b056947a51f7d23bc5ec821bd976^1...ba249854e586b056947a51f7d23bc5ec821bd976^2'
fatal: ambiguous argument 'ba249854e586b056947a51f7d23bc5ec821bd976^1...ba249854e586b056947a51f7d23bc5ec821bd976^2': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
+ files=
Build step 'Execute shell' marked build as failure
[BFA] Scanning build for known causes...
[BFA] No failure causes found
[BFA] Done. 0s
Finished: FAILURE
</pre>
Offending line in the job config seems to be:
<pre>
files="$(git diff --name-only ${GIT_COMMIT}^1...${GIT_COMMIT}^2)"
</pre>