Container build on failures reports Exception information: 'int' object is not callable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Alex Schultz |
Bug Description
On Container build failures, which container failed to build is not reported instead it fails with below exception:-
Exception occured while running the command
Traceback (most recent call last):
File "/home/
super(Command, self).run(
File "/home/
return super(Command, self).run(
File "/home/
return_code = self.take_
File "/home/
bb.build_all()
File "/home/
self.
File "/home/
exceptions=
RuntimeError:
The following errors were detected during container build(s):
Exception information: 'int' object is not callable
The following errors were detected during container build(s):
Exception information: 'int' object is not callable
Traceback (most recent call last):
File "/home/
result = cmd.run(
File "/home/
super(Command, self).run(
File "/home/
return super(Command, self).run(
File "/home/
return_code = self.take_
File "/home/
bb.build_all()
File "/home/
self.
File "/home/
exceptions=
RuntimeError:
The following errors were detected during container build(s):
Exception information: 'int' object is not callable
clean_up Build:
The following errors were detected during container build(s):
Exception information: 'int' object is not callable
END return value: 1
Example log:- https:/
Actually rsyslog failed:- https:/
https:/
Actually tempest failed:- https:/
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → wallaby-1 |
Changed in tripleo: | |
assignee: | nobody → Alex Schultz (alex-schultz) |
tags: | added: promotion-blocker |
Changed in tripleo: | |
status: | In Progress → Fix Released |
The error is coming out of tenacity.
2020-11-12 17:25:13.950 344463 ERROR tripleo_ common. image.builder. buildah. BuildahBuilder Traceback (most recent call last): common. image.builder. buildah. BuildahBuilder File "/home/ zuul/workspace/ venv_build/ lib/python3. 6/site- packages/ tripleo_ common/ image/builder/ buildah. py", line 136, in _generate_container common. image.builder. buildah. BuildahBuilder self.build( container_ name, self._find_ container_ dir(container_ name)) common. image.builder. buildah. BuildahBuilder File "/home/ zuul/workspace/ venv_build/ lib/python3. 6/site- packages/ tenacity/ __init_ _.py", line 329, in wrapped_f common. image.builder. buildah. BuildahBuilder return self.call(f, *args, **kw) common. image.builder. buildah. BuildahBuilder File "/home/ zuul/workspace/ venv_build/ lib/python3. 6/site- packages/ tenacity/ __init_ _.py", line 409, in call common. image.builder. buildah. BuildahBuilder do = self.iter( retry_state= retry_state) common. image.builder. buildah. BuildahBuilder File "/home/ zuul/workspace/ venv_build/ lib/python3. 6/site- packages/ tenacity/ __init_ _.py", line 372, in iter common. image.builder. buildah. BuildahBuilder sleep = self.wait( retry_state= retry_state) common. image.builder. buildah. BuildahBuilder TypeError: 'int' object is not callable
2020-11-12 17:25:13.950 344463 ERROR tripleo_
2020-11-12 17:25:13.950 344463 ERROR tripleo_
2020-11-12 17:25:13.950 344463 ERROR tripleo_
2020-11-12 17:25:13.950 344463 ERROR tripleo_
2020-11-12 17:25:13.950 344463 ERROR tripleo_
2020-11-12 17:25:13.950 344463 ERROR tripleo_
2020-11-12 17:25:13.950 344463 ERROR tripleo_
2020-11-12 17:25:13.950 344463 ERROR tripleo_
2020-11-12 17:25:13.950 344463 ERROR tripleo_
Likely caused by https:/ /review. opendev. org/#/c/ 761609/