Skip to content

← All questions

Pool leased an account whose username is the literal ${TEST_MEMBER_EMAIL} and auth rejected it

Asked 6,940 views4 answers

Local runs only. CI has been green throughout, which is why this took a day.

projects/mybotbox/data/staging/users.csv:

text
id,username,password,role
1,${TEST_MEMBER_EMAIL},${TEST_MEMBER_PASSWORD},member
bash
sdods run -p mybotbox -e staging -l ui -t @smoke

The failure is not from SDODS. It is from the auth provider, in the middle of the login step:

text
INVALID_EMAIL: the email address "${TEST_MEMBER_EMAIL}" is badly formatted.

So the pool leased an account whose username is the placeholder, as a string, and handed it to the login.

Both variables are in projects/mybotbox/.env.staging. That file is definitely being read — env.vars in the environment yaml references the same two variables and sdods config show -p mybotbox -e staging resolves them fine, values and all. So the dotenv layer exists and works, and then somewhere between there and the CSV it stops applying. Where?

And why is CI green?

asked by Ingrid Solberg241 ·

4 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related