-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
On googleapis/google-cloud-java#8956, OwlBot PostProcessor fails to work with java-grafeas module. It failed:
Traceback (most recent call last):
File "/owlbot/src/fix-poms.py", line 504, in <module>
main()
File "/owlbot/src/fix-poms.py", line 472, in main
update_parent_pom("pom.xml", modules)
File "/owlbot/src/fix-poms.py", line 174, in update_parent_pom
m.text for i, m in enumerate(existing) if m.text not in module_names
TypeError: 'NoneType' object is not iterable
I will work on fixing it.
CC: @JoeWang1127
How to reproduce issue locally
cd google-cloud-java; git fetch
git checkout -b java-grafeas_postprocessor origin/main
mkdir -p owl-bot-staging/java-grafeas
docker run --rm --user "$(id -u):$(id -g)" -v "$(pwd):/workspace" -w /workspace --env HOME=/tmp gcr.io/cloud-devrel-public-resources/owlbot-java
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.