Closed dorgold closed 8 years ago
Thanks for reporting. Do other Cordova commands exhibit this same behavior? (Ex: Cordova Build, Cordova Command)
For a cordova build task (That used to work) i get:
2016-04-06T14:24:42.564Z: DEVELOPER_DIR was undefined
2016-04-06T14:24:42.565Z: DEVELOPER_DIR for build set to null
2016-04-06T14:24:42.566Z: Input to determineIdentity: { ... }
We are seeing the same thing in our smoke test environment - tests that passed yesterday are now failing. We suspect a VSTS update overnight broke us and will investigated fixes ASAP.
I'm looking into this now
Tasks are supposed to carry vsts-task-lib
Yeah this is clearly a bad release we need to roll back. There is also a "TypeError: Invalid Version: null" error that appears in Cordova Build when no version is explicitly specified in the task that is new.
We just released 1.3.1 which is 1.2.2 with version numbers bumped to attempt to roll back but for some reason we haven't seen the update picked up by VSTS instances yet.
Thanks! Waiting for updates on this.
At this point we have rolled back (v1.3.1 is published) but the extension updates and are not propagating - The VSTS team is investigating. We believe this may be why we didn't catch it initially as our automated tests were not going against the latest code as a result.
Peter also believes he has identified root cause for these errors but we'll spend time validating to try to ensure we do not end up in this situation again before re-releasing the updated code with the new fixed.
+1
VSTS is still investigating the reasons for the rollback update not propegating - this is not affecting all users and is unrelated to the bugs here but are exacerbating impact. There is an upload script used to manually update TFS Update 1 instances that can also be used to upload to VSTS. We'll craft instructions for those blocked and share it momentarily.
While we work the with the VSTS team to get the update propagated, please use these steps to revert to the old version of the tasks.
Install the tfx-cli and login. If you already have the tfx-cli installed, be sure it is 0.3.6 or higher.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm install -g tfx-cli
tfx login
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Type the following:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upload
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Or from a Mac:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sh upload.sh
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The VSTS team found the root cause and pushed a hot fix to the farm. At this point you can simply uninstall and re-install the Crdova VSTS extension and things should be back to normal.
We will also be publishing an update to re-trigger an auto-update - before too long you should no longer need to uninstall/reinstall either.
Uninstalling and re-installing fixed the issue. Thanks for the quick fix!
Uninstalling and re-installing the Cordova extension works for me! Thanks a lot!!!
Works perfectly after uninstalling and re-installing. Thanks.
Great. My apologies for the inconvenience.
Now that the patch is in place across the VSTS farm. We just pushed v1.3.2 out which should now automatically install in everyone's repo effectively resolving the issue. No further action should be needed and those that did an install/uninstall should also not notice a difference.
My builds started failing since yesterday (4.5.2016), there seems to be a problem running ionic commands, it seems to be looking for vsts-task-lib, while under node_modules the agent only has vso-task-lib.
I am building on a Mac with vso-agent installed (Using visuastudio.com) This still happens after re-installing the agent on the OSX machine.