Bugzilla – Bug 1069635
cloud-init packages differ for each build
Last modified: 2017-12-19 19:51:43 UTC
diff is --- old//usr/lib/python3.6/site-packages/cloud_init-17.1-py3.6.egg-info/SOURCES.txt 2017-11-19 12:00:00.000000000 +0000 +++ new//usr/lib/python3.6/site-packages/cloud_init-17.1-py3.6.egg-info/SOURCES.txt 2017-11-19 12:00:00.000000000 +0000 @@ -657,11 +657,11 @@ tests/unittests/test_runs/__init__.py tests/unittests/test_runs/test_merge_run.py tests/unittests/test_runs/test_simple_run.py -tmp0qa7q_ru/cloud-init-local.service -tmp7_q4_j0w/cloud-final.service -tmp9we1qxxe/cloud.cfg -tmpfltocxxh/cloud-init.service -tmpm6h347yw/cloud-config.service +tmp8iddprdw/cloud-init.service +tmpagyz5yb5/cloud-config.service +tmpizcs8bju/cloud-init-local.service +tmpmsrv5u0_/cloud-final.service +tmptyhg0gwx/cloud.cfg tools/21-cloudinit.conf tools/Z99-cloud-locale-test.sh I think this comes from setup.py using tmpd = tempfile.mkdtemp(dir=topdir) to render each .service file from a template
Created attachment 749969 [details] quick fix
Applied a patch based on discussions with upstream, please report back.
tried Cloud:Tools/cloud-init and it now has slightly different diffs: /usr/lib/python3.6/site-packages/cloud_init-17.1-py3.6.egg-info/SOURCES.txt: tox.ini -RENDERED_TEMPDgtdnnmi2/cloud-config.service -RENDERED_TEMPDixy756k1/cloud.cfg -RENDERED_TEMPDntmregwv/cloud-init.service -RENDERED_TEMPDphm0kygg/cloud-init-local.service -RENDERED_TEMPDt048wpwk/cloud-final.service +RENDERED_TEMPD1c5yc9wo/cloud-init.service +RENDERED_TEMPDd4ex2u8i/cloud-config.service +RENDERED_TEMPDe5l_76a1/cloud-final.service +RENDERED_TEMPDrf64gtr5/cloud-init-local.service +RENDERED_TEMPDvqf03nsh/cloud.cfg cloud_init.egg-info/PKG-INFO
Hmm, the patch was supposed to prevent the templates from showing up as sources, as they really are really not sources.
Fixed in 17.2 currently building in Cloud:Tools:Next