Giter Club home page Giter Club logo

Comments (17)

kamstrup avatar kamstrup commented on July 30, 2024 1

I can successfully submit our Test Cloud integration tests with NodeJS 8.7.0 - so it must be something particular to the first app I tested with...

from appcenter-cli.

kamstrup avatar kamstrup commented on July 30, 2024

In a desperate effort to get something running I copied the APKs to ~/ to have the files show up at the malformed path. Now I just get another seemingly unrelated error:

$ mobile-center test run espresso --app "kamikkel/MyApp" --devices 31be1403 --app-path myApp.apk  --test-series "master" --locale "en_US" --build-dir .
/ Preparing tests... events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: ENXIO: no such device or address, open '.config/Code/1.10.2-shared.sock'
    at Error (native)

from appcenter-cli.

krukow avatar krukow commented on July 30, 2024

@kamstrup is this on linux only?

from appcenter-cli.

john7doe avatar john7doe commented on July 30, 2024

I've tried to reproduce the problem. I do not get the same error, but do get an error:

node /Users/john7doe/src/mobile-center-cli/dist/index.js test run espresso --app "john7doe/foo" --devices 31be1403 --app-path build/outputs/apk/XTCAndroidSample-debug.apk --test-series "master" --locale "en_US" --build-dir build/outputs/apk/ --debug
Preparing tests... done.
Validating arguments... done.
| Creating new test run... logFilter, request: WebResource {
rawResponse: false,
queryString: {},
url: 'https://api.mobile.azure.com/v0.1/apps/john7doe/foo/test_runs',
method: 'POST',
headers:
{ 'Content-Type': 'application/json; charset=utf-8',
'user-agent': 'mobile-centerCli/0.11.0 NodeJS/v7.5.0 darwin/16.7.0',
'x-api-token': 'b8acdac0c70a541bc6f1622b70312779494745b0',
'internal-request-source': 'cli',
'diagnostic-context': 'da3d223e-7c52-48a6-8144-a9bf5e3c0562',
'cli-command-name': 'test run espresso' },
body: null }

  • Creating new test run... Response status code: 404
    Body: {"message":"","code":"Not Found"}
    Creating new test run... failed.
    Error: {"message":"","code":"Not Found"}

Not sure whats happening, but is not a TypeScript expert. I think we should get someone else to look at it? @skovsboll

from appcenter-cli.

kamstrup avatar kamstrup commented on July 30, 2024

Yeah, this is on Ubuntu 17.04 @krukow

from appcenter-cli.

krukow avatar krukow commented on July 30, 2024

@skovsboll could you block of 30-60 minutes to pair-debug this with @john7doe ? this week

from appcenter-cli.

kamstrup avatar kamstrup commented on July 30, 2024

Reproduced as described today (ensuring that i was logged into prod this time)

from appcenter-cli.

owenniblock avatar owenniblock commented on July 30, 2024

I can't replicate using:
Ubuntu 16.04
Node: v8.6.0
NPM: v5.3.0
mobile-center: v0.11.0

from appcenter-cli.

owenniblock avatar owenniblock commented on July 30, 2024

Also works locally from me on a fresh linux using:
vagrant init bento/ubuntu-17.04-i386

from appcenter-cli.

kamstrup avatar kamstrup commented on July 30, 2024

Tested with nodejs 6.11.0 and 6.11.4 (from nodesource package repo), and found the issue both places. Will try the 8.* series now

from appcenter-cli.

kamstrup avatar kamstrup commented on July 30, 2024

Also reproduced with nodejs 8.7.0 from the nodesource package repo - maybe it is triggered by something weird in the package name of the app...

from appcenter-cli.

owenniblock avatar owenniblock commented on July 30, 2024

I'll test using the app you sent me.

from appcenter-cli.

owenniblock avatar owenniblock commented on July 30, 2024

Using that app - it seems to work for me on Ubuntu 17.04.

Suggest we add some more logging around the --build-dir and run it against your local system to try and see what it's doing.

from appcenter-cli.

amchew avatar amchew commented on July 30, 2024

Hi @kamstrup and @owenniblock, following up on this thread, do you both still have any issues with the bug?

from appcenter-cli.

amchew avatar amchew commented on July 30, 2024

Hi @kamstrup and @owenniblock, could you let me know if there are still any issues with the bug by Dec 22? Else I'll proceed to close this issue by then. Thanks.

from appcenter-cli.

kamstrup avatar kamstrup commented on July 30, 2024

Just tested the old problematic Espresso test with appcenter 1.0.6 and nodejs version 8.9.3 on Ubuntu 17.10 and everything seems to work. Closing. 👍

from appcenter-cli.

amchew avatar amchew commented on July 30, 2024

Thanks @kamstrup !

from appcenter-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.