Skip to content

Package files are sometimes truncated #795

@ararslan

Description

@ararslan

Often we (Invenia) have run into an issue where, when installing packages on 0.7 and 1.0, random files in a particular package will be truncated in random places. Most often we've seen this with AWSSDK, which has a lot of very large files, though the issue is not limited to that package. We noticed this because we've gotten an error on using AWSSDK that reports that, for example, a docstring or module is unterminated.

Some data points:

  • When we set the default concurrency in Context to 1 instead of 8, the problem disappears.

  • We know that the files are intact after the tarballs are extracted.

  • When we replace the mv from the extracted tarball location to the package tree location with Julia's cp, the problem persists, but if we replace it with a run(`cp ...`), the problem goes away.

  • We have only observed this on Debian Stretch runners on our internal GitLab CI, on both 32- and 64-bit systems, but more often on 32-bit. We have not seen it on our Mac CI or on Amazon Linux.

  • We've seen one instance of it happening locally to @rofinn on Elementary OS (based on Ubuntu which is in turn based on Debian) when installing GitHub.jl.

  • The @asyncs in apply_versions are never @synced, and the Channels are never closed.

  • We use multiple registries: the public General registry and a private one for internal packages.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions