Skip to content

[CI] Test failure - Failing Snapshot Tests #22657

Closed
@hramos

Description

@hramos

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 **

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help Wanted :octocat:Issues ideal for external contributors.Platform: iOSiOS applications.Resolution: LockedThis issue was locked by the bot.📮Known IssuesThis indicates an issue that refers to a bug or limitation of RN that is not currently being handled🔩Test InfrastructureTest infrastructure and continuous integration.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions