Daily recipe: Automatic build fails if the very previous build was manual

Bug #753573 reported by Boris Dušek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Critical
Unassigned

Bug Description

Hello,

I am using the great daily recipe build feature of Launchpad.

When I trigger a manual build, and then change to automatic daily build, and the upstream and packaging source code does not change between the manual and automatic build, then the first automatic build fails (or more precisely, what fails is the source package upload of the first source package automated build), claiming that the source tarball with this name but different contents has been already uploaded (the different contents being probably result of some gzip timestamp being different or other things).

Example log:
https://code.launchpad.net/~dusek/+archive/spd-daily/+buildjob/2427191

Note that there are 2 typical scenarios:

1. I setup a new packaging recipe on Launchpad, setup for manual builds first. I trigger a manual build to test that it builds fine. After debugging the recipe using subsequent manual builds, i.e. after it builds fine, I turn on the automatic daily build for the recipe. Within 24 hours, an automatic build is triggered and it fails (in both cases this has happened, the source code in lp branches referenced from the recipe has not changed between the last manual and first automatic build)

2. I have automatic build setup and working successfully, it has already successfully built a few new versions of the package in the automatic daily regime. Then an important fix comes out upstream that I want to test immediately, so I trigger the manual build (leaving the automatic build option turned on). The manual build finishes fine, but the next automatic build (triggered within 24 hours) fails.

Revision history for this message
Boris Dušek (dusek) wrote :

Just clarifying that in the linked example log, the error is in the "uploadlog", not the "buildlog", and that the log error contains this error message:

...
INFO Upload was rejected:
INFO File speech-dispatcher_0.8~2780+13~maverick1.tar.gz already exists in Speech Dispatcher Daily, but uploaded version has different contents. See more information about this error in https://help.launchpad.net/Packaging/UploadErrors.
INFO Files specified in DSC are broken or missing, skipping package unpack verification.
...

j.c.sackett (jcsackett)
Changed in launchpad:
status: New → Triaged
importance: Undecided → High
importance: High → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.