Stf: Does STF support the windows?

Created on 7 Jan 2016  Â·  20Comments  Â·  Source: openstf/stf

I have found that the stf doesn't support the windows system, yet I want to make sure this question again, thanks.

Most helpful comment

It's possible to install stf on Windows 10 using "Windows Subsystem for Linux", It's not exactly what you want but it's a quick and dirty solution.

Screenshot:
screen shot 2017-07-01 at 9 48 01 am

All 20 comments

It might or might not work, none of our collaborators use Windows and therefore we never test it. Please contribute instructions for Windows if you manage to get it to work, though.

openSTF has a docker solution. You can install DockerToolbox in windows and use their docker image to run openSTF. Just a workaround I could think of.

I guess I've almost managed to get this running. There is just one small issue I am facing as pointed out here https://github.com/sorccu/node-jpeg-turbo/issues/8 I would love to send an update to the documentation pointing out installation instructions for windows once the issue with jpeg-turbo is resolved. That is the only issue i've been facing.

FTL/device 18892 [5d89bf39] Setup had an error Error: Cannot find module 'jpeg-turbo'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\lib\units\device\plugins\vnc\index.js:8:12)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\lib\units\device\index.js:23:21
    at SerialSyrup.ParallelSyrup.invoke (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\lib\parallel.js:54:24)
    at C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\lib\serial.js:43:33
    at tryCatch1 (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\util.js:63:19)
    at Promise$_callHandler [as _callHandler] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\promise.js:708:13)
    at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\promise.js:724:18)
    at Promise$_settlePromiseAt [as _settlePromiseAt] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\promise.js:896:14)
    at Promise$_fulfillPromises [as _fulfillPromises] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\promise.js:1041:14)
    at Async$_consumeFunctionBuffer [as _consumeFunctionBuffer] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\async.js:74:12)
    at Async$consumeFunctionBuffer (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\async.js:37:14)

I had in the process faced a temporary issue with zmq not connecting correctly. The fix for that was

cd node_modules\zmq
node-gyp rebuild

It's possible to install stf on Windows 10 using "Windows Subsystem for Linux", It's not exactly what you want but it's a quick and dirty solution.

Screenshot:
screen shot 2017-07-01 at 9 48 01 am

I'm going to see if I can use the install script from the devs and the subsystem. If it works I'll be beyond over the moon, since the docker "solution" requires Windows 10 PRO...Home edition doesn't have Hyper V.

