question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

☂️✅ Green CI: Re-enabling disabled tests

See original GitHub issue

We have a handful of tests that have been disabled on Circle CI over the years. It’s time to get these back up and running so we can merge PRs and cut new releases with confidence.

This is an umbrella task intended to track all the work necessary to re-enable these tests. This issue is being kept up to date so new items will be added and completed ones will be (re)moved. Some of the items will spawn separate issues to track work. If you don’t see a name assigned to any of the below items and you would like to help out, please volunteer in the comments and reach out to me to get started!

What needs to be re-enabled?

These tests are configured as aliases in the Circle CI config. I’m happy to help with the Circle CI side of things, but for now you can focus on making sure the command/script (e.g. ./scripts/run-ci-e2e-tests.js --ios) succeeds locally.

Circle CI Job Test Name Test Script Fix?
test_android Android e2e node ./scripts/run-ci-e2e-tests.js --android
test_ios iOS e2e node ./scripts/run-ci-e2e-tests.js --ios
test_js JS e2e node ./scripts/run-ci-e2e-tests.js --js https://github.com/facebook/react-native/pull/28392
test_ios Podspecs ./scripts/process-podspecs.sh

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:11
  • Comments:24 (18 by maintainers)

github_iconTop GitHub Comments

3reactions
timkuilmancommented, Apr 1, 2020

iOS end-to-end tests

These run as part of the test_ios job, and are disabled by default. To run them, edit .circleci/config.yml and set run_disabled_tests to true under the test_ios workflow at the end of the file (pending #28392 getting merged):

workflows:
  version: 2

  tests:
    jobs:
...
      - test_ios:
          run_disabled_tests: true
          requires:
            - setup_ios

Why it’s failing

react-native $ node ./scripts/run-ci-e2e-tests.js --ios
...
▸ Building Pods/Flipper [Debug]
▸ Check Dependencies
▸ Building Pods/FlipperKit [Debug]
▸ Check Dependencies
▸ Building Pods/Pods-HelloWorld [Debug]
▸ Check Dependencies
▸ Building Pods/Pods-HelloWorld-HelloWorldTests [Debug]
▸ Check Dependencies
▸ Building HelloWorld/HelloWorld [Debug]
▸ Check Dependencies
▸ Running script 'Start Packager'
▸ Linking HelloWorld
⚠️  ld: directory not found for option '-L-L/Users/distiller/Library/Developer/Xcode/DerivedData/HelloWorld-ddyeadlplgsjokalhojpfxozuuyp/Build/Products/Debug-iphonesimulator/CocoaAsyncSocket'

❌  ld: library not found for -lCocoaAsyncSocket



❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)


Testing failed:
	HelloWorld:
		Linker command failed with exit code 1 (use -v to see invocation)
	Testing cancelled because the build failed.

After upgrading a project with version 0.61.2 to 0.62.0 building the app fails with the same error.

3reactions
casperboonecommented, Mar 11, 2019

Working on fixing the android e2e tests! Once I’ve made some (more) progress, I’ll give an update 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disabling failing tests in CI if they discover known bugs
Do not disable the tests, which fail because of known bugs. I would suggest to group the failing tests and run them in...
Read more >
proposal: a flag for enabling disabled tests - Google Groups
to Google C++ Testing Framework, e. roman. Hi,. Google Test allows you to temporarily disable a test function by prepending DISABLED_ to its...
Read more >
try: changeset 4715984 ... - Mercurial - Mozilla
|appveyor| image:: https://img.shields.io/appveyor/ci/Rockhopper- ... blue = rgb # pylint: disable=unbalanced-tuple-unpacking + x_val = red * 0.4124 + green ...
Read more >
Cffdoi Green and More Blue Beach Accoutrement Large Beach ...
30859円Cffdoi Green and More Blue Beach Accoutrement Large Beach Camping Picnic ... Review,✓ Top 5: Best Picnic Blanket 2022 [Tested \u0026 Reviewed],Great ...
Read more >
On Disabling Tests - Jake Worth
I want to talk about a common technique: disabling problematic ... but there's one red test blocking a green suite, and thus our...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found