Skip to content

Tests 2056 and 2057 failing on macOS #2394

Closed

Description

@jakirkham

When building curl 7.58.0 on macOS 10.10 using Xcode 6.4, seeing tests 2056 and 2057 fail. Details can be found in this build log (linked to failing lines). Can confirm that these failures also occur on macOS 10.11 with Xcode 7.3.1. Also can confirm the issue persists in 7.59.0.

Activity

  1. jakirkham commented on Mar 16, 2018

    @jakirkham
    Author

    Unclear as to whether this comment is relevant.

  2. stale commented on Sep 12, 2018

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  3. jakirkham commented on Sep 13, 2018

    @jakirkham
    Author

    AFAIK this issue remains unresolved.

  4. bagder commented on Sep 13, 2018

    @bagder
    Member

    But nobody seems to work on it, why this is silent and the bot marked it as stale. Bugs that don't "move" will get closed eventually and will instead get added to the KNOWN_BUGS document.

  5. danielgustafsson commented on Sep 13, 2018

    @danielgustafsson
    Contributor

    Is it possible to get error logs and not just the FAILED` lines? I only have access to 10.13 but I can try and reproduce once I know what I'm looking for.

  6. jakirkham commented on Sep 13, 2018

    @jakirkham
    Author

    Ah! Was not aware there was a known bugs doc. Is that in this repo or somewhere else? Also would be great if the bot shared this info when posting as well.

    The log is linked in the OP. It selects specific lines, but you are free to move around in the log as well as remove the selection. Please let me know if you have more questions.

  7. danielgustafsson commented on Sep 13, 2018

    @danielgustafsson
    Contributor

    The buildlog is there yes, but I would like to see the actual logfiles/output from the failing tests.

  8. bagder commented on Sep 14, 2018

    @bagder
    Member

    would be great if the bot shared this info when posting as well.

    It is mentioned in the "new issue" template. It was in that text you just skipped over =)

  9. jakirkham commented on Sep 15, 2018

    @jakirkham
    Author

    Hmm...I may have read it 6 months ago and forgot. :) In any event, would still be nice to have the bot mention it. ;)

  10. jakirkham commented on Sep 15, 2018

    @jakirkham
    Author

    @danielgustafsson, not sure I'm following. Can you please tell me how to get the additional information you need? We may need to try a new build to get at it. Happy to update the build to cat whatever files might be useful into the log.

  11. added a commit that references this issue on Oct 6, 2018
    5463cc6
  12. danielgustafsson commented on Oct 6, 2018

    @danielgustafsson
    Contributor

    I took a look at this today, and the reason why the tests are failing on macOS is that they depend on LD_PRELOAD, which doesn't work on macOS. There is actually code in runtests.pl to properly skip the tests in this case, but that codepath has a bug which doesn't exclude macOS from LD_PRELOAD and thus you are seeing this error. A fix proposed in #3106.

    A longer term fix is to make this portable such that it uses DYLD_INSERT_LIBRARIES on macOS, but some quick testing shows that it's not as simple as the below diff so I'll add this to the TODO for now.

    -LD_PRELOAD=%PWD/libtest/.libs/libstubgss.so
    +DYLD_FORCE_FLAT_NAMESPACE=1
    +DYLD_INSERT_LIBRARIES=%PWD/libtest/.libs/libstubgss.dylib
    
  13. locked as resolved and limited conversation to collaborators on Jan 5, 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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions