fix event wait failed and use new event api

1 job 于app_player/fix_event_wait_failed in 2 minute 和 45 second (queued for 27 second)
状态 作业 ID 名称 覆盖率
  Ztest
已失败 #62382
zgsz-03 generic
ztest_build_only

00:02:45

 
名称 暂存 失败
已失败
ztest_build_only Ztest
$ rm -f ${CI_PROJECT_DIR}/release.sh
Uploading artifacts for failed job
Uploading artifacts...
/builds/CSKG962172/duomotai_ap/twister-out/**/*.log: found 40 matching artifact files and directories

/builds/CSKG962172/duomotai_ap/twister-out/*.json: found 2 matching artifact files and directories

/builds/CSKG962172/duomotai_ap/twister-out/*.xml: found 3 matching artifact files and directories

Uploading artifacts as "archive" to coordinator... 201 Created
id=62382 responseStatus=201 Created token=Ym3ogTvx
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1