Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Many tests fail when Atom is built/run under a symlink #320

Closed

Description

@aroben

The new Mac Janky server builds everything under /var/lib/jenkins. On Mac's, /var is a symlink to /private/var. This leads to many test failures, such as:

Project .resolve(path) returns an absolute path based on the project's root.
----------------------------------------------------------------------------
Error: Expected '/var/lib/jenkins/workspace/github-atom-63d296ded8a9b9f9042df3b06215fe7c/spec/fixtures/dir/a' to be '/private/var/lib/jenkins/workspace/github-atom-63d296ded8a9b9f9042df3b06215fe7c/spec/fixtures/dir/a'.
    at new jasmine.ExpectationResult (/private/var/lib/jenkins/workspace/github-atom-63d296ded8a9b9f9042df3b06215fe7c/vendor/jasmine.js:120:32)
    at eval (/private/var/lib/jenkins/workspace/github-atom-63d296ded8a9b9f9042df3b06215fe7c/vendor/jasmine.js:1241:29)
    at eval (/private/var/lib/jenkins/workspace/github-atom-63d296ded8a9b9f9042df3b06215fe7c/spec/app/project-spec.coffee:104:50)
    at jasmine.Block.execute (/private/var/lib/jenkins/workspace/github-atom-63d296ded8a9b9f9042df3b06215fe7c/vendor/jasmine.js:1070:17)
    at jasmine.Queue.next_ (/private/var/lib/jenkins/workspace/github-atom-63d296ded8a9b9f9042df3b06215fe7c/vendor/jasmine.js:2102:31)
    at jasmine.Queue.start (/private/var/lib/jenkins/workspace/github-atom-63d296ded8a9b9f9042df3b06215fe7c/vendor/jasmine.js:2055:8)
    at jasmine.Spec.execute (/private/var/lib/jenkins/workspace/github-atom-63d296ded8a9b9f9042df3b06215fe7c/vendor/jasmine.js:2382:14)
    at jasmine.Queue.next_ (/private/var/lib/jenkins/workspace/github-atom-63d296ded8a9b9f9042df3b06215fe7c/vendor/jasmine.js:2102:31)
    at jasmine.Queue.start (/private/var/lib/jenkins/workspace/github-atom-63d296ded8a9b9f9042df3b06215fe7c/vendor/jasmine.js:2055:8)
    at jasmine.Suite.execute (/private/var/lib/jenkins/workspace/github-atom-63d296ded8a9b9f9042df3b06215fe7c/vendor/jasmine.js:2527:14)
    at jasmine.Queue.next_ (/private/var/lib/jenkins/workspace/github-atom-63d296ded8a9b9f9042df3b06215fe7c/vendor/jasmine.js:2102:31)
    at onComplete (/private/var/lib/jenkins/workspace/github-atom-63d296ded8a9b9f9042df3b06215fe7c/vendor/jasmine.js:2098:18)

Activity

  1. ghost assigned on Feb 28, 2013
  2. aroben commented on Feb 28, 2013

    @aroben
    ContributorAuthor

    I can easily reproduce these failures by moving my atom directory to /var/lib/atom.

  3. probablycorey commented on Mar 1, 2013

    @probablycorey

    @aroben did you fix this on the iMac?

  4. aroben commented on Mar 1, 2013

    @aroben
    ContributorAuthor

    @probablycorey Nope. I just changed the location so it wasn't under a symlink anymore.

  5. probablycorey commented on Mar 1, 2013

    @probablycorey

    Fixed in 82bce08

  6. aroben commented on Mar 1, 2013

    @aroben
    ContributorAuthor

    🤘

  7. aroben commented on Mar 1, 2013

    @aroben
    ContributorAuthor

    Would also be interesting to know if you've fixed #329.

  8. probablycorey commented on Mar 1, 2013

    @probablycorey

    Sadly it doesn't 😢

  9. added a commit that references this issue on Jul 26, 2016
    cf09990
  10. lock commented on Jan 25, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  11. locked as resolved and limited conversation to collaborators on Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions