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

[bug]After modifying the script,The test often start fails [database:mysql] #860

Open
lingsoul opened this issue Dec 22, 2021 · 7 comments
Assignees

Comments

@lingsoul
Copy link

lingsoul commented Dec 22, 2021

1. Describe the bug 🐞

After modifying the script, copy and run the test. The test often fails and no log is generated
version :v3.5.5-p1

2. Reproduction steps

  1. modifying the script
  2. copy and run the test
  3. start test fail
  4. no log is generated

4. Screenshots

http://xxx.xxx.xxx.xx:8080/perftest/api/630/status?_=1640166977993
{
"id" : 630,
"message" : "Distribution files are being prepared.

script should exist
2021-12-22 17:56:17",
"status" : {
"category" : "ERROR",
"stoppable" : false,
"reportable" : true,
"deletable" : true,
"iconName" : "red.png",
"springMessageKey" : "perftest.status.stop_by_error",
"name" : "STOP_BY_ERROR"
}
}
image

image

@lingsoul
Copy link
Author

lingsoul commented Dec 29, 2021

I sincerely ask for your advice and hope to get a reply. Thank you
@junoyoon @donggyu04

@lingsoul lingsoul changed the title After modifying the scrip,The test often start fails [bug]After modifying the script,The test often start fails Dec 29, 2021
@lingsoul
Copy link
Author

It's normal when I use H2 database, and this kind of error occurs frequently after switching to Mysql database.
database.conf

#database.type=H2
database.type=mysql

@lingsoul lingsoul changed the title [bug]After modifying the script,The test often start fails [bug]After modifying the script,The test often start fails [database:mysql] Apr 13, 2022
@donggyu04
Copy link
Contributor

donggyu04 commented Apr 13, 2022

@lingsoul

Sorry, but I can't reproduce your case. I work fine.
Are there any error logs that start with Error while fetching a file from SVN?

I've never seen before this error.

@lingsoul
Copy link
Author

When an error occurs, the console does not output an error log

@imbyungjun
Copy link
Contributor

I can not reproduce the error case.

According to the error message you've got, it looks fail to get the script revision.
In the database, what is the value saved on PERF_TEST.script_revision column for failed test?

Please let me know the result of excuting SQL below.

SELECT script_revision FROM PERF_TEST WHERE ID = 630;

@lingsoul
Copy link
Author

lingsoul commented Sep 1, 2022

I can not reproduce the error case.

According to the error message you've got, it looks fail to get the script revision. In the database, what is the value saved on PERF_TEST.script_revision column for failed test?

Please let me know the result of excuting SQL below.

SELECT script_revision FROM PERF_TEST WHERE ID = 630;

Hello, script_revision = 352, thank you
image

@imbyungjun
Copy link
Contributor

Are you using Github integration?
If you are using SVN, remove .ngrinder folder and re-try it.

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

3 participants