Tox error occures in master branch because lacking of required properties
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tacker |
Fix Released
|
Critical
|
Hiroo Kitamura |
Bug Description
As of 3/31, when I cloned the master branch of Tacker and executed tox, I got errors in some testcases.
This is a critical issue and all patches can not be merged.
The details of the error are as follows.
```
$ tox -e py38
...snip...
tacker.
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/tmp/tacker/
heat_
File "/tmp/tacker/
self.
File "/tmp/tacker/
self.
File "/tmp/tacker/
return self._translate
File "/tmp/tacker/
self.
File "/tmp/tacker/
resource.
File "/tmp/tacker/
if resource.name in temp.get(
TypeError: argument of type 'NoneType' is not iterable
...snip...
======
Totals
======
Ran: 1787 tests in 527.1841 sec.
- Passed: 1616
- Skipped: 166
- Expected Fail: 0
- Unexpected Success: 0
- Failed: 5
Sum of execute time for each test: 526.5277 sec.
```
This is because the version of tosca-parser that reflects the following 'validation for required property of policies' has been released and is now installed when tox is executed.
https:/
The bug report of tosca-parser is as follows.
https:/
In the unittest of Tacker, the errors occur because there are testcases and yaml that violate 'required property of policies'.
Changed in tacker: | |
assignee: | nobody → Hiroo Kitamura (h-kitamura) |
Changed in tacker: | |
importance: | Undecided → Critical |
Changed in tacker: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. opendev. org/c/openstack /tacker/ +/784000
Review: https:/