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

PulpQE / pulp-smash / 612
63%

Build:
DEFAULT BRANCH: master
Ran 19 May 2016 05:02PM UTC
Jobs 4
Files 6
Run time 52s
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
612

push

travis-ci

Ichimonji10
Fix permissions in directory export tests

Consider this series of commands:

    d="$(mktemp --directory)"
    setfacl -m user:apache:rwx "${d}"  # let apache user rwx in dir
    sudo -u apache install -D /dev/null "${d}/foo/bar"
    sha256sum "${d}/foo/bar"

In this scenario, `${d}/foo/` is owned by apache, which means that the
current user doesn't have permissions necessary to read `${d}/foo/bar`.

A similar issue is encountered by
`ExportDistributorTestCase.test_export_to_dir`. This test creates a
directory on the target Pulp server and asks Pulp to export a repository
to this directory. The "apache" user writes files into this directory,
meaning that the user executing this test may not have permissions
necessary for manipulating the exported files.

Fix this issue.

As an aside, fixing this issue *and* removing the logic related to Pulp
issue 1928, as added by f06d5fcde, causes
`test_export_to_web` to start failing again, indicating that Pulp issue
1928 is valid.

357 of 508 relevant lines covered (70.28%)

2.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 612.1 19 May 2016 05:02PM UTC 0
70.28
Travis Job 612.1
2 612.2 19 May 2016 05:03PM UTC 0
70.28
Travis Job 612.2
3 612.3 19 May 2016 05:02PM UTC 0
70.28
Travis Job 612.3
4 612.4 19 May 2016 05:03PM UTC 0
70.28
Travis Job 612.4
Source Files on build 612
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #612
  • 915ba1ce on github
  • Prev Build on master (#590)
  • Next Build on master (#615)
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