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

TEAM Engine REST interface creates sessions which might run to a maximum #573

Open
dstenger opened this issue Apr 12, 2023 · 1 comment
Open
Assignees
Labels
Projects
Milestone

Comments

@dstenger
Copy link
Contributor

Describe the bug
TEAM Engine REST interface creates session files in ${USER}/rest/ folder.
The naming is limited to the range of s0000 to s9999.
After the upper limit is reached, tests executed via REST interface might fail (HTTP status code of execution is 500).

To Reproduce
Steps to reproduce the behavior:

  1. Set up TEAM Engine with user which contains sessions in the range of s0000 to s9999 in rest/ folder.
  2. Execute test run via REST interface (also try parallel runs of multiple test suites).
  3. Test run exits with HTTP status code 500.
  4. Beware, the error is not reproducible with all test suites. I was able to reproduce it with ets-wmts10, ets-wcs20, ets-wms13, and ets-wms11.

Expected behavior
The unexpected error does not occur anymore (HTTP status code 500).
Possible solutions:

  • Engine clears rest folder automatically.
  • User or administrator is informed.

Additional context
The problem might also occur with sessions created via Web Browser Interface (folder ${USER}/).

@dstenger dstenger added the bug label Apr 12, 2023
@dstenger dstenger added this to the 6.1 milestone Apr 12, 2023
@dstenger dstenger added this to To do in CITE via automation Apr 12, 2023
@dstenger
Copy link
Contributor Author

First step might be to check why the sessions are created in ${USER}/rest/ folder and how they can be accessed.

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

No branches or pull requests

2 participants