cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Sorokin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-12629) Paramedic should pass `--no-update-notifier` arg to cordova commands
Date Mon, 03 Apr 2017 13:55:41 GMT

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

Alexander Sorokin updated CB-12629:
-----------------------------------
    Description: 
It seems that Cordova update notifier can be unstable when used in CI environment:
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-console-toolset/lastFailedBuild/CORDOVA=6.3.1,PLATFORM=android-5.1/console
{noformat}
E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\q\q.js:126
                    throw e;
                    ^

Error: EPERM: operation not permitted, rename 'C:\Users\jenkins\.config\configstore\update-notifier-cordova.json.1289448598'
-> 'C:\Users\jenkins\.config\configstore\update-notifier-cordova.json'
    at Error (native)
    at Object.fs.renameSync (fs.js:681:18)
    at Function.writeFileSync [as sync] (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\node_modules\configstore\node_modules\write-file-atomic\index.js:95:8)
    at Object.create.all.set (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\node_modules\configstore\index.js:62:21)
    at Object.Configstore (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\node_modules\configstore\index.js:27:11)
    at new UpdateNotifier (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\index.js:34:17)
    at module.exports (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\index.js:123:23)
    at checkForUpdates (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\src\cli.js:67:24)
    at cli (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\src\cli.js:246:5)
    at E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\src\cli.js:143:16
{noformat}

  was:
It seems that Cordova update notifier can be unstable when using in CI environment:
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-console-toolset/lastFailedBuild/CORDOVA=6.3.1,PLATFORM=android-5.1/console
{noformat}
E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\q\q.js:126
                    throw e;
                    ^

Error: EPERM: operation not permitted, rename 'C:\Users\jenkins\.config\configstore\update-notifier-cordova.json.1289448598'
-> 'C:\Users\jenkins\.config\configstore\update-notifier-cordova.json'
    at Error (native)
    at Object.fs.renameSync (fs.js:681:18)
    at Function.writeFileSync [as sync] (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\node_modules\configstore\node_modules\write-file-atomic\index.js:95:8)
    at Object.create.all.set (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\node_modules\configstore\index.js:62:21)
    at Object.Configstore (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\node_modules\configstore\index.js:27:11)
    at new UpdateNotifier (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\index.js:34:17)
    at module.exports (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\index.js:123:23)
    at checkForUpdates (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\src\cli.js:67:24)
    at cli (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\src\cli.js:246:5)
    at E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\src\cli.js:143:16
{noformat}


> Paramedic should pass `--no-update-notifier` arg to cordova commands
> --------------------------------------------------------------------
>
>                 Key: CB-12629
>                 URL: https://issues.apache.org/jira/browse/CB-12629
>             Project: Apache Cordova
>          Issue Type: Test
>          Components: Paramedic
>    Affects Versions: Master
>         Environment: Windows 10
>            Reporter: Alexander Sorokin
>            Assignee: Alexander Sorokin
>              Labels: found-by-ci, triaged
>
> It seems that Cordova update notifier can be unstable when used in CI environment:
> http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-console-toolset/lastFailedBuild/CORDOVA=6.3.1,PLATFORM=android-5.1/console
> {noformat}
> E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\q\q.js:126
>                     throw e;
>                     ^
> Error: EPERM: operation not permitted, rename 'C:\Users\jenkins\.config\configstore\update-notifier-cordova.json.1289448598'
-> 'C:\Users\jenkins\.config\configstore\update-notifier-cordova.json'
>     at Error (native)
>     at Object.fs.renameSync (fs.js:681:18)
>     at Function.writeFileSync [as sync] (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\node_modules\configstore\node_modules\write-file-atomic\index.js:95:8)
>     at Object.create.all.set (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\node_modules\configstore\index.js:62:21)
>     at Object.Configstore (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\node_modules\configstore\index.js:27:11)
>     at new UpdateNotifier (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\index.js:34:17)
>     at module.exports (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\index.js:123:23)
>     at checkForUpdates (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\src\cli.js:67:24)
>     at cli (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\src\cli.js:246:5)
>     at E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\src\cli.js:143:16
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message