Bug 45029 - [RESTful Import API] import packages to ucsschool repository
[RESTful Import API] import packages to ucsschool repository
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: HTTP-API (Kelvin)
UCS@school 4.2
Other Linux
: P5 normal (vote)
: UCS@school 4.2 (HTTP-API-MVP)
Assigned To: Daniel Tröder
Sönke Schwardt-Krummrich
:
Depends on: 45030
Blocks: 45024 45166
  Show dependency treegraph
 
Reported: 2017-07-18 10:02 CEST by Daniel Tröder
Modified: 2017-12-21 12:23 CET (History)
1 user (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2017-07-18 10:02:02 CEST
* Import packages required for the project from 4.2/unmaintained into ucsschool-4.2 scope, so customers don't have to install "unmaintained" packages.

* Import stretch versions of python-djangorestframework and python-django (and necessary dependencies) into ucsschool-4.2 scope, because upstream deems the versions in Jessie as being insecure and not supported anymore.
Comment 1 Daniel Tröder univentionstaff 2017-07-18 20:57:05 CEST
Branch: ucs_4.2-0
Scope: ucs-school-4.2

From jessie-backports:

jquery                1.11.3+dfsg-4~bpo8+1A~4.2.0.201707181125
python-setuptools     33.1.1-1-bpo8+1
python-backports-abc  0.5-1~bpo8+1A~4.2.0.201707181919
twisted               16.2.0-1~bpo8+1A~4.2.0.201707181921

A binary import was done for python-setuptools, python-hypothesis, python-tornado, setuptools-scm from jessie-backports, as building them was to much trouble.

From stretch:

alabaster             0.7.8-1A~4.2.0.201707181058
pygments              2.2.0+dfsg-1A~4.2.0.201707181112
python-imagesize      0.7.1-1A~4.2.0.201707181113
sphinx                1.4.9-2A~4.2.0.201707181115
python-django         1:1.10.7-2A~4.2.0.201707181126
python-argh           0.26.2-1A~4.2.0.201707181702
python-pathtools      0.1.2-2A~4.2.0.201707181704
enum34                1.1.6-1A~4.2.0.201707181643
python-pytest-timeout 1.0.0-1.1A~4.2.0.201707181706
python-watchdog       0.8.3-2A~4.2.0.201707181840 (patched)
python-click          6.6-1A~4.2.0.201707181842
mkdocs-bootstrap      0.1.1-2A~4.2.0.201707181844
mkdocs-bootswatch     0.4.0-2A~4.2.0.201707181845
python-livereload     2.4.0-1A~4.2.0.201707181940
python-mkdocs         0.15.3-5A~4.2.0.201707181942
pytest-django         2.9.1-3A~4.2.0.201707181953
django-environ        0.4.0-2A~4.2.0.201707182010
pytest-runner         2.7.1-1A~4.2.0.201707182012
django-guardian       1.4.4-1A~4.2.0.201707182013
djangorestframework   3.4.0-2A~4.2.0.201707182016
Comment 2 Daniel Tröder univentionstaff 2017-07-20 02:35:04 CEST
Dependency nose was imported and build from jessie-backports, django-nose was binary-imported from jessie-backports.

Turns out various packages had to be adapted to work with Django 1.10, and the upstream changes didn't make it into Debian. So python-django is now taken from jessie-backports:

python-django         1.8.18-1~bpo8+1A~4.2.0.201707191840
Comment 3 Daniel Tröder univentionstaff 2017-07-20 04:04:36 CEST
Because of a problem a python-celery, the version from stretch had to be imported (and lots of dependencies, most from jessie-backports).
Comment 5 Florian Best univentionstaff 2017-08-01 17:19:38 CEST
As discussed there should be a "Conflicts: python3-celery" in some meta package.

Otherwise the import queue doesn't start (python3 ImportError: No module named 'ucsschool') and a import in UMC runs forever.
Comment 6 Sönke Schwardt-Krummrich univentionstaff 2017-11-08 15:51:17 CET
I took a list of all packages and package versions that have been installed on my QA system. Then I tried to list all relevant packages from build system scopes and mirror (ucs, customer, appcenter, appcenter.test), to find possible version conflicts with other UCS components, customer packages or apps.

Search for "WARNING" and "REOPEN" to find the relevant entries:

celeryd 3.1.13-3
/var/univention/buildsystem2/apt/ucs_4.1-0-ict-basler-schulen/all/celeryd_3.1.12-1.31.201707111252_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0/all/celeryd_3.1.13-3_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ict-basler-schulen/all/celeryd_3.1.13-3_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ucs-school-4.2/all/celeryd_3.1.23-7A~4.2.0.201707200332_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20171030123901/all/celeryd_3.1.13-3_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.1/maintained/component/ict-basler-schulen/all/celeryd_3.1.12-1.31.201707111252_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.2/maintained/component/ict-basler-schulen/all/celeryd_3.1.13-3_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/ucs_4.1-0-ict-basler-schulen/all/celeryd_3.1.12-1.31.201707111252_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/ucs_4.2-0-ict-basler-schulen/all/celeryd_3.1.13-3_all.deb
/mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/all/celeryd_3.1.13-3_all.deb
→ REOPEN, scope ucs-school-4.2 contains version 3.1.23-7 and app center contains 3.1.13-3
→ Which version is required? Why has a newer version of celeryd/python-celery been build in UCS@school scope?

gunicorn 19.0-1
/var/univention/buildsystem2/apt/ucs_4.0-0/all/gunicorn_0.14.5-3.7.201403170352_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0/all/gunicorn_19.0-1_all.deb
/var/univention/buildsystem2/apt/ucs_4.3-0/all/gunicorn_19.6.0-10_all.deb
/var/univention/buildsystem2/apt/ucs_4.3-0/all/python3-gunicorn_19.6.0-10_all.deb
/var/univention/buildsystem2/apt/ucs_4.3-0/all/python-gunicorn_19.6.0-10_all.deb
/mnt/omar/vmwares/mirror/ftp/4.0/unmaintained/4.0-0/all/gunicorn_0.14.5-3.7.201403170352_all.deb
/mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/all/gunicorn_19.0-1_all.deb
→ OK

python-amqp 1.4.9-1
/var/univention/buildsystem2/apt/ucs_4.1-0-ict-basler-schulen/all/python-amqp_1.4.5-1.15.201707111656_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0/all/python-amqp_1.4.5-2_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ict-basler-schulen/all/python-amqp_1.4.5-2_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ucs-school-4.2/all/python-amqp_1.4.9-1-bpo8+1_all.deb
/var/univention/buildsystem2/apt/ucs_4.3-0/all/python-amqp_1.4.9-1_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.1/maintained/component/ict-basler-schulen/all/python-amqp_1.4.5-1.15.201707111656_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.2/maintained/component/ict-basler-schulen/all/python-amqp_1.4.5-2_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/ucs_4.1-0-ict-basler-schulen/all/python-amqp_1.4.5-1.15.201707111656_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/ucs_4.2-0-ict-basler-schulen/all/python-amqp_1.4.5-2_all.deb
/mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/all/python-amqp_1.4.5-2_all.deb
→ WARNING → Questions:
1) Do other projects/apps/UCS components use python-amqp?
2) Is python-amqp 1.4.9-1 backward compatible with 1.4.5-2? It might be problematic for ICT Basel (OX+UCS@school!).
→ REOPEN → FAIL, pkg version in UCS 4.3 is smaller than the version in UCS 4.2-ucsschool
→ use "~bpo8+1" instead of "-bpo8+1" ?
$ dpkg --compare-versions 1.4.9-1~bpo8+1 gt 1.4.9-1 && echo "YES" || echo "NO"
NO
$ dpkg --compare-versions 1.4.9-1-bpo8+1 gt 1.4.9-1 && echo "YES" || echo "NO"
YES
$

python-anyjson 0.3.3-1
/var/univention/buildsystem2/apt/ucs_4.0-0/all/python-anyjson_0.3.1-2.4.201403121446_all.deb
/var/univention/buildsystem2/apt/ucs_4.1-0-ict-basler-schulen/all/python-anyjson_0.3.3-1.13.201707111656_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0/all/python-anyjson_0.3.3-1_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ict-basler-schulen/all/python-anyjson_0.3.3-1_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.1/maintained/component/ict-basler-schulen/all/python-anyjson_0.3.3-1.13.201707111656_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.2/maintained/component/ict-basler-schulen/all/python-anyjson_0.3.3-1_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/ucs_4.1-0-ict-basler-schulen/all/python-anyjson_0.3.3-1.13.201707111656_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/ucs_4.2-0-ict-basler-schulen/all/python-anyjson_0.3.3-1_all.deb
/mnt/omar/vmwares/mirror/ftp/4.0/unmaintained/4.0-0/all/python-anyjson_0.3.1-2.4.201403121446_all.deb
/mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/all/python-anyjson_0.3.3-1_all.deb
→ OK

python-billiard 3.3.0.18-2
/var/univention/buildsystem2/apt/ucs_4.2-0/amd64/python-billiard_3.3.0.18-2_amd64.deb
/var/univention/buildsystem2/apt/ucs_4.2-0/i386/python-billiard_3.3.0.18-2_i386.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ict-basler-schulen/amd64/python-billiard_3.3.0.18-2_amd64.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ict-basler-schulen/i386/python-billiard_3.3.0.18-2_i386.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ucs-school-4.2/amd64/python-billiard_3.3.0.23-2A~4.2.0.201707200330_amd64.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ucs-school-4.2/i386/python-billiard_3.3.0.23-2A~4.2.0.201707200330_i386.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20171030123901/amd64/python-billiard_3.3.0.18-2_amd64.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20171030123901/i386/python-billiard_3.3.0.18-2_i386.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.2/maintained/component/ict-basler-schulen/amd64/python-billiard_3.3.0.18-2_amd64.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.2/maintained/component/ict-basler-schulen/i386/python-billiard_3.3.0.18-2_i386.deb
/mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/amd64/python-billiard_3.3.0.18-2_amd64.deb
/mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/i386/python-billiard_3.3.0.18-2_i386.deb
→ OK

python-celery 3.1.13-3
/var/univention/buildsystem2/apt/ucs_4.2-0/all/python-celery_3.1.13-3_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ict-basler-schulen/all/python-celery_3.1.13-3_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ucs-school-4.2/all/python-celery_3.1.23-7A~4.2.0.201707200332_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20171030123901/all/python-celery_3.1.13-3_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.2/maintained/component/ict-basler-schulen/all/python-celery_3.1.13-3_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/ucs_4.2-0-ict-basler-schulen/all/python-celery_3.1.13-3_all.deb
/mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/all/python-celery_3.1.13-3_all.deb
→ REOPEN, scope ucs-school-4.2 contains version 3.1.23-7 and app center contains 3.1.13-3
→ Which version is required? Why has a newer version of python-celeryd/celery been build in UCS@school scope?

python-celery-common 3.1.13-3
/var/univention/buildsystem2/apt/ucs_4.2-0/all/python-celery-common_3.1.13-3_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ict-basler-schulen/all/python-celery-common_3.1.13-3_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ucs-school-4.2/all/python-celery-common_3.1.23-7A~4.2.0.201707200332_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20171030123901/all/python-celery-common_3.1.13-3_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.2/maintained/component/ict-basler-schulen/all/python-celery-common_3.1.13-3_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/ucs_4.2-0-ict-basler-schulen/all/python-celery-common_3.1.13-3_all.deb
/mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/all/python-celery-common_3.1.13-3_all.deb
→ REOPEN, scope ucs-school-4.2 contains version 3.1.23-7 and app center contains 3.1.13-3
→ Which version is required? Why has a newer version of python-celeryd/celery been build in UCS@school scope?

python-django 1.8.18-1
/var/univention/buildsystem2/apt/ucs_4.2-0/all/python-django_1.7.11-1+deb8u1_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ucs-school-4.2/all/python-django_1.8.18-1~bpo8+1A~4.2.0.201707191840_all.deb
/var/univention/buildsystem2/apt/ucs_4.3-0/all/python-django_1.10.7-2_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20170831124759/all/python-django_1.8.18-1~bpo8+1A~4.2.0.201707191840_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20171030123901/all/python-django_1.8.18-1~bpo8+1A~4.2.0.201707191840_all.deb
/mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/all/python-django_1.7.11-1+deb8u1_all.deb
→ OK
→ WARNING: might break projects on UCS 4.2 that rely on version 1.7.11-1 if installed together with UCS@school

python-django-celery 3.1.16-1
/var/univention/buildsystem2/apt/ucs_4.0-0/all/python-django-celery_2.5.5-2.2.201403200532_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0/all/python-django-celery_3.1.16-1_all.deb
/mnt/omar/vmwares/mirror/ftp/4.0/unmaintained/4.0-0/all/python-django-celery_2.5.5-2.2.201403200532_all.deb
/mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/all/python-django-celery_3.1.16-1_all.deb
→ OK

python-django-common 1.8.18-1
/var/univention/buildsystem2/apt/ucs_4.2-0/all/python-django-common_1.7.11-1+deb8u1_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ucs-school-4.2/all/python-django-common_1.8.18-1~bpo8+1A~4.2.0.201707191840_all.deb
/var/univention/buildsystem2/apt/ucs_4.3-0/all/python-django-common_1.10.7-2_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20170831124759/all/python-django-common_1.8.18-1~bpo8+1A~4.2.0.201707191840_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20171030123901/all/python-django-common_1.8.18-1~bpo8+1A~4.2.0.201707191840_all.deb
/mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/all/python-django-common_1.7.11-1+deb8u1_all.deb
→ OK
→ WARNING: might break projects on UCS 4.2 that rely on version 1.7.11-1 if installed together with UCS@school

python-django-filter 1.0.1-1
/var/univention/buildsystem2/apt/ucs_4.2-0/all/python-django-filter_0.7-4_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ucs-school-4.2/all/python-django-filter_1.0.1-1_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20170831124759/all/python-django-filter_1.0.1-1_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20171030123901/all/python-django-filter_1.0.1-1_all.deb
/mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/all/python-django-filter_0.7-4_all.deb
→ OK
→ WARNING: might break projects on UCS 4.2 that rely on version 0.7 if installed together with UCS@school

python-django-pam 1.2.0-1
/var/univention/buildsystem2/apt/ucs_4.2-0-ucs-school-4.2/all/python-django-pam_1.2.0-1_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20170831124759/all/python-django-pam_1.2.0-1_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20171030123901/all/python-django-pam_1.2.0-1_all.deb
→ OK

python-djangorestframework 3.4.0-2A
/var/univention/buildsystem2/apt/ucs_4.2-0/all/python-djangorestframework_2.4.3-2_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ucs-school-4.2/all/python-djangorestframework_3.4.0-2A~4.2.0.201707182016_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20170831124759/all/python-djangorestframework_3.4.0-2A~4.2.0.201707182016_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20171030123901/all/python-djangorestframework_3.4.0-2A~4.2.0.201707182016_all.deb
/mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/all/python-djangorestframework_2.4.3-2_all.deb
→ OK
→ WARNING: might break projects on UCS 4.2 that rely on version 2.4.3-2 if installed together with UCS@school

python-kombu 3.0.35-1.1
/var/univention/buildsystem2/apt/ucs_4.0-0/all/python-kombu_2.1.8-1.2.201403231946_all.deb
/var/univention/buildsystem2/apt/ucs_4.1-0-ict-basler-schulen/all/python-kombu_3.0.19-2.17.201707111143_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0/all/python-kombu_3.0.21-2_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ict-basler-schulen/all/python-kombu_3.0.21-2_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ucs-school-4.2/all/python-kombu_3.0.35-1.1-bpo8+1_all.deb
/var/univention/buildsystem2/apt/ucs_4.3-0/all/python-kombu_3.0.35-1.1_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.1/maintained/component/ict-basler-schulen/all/python-kombu_3.0.19-2.17.201707111143_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.2/maintained/component/ict-basler-schulen/all/python-kombu_3.0.21-2_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/ucs_4.1-0-ict-basler-schulen/all/python-kombu_3.0.19-2.17.201707111143_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/ucs_4.2-0-ict-basler-schulen/all/python-kombu_3.0.21-2_all.deb
/mnt/omar/vmwares/mirror/ftp/4.0/unmaintained/4.0-0/all/python-kombu_2.1.8-1.2.201403231946_all.deb
/mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/all/python-kombu_3.0.21-2_all.deb
→ OK
→ WARNING: might break projects on UCS 4.2 that rely on version 3.0.21-2 if installed together with UCS@school

