Skip to content
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

Cannot run Flood Element 2.x script on Flood.io #594

Open
justinfiore opened this issue Sep 21, 2022 · 0 comments
Open

Cannot run Flood Element 2.x script on Flood.io #594

justinfiore opened this issue Sep 21, 2022 · 0 comments

Comments

@justinfiore
Copy link

Describe the bug
I have a Flood Element script that is running locally in Element 2.0.4
I upload to the Flood UI (also tried via API) this script, my environment file and my test-data file.
I launch the flood on "on-demand" instances.
Instances launch, attempt to run my test and fail.
The flood.log says it cannot find my test script:

 cat flood-logs/flood/flood.log

> @flood/[email protected] start /app
> element agent start "/data/flood/files/field-dashboard-load-test.perf.ts"

> Error! An unexpected error occurred!
  Error: Test script '/data/flood/files/field-dashboard-load-test.perf.ts' does not exist
    at Object.checkFile (/app/node_modules/@flood/element-cli/dist/src/cmd/common.js:8:16)
    at /app/node_modules/@flood/element-cli/dist/src/cmd/agent/start.js:35:38
    at Object.customChecks (/app/node_modules/yargs/build/lib/validation.js:174:26)

field-dashboard-load-test.perf.ts is one of the files I uploaded (that contains my test)
I can see that the contents of that file in the downloaded tar.gz archive in the files directory is correct.

To Reproduce
Steps to reproduce the behavior:

  1. Upload a Typescript file that works on Element 2.0.4 to Flood.io
  2. Attempt to run it.
  3. It fails

Expected behavior
It not fail and actually execute the test.

Screenshots

Desktop (please complete the following information):

  • OS: [e.g. macOS] Mac OS
  • Node.js version: [e.g. 9.4] 16
  • Version [e.g. 1.0.2] Element 2.0.4

Additional context
I have already asked support to upgrade my account to use Flood 2.x (which they said they did).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant