junit.framework.AssertionFailedError: Failed to delete file under build/iphone

Appcelerator JIRA | Ingo Muschenetz | 4 years ago
  1. 0

    Anvil runs each time a code change is made to platform. We should email the platform team if the test runs and any failures are generated. A sample email from Studio when a similar thing happens, which might provide some inspiration. There is also a corresponding email sent out when the tests start passing again. {panel} titanium-core-development-tests - Build # 1300 - Still Unstable: Check console output at http://hudson-master.hdqt.appcelerator.com/hudson/job/titanium-core-development-tests/1300/ to view the full results. 1 of 160 tests failed Failed tests: 1 tests failed. REGRESSION: com.appcelerator.titanium.core.tests.TitaniumProjectBuilderTest.testClean Error Message: Failed to delete file under build/iphone Stack Trace: junit.framework.AssertionFailedError: Failed to delete file under build/iphone at com.appcelerator.titanium.core.tests.TitaniumProjectBuilderTest.testClean(TitaniumProjectBuilderTest.java:83) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209) at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35) at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) Changes since last successful build: Changes for Build #1290 [Michael Xia] Fixed an error about tiapp.xml not found when creating a new ACCS project. Changes for Build #1291 Changes for Build #1292 Changes for Build #1293 [cwilliams] Implement TISTUD-2205 On ACCS project creation or enablement, auto-create server {panel} As a refinement, we can later improve this mechanism to allow people external to AppC to be added to the notification list.

    Appcelerator JIRA | 4 years ago | Ingo Muschenetz
    junit.framework.AssertionFailedError: Failed to delete file under build/iphone
  2. 0

    GitHub comment 138#217352041

    GitHub | 9 months ago | wisechengyi
    junit.framework.AssertionFailedError: Import failed: Failed to update the project! pants export examples/src/scala/org/pantsbuild/example/scala_with_java_sources/:: --export-output-file=/tmp/unitTest_scalaWithJavaSources/pants_depmap_run.out Exit code: 1 FAILURE INFO] Detected git repository at /home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants on branch master Waiting on pants process 8152 (python /home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/pants_exe.py ng-killall) to complete Exception caught: (<class 'lockfile.AlreadyLocked'>) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/pants_exe.py", line 50, in <module> main() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/pants_exe.py", line 44, in main PantsRunner(exiter).run() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/pants_runner.py", line 53, in run options_bootstrapper=options_bootstrapper) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/pants_runner.py", line 43, in _run return LocalPantsRunner(exiter, args, env, options_bootstrapper=options_bootstrapper).run() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/local_pants_runner.py", line 49, in run self._maybe_profiled(self._run) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/local_pants_runner.py", line 46, in _maybe_profiled runner() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/local_pants_runner.py", line 84, in _run result = goal_runner.run() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/goal_runner.py", line 335, in run result = self._execute_engine() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/goal_runner.py", line 324, in _execute_engine result = engine.execute(self._context, self._goals) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/engine/engine.py", line 26, in execute self.attempt(context, goals) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/engine/round_engine.py", line 237, in attempt context.acquire_lock() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/goal/context.py", line 234, in acquire_lock self._lock.acquire() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/process/pidlock.py", line 34, in acquire return pidlockfile.PIDLockFile.acquire(self, timeout) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/build-support/pants_dev_deps.venv/local/lib/python2.7/site-packages/lockfile/pidlockfile.py", line 88, in acquire self.path) Exception message: /home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/.pants.run is already locked
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    3 test cases -testBatch, testLoaderWithStream, testURLSourcedLoader- in MatlabTest class fails with following error: junit.framework.AssertionFailedError: Batch save/load failed: java.io.IOException: Unable to determine structure as Matlab ASCII file: java.lang.NumberFormatException: For input string: "2,52398586E00" at junit.framework.Assert.fail(Assert.java:47) at weka.core.converters.AbstractFileConverterTest.testBatch(AbstractFileConverterTest.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)

    Pentaho BI Platform Tracking | 2 years ago | Ugur Koc
    junit.framework.AssertionFailedError: Batch save/load failed: java.io.IOException: Unable to determine structure as Matlab ASCII file: java.lang.NumberFormatException: For input string: "2,52398586E00"

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      Failed to delete file under build/iphone

      at com.appcelerator.titanium.core.tests.TitaniumProjectBuilderTest.testClean()
    2. com.appcelerator.titanium
      TitaniumProjectBuilderTest.testClean
      1. com.appcelerator.titanium.core.tests.TitaniumProjectBuilderTest.testClean(TitaniumProjectBuilderTest.java:83)
      1 frame
    3. org.eclipse.test
      CoreTestApplication.run
      1. org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376)
      2. org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209)
      3. org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
      4. org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
      4 frames
    4. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
      2. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
      2 frames
    5. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      4 frames
    6. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1410)
      3 frames