Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Test failure - Failing Snapshot Tests #22657

Closed
hramos opened this issue Dec 15, 2018 · 1 comment
Closed

[CI] Test failure - Failing Snapshot Tests #22657

hramos opened this issue Dec 15, 2018 · 1 comment
Labels
Help Wanted :octocat: Issues ideal for external contributors. 📮Known Issues This indicates an issue that refers to a bug or limitation of RN that is not currently being handled Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot. 🔩Test Infrastructure Test infrastructure and continuous integration.

Comments

@hramos
Copy link
Contributor

hramos commented Dec 15, 2018

Snapshot tests are failing on test_objc on Circle CI:

RNTesterIntegrationTests
  testImageSnapshotTest, failed: caught "NSInternalInconsistencyException", "Test failed"
  /Users/hramos/git/react-native/Libraries/RCTTest/RCTTestRunner.m:235
  
      RCTAssert(testModule.status != RCTTestStatusPending, @"Test didn't finish within %0.f seconds", kTestTimeoutSeconds);
      RCTAssert(testModule.status == RCTTestStatusPassed, @"Test failed");
    }
  

  testSimpleSnapshotTest, failed: caught "NSInternalInconsistencyException", "Test failed"
  /Users/hramos/git/react-native/Libraries/RCTTest/RCTTestRunner.m:235
  
      RCTAssert(testModule.status != RCTTestStatusPending, @"Test didn't finish within %0.f seconds", kTestTimeoutSeconds);
      RCTAssert(testModule.status == RCTTestStatusPassed, @"Test failed");
    }
  

  testTheTester_ExpectError, failed: caught "NSInternalInconsistencyException", "RedBox errors during bridge invalidation: (
  /Users/hramos/git/react-native/Libraries/RCTTest/RCTTestRunner.m:256
  
  }
  RCTAssert(errors == nil, @"RedBox errors during bridge invalidation: %@", errors);
  RCTAssert(batchedBridge == nil, @"Bridge should be deallocated after the test");
  

  testTimersTest, failed: caught "NSInternalInconsistencyException", "RedBox errors: (
  /Users/hramos/git/react-native/Libraries/RCTTest/RCTTestRunner.m:233
  
    } else {
      RCTAssert(errors == nil, @"RedBox errors: %@", errors);
      RCTAssert(testModule.status != RCTTestStatusPending, @"Test didn't finish within %0.f seconds", kTestTimeoutSeconds);
  

RNTesterSnapshotTests
  testARTExample, failed: caught "NSInternalInconsistencyException", "Test failed"
  /Users/hramos/git/react-native/Libraries/RCTTest/RCTTestRunner.m:235
  
      RCTAssert(testModule.status != RCTTestStatusPending, @"Test didn't finish within %0.f seconds", kTestTimeoutSeconds);
      RCTAssert(testModule.status == RCTTestStatusPassed, @"Test failed");
    }
  

  testLayoutExample, failed: caught "NSInternalInconsistencyException", "Test failed"
  /Users/hramos/git/react-native/Libraries/RCTTest/RCTTestRunner.m:235
  
      RCTAssert(testModule.status != RCTTestStatusPending, @"Test didn't finish within %0.f seconds", kTestTimeoutSeconds);
      RCTAssert(testModule.status == RCTTestStatusPassed, @"Test failed");
    }
  

  testScrollViewExample, failed: caught "NSInternalInconsistencyException", "Test failed"
  /Users/hramos/git/react-native/Libraries/RCTTest/RCTTestRunner.m:235
  
      RCTAssert(testModule.status != RCTTestStatusPending, @"Test didn't finish within %0.f seconds", kTestTimeoutSeconds);
      RCTAssert(testModule.status == RCTTestStatusPassed, @"Test failed");
    }
  

  testSliderExample, failed: caught "NSInternalInconsistencyException", "Test failed"
  /Users/hramos/git/react-native/Libraries/RCTTest/RCTTestRunner.m:235
  
      RCTAssert(testModule.status != RCTTestStatusPending, @"Test didn't finish within %0.f seconds", kTestTimeoutSeconds);
      RCTAssert(testModule.status == RCTTestStatusPassed, @"Test failed");
    }
  

  testSwitchExample, failed: caught "NSInternalInconsistencyException", "Test failed"
  /Users/hramos/git/react-native/Libraries/RCTTest/RCTTestRunner.m:235
  
      RCTAssert(testModule.status != RCTTestStatusPending, @"Test didn't finish within %0.f seconds", kTestTimeoutSeconds);
      RCTAssert(testModule.status == RCTTestStatusPassed, @"Test failed");
    }
  

  testTabBarExample, failed: caught "NSInternalInconsistencyException", "Test failed"
  /Users/hramos/git/react-native/Libraries/RCTTest/RCTTestRunner.m:235
  
      RCTAssert(testModule.status != RCTTestStatusPending, @"Test didn't finish within %0.f seconds", kTestTimeoutSeconds);
      RCTAssert(testModule.status == RCTTestStatusPassed, @"Test failed");
    }
  

  testTextExample, failed: caught "NSInternalInconsistencyException", "Test failed"
  /Users/hramos/git/react-native/Libraries/RCTTest/RCTTestRunner.m:235
  
      RCTAssert(testModule.status != RCTTestStatusPending, @"Test didn't finish within %0.f seconds", kTestTimeoutSeconds);
      RCTAssert(testModule.status == RCTTestStatusPassed, @"Test failed");
    }
  

  testViewExample, failed: caught "NSInternalInconsistencyException", "Test failed"
  /Users/hramos/git/react-native/Libraries/RCTTest/RCTTestRunner.m:235
  
      RCTAssert(testModule.status != RCTTestStatusPending, @"Test didn't finish within %0.f seconds", kTestTimeoutSeconds);
      RCTAssert(testModule.status == RCTTestStatusPassed, @"Test failed");
    }
  


	 Executed 26 tests, with 12 failures (12 unexpected) in 22.351 (22.370) seconds

2018-12-14 16:28:44.025 xcodebuild[59013:2826194] [MT] IDETestOperationsObserverDebug: 40.037 elapsed -- Testing started completed.
2018-12-14 16:28:44.026 xcodebuild[59013:2826194] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
2018-12-14 16:28:44.026 xcodebuild[59013:2826194] [MT] IDETestOperationsObserverDebug: 40.037 sec, +40.037 sec -- end
Failing tests:
	-[RNTesterIntegrationTests testImageSnapshotTest]
	-[RNTesterIntegrationTests testSimpleSnapshotTest]
	-[RNTesterIntegrationTests testTheTester_ExpectError]
	-[RNTesterIntegrationTests testTimersTest]
	-[RNTesterSnapshotTests testARTExample]
	-[RNTesterSnapshotTests testLayoutExample]
	-[RNTesterSnapshotTests testScrollViewExample]
	-[RNTesterSnapshotTests testSliderExample]
	-[RNTesterSnapshotTests testSwitchExample]
	-[RNTesterSnapshotTests testTabBarExample]
	-[RNTesterSnapshotTests testTextExample]
	-[RNTesterSnapshotTests testViewExample]
** TEST FAILED **
@hramos hramos added Platform: iOS iOS applications. Help Wanted :octocat: Issues ideal for external contributors. 🔩Test Infrastructure Test infrastructure and continuous integration. ❌CI Test Failure 📮Known Issues This indicates an issue that refers to a bug or limitation of RN that is not currently being handled labels Dec 15, 2018
@hramos
Copy link
Contributor Author

hramos commented Dec 19, 2018

Fixed in 0407d8c.

This leaves three other tests that are failing, and I've opened separate issues to track their resolution:

@hramos hramos closed this as completed Dec 19, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Dec 19, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Dec 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Help Wanted :octocat: Issues ideal for external contributors. 📮Known Issues This indicates an issue that refers to a bug or limitation of RN that is not currently being handled Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot. 🔩Test Infrastructure Test infrastructure and continuous integration.
Projects
None yet
Development

No branches or pull requests

2 participants