Forum member

Phonesis

32 posts

Posts by Phonesis

  1. Setting an Environment Parameter all grid nodes pick up

    Yeah could well be doing that. I'll continue to investigate. Thanks again.

  2. Setting an Environment Parameter all grid nodes pick up

    Thanks Remco. I have enabled the console mode but do not see any web driver instances running. The grid service is logged in as Local System (default setting) whereas I am logging into the grid machine on my network account. Is this why or should the console mode still work?

  3. Setting an Environment Parameter all grid nodes pick up

    Not directly on topic but we are seriously struggling with IEDriver (the Internet Explorer Selenium driver) and our grid setup. Chrome works great. In order to debug why IEDriver isn't working (seems to load up ok but then fail to interact with page) we'd like to be able to see it running on one of …

  4. Setting an Environment Parameter all grid nodes pick up

    [quote=Remco;9111]Hi, thanks for posting! The environment variables are intended to be hard-coded to a grid client, and they are then present on any node that is doing work for this client. As such, if you are using this exclusively on your build server, it might be possible to create a custom N…

  5. Setting an Environment Parameter all grid nodes pick up

    Hi Remco, We use TeamCity to run an NCrunch grid / distributed processing setup where a single controller machine sends jobs off to the grid nodes. We use Selenium as these are all web UI tests. The code in our solution checks for the existence of an environment variable for the Browser ch…

  6. Exit Code 2 issue when connecting to grid nodes

    [quote=Remco;9046]There isn't really a need to adjust the MaxTestRunnerProcessesToPool - the default here is probably OK. If you set this to more than 1, the engine may use slightly more memory when executing and the performance may be a bit better if you have multiple test projects in your solutio…

  7. Exit Code 2 issue when connecting to grid nodes

    I've set the following config file values on the controller machine: <MaxNumberOfProcessingThreads>1</MaxNumberOfProcessingThreads> <MaxTestRunnerProcessesToPool>1</MaxTestRunnerProcessesToPool> Is the MaxTestRunnerProcessesToPool one required for this too? One other query. We use…

  8. Exit Code 2 issue when connecting to grid nodes

    [quote=Remco;9041]I've been having a bit of a think about this issue ... I think it highlights a hole in the processing behaviour in the console tool. If the console tool is fully dependent on grid nodes for its processing, and there is a connection problem that results in these nodes being disco…

  9. Exit Code 2 issue when connecting to grid nodes

    [quote=Remco;9032][quote=Phonesis;9031] In the AllResults.Html report the Build Results tab shows that no project was run and every project in solution is yellow / not run. [/quote] This seems like it may be the source of all the problems. Is your end-to-end run entirely dependent on remote g…

  10. Exit Code 2 issue when connecting to grid nodes

    [quote=Remco;9028][quote=Phonesis;9026] Failures are reported in the HTML output but they are from previous runs so hard to determine if a particular test is the cause. No reference to a particular test failing in the build log either. It seems to load the files up ok, connect to grid nodes, then b…

  11. Exit Code 2 issue when connecting to grid nodes

    [quote=Remco;9025]Hi, thanks for sharing this issue. The grid connectivity exception you're seeing above is a red herring. NCrunch will report grid connectivity issues into the log but it won't consider them to be errors for the purposes of the console tool exit codes. Connectivity issues wit…

  12. Exit Code 2 issue when connecting to grid nodes

    Hi Remco, We are getting Exit Code 2 issues all of a sudden on some of our NCrunch Grid runs in TeamCity. We have a single controller machines which calls 3 grid nodes. In the Build Log we are seeing: [05:05:18][Step 5/5] [05:05:19.0355-Core-5] All projects have been loaded [05:05:19][Step 5/…

  13. Grid Node Service keeps stopping

    Nothing of note in the event viewer. Have enabled logging on all our machines now so will let you know if I catch anything.

  14. Grid Node Service keeps stopping

    [quote=Remco;8762][quote=Phonesis;8760] Ok great. Detailed is enabled. Unfortunately can't actually run VS on that machine though but hopefully the logging will be enough. Will reply here again if/when the service dies again and attach the log. [/quote] Thanks! Hopefully the log will tell us so…

  15. Grid Node Service keeps stopping

    [quote=Remco;8759][quote=Phonesis;8758] Thanks Remco. VS is installed so will enable the debugger for it and also enable logging in the tool. What level of logging verbosity shall I set it for? Summary, high detail, detailed? [/quote] Detailed, if possible. This will then include all the build …

  16. Grid Node Service keeps stopping

    [quote=Remco;8756]Hi, thanks for sharing this issue. At present there are no known problems that can cause this. Do you, by chance, have Visual Studio installed on the system running the defective node? If so, I'm wondering if you might like to try attaching a debugger to the grid node servic…

  17. Grid Node Service keeps stopping

    We have three grid machines set up. Two of these seem stable and rarely go down. The third, however, is dying once every few days or so. It seems like the grid node service is stopping and cannot be restarted automatically. I have to go to Windows Services and either restart it manually or kill it a…

  18. NCrunch console tool duplicating tests?

    [quote=Remco;8705][quote=Phonesis;8704] Looked into it more and it's possibly an issue with the way NCrunch handles SpecFlow BDD style scenarios. It appears to count the feature as a test in the HTML test output even though that isn't a test in and of itself. Ideally, it should just be counting the…

  19. NCrunch console tool duplicating tests?

    [quote=Remco;8703]Hi, thanks for sharing this issue. Does the run log itself show these tests being actually executed multiple times? It's possible for a test to be queued multiple times, but it shouldn't be possible for it to be run more than once in an end-to-end run by the console tool. If…

  20. NCrunch console tool duplicating tests?

    Hi Remco, Something I'm noticing with running tests using the NCrunch console tool and TeamCity is that it appears to be duplicating the tests it runs as part of certain custom engines. In the build log I am seeing: [15:40:18][Step 5/5] [15:40:19.2303-Core-5] All projects have been loaded …