Bug 1069635 - cloud-init packages differ for each build
cloud-init packages differ for each build
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other
Current
All openSUSE Factory
: P5 - None : Normal (vote)
: ---
Assigned To: Robert Schweikert
E-mail List
:
Depends on:
Blocks: 1062303
  Show dependency treegraph
 
Reported: 2017-11-23 14:23 UTC by Bernhard Wiedemann
Modified: 2017-12-19 19:51 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
quick fix (655 bytes, patch)
2017-11-23 21:17 UTC, Bernhard Wiedemann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2017-11-23 14:23:00 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
Comment 1 Bernhard Wiedemann 2017-11-23 21:17:30 UTC
Created attachment 749969 [details]
quick fix
Comment 2 Robert Schweikert 2017-12-06 13:12:54 UTC
Applied a patch based on discussions with upstream, please report back.
Comment 4 Bernhard Wiedemann 2017-12-18 13:54:53 UTC
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
Comment 5 Robert Schweikert 2017-12-18 14:04:57 UTC
Hmm, the patch was supposed to prevent the templates from showing up as sources, as they really are really not sources.
Comment 6 Robert Schweikert 2017-12-19 19:51:43 UTC
Fixed in 17.2 currently building in Cloud:Tools:Next