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] 加入条件判断后,报错日志顺序异常 #391

Closed
4 tasks done
github-h opened this issue Mar 17, 2023 · 0 comments
Closed
4 tasks done

[Bug] 加入条件判断后,报错日志顺序异常 #391

github-h opened this issue Mar 17, 2023 · 0 comments
Assignees
Labels
bug Something isn't working todo

Comments

@github-h
Copy link

Verify steps

  • Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • Latest 我已经使用 最新源码 测试过,问题依旧存在
  • Core 这是 QianDao 框架存在的问题,并非我所使用的 QianDao早期版本(如 20210628及之前版号 等)或模板的特定问题
  • Meaningful 我提交的不是无意义的 催促更新或修复 请求

QianDao Version

20230228

Bug on OS

Linux

Bug on Platform

Docker/Linux 64位

To Reproduce

在模板中添加 IF 的判断语句
模板运行出错
查看日志

Describe the Bug

图片
这里是报错的日志

图片
模板实际为这个

可以看到 总请求数13是对上了 但是4却对不上

QianDao config

No response

QianDao log

[I 230317 10:01:36 tornado.access web:2271] 200 GET /util/delay/30 (127.0.0.1) 29910.40ms
[I 230317 10:01:36 tornado.access web:2271] 200 POST /util/urldecode (127.0.0.1) 1.60ms
[I 230317 10:01:36 qiandao.Worker worker:231] taskid:11 tplid:13 successed! 0.61123s
[I 230317 10:01:36 qiandao.Worker worker:234] taskid:11 tplid:13 clear log.
[I 230317 10:01:59 qiandao.Worker worker:289] Last 60 seconds, 1 task done. 1 success, 0 failed
[I 230317 10:02:07 tornado.access web:2271] 200 GET /util/delay/60 (127.0.0.1) 29903.67ms
[E 230317 10:02:10 qiandao.Worker worker:267] taskid:12 tplid:14 failed! 65.7732s
    Failed at 4/13 request,
    Fail assert: {"re": "class=\"swal2-confirm swal2-styled\" >立刻签到</button></div", "from": "content"} from failed_asserts,
    Request URL: https://www.tiangal.com/sign.html
[I 230317 10:02:59 qiandao.Worker worker:289] Last 60 seconds, 1 task done. 0 success, 1 failed
[I 230317 10:09:16 tornado.access web:2271] 200 GET /util/delay/29 (127.0.0.1) 29005.49ms
[I 230317 10:09:17 tornado.access web:2271] 200 POST /util/urldecode (127.0.0.1) 2.48ms
[I 230317 10:09:17 qiandao.Worker worker:231] taskid:3 tplid:4 successed! 30.98199s
[I 230317 10:09:17 qiandao.Worker worker:234] taskid:3 tplid:4 clear log.
[I 230317 10:09:59 qiandao.Worker worker:289] Last 60 seconds, 1 task done. 1 success, 0 failed
[I 230317 10:12:42 tornado.access web:2271] 200 GET /util/delay/30 (127.0.0.1) 29904.45ms
[I 230317 10:13:13 tornado.access web:2271] 200 GET /util/delay/60 (127.0.0.1) 29908.53ms
[E 230317 10:13:14 qiandao.Worker worker:267] taskid:12 tplid:14 failed! 64.4304s
    Failed at 4/13 request,
    Fail assert: {"re": "class=\"swal2-confirm swal2-styled\" >立刻签到</button></div", "from": "content"} from failed_asserts,
    Request URL: https://www.tiangal.com/sign.html
[I 230317 10:13:59 qiandao.Worker worker:289] Last 60 seconds, 1 task done. 0 success, 1 failed

Expected behavior

希望报错日志的显示顺序能按实际的顺序对上

能对IF或者For等逻辑语句的插入做序号的适配

Screenshots

No response

@github-h github-h added the bug Something isn't working label Mar 17, 2023
@a76yyyy a76yyyy added the todo label Mar 23, 2023
@a76yyyy a76yyyy self-assigned this Apr 30, 2023
a76yyyy added a commit that referenced this issue Apr 30, 2023
[Bug] 加入条件判断后,报错日志顺序异常
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working todo
Projects
None yet
Development

No branches or pull requests

2 participants