<div dir="ltr">The problem was fixed.<div><br></div><div>Nguyen Hai</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 17, 2018 at 11:47 PM Doug Hellmann <<a href="mailto:doug@doughellmann.com">doug@doughellmann.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was not able to reproduce the problem. Please test the fix in<br>
<a href="https://review.openstack.org/#/c/593068/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/593068/</a> to see if that helps.<br>
<br>
Which version of Python are you using to run the tools? And on which OS?<br>
<br>
Excerpts from Doug Hellmann's message of 2018-08-17 10:30:29 -0400:<br>
> I will work on fixing this today.<br>
> <br>
> Has the designate team agreed to go ahead with their migration, or<br>
> are you still testing the scripts?<br>
> <br>
> Doug<br>
> <br>
> Excerpts from super user's message of 2018-08-17 15:37:03 +0900:<br>
> > Hi Doug,<br>
> > <br>
> > I'm Nguyen Hai. I proposed the python3-first patch set for<br>
> > designate projects. However, I have met this error to designate and<br>
> > designate-dashboard:<br>
> > <br>
> > === ../Output/designate/openstack/designate @ master ===<br>
> > <br>
> > ./tools/python3-first/do_repo.sh ../Output/designate/openstack/designate<br>
> > master 24292<br>
> > <br>
> > ++ cat ../Output/designate/openstack/designate/.gitreview<br>
> > ++ grep project<br>
> > ++ cut -f2 -d=<br>
> > + actual=openstack/designate.git<br>
> > +++ dirname ../Output/designate/openstack/designate<br>
> > ++ basename ../Output/designate/openstack<br>
> > ++ basename ../Output/designate/openstack/designate<br>
> > + expected=openstack/designate<br>
> > + '[' openstack/designate.git '!=' openstack/designate -a<br>
> > openstack/designate.git '!=' openstack/designate.git ']'<br>
> > + git -C ../Output/designate/openstack/designate review -s<br>
> > Creating a git remote called 'gerrit' that maps to:<br>
> >         ssh://<br>
> > <a href="http://nguyentrihai@review.openstack.org:29418/openstack/designate.git" rel="noreferrer" target="_blank">nguyentrihai@review.openstack.org:29418/openstack/designate.git</a><br>
> > ++ basename master<br>
> > + new_branch=python3-first-master<br>
> > + git -C ../Output/designate/openstack/designate branch<br>
> > + grep -q python3-first-master<br>
> > + echo 'creating python3-first-master'<br>
> > creating python3-first-master<br>
> > + git -C ../Output/designate/openstack/designate checkout -- .<br>
> > + git -C ../Output/designate/openstack/designate clean -f -d<br>
> > + git -C ../Output/designate/openstack/designate checkout -q origin/master<br>
> > + git -C ../Output/designate/openstack/designate checkout -b<br>
> > python3-first-master<br>
> > Switched to a new branch 'python3-first-master'<br>
> > + python3-first -v --debug jobs update<br>
> > ../Output/designate/openstack/designate<br>
> > determining repository name from .gitreview<br>
> > working on openstack/designate @ master<br>
> > looking for zuul config in<br>
> > ../Output/designate/openstack/designate/.zuul.yaml<br>
> > using zuul config from ../Output/designate/openstack/designate/.zuul.yaml<br>
> > loading project settings from ../project-config/zuul.d/projects.yaml<br>
> > loading project templates from<br>
> > ../openstack-zuul-jobs/zuul.d/project-templates.yaml<br>
> > loading jobs from ../openstack-zuul-jobs/zuul.d/jobs.yaml<br>
> > looking for settings for openstack/designate<br>
> > looking at template 'openstack-python-jobs'<br>
> > looking at template 'openstack-python35-jobs'<br>
> > looking at template 'publish-openstack-sphinx-docs'<br>
> > looking at template 'periodic-stable-jobs'<br>
> > looking at template 'check-requirements'<br>
> > did not find template definition for 'check-requirements'<br>
> > looking at template 'translation-jobs-master-stable'<br>
> > looking at template 'release-notes-jobs'<br>
> > looking at template 'api-ref-jobs'<br>
> > looking at template 'install-guide-jobs'<br>
> > looking at template 'release-openstack-server'<br>
> > filtering on master<br>
> > merging templates<br>
> >   adding openstack-python-jobs<br>
> >   adding openstack-python35-jobs<br>
> >   adding publish-openstack-sphinx-docs<br>
> >   adding periodic-stable-jobs<br>
> >   adding check-requirements<br>
> >   adding release-notes-jobs<br>
> >   adding install-guide-jobs<br>
> > merging pipeline check<br>
> > *unhashable type: 'CommentedMap'*<br>
> > *Traceback (most recent call last):*<br>
> > *  File<br>
> > "/home/stack/python3-first/goal-tools/.tox/venv/lib/python3.6/site-packages/cliff/app.py",<br>
> > line 402, in run_subcommand*<br>
> > *    result = cmd.run(parsed_args)*<br>
> > *  File<br>
> > "/home/stack/python3-first/goal-tools/.tox/venv/lib/python3.6/site-packages/cliff/command.py",<br>
> > line 184, in run*<br>
> > *    return_code = self.take_action(parsed_args) or 0*<br>
> > *  File<br>
> > "/home/stack/python3-first/goal-tools/goal_tools/python3_first/jobs.py",<br>
> > line 531, in take_action*<br>
> > *    entry,*<br>
> > *  File<br>
> > "/home/stack/python3-first/goal-tools/goal_tools/python3_first/jobs.py",<br>
> > line 397, in merge_project_settings*<br>
> > *    up.get(pipeline, comments.CommentedMap()),*<br>
> > *  File<br>
> > "/home/stack/python3-first/goal-tools/goal_tools/python3_first/jobs.py",<br>
> > line 362, in merge_pipeline*<br>
> > *    if job_name in job_names:*<br>
> > *TypeError: unhashable type: 'CommentedMap'*<br>
> > *Traceback (most recent call last):*<br>
> > *  File "/home/stack/python3-first/goal-tools/.tox/venv/bin/python3-first",<br>
> > line 10, in <module>*<br>
> > *    sys.exit(main())*<br>
> > *  File<br>
> > "/home/stack/python3-first/goal-tools/goal_tools/python3_first/main.py",<br>
> > line 42, in main*<br>
> > *    return Python3First().run(argv)*<br>
> > *  File<br>
> > "/home/stack/python3-first/goal-tools/.tox/venv/lib/python3.6/site-packages/cliff/app.py",<br>
> > line 281, in run*<br>
> > *    result = self.run_subcommand(remainder)*<br>
> > *  File<br>
> > "/home/stack/python3-first/goal-tools/.tox/venv/lib/python3.6/site-packages/cliff/app.py",<br>
> > line 402, in run_subcommand*<br>
> > *    result = cmd.run(parsed_args)*<br>
> > *  File<br>
> > "/home/stack/python3-first/goal-tools/.tox/venv/lib/python3.6/site-packages/cliff/command.py",<br>
> > line 184, in run*<br>
> > *    return_code = self.take_action(parsed_args) or 0*<br>
> > *  File<br>
> > "/home/stack/python3-first/goal-tools/goal_tools/python3_first/jobs.py",<br>
> > line 531, in take_action*<br>
> > *    entry,*<br>
> > *  File<br>
> > "/home/stack/python3-first/goal-tools/goal_tools/python3_first/jobs.py",<br>
> > line 397, in merge_project_settings*<br>
> > *    up.get(pipeline, comments.CommentedMap()),*<br>
> > *  File<br>
> > "/home/stack/python3-first/goal-tools/goal_tools/python3_first/jobs.py",<br>
> > line 362, in merge_pipeline*<br>
> > *    if job_name in job_names:*<br>
> > *TypeError: unhashable type: 'CommentedMap'*<br>
> > *+ echo 'No changes'*<br>
> > *No changes*<br>
> > *+ exit 1*<br>
> > <br>
> > On Wed, Aug 8, 2018 at 7:58 AM Doug Hellmann <<a href="mailto:doug@doughellmann.com" target="_blank">doug@doughellmann.com</a>> wrote:<br>
> > <br>
> > > Champions,<br>
> > ><br>
> > > I have made quite a few changes to the tools for generating the zuul<br>
> > > migration patches today. If you have any patches you generated locally<br>
> > > for testing, please check out the latest version of the tool (when all<br>
> > > of the changes merge) and regenerate them.<br>
> > ><br>
> > > Doug<br>
> > ><br>
> > > __________________________________________________________________________<br>
> > > OpenStack Development Mailing List (not for usage questions)<br>
> > > Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> > > <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
> > ><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>