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

tests: test_t3_instance_names_no_config disregards tmpdir path length #969

Open
themilchenko opened this issue Oct 3, 2024 · 0 comments
Labels
1sp bug Something isn't working teamE

Comments

@themilchenko
Copy link
Contributor

Now test with name test_t3_instance_names_no_config in test/integration/status/test_status.py disregards path of TMPDIR. The test cares about temporary directory that uses test but not about TMPDIR that can be too long.

See the error log that was in MacOS CI for example
Alerts for app:router:
  • Error while connecting to instance app:router via socket /private/var/folders/7l/7gcbtl2n3gs11nqppj23z3t00000gp/T/tmpmjybm925/app/var/run/router/tarantool.control: failed to dial: dial unix /private/var/folders/7l/7gcbtl2n3gs11nqppj23z3t00000gp/T/tmpmjybm925/app/var/run/router/tarantool.control: connect: invalid argument

Alerts for app:master:
  • Error while connecting to instance app:master via socket /private/var/folders/7l/7gcbtl2n3gs11nqppj23z3t00000gp/T/tmpmjybm925/app/var/run/master/tarantool.control: failed to dial: dial unix /private/var/folders/7l/7gcbtl2n3gs11nqppj23z3t00000gp/T/tmpmjybm925/app/var/run/master/tarantool.control: connect: invalid argument

Alerts for app:replica:
  • Error while connecting to instance app:replica via socket /private/var/folders/7l/7gcbtl2n3gs11nqppj23z3t00000gp/T/tmpmjybm925/app/var/run/replica/tarantool.control: failed to dial: dial unix /private/var/folders/7l/7gcbtl2n3gs11nqppj23z3t00000gp/T/tmpmjybm925/app/var/run/replica/tarantool.control: connect: invalid argument

Alerts for app:stateboard:
  • Error while connecting to instance app:stateboard via socket /private/var/folders/7l/7gcbtl2n3gs11nqppj23z3t00000gp/T/tmpmjybm925/app/var/run/stateboard/tarantool.control: failed to dial: dial unix /private/var/folders/7l/7gcbtl2n3gs11nqppj23z3t00000gp/T/tmpmjybm925/app/var/run/stateboard/tarantool.control: connect: invalid argument
When the expected log with right paths length should be look this way
Alerts for app:router:
  • Error while connecting to instance app:router via socket /tmp/tmplbq48yhr/app/var/run/router/tarantool.control: failed to dial: dial unix /tmp/tmplbq48yhr/app/var/run/router/tarantool.control: connect: no such file or directory

Alerts for app:master:
  • Error while connecting to instance app:master via socket /tmp/tmplbq48yhr/app/var/run/master/tarantool.control: failed to dial: dial unix /tmp/tmplbq48yhr/app/var/run/master/tarantool.control: connect: no such file or directory

Alerts for app:replica:
  • Error while connecting to instance app:replica via socket /tmp/tmplbq48yhr/app/var/run/replica/tarantool.control: failed to dial: dial unix /tmp/tmplbq48yhr/app/var/run/replica/tarantool.control: connect: no such file or directory

Alerts for app:stateboard:
  • Error while connecting to instance app:stateboard via socket /tmp/tmplbq48yhr/app/var/run/stateboard/tarantool.control: failed to dial: dial unix /tmp/tmplbq48yhr/app/var/run/stateboard/tarantool.control: connect: no such file or directory

Need to take into account the length of TMPDIR to prevent such unexpected errors.

@themilchenko themilchenko added the bug Something isn't working label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1sp bug Something isn't working teamE
Projects
None yet
Development

No branches or pull requests

2 participants