You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Omar Mefire (JIRA)" <ji...@apache.org> on 2016/02/04 23:06:39 UTC

[jira] [Updated] (CB-10513) Race condition with medic.json causing build failures

     [ https://issues.apache.org/jira/browse/CB-10513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Omar Mefire updated CB-10513:
-----------------------------
    Description: 
There appears to be a race condition of some sort with the medic.json file that causes builds to sometimes fail. Happens in [Windows|https://ci.apache.org/builders/cordova-android-win/builds/1490/steps/running-tests/logs/stdio] and [OSX|https://ci.apache.org/builders/cordova-android-osx/builds/1670/steps/running-tests/logs/stdio]. Stack traces contained in links.

===
Log Content:
fs.js:500
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^
Error: ENOENT, no such file or directory 'mobilespec/www/medic.json'
    at Error (native)
    at Object.fs.openSync (fs.js:500:18)
    at Object.fs.writeFileSync (fs.js:1099:15)
    at createMedicJson (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/medic/medic-run.js:86:8)
    at /Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/medic/medic-run.js:356:9
    at Request.<anonymous> (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/medic/medic-run.js:305:9)
    at Request.emit (events.js:107:17)
    at Request.onRequestResponse (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/request/request.js:1156:10)
    at ClientRequest.emit (events.js:107:17)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:426:21)

  was:There appears to be a race condition of some sort with the medic.json file that causes builds to sometimes fail. Happens in [Windows|https://ci.apache.org/builders/cordova-android-win/builds/1490/steps/running-tests/logs/stdio] and [OSX|https://ci.apache.org/builders/cordova-android-osx/builds/1670/steps/running-tests/logs/stdio]. Stack traces contained in links.


> Race condition with medic.json causing build failures
> -----------------------------------------------------
>
>                 Key: CB-10513
>                 URL: https://issues.apache.org/jira/browse/CB-10513
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Medic
>         Environment: windows, osx
>            Reporter: Richard B Knoll
>              Labels: found-by-ci
>
> There appears to be a race condition of some sort with the medic.json file that causes builds to sometimes fail. Happens in [Windows|https://ci.apache.org/builders/cordova-android-win/builds/1490/steps/running-tests/logs/stdio] and [OSX|https://ci.apache.org/builders/cordova-android-osx/builds/1670/steps/running-tests/logs/stdio]. Stack traces contained in links.
> ===
> Log Content:
> fs.js:500
>   return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
>                  ^
> Error: ENOENT, no such file or directory 'mobilespec/www/medic.json'
>     at Error (native)
>     at Object.fs.openSync (fs.js:500:18)
>     at Object.fs.writeFileSync (fs.js:1099:15)
>     at createMedicJson (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/medic/medic-run.js:86:8)
>     at /Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/medic/medic-run.js:356:9
>     at Request.<anonymous> (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/medic/medic-run.js:305:9)
>     at Request.emit (events.js:107:17)
>     at Request.onRequestResponse (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/request/request.js:1156:10)
>     at ClientRequest.emit (events.js:107:17)
>     at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:426:21)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org