• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

os-autoinst / openQA / 3512
100%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2016 04:46AM UTC
Jobs 1
Files 102
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3512

push

travis-ci

coolo
Rejig compressed asset download, don't leave compressed files (#955)

There's two problems with the current compressed asset download
code:

1) The compressed files will never be cleaned up
2) Specifying FOO and FOO_DECOMPRESS_URL will not work

1) is because the compressed file is download to the asset
directory then uncompressed and left there; because the
compressed file itself will never be a job asset, the asset
cleanup code will never clean it up.

2) is because the current compressed asset download code always
uncompresses the compressed file to the same file name with the
final extension removed, even if you passed in a completely
different file name as the FOO parameter. In this situation,
we should uncompress the downloaded data to the name given as
FOO in the appropriate path.

This should fix both problems. Instead of passing the path for
the compressed file from `schedule_iso` to `download_asset` and
then having `download_asset` decide the final uncompressed file
name, we always pass the ultimately desired asset path, the
download URL, and the uncompress flag from `schedule_iso` to
`download_asset`. If decompression is requested, the downloaded
data is moved into a temporary file first and then uncompressed
to the requested final asset path and the temp file removed. If
not, the downloaded data is directly moved to the requested
final asset path.

We also extend the `schedule_iso` testing a bit to cover these
situations (and do stricter checking of some existing ones).

4547 of 6287 relevant lines covered (72.32%)

109.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3512.1 22 Oct 2016 04:46AM UTC 0
72.32
Travis Job 3512.1
Source Files on build 3512
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3512
  • deaad166 on github
  • Prev Build on master (#3509)
  • Next Build on master (#3513)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc