Skip to content

Added Connectivity Testcases [Ethernet and Bluetooth] and one Kernel Testcase [shmbridge] #60

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

Merged
merged 3 commits into from
Jun 5, 2025

Conversation

qcom-anilyada
Copy link
Contributor

This pull request includes testcases and respective README.md file from two key suites Connectivity and Kernel, further details are given below:

1. Encrypted ext4 Mount Test (shmbridge)

  • Validates encrypted ext4 filesystem setup using fscryptctl
  • Includes partition formatting, key generation, encryption policy application, and file I/O verification
  • Location: Runner/suites/Kernel/FunctionalArea/baseport/shmbridge/run.sh

2. Connectivity Test Scripts

  • Adds standalone test scripts for Bluetooth and Ethernet
  • Each script performs dependency checks, interface status verification, and connectivity tests
  • Includes clear logging and result reporting for integration into automated test frameworks

These additions enhance the kernel-level validation coverage for secure storage and basic connectivity.

Signed-off-by: Anil Yadav anilyada@qti.qualcomm.com

Copy link
Contributor

@smuppand smuppand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address the comments.

@qcom-anilyada qcom-anilyada force-pushed the ci-contributions branch 2 times, most recently from d21d64d to 7c9039f Compare June 3, 2025 11:41
@qcom-anilyada qcom-anilyada reopened this Jun 3, 2025
Copy link
Contributor

@smuppand smuppand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/qualcomm-linux/qcom-linux-testkit/pull/60/files#diff-ebc46adb66ac049c30cc1083b1ab13ac002617867bdfe2ee9c4ecaff8d5c53a9 clearly shows merge conflict.

Your PR currently includes several merged commits unrelated to your changes. Rebase your feature branch on top of the latest main. This will remove the unrelated history and make the PR eaiser to review and merge.

Copy link
Contributor

@smuppand smuppand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few minor changes. Remaining are looks good.

@qcom-anilyada
Copy link
Contributor Author

Resolved all the comments, please merge

Copy link
Contributor

@smuppand smuppand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one more minor change posted.

@qcom-anilyada
Copy link
Contributor Author

Resolved the comment by adding check success message for bluetoothctl power off

Copy link
Contributor

@smuppand smuppand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left few more changes.

Copy link
Contributor

@smuppand smuppand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Request changes to avoid unused declarations unless you plan to implement them shortly

This test validates the Ethernet interface (eth0) by checking its presence,
bringing it up if necessary, and verifying connectivity via ping to 8.8.8.8.

- Compliant with qcom-linux-testkit structure
- Generates .res file for CI/CD
- Uses functestlib logging and dependency checks

Signed-off-by: Anil Yadav <anilyada@qti.qualcomm.com>
This test validates the Bluetooth controller by checking for the presence of
bluetoothctl, ensuring bluetoothd is running, and toggling the controller power
state using bluetoothctl.

- Compliant with qcom-linux-testkit structure
- Generates .res file for CI/CD
- Uses functestlib logging and dependency checks

Signed-off-by: Anil Yadav <anilyada@qti.qualcomm.com>
This test validates the encryption and access functionality of the shmbridge
partition by formatting it, applying fscrypt encryption, and verifying data
integrity through read/write operations.

- Compliant with qcom-linux-testkit structure
- Generates .res file for CI/CD
- Uses functestlib logging and dependency checks

Signed-off-by: Anil Yadav <anilyada@qti.qualcomm.com>
Copy link
Contributor

@smuppand smuppand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@smuppand smuppand merged commit 386f5e4 into qualcomm-linux:main Jun 5, 2025
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants