-
Notifications
You must be signed in to change notification settings - Fork 56
Error: spawn ETXTBSY #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Also seeing this issue |
dito |
Are you on a Linux VM hosted on a Windows machine via Vagrant or something similar? |
I'm inside a docker container running on Ubuntu 16.04. |
For me it is a CircleCI machine. |
@sankha93 This is the machine:
node:
version: 6.1.0
services:
- redis
dependencies:
cache_directories:
- mongodb-linux-x86_64-3.2.8
pre:
- if [[ ! -d mongodb-linux-x86_64-3.2.8 ]]; then wget http://downloads.mongodb.org/linux/mongodb-linux-x86_64-3.2.8.tgz && tar xvzf mongodb-linux-x86_64-3.2.8.tgz; fi
- sudo /etc/init.d/mongod stop
- sudo cp mongodb-linux-x86_64-3.2.8/bin/* /usr/bin
- sudo /etc/init.d/mongod start
test:
override:
- NODE_ENV=test ./node_modules/cucumber/bin/cucumber.js ./client/test/features/hello-localize.feature Here is the test it is running: 'use strict';
const assert = require('cucumber-assert');
const config = require('config');
require('selenium-webdriver');
module.exports = function() {
this.When(/^I open the homepage$/, function(next) {
this.driver.get(`http://localhost:${config.ports.web}`);
next();
});
this.Then(/^I should see "([^"]*)"$/, function(sourceMatch, next) {
this.driver.getPageSource()
.then(function(source) {
assert.equal(source.indexOf(sourceMatch) > -1, true, next, 'Expected source to contain ' + sourceMatch);
});
});
}; and the feature file
|
I am also getting the same error. I have tried installing browserstack-local globally. Any updates?? |
During the download, the bindings used to pipe the response to the file and proceed on the response Also added retries if the binary execution failed. So, this issue should not happen again and if it does, the binary should automatically retry download. Please reopen this issue if you still face this still. |
Fixes the 'spawn ETXTBSY' errors as reported in browserstack#209. The patch is inspired from browserstack/browserstack-local-nodejs#19 (comment).
I'm getting the following error when attempting to use this extension in CI.
Is this possibly a race condition where the Binary is being executed while it is being moved into place?
The text was updated successfully, but these errors were encountered: