certification-tool icon indicating copy to clipboard operation
certification-tool copied to clipboard

Python test gets hangs once after the successfull commissioning in UI

Open KishokG opened this issue 1 year ago • 8 comments

Describe the bug

When we ran the below mentioned Python test in TH image, the test gets stucked(It's just loading for a long time) once after the successful commissioning and even not able to abort it.

  • TC-ACE-2.1
  • TC-ACE-2.2
  • TC-RVCRUNM-2.1
  • TC-RVCRUNM-2.2
  • TC-RVCCLEANM-2.1
  • TC-RVCCLEANM-2.2

Steps to reproduce the behavior

  1. From the Test-Harness user interface loaded the PICS file to select the test cases.
  2. Selected the python test case in python section to executed.
  3. Click the Start button on Test-Harness user interface.

Expected behavior

TC should execute successfully without error.

Sample Log files

ACE_2-2_Python_2024_02_22_17_11_35.log ACE_2-1_Python_2024_02_22_17_00_10.log

PICS file

No response

Screenshots

ACE

Environment

Version: 2.10-beta3+spring2024 Sha: 1fd1429

Additional Information

We suspect this could be a issue these is a Final result: PASS ! in middle of the test log which is suspicious image

KishokG avatar Feb 23 '24 04:02 KishokG

@survensa FYI

KishokG avatar Feb 23 '24 05:02 KishokG

Hi @KishokG, there is an update in the release branch. Could you check if the changes works for you? Could you please follow the steps bellow in order to update the release branch and test again?

./scripts/stop.sh cd certification-tool git fetch git checkout v2.10-beta3+spring2024 git pull git submodule update --init --recursive ./scripts/start.sh

rquidute avatar Mar 13 '24 17:03 rquidute

Hi @rquidute, Tried with latest Image Version: 2.10+spring2024 Sha: 5f28838 still facing the same issues for below test cases

  • TC-RVCRUNM-2.1
  • TC-RVCRUNM-2.2
  • TC-RVCCLEANM-2.1
  • TC-RVCCLEANM-2.2

Screenshots: image

Sample Log file for TC-RVCCLEANM-2.2: TC-RVCCLEANM-2.2.txt

Ashwinigrl avatar Apr 19 '24 13:04 Ashwinigrl

Hi @Ashwinigrl could you please attach the PICS file used?

rquidute avatar Apr 19 '24 13:04 rquidute

Hi @Ashwinigrl could you please provide the test_parameters configuration used in those tests?

rquidute avatar Apr 23 '24 12:04 rquidute

Test parameters configuration used in above test cases: TC-RVCCLEANM-2.1 "int-arg": "PIXIT_ENDPOINT:1 PIXIT.RVCCLEANM.MODE_CHANGE_OK:2 PIXIT.RVCCLEANM.MODE_CHANGE_FAIL:0", "endpoint":"1" TC-RVCCLEANM-2.2 "endpoint":"1" TC-RVCRUNM-2.1 "int-arg": "PIXIT_ENDPOINT:1 PIXIT.RVCRUNM.MODE_CHANGE_OK:2 PIXIT.RVCRUNM.MODE_CHANGE_FAIL:0", "endpoint":"1" TC-RVCRUNM-2.2 "int-arg": "PIXIT.RVCRUNM.MODE_A:1 PIXIT.RVCRUNM.MODE_B:2", "endpoint":"1"

Ashwinigrl avatar Apr 23 '24 16:04 Ashwinigrl

Hi @Ashwinigrl, could you please test using the final spring version (v2.10+spring2024) following the steps bellow?

1 - sudo rm -rf certification-tool 2 - git clone -b v2.10+spring2024 https://github.com/project-chip/certification-tool.git 3 - cd certification-tool 4 - git submodule update --init --recursive 5 - ./scripts/pi-setup/auto-install.sh 5.1 - At the end of the script, select option 1 to restart the RaspberryPi 6 - Wait about 10 minutes to launch the TH user interface on the user's system using the browser

rquidute avatar Apr 23 '24 20:04 rquidute

Issue fixed in,

TH version: v2.11-beta2+fall2024 Sha: bbeda31

KishokG avatar Aug 23 '24 06:08 KishokG