yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #07336
[Bug 1195842] Re: Cinder building failing?
** Changed in: anvil
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to anvil.
https://bugs.launchpad.net/bugs/1195842
Title:
Cinder building failing?
Status in ANVIL for forging OpenStack.:
Fix Released
Bug description:
Installing build requirements for anvil-source
Build requirements are installed
make: *** [openstack-cinder-2013.2.a252.g066a676-1.el6.src.rpm.mark] Error 1
make: *** Waiting for unfinished jobs....
openstack-glance-2013.2.a60.g95adbb4-1.el6.src.rpm is processed
_______________
/ She turned me \
\ into a newt! /
---------------
\ || ||
\ __ ||-----mm||
\ ( )/_________)//
(oo)/
v--v
ProcessExecutionError: Unexpected error while running command.
Command: make '-f' '/home/harlowja/openstack/deps/binary-anvil.mk' '-j' 2
Exit code: 2
Stdout: "<redirected to <open file '<stdout>', mode 'w' at 0x7f057c255150>>"
Stderr: "<redirected to <open file '<stderr>', mode 'w' at 0x7f057c2551e0>>"
---Verbose mode----
DEBUG: @anvil.shell : Writing to file '/home/harlowja/openstack/deps/binary-anvil.mk' (1030 bytes) (flush=True)
DEBUG: @anvil.shell : > SRC_REPO_DIR := /home/harlowja/openstack/repo/anvil-source
LOGS_DIR := /home/harlowja/openstack/deps/output
RPMBUILD := rpmbuild
RPMBUILD_FLAGS := --rebuild --define '_topdir /home/harlowja/openstack/deps/rpmbuild'
YUM_BUILDDEP := yum-builddep
YUM_BUILDDEP_FLAGS := -q -y
REPO_NAME := $(shell basename $(SRC_REPO_DIR))
BUILDDEP_MARK := builddep-$(REPO_NAME).mark
MARKS := $(foreach archive,$(shell (cd $(SRC_REPO_DIR) && echo *src.rpm)),$(archive).mark)
all: $(MARKS)
# NOTE(aababilov): yum-builddep is buggy and can fail when several
# package names are given, so, pass them one by one
$(BUILDDEP_MARK):
@echo "Installing build requirements for $(REPO_NAME)"
@for pkg in $(SRC_REPO_DIR)/*; do \
$(YUM_BUILDDEP) $(YUM_BUILDDEP_FLAGS) $$pkg; \
done &> $(LOGS_DIR)/yum-builddep-$(REPO_NAME).log
@touch "$@"
@echo "Build requirements are installed"
%.mark: $(SRC_REPO_DIR)/% $(BUILDDEP_MARK)
@$(RPMBUILD) $(RPMBUILD_FLAGS) -- $< &> $(LOGS_DIR)/rpmbuild-$*.log
@touch "$@"
@echo "$* is processed"
DEBUG: @anvil.shell : Appending to file '/home/harlowja/openstack/deps.trace' (61 bytes) (flush=True)
DEBUG: @anvil.shell : >> FILE_TOUCHED - /home/harlowja/openstack/deps/binary-anvil.mk
DEBUG: @anvil.shell : Creating directory '/home/harlowja/openstack/deps/rpmbuild'
DEBUG: @anvil.shell : Creating directory '/home/harlowja/openstack/deps/rpmbuild/SPECS'
DEBUG: @anvil.shell : Creating directory '/home/harlowja/openstack/deps/rpmbuild/SOURCES'
DEBUG: @anvil.shell : Running cmd: ['make', '-f', '/home/harlowja/openstack/deps/binary-anvil.mk', '-j', '2']
DEBUG: @anvil.shell : In working directory: '/home/harlowja/openstack/deps/marks-binary'
make: *** [openstack-cinder-2013.2.a252.g066a676-1.el6.src.rpm.mark] Error 1
make: *** Waiting for unfinished jobs....
openstack-keystone-2013.2.b1.134.g911c315-1.el6.src.rpm is processed
DEBUG: @anvil.shell : Recursively deleting directory tree starting at '/home/harlowja/openstack/deps/rpmbuild'
__________________
/ We used to dream \
| of living in a |
\ corridor! /
-------------------
\ || ||
\ __ ||-----mm||
\ ( )/_________)//
(oo)/
v--v
Traceback (most recent call last):
File "/home/harlowja/anvil/anvil/__main__.py", line 219, in main
run(args)
File "/home/harlowja/anvil/anvil/__main__.py", line 123, in run
runner.run(persona_obj)
File "/home/harlowja/anvil/anvil/actions/base.py", line 341, in run
self._run(persona, component_order, instances)
File "/home/harlowja/anvil/anvil/actions/build.py", line 42, in _run
dependency_handler.build_binary()
File "/home/harlowja/anvil/anvil/packaging/yum.py", line 213, in build_binary
self._execute_make(makefile_name, marks_dir)
File "/home/harlowja/anvil/anvil/packaging/yum.py", line 222, in _execute_make
stdout_fh=sys.stdout, stderr_fh=sys.stderr)
File "/home/harlowja/anvil/anvil/shell.py", line 168, in execute
stderr=stderr, cmd=str_cmd)
ProcessExecutionError: Unexpected error while running command.
Command: make '-f' '/home/harlowja/openstack/deps/binary-anvil.mk' '-j' 2
Exit code: 2
Stdout: "<redirected to <open file '<stdout>', mode 'w' at 0x7fd10621b150>>"
To manage notifications about this bug go to:
https://bugs.launchpad.net/anvil/+bug/1195842/+subscriptions