[edit]
NVM on the script, it needs docker (I didn't read it through). Guess I'll have to do it manually.

It was failed on jpeg-turbo, so I decided to change jpeg-turbo dependency to jpeg-js locally. And made jpeg-turbo as optionalDeps

Now my code for the part with jpeg-turbo looks like this

var jpeg;
try {
    jpeg = require('jpeg-turbo');
} catch(err) {
    jpeg = require('jpeg-js');
    jpeg.decompressSync = (arg) => jpeg.decode(arg);
}

Maybe it will cause some errors, but it works.

@taesiri Hi, if you have some free time, can you write some manual for run openstf in Windows with Linux subsystem, because now I up openstf with docker in Windows but it doesnt see my devices. thank you!

can some one help me how to install OpenSTF in WIndows Platform. Please guide me.

@Slavianin, Sorry for the late response, I am kind of busy right now. If you and @Raj0301 still need some sort of guide, I may be able to make time for it. Just let me know.

hello I have days trying to install STF but I do not have success please your help or if you have frelance service, the internet in window and in a server in digitalocean

It's possible with Windows Subsystem for Linux, setup today
Screenshot:
Untitled

Can you help me with live meeting support. I am facing issue on windows 10. Please can you let me know your available time. So that we connect.

Thanks,
Rajesh

Get Outlook for Androidhttps://aka.ms/ghei36


From: Quyen Nguyen notifications@github.com
Sent: Monday, May 6, 2019 9:24:08 PM
To: openstf/stf
Cc: Rajesh SM; Mention
Subject: Re: [openstf/stf] Does STF support the windows? (#233)

It possible with Windows Subsystem for Linux , setup today
Screenshot:
[Untitled]https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F46489447%2F57237597-bf8f1d00-7051-11e9-8320-83a5afa93b31.png&data=02%7C01%7Crajesh.sm%40hcl.com%7Cf5103131e7ac46f2fc3108d6d23b14d9%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C636927548532831983&sdata=50NtUqD0xixasCXUd2hkaxxC2UTA1QuHnG25OZYcKtQ%3D&reserved=0

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenstf%2Fstf%2Fissues%2F233%23issuecomment-489672275&data=02%7C01%7Crajesh.sm%40hcl.com%7Cf5103131e7ac46f2fc3108d6d23b14d9%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C636927548532841987&sdata=8yS%2BVF6NPQ%2BM%2FBMAMgrNA%2BqUr9SMXXNqmWn0CbJvbcQ%3D&reserved=0, or mute the threadhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKB6ZQM4KWHWFLO44JH4MK3PUBICBANCNFSM4BYBDVJA&data=02%7C01%7Crajesh.sm%40hcl.com%7Cf5103131e7ac46f2fc3108d6d23b14d9%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C636927548532851997&sdata=IbXf9oQ7jCwsnuWSw7elF12naKCeZFhv0o8i7%2FaUxPI%3D&reserved=0.

::DISCLAIMER::

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.

It possible with Windows Subsystem for Linux , setup today
Screenshot:
Untitled

Chrome a BBW with all those tabs eating memory...

Can you help me with live meeting support. I am facing issue on windows 10. Please can you let me know your available time. So that we connect.
Thanks,
Rajesh

From: darkwiz666 [mailto:[email protected]]
Sent: Monday, May 6, 2019 9:58 PM
To: openstf/stf stf@noreply.github.com
Cc: Rajesh SM Rajesh.SM@hcl.com; Mention mention@noreply.github.com
Subject: Re: [openstf/stf] Does STF support the windows? (#233)

It possible with Windows Subsystem for Linux , setup today
Screenshot:
[Untitled]https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F46489447%2F57237597-bf8f1d00-7051-11e9-8320-83a5afa93b31.png&data=02%7C01%7Crajesh.sm%40hcl.com%7Ce85ce32155ab49a55ab408d6d23fbff8%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C636927568587618235&sdata=VnWd5kSKTyZCkkdMuR0L5rIXKAVVrDfdXbu6DZ%2Bk8Ec%3D&reserved=0

Chrome a BBW with all those tabs eating memory...

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenstf%2Fstf%2Fissues%2F233%23issuecomment-489683466&data=02%7C01%7Crajesh.sm%40hcl.com%7Ce85ce32155ab49a55ab408d6d23fbff8%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C636927568587618235&sdata=tiEl7Fl2wuyoG8F0SIqpxQJ%2BDD4wpKhpBTexifzq4yA%3D&reserved=0, or mute the threadhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKB6ZQOYCN32BAURRH73AUTPUBL7LANCNFSM4BYBDVJA&data=02%7C01%7Crajesh.sm%40hcl.com%7Ce85ce32155ab49a55ab408d6d23fbff8%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C636927568587628244&sdata=WW3uSuDaMsGv5AdUB%2FKp3tdpz2%2BlZtl1j0BW7m2%2BL2Y%3D&reserved=0.

::DISCLAIMER::

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.

I guess I've almost managed to get this running. There is just one small issue I am facing as pointed out here sorccu/node-jpeg-turbo#8 I would love to send an update to the documentation pointing out installation instructions for windows once the issue with jpeg-turbo is resolved. That is the only issue i've been facing.

FTL/device 18892 [5d89bf39] Setup had an error Error: Cannot find module 'jpeg-turbo'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\lib\units\device\plugins\vnc\index.js:8:12)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\lib\units\device\index.js:23:21
    at SerialSyrup.ParallelSyrup.invoke (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\lib\parallel.js:54:24)
    at C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\lib\serial.js:43:33
    at tryCatch1 (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\util.js:63:19)
    at Promise$_callHandler [as _callHandler] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\promise.js:708:13)
    at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\promise.js:724:18)
    at Promise$_settlePromiseAt [as _settlePromiseAt] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\promise.js:896:14)
    at Promise$_fulfillPromises [as _fulfillPromises] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\promise.js:1041:14)
    at Async$_consumeFunctionBuffer [as _consumeFunctionBuffer] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\async.js:74:12)
    at Async$consumeFunctionBuffer (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\async.js:37:14)

I had in the process faced a temporary issue with zmq not connecting correctly. The fix for that was

cd node_modules\zmq
node-gyp rebuild

Can you help me with your livemeeting support, as i am facing issues and challenges in Windows 10 setup. you can inbox with your contact details to rajesh.[email protected]

It possible with Windows Subsystem for Linux , setup today
Screenshot:
Untitled

Chrome a BBW with all those tabs eating memory...

@darkwiz666 , Can you help me with live meeting support. I am facing issue on windows 10. Please can you let me know your available time. So that we connect. you can inbox me rajesh.[email protected]
Thanks,
Rajesh

You’re expecting too much. If someone wants to go that far, great. But you should definitely not assume that you’re going to get 1-on-1 support.

if anyone would like to setup stf local in windows-wsl i have tried and succeed, here's short guide: https://github.com/AldyWirawan/stf-local-wsl

recommend this for POC only, for full fledged deployment do it on linux.

if anyone would like to setup stf local in windows-wsl i have tried and succeed, here's short guide: https://github.com/AldyWirawan/stf-local-wsl

recommend this for POC only, for full fledged deployment do it on linux.

Thank you so much!

All the screenshots that I see in these comments are from 2017, and they run rethinkdb with rethinkdb.exe, it turns out it is not available for windows in the current version of rethinkdb which at this time is 2.4.0...

I tried running that with linux subsystem in windows, but it did not work. Any suggestion? Thx

Was this page helpful?
0 / 5 - 0 ratings