Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-13541

Android Emulator: Python scripts async activities can intermittently cause multiple failure messages

    Details

      Description

      Description:

      While investigating some android emulator failures, we encountered a dual error which we believe is related to the async nature of some areas of the python. There are two sections of code that when run independently and there is a failure, could conceivably both produce a build failure error. We encountered this:

      Please note the two build failure messages

      Titanium Command-Line Interface, CLI version 3.1.0-beta, Titanium SDK version 3.1.0.v20130403082829
      Copyright (c) 2012-2013, Appcelerator, Inc.  All Rights Reserved.
      Please report bugs to http://jira.appcelerator.org/
      [INFO] logfile = /Users/wluu/Documents/Appcelerator_Studio_Workspace/test/build.log
      [ERROR] :  Project failed to build after 1s 611ms
      [INFO] Building test for Android ... one moment
      [INFO] Titanium SDK version: 3.1.0 (04/03/13 08:28 acc19ef)
      [ERROR] Timed out waiting for emulator to be ready, you may need to close the emulator and try again
      [ERROR] :  Project failed to build after 36s 146ms
      

      Steps to reproduce:

      Note: This will be difficult to reproduce. Here are the recommended steps:
      1) Build an android project for emulator using a new AVD (this will cause a timeout due to TIMOB-9153)
      2) Watch for the build failure

      Result:

      Sometimes the build will fail, and some of those times, you will get two build failure notifications.

      Expected Result:

      No failure, but if so, a single notification of the failure

        Attachments

        1. log1.rtf
          7 kB
          Dhirendra Jha
        2. Log2.rtf
          20 kB
          Dhirendra Jha

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              emerriman Eric Merriman
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-16232
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration