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

os-autoinst / openQA / 3512 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2016 04:46AM UTC
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

22 Oct 2016 04:32AM UTC coverage: 72.324% (-0.007%) from 72.331%
3512.1

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

Source Files on job 3512.1
  • Tree
  • List 0
  • Changed 16
  • Source Changed 2
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3512
  • Travis Job 3512.1
  • deaad166 on github
  • Prev Job for on master (#3509.1)
  • Next Job for on master (#3513.1)
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