python-mailer 0.7-1.4.201403130738
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.1/maintained/component/ict-basler-schulen/all/python-mailer_0.5-1.11.201707111144_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.2/maintained/component/ict-basler-schulen/all/python-mailer_0.7-1.4.201403130738_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/ucs_4.1-0-ict-basler-schulen/all/python-mailer_0.5-1.11.201707111144_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/ucs_4.2-0-ict-basler-schulen/all/python-mailer_0.7-1.4.201403130738_all.deb
/mnt/omar/vmwares/mirror/ftp/4.0/unmaintained/4.0-0/all/python-mailer_0.7-1.4.201403130738_all.deb
→ OK

python-pampy 1.8.2-1A
/var/univention/buildsystem2/apt/ucs_4.2-0/all/python-pampy_0.1.4-1_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ucs-school-4.2/all/python-pampy_1.8.2-1A~4.2.0.201707211319_all.deb
/var/univention/buildsystem2/apt/ucs_4.3-0/all/python-pampy_1.8.2-1+deb9u1_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20170831124759/all/python-pampy_1.8.2-1A~4.2.0.201707211319_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20171030123901/all/python-pampy_1.8.2-1A~4.2.0.201707211319_all.deb
/mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/all/python-pampy_0.1.4-1_all.deb
→ OK
→ WARNING: might break projects on UCS 4.2 that rely on version 0.1.4-1 if installed together with UCS@school

rabbitmq-server 3.3.5-1.1+deb8u1
/var/univention/buildsystem2/apt/ucs_4.0-0/all/rabbitmq-server_2.8.4-1.4.201403151629_all.deb
/var/univention/buildsystem2/apt/ucs_4.1-0-ict-basler-schulen/all/rabbitmq-server_3.3.5-1.12.201707111146_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0/all/rabbitmq-server_3.3.5-1.1+deb8u1_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ict-basler-schulen/all/rabbitmq-server_3.3.5-1.1+deb8u1_all.deb
/var/univention/buildsystem2/apt/ucs_4.3-0/all/rabbitmq-server_3.6.6-1_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20171030123901/all/rabbitmq-server_3.3.5-1.1+deb8u1_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.1/maintained/component/ict-basler-schulen/all/rabbitmq-server_3.3.5-1.12.201707111146_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.2/maintained/component/ict-basler-schulen/all/rabbitmq-server_3.3.5-1.1+deb8u1_all.deb
/mnt/omar/vmwares/mirror/ftp/4.0/unmaintained/4.0-0/all/rabbitmq-server_2.8.4-1.4.201403151629_all.deb
/mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/all/rabbitmq-server_3.3.5-1.1+deb8u1_all.deb
→ OK

univention-celery 1.0.0-3A
/var/univention/buildsystem2/apt/ucs_4.2-0-errata4.2-1/all/univention-celery_1.0.0-2A~4.2.0.201709060749_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-errata4.2-2/all/univention-celery_1.0.0-3A~4.2.0.201709060754_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ict-basler-schulen/all/univention-celery_1.0.0-3A~4.2.0.201709060754_all.deb
/var/univention/buildsystem2/apt/ucs_4.2-0-ucs-school-4.2/all/univention-celery_1.0.0-2A~4.2.0.201707182051_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20170831124759/all/univention-celery_1.0.0-2A~4.2.0.201707182051_all.deb
/mnt/omar/vmwares/mirror/appcenter.test/univention-repository/4.2/maintained/component/ucsschool_20171030123901/all/univention-celery_1.0.0-3A~4.2.0.201709060754_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.1/maintained/component/ict-basler-schulen/all/univention-celery_0.0.3.3.201707182050_all.deb
/mnt/omar/vmwares/mirror/bitz150/apt/09801/4.2/maintained/component/ict-basler-schulen/all/univention-celery_1.0.0-3A~4.2.0.201709060754_all.deb
→ OK
Comment 7 Daniel Tröder univentionstaff 2017-11-09 09:06:32 CET
The problem with some versions is, that they are incompatible with each other or lack features or have security problems. That is why in the control file some specific versions are demanded.

Versions:

     Package    | control  |    jessie      |    jessie-BP    | stretch  | buster
----------------+----------+----------------+-----------------+----------+----------
celeryd         |          | 3.1.13-3       |                 | 3.1.23-7
gunicorn        |>=19.0-1  | 19.0-1         |19.6.0-2~bpo8+1  | 19.6.0-10
p-amqp          |          | 1.0.2-1        |                 | 1.0.2-1
p-anyjson       |          | 0.3.3-1        |                 | 0.3.3-1
p-billiard      |          | 3.3.0.23-2     |                 | 3.5.0.3-1
p-django        |>=1.8     | 1.7.11-1+deb8u2|1.8.18-1~bpo8+1  | 1:1.10.7-2
p-django-celery |>=3.1.16-1| 3.1.16-1       |                 | 3.1.17-4
p-django-filter |>=1.0.1-1 | 0.7-4          |                 | 0.13.0-1 | 1.0.4-2
p-django-pam    |>=1.2.0-1 |     ---- from pypi using stdeb -----
p-djangorestfra |>= 3.4.0-2| 2.4.3-2        |                 | 3.4.0-2
p-kombu         |          | 3.0.21-2       |3.0.35-1.1~bpo8+1| 3.0.35-1.1
p-mailer        |          | 0.7-1          |                 | 0.8.1-2
p-pampy         |>=1.8.2-1 | 0.1.4-1        |                 | 1.8.2-1+deb9u1
rabbitmq-server |          | 3.3.5-1.1+deb8u1                 | 3.6.6-1
Comment 8 Sönke Schwardt-Krummrich univentionstaff 2017-11-15 12:47:05 CET
(In reply to Sönke Schwardt-Krummrich from comment #6)
> celeryd 3.1.13-3
[...]
> /mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/all/celeryd_3.1.13-3_all.
> deb
> → REOPEN, scope ucs-school-4.2 contains version 3.1.23-7 and app center
> contains 3.1.13-3
> → Which version is required? Why has a newer version of
> celeryd/python-celery been build in UCS@school scope?

→ 3.1.13 was sufficient during QA. 3.1.23 should be replaced by 3.1.13 in UCS@school scope.

> python-amqp 1.4.9-1
> /var/univention/buildsystem2/apt/ucs_4.1-0-ict-basler-schulen/all/python-
> amqp_1.4.5-1.15.201707111656_all.deb
> /var/univention/buildsystem2/apt/ucs_4.2-0/all/python-amqp_1.4.5-2_all.deb
> /var/univention/buildsystem2/apt/ucs_4.2-0-ict-basler-schulen/all/python-
> amqp_1.4.5-2_all.deb
> /var/univention/buildsystem2/apt/ucs_4.2-0-ucs-school-4.2/all/python-amqp_1.
> 4.9-1-bpo8+1_all.deb
> /var/univention/buildsystem2/apt/ucs_4.3-0/all/python-amqp_1.4.9-1_all.deb
> /mnt/omar/vmwares/mirror/bitz150/apt/09801/4.1/maintained/component/ict-
> basler-schulen/all/python-amqp_1.4.5-1.15.201707111656_all.deb
> /mnt/omar/vmwares/mirror/bitz150/apt/09801/4.2/maintained/component/ict-
> basler-schulen/all/python-amqp_1.4.5-2_all.deb
> /mnt/omar/vmwares/mirror/bitz150/apt/09801/ucs_4.1-0-ict-basler-schulen/all/
> python-amqp_1.4.5-1.15.201707111656_all.deb
> /mnt/omar/vmwares/mirror/bitz150/apt/09801/ucs_4.2-0-ict-basler-schulen/all/
> python-amqp_1.4.5-2_all.deb
> /mnt/omar/vmwares/mirror/ftp/4.2/unmaintained/4.2-0/all/python-amqp_1.4.5-
> 2_all.deb
> → WARNING → Questions:
> 1) Do other projects/apps/UCS components use python-amqp?
> 2) Is python-amqp 1.4.9-1 backward compatible with 1.4.5-2? It might be
> problematic for ICT Basel (OX+UCS@school!).
> → REOPEN → FAIL, pkg version in UCS 4.3 is smaller than the version in UCS
> 4.2-ucsschool
> → use "~bpo8+1" instead of "-bpo8+1" ?
> $ dpkg --compare-versions 1.4.9-1~bpo8+1 gt 1.4.9-1 && echo "YES" || echo
> "NO"
> NO
> $ dpkg --compare-versions 1.4.9-1-bpo8+1 gt 1.4.9-1 && echo "YES" || echo
> "NO"
> YES
> $

→ To be analysed

> python-celery 3.1.13-3
[...]
> → REOPEN, scope ucs-school-4.2 contains version 3.1.23-7 and app center
> contains 3.1.13-3
> → Which version is required? Why has a newer version of
> python-celeryd/celery been build in UCS@school scope?

→ 3.1.13 was sufficient during QA. 3.1.23 should be replaced by 3.1.13 in UCS@school scope.


> python-celery-common 3.1.13-3
[...]
> → REOPEN, scope ucs-school-4.2 contains version 3.1.23-7 and app center
> contains 3.1.13-3
> → Which version is required? Why has a newer version of
> python-celeryd/celery been build in UCS@school scope?

3.1.13 was sufficient during QA. 3.1.23 should be replaced by 3.1.13 in UCS@school scope.
Comment 9 Daniel Tröder univentionstaff 2017-11-15 13:07:40 CET
When installed after installing univention-celery from Bug #45030 the list of packages not in UCS 4.2 (incl. unmaintained) is narrowed down to:

 python-django (>=1.8)                    → jessie-BP
 python-djangorestframework (>= 3.4.0-2)  → stretch
 python-django-filter (>=1.0.1-1)         → buster
 python-django-pam (>=1.2.0-1)            → pypi
Comment 10 Daniel Tröder univentionstaff 2017-11-22 14:31:27 CET
The ucsschool repository has been cleaned up.
The distributions the packages that remain are from:

jessie    python-billiard (3.3.0.18-2 192.168.0.10 [amd64])
jessie    python-celery-common (3.1.13-3 192.168.0.10 [all])
jessie    python-amqp (1.4.5-2 192.168.0.10 [all])
jessie    python-anyjson (0.3.3-1 192.168.0.10 [all])
jessie    python-kombu (3.0.21-2 192.168.0.10 [all])
jessie    python-mailer (0.7-1.4.201403130738 [all])
jessie    python-pyparsing (2.0.3+dfsg1-1 [all])
jessie    python-celery (3.1.13-3 192.168.0.10 [all])
jessie    celeryd (3.1.13-3 192.168.0.10 [all])
jessie    gunicorn (19.0-1 192.168.0.10 [all])
jessie-BP python-django-common (1.8.18-1~bpo8+1A~4.2.0.201707191840 [all])
jessie-BP python-django (1.8.18-1~bpo8+1A~4.2.0.201707191840 [all])
jessie    python-django-celery (3.1.16-1 192.168.0.10 [all])
pypi      python-django-filter (1.0.1-1 192.168.0.10 [all])
stretch   python-django-guardian (1.4.4-1A~4.2.0.201707182013 [all])
pypi      python-django-pam (1.2.0-1 [all])
stretch   python-djangorestframework (3.4.0-2A~4.2.0.201707182016 [all])
stretch   python-pampy (1.8.2-1A~4.2.0.201707211319 [all])
jessie    rabbitmq-server (3.3.5-1.1+deb8u1 [all])

All dependencies not in UCS 4.x-0 have been uploaded into the test-appcenter repository ucsschool_20171030123901 (aka '4.2/ucsschool=4.2 aaa MVP v6 DO NOT RELEASE').
Comment 11 Sönke Schwardt-Krummrich univentionstaff 2017-12-09 01:49:14 CET
(In reply to Daniel Tröder from comment #10)
> The ucsschool repository has been cleaned up.
> The distributions the packages that remain are from:
> 
> jessie    python-billiard (3.3.0.18-2 192.168.0.10 [amd64])
> jessie    python-celery-common (3.1.13-3 192.168.0.10 [all])
> jessie    python-amqp (1.4.5-2 192.168.0.10 [all])
> jessie    python-anyjson (0.3.3-1 192.168.0.10 [all])
> jessie    python-kombu (3.0.21-2 192.168.0.10 [all])
> jessie    python-mailer (0.7-1.4.201403130738 [all])
> jessie    python-pyparsing (2.0.3+dfsg1-1 [all])
> jessie    python-celery (3.1.13-3 192.168.0.10 [all])
> jessie    celeryd (3.1.13-3 192.168.0.10 [all])
> jessie    gunicorn (19.0-1 192.168.0.10 [all])
> jessie-BP python-django-common (1.8.18-1~bpo8+1A~4.2.0.201707191840 [all])
> jessie-BP python-django (1.8.18-1~bpo8+1A~4.2.0.201707191840 [all])
> jessie    python-django-celery (3.1.16-1 192.168.0.10 [all])
> pypi      python-django-filter (1.0.1-1 192.168.0.10 [all])

OK

> stretch   python-django-guardian (1.4.4-1A~4.2.0.201707182013 [all])

Where does this package come from? Where has it been built?
I cannot find it in our build scopes.
→ REOPEN

> pypi      python-django-pam (1.2.0-1 [all])
> stretch   python-djangorestframework (3.4.0-2A~4.2.0.201707182016 [all])
> stretch   python-pampy (1.8.2-1A~4.2.0.201707211319 [all])
> jessie    rabbitmq-server (3.3.5-1.1+deb8u1 [all])

OK

> All dependencies not in UCS 4.x-0 have been uploaded into the test-appcenter
> repository ucsschool_20171030123901 (aka '4.2/ucsschool=4.2 aaa MVP v6 DO
> NOT RELEASE').

OK, installation of ucs-school-import-http-api with this specific app version works without problems on my UCS@school master.
Comment 12 Daniel Tröder univentionstaff 2017-12-11 13:39:02 CET
(In reply to Sönke Schwardt-Krummrich from comment #11)
> (In reply to Daniel Tröder from comment #10)
> > stretch   python-django-guardian (1.4.4-1A~4.2.0.201707182013 [all])
> 
> Where does this package come from? Where has it been built?
> I cannot find it in our build scopes.
> → REOPEN
This must have been a victim of the cleanup...

To rebuild it, several Python3 packages were missing, so they had been rebuilt too:

Package: python-django
Version: 1.8.18-1~bpo8+1A~4.2.0.201712111108

Package: pytest-runner
Version: 2.7.1-1A~4.2.0.201712111242

Package: pytest-django
Version: 2.9.1-3A~4.2.0.201712111244

Package: python-imagesize
Version: 0.7.1-1A~4.2.0.201712111246

Package: pygments
Version: 2.2.0+dfsg-1A~4.2.0.201712111248

Package: alabaster
Version: 0.7.8-1A~4.2.0.201712111250

Package: sphinx
Version: 1.4.9-2A~4.2.0.201712111252

Package: django-environ
Version: 0.4.0-2A~4.2.0.201712111305

Package: django-guardian
Version: 1.4.4-1A~4.2.0.201712111307

And then uploaded to the appcenter.
Comment 13 Sönke Schwardt-Krummrich univentionstaff 2017-12-12 00:57:56 CET
Retested: installation of ucs-school-import-http-api with this specific app version works without problems on my UCS@school master.
→ VERIFIED
Comment 14 Sönke Schwardt-Krummrich univentionstaff 2017-12-21 12:23:02 CET
UCS@school 4.2 v6 has been released.

http://docs.software-univention.de/changelog-ucsschool-4.2v6-de.html

If this error occurs again, please clone this bug.