cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Gill (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-12621) 4 e2e test failures with cordova-android@6.2.0
Date Sun, 02 Apr 2017 22:24:41 GMT

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

Steve Gill resolved CB-12621.
-----------------------------
    Resolution: Fixed

> 4 e2e test failures with cordova-android@6.2.0
> ----------------------------------------------
>
>                 Key: CB-12621
>                 URL: https://issues.apache.org/jira/browse/CB-12621
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>            Reporter: Shazron Abdullah
>            Assignee: Steve Gill
>            Priority: Critical
>
> When cordova-android@6.2.0 was published to npm, the 6.2.0 version was set to {{latest}}.
> However, this version is causing 4 e2e test failures on {{cordova-lib}}.
> {code}
> Failures:
> 1) end-to-end plugin dependency tests Test 030 : should pass if dependency already installed
is wrong version with --force
>   Message:
>     Expected Error: Unable to graft xml at selector "plugins" from "/private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/res/xml/config.xml"
during config install to be undefined.
>   Stack:
>     Error: Expected Error: Unable to graft xml at selector "plugins" from "/private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/res/xml/config.xml"
during config install to be undefined.
>         at /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/spec-plugman/install.spec.js:598:25
>         at _rejected (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
>         at /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
>         at Promise.when (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
> 2) end-to-end plugin dependency tests Test 031 : should pass if dependency already installed
is same major version (if specific version is specified)
>   Message:
>     Expected Error: Unable to graft xml at selector "plugins" from "/private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/res/xml/config.xml"
during config install to be undefined.
>   Stack:
>     Error: Expected Error: Unable to graft xml at selector "plugins" from "/private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/res/xml/config.xml"
during config install to be undefined.
>         at /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/spec-plugman/install.spec.js:623:25
>         at _rejected (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
>         at /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
>         at Promise.when (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
> 3) end-to-end plugin dependency tests Test 032 : should handle two plugins with same
dependent plugin
>   Message:
>     expected /var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/plugins/Test2
to exist
>   Stack:
>     Error: expected /var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/plugins/Test2
to exist
>         at /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/spec-plugman/install.spec.js:648:52
>         at _rejected (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
>         at /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
>         at Promise.when (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
>   Message:
>     Expected 'Unable to graft xml at selector "plugins" from "/private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/res/xml/config.xml"
during config install' to contain 'does not satisfy dependency plugin requirement'.
>   Stack:
>     Error: Expected 'Unable to graft xml at selector "plugins" from "/private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/res/xml/config.xml"
during config install' to contain 'does not satisfy dependency plugin requirement'.
>         at /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/spec-plugman/install.spec.js:650:33
>         at _rejected (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
>         at /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
>         at Promise.when (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
> 4) end-to-end plugin dependency tests Test 033 : should use a dev version of a dependent
plugin if it is already installed
>   Message:
>     Failed: Unable to graft xml at selector "plugins" from "/private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/res/xml/config.xml"
during config install
>   Stack:
>     Error: Unable to graft xml at selector "plugins" from "/private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/res/xml/config.xml"
during config install
>         at ConfigFile_graft_child [as graft_child] (/private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigFile.js:120:19)
>         at PlatformMunger_apply_file_munge [as apply_file_munge] (/private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:83:34)
>         at munge_helper (/private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:238:14)
>         at PlatformMunger.add_plugin_changes (/private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:164:12)
>         at /private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:126:25
>         at _fulfilled (/private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/cordova/node_modules/q/q.js:854:54)
>         at self.promiseDispatch.done (/private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/cordova/node_modules/q/q.js:883:30)
>         at Promise.promise.promiseDispatch (/private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/cordova/node_modules/q/q.js:816:13)
>         at /private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/cordova/node_modules/q/q.js:877:14
>         at runSingle (/private/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtw0000gp/T/e2e-test/plugin_dependency_test/hello3/platforms/android/cordova/node_modules/q/q.js:137:13)
> {code}
> When the {{latest}} tag for cordova-android was reverted to {{6.1.2}}, all tests now
pass.



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