From bb3ff5abd6a0f689880840d71897a649e3f7b855 Mon Sep 17 00:00:00 2001 From: Ryan Harkin Date: Tue, 2 Feb 2021 10:10:20 +0000 Subject: Add auto-generated Test Plan HTML and PDF These were generated with se-generate.sh. Signed-off-by: Ryan Harkin --- plans/output/se-all-tests.html | 11738 +++++++++++++++++++++++++++++++++++++++ plans/output/se-all-tests.pdf | Bin 0 -> 166940 bytes 2 files changed, 11738 insertions(+) create mode 100644 plans/output/se-all-tests.html create mode 100644 plans/output/se-all-tests.pdf diff --git a/plans/output/se-all-tests.html b/plans/output/se-all-tests.html new file mode 100644 index 0000000..900fb6d --- /dev/null +++ b/plans/output/se-all-tests.html @@ -0,0 +1,11738 @@ + + + + + + + + + + +
+
+

Schneider Electric Test Plan

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
KeyValue
name + + se-all-tests + +
description + + Scheider Electric Test Plan describing all manual and automated tests performed when making a release + +
os + + openembedded + +
devices + +
    + +
  • lces2 + +
  • soca9 + +
+ +
maintainer + +
    + +
  • ryan.harkinlinaro.org + +
+ +
approver + +
    + +
  • ryan.harkin@linaro.org + +
+ +
owner + +
    + +
  • ryan.harkin@linaro.org + +
+ +
format + + Linaro Test Plan v2 + +
now + + February 02, 2021 + +
+
+
+

Tests

+ + +

Manual tests

+ +
+

Manual Testcase 1

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + Lynis + +
description + + Generate Lynis report + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/lynis.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. lynis audit system
  2. + +
  3. Check the output of the commands
  4. + +
  5. Save the logs and add to the release bundle and report
  6. + +
  7. /var/log/lynis.log
  8. + +
  9. /var/log/lynis-report.dat
  10. + +
  11. BOARD=soca9
  12. + +
  13. BOARD=lces2
  14. + +
  15. KERNEL_VERSION=4.9
  16. + +
  17. KERNEL_VERSION=4.19
  18. + +
  19. scp /var/log/lynis.log ryan@192.168.1.11:/linaro/schneider/release/2019.09-warrior.2/logs/lynis.log.${BOARD}-${KERNEL_VERSION}
  20. + +
  21. scp /var/log/lynis-report.dat ryan@192.168.1.11:/linaro/schneider/release/2019.09-warrior.2/logs/lynis-report.dat.${BOARD}-${KERNEL_VERSION}
  22. + +
+ +

Expected results

+
    + +
  1. Log files are generated and saved for the release report.
  2. + +
+ + +
+ +
+

Manual Testcase 2

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + mbedtls + +
description + + Run the mbedtls test suite + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/mbedtls.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. You may need to rebase to the latest se/mbedtls-2.16 branch
  2. + +
  3. + +
  4. git clone ssh://git@dev-private-git.linaro.org/schneider/mbedtls.git -b rmh-2.16.8
  5. + +
  6. git log --oneline -1
  7. + +
  8. e3f460832 2020-03-10 enable trustm
  9. + +
  10. + +
  11. scp -r ryan@192.168.1.11:/linaro/schneider/g.l.o/mbedtls .
  12. + +
  13. cd mbedtls
  14. + +
  15. mkdir build
  16. + +
  17. cd build
  18. + +
  19. cmake -DUSE_SHARED_MBEDTLS_LIBRARY=ON -DENABLE_PROGRAMS=ON -DENABLE_TESTING=ON -DENABLE_HW_TRUSTM_SUPPORT=ON -Wno-dev ..
  20. + +
  21. make
  22. + +
  23. + +
  24. # note: make takes a long time, 10 minutes or more?
  25. + +
  26. # You should have all these files to be able to run the test:
  27. + +
  28. ls -al \
  29. + +
  30. ./tests/test_suite_pk_sks \
  31. + +
  32. ./tests/test_suite_pk_sks.datax \
  33. + +
  34. ./tests/data_files/sks_parsePEM_2.key \
  35. + +
  36. ./tests/data_files/sks_parsePEM_1.key \
  37. + +
  38. ./tests/data_files/sks_parsePEM_3.key
  39. + +
  40. + +
  41. # First time when using a new trustm module
  42. + +
  43. # note: the app came from an email from Milan. I have it in my tools repo:
  44. + +
  45. ./trustm_configure sample-activate
  46. + +
  47. + +
  48. # To run the tests, do this
  49. + +
  50. cd tests
  51. + +
  52. ./test_suite_pk_sks
  53. + +
+ +

Expected results

+
    + +
  1. Example output:
  2. + +
  3. + +
  4. root@rzn1-snarc:~/mbedtls/build/tests# ./test_suite_pk_sks
  5. + +
  6. PK_SKS #1 unknown sks handler ..................................... PASS
  7. + +
  8. PK_SKS #2 self_test sks handler ................................... PASS
  9. + +
  10. PK_SKS #3 invalid sks name ........................................ PASS
  11. + +
  12. PK_SKS #4 Write SKS PEM file (bad handler) ........................ PASS
  13. + +
  14. PK_SKS #5 Write SKS PEM file (too long sks name) .................. PASS
  15. + +
  16. PK_SKS #6 Write SKS PEM file (check simple descriptor) ............ PASS
  17. + +
  18. PK_SKS #7 Write SKS PEM file (check big key id) ................... PASS
  19. + +
  20. PK_SKS #8 Parse SKS key descriptor (Simple descriptor) ............ PASS
  21. + +
  22. PK_SKS #9 Parse SKS key descriptor (Null descriptor) .............. PASS
  23. + +
  24. PK_SKS #10 Parse SKS key descriptor (No delimiter) ................ PASS
  25. + +
  26. PK_SKS #11 Parse SKS key descriptor (Trail delimiter) ............. PASS
  27. + +
  28. PK_SKS #12 Parse SKS key descriptor (Trim delimiter) .............. PASS
  29. + +
  30. PK_SKS #13 Parse SKS key descriptor (Only delimiter) .............. PASS
  31. + +
  32. PK_SKS #14 Parse SKS key descriptor (Invalid integer type) ........ PASS
  33. + +
  34. PK_SKS #15 Parse SKS key descriptor (Invalid integer format) ...... PASS
  35. + +
  36. PK_SKS #16 Parse SKS key descriptor (Unknown SKS handler) ......... PASS
  37. + +
  38. PK_SKS #17 Parse SKS key descriptor (One digit key ID) ............ PASS
  39. + +
  40. PK_SKS #18 Parse SKS key descriptor (Simple int key ID) ........... PASS
  41. + +
  42. PK_SKS #19 Parse SKS key descriptor (Long int key ID) ............. PASS
  43. + +
  44. PK_SKS #20 Parse SKS PEM file sks_parsePEM_1.key .................. PASS
  45. + +
  46. PK_SKS #21 Parse SKS PEM file sks_parsePEM_2.key .................. PASS
  47. + +
  48. PK_SKS #22 Parse SKS PEM file sks_parsePEM_3.key .................. PASS
  49. + +
  50. TrustM verify sks handler ......................................... PASS
  51. + +
  52. TrustM ECC-Genuine ................................................ PASS
  53. + +
  54. TrustM ECC-Machine keypair (gen) .................................. PASS
  55. + +
  56. TrustM ECC-Machine keypair (default) .............................. PASS
  57. + +
  58. TrustM #3 ECC-Machine pubkey (default) ............................ PASS
  59. + +
  60. TrustM #4 Sign/verify ECC-Machine ................................. PASS
  61. + +
  62. TrustM #5 SKS generated CSR with ECC-Machine ...................... PASS
  63. + +
  64. TrustM #6 Parse SKS PEM key format (Genuine) ...................... PASS
  65. + +
  66. TrustM #7 Parse SKS PEM key format (Machine ECC) .................. PASS
  67. + +
  68. + +
  69. ----------------------------------------------------------------------------
  70. + +
  71. + +
  72. PASSED (31 / 31 tests (0 skipped))
  73. + +
+ + +
+ +
+

Manual Testcase 3

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + mbedtls-internal + +
description + + Run the internal mbedtls test suite + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/mbedtls-internal.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. You may need to rebase to the latest se/mbedtls-2.16 branch
  2. + +
  3. + +
  4. git clone ssh://git@dev-private-git.linaro.org/schneider/mbedtls.git -b rmh-2.16.8
  5. + +
  6. git log --oneline -1
  7. + +
  8. e3f460832 2020-03-10 enable trustm
  9. + +
  10. + +
  11. scp -r ryan@192.168.1.11:/linaro/schneider/g.l.o/mbedtls .
  12. + +
  13. cd mbedtls
  14. + +
  15. mkdir build
  16. + +
  17. cd build
  18. + +
  19. cmake -DUSE_SHARED_MBEDTLS_LIBRARY=ON -DENABLE_PROGRAMS=ON -DENABLE_TESTING=ON -DENABLE_HW_TRUSTM_SUPPORT=ON -Wno-dev CMAKE_BUILD_TYPE=CheckFull ..
  20. + +
  21. make
  22. + +
  23. make test
  24. + +
+ +

Expected results

+
    + +
  1. # Expect all tests to pass, except for these failures:
  2. + +
  3. 63/73 Test #63: pkwrite-suite ....................***Failed 0.36 sec
  4. + +
  5. 73/73 Test #73: x509write-suite ..................***Failed 30.52 sec
  6. + +
+ + +
+ +
+

Manual Testcase 4

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB12 + +
description + + TB12: Insert USB stick + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb12.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. This tests runs in LAVA
  2. + +
+ +

Expected results

+
    + +
  1. pass
  2. + +
+ + +
+ +
+

Manual Testcase 5

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB13 + +
description + + TB13: Mount USB stick + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb13.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. This tests runs in LAVA
  2. + +
+ +

Expected results

+
    + +
  1. pass
  2. + +
+ + +
+ +
+

Manual Testcase 6

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB14 + +
description + + TB14: remove USB stick + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb14.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. This tests runs in LAVA
  2. + +
+ +

Expected results

+
    + +
  1. pass
  2. + +
+ + +
+ +
+

Manual Testcase 7

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB15 + +
description + + TB15: Bulk Data Transfer + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb15.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. This tests runs in LAVA
  2. + +
+ +

Expected results

+
    + +
  1. pass
  2. + +
+ + +
+ +
+

Manual Testcase 8

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB16 + +
description + + TB16: + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb16.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. This tests runs in LAVA
  2. + +
+ +

Expected results

+
    + +
  1. pass
  2. + +
+ + +
+ +
+

Manual Testcase 9

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB17 + +
description + + TB17: + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb17.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. This tests runs in LAVA
  2. + +
+ +

Expected results

+
    + +
  1. pass
  2. + +
+ + +
+ +
+

Manual Testcase 10

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB18 + +
description + + TB18: ttyGS0 to ttyACM0 + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb18.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. on the target
  2. + +
  3. cat /dev/ttyGS0
  4. + +
  5. + +
  6. on the host
  7. + +
  8. echo hello > /dev/ttyACM0
  9. + +
  10. + +
  11. on the host
  12. + +
  13. cat /dev/ttyACM0
  14. + +
  15. + +
  16. on the target
  17. + +
  18. echo test > /dev/ttyGS0
  19. + +
+ +

Expected results

+
    + +
  1. skip on lces2
  2. + +
  3. Data transferred OK on SoCA9
  4. + +
+ + +
+ +
+

Manual Testcase 11

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB19 + +
description + + TB19: MMC device exists + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb19.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. This tests runs in LAVA
  2. + +
+ +

Expected results

+
    + +
  1. pass
  2. + +
+ + +
+ +
+

Manual Testcase 12

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB20 + +
description + + TB20: MMC card partitions detected + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb20.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. This tests runs in LAVA
  2. + +
+ +

Expected results

+
    + +
  1. pass
  2. + +
+ + +
+ +
+

Manual Testcase 13

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB21 + +
description + + TB21: timer devices exist + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb21.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. soca9:
  2. + +
  3. clk=timer0
  4. + +
  5. lces2:
  6. + +
  7. clk=rzn1-timer1:2
  8. + +
  9. + +
  10. cat /proc/timer_list | grep ${clk}
  11. + +
+ +

Expected results

+
    + +
  1. timers exist
  2. + +
+ + +
+ +
+

Manual Testcase 14

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB22 + +
description + + TB22: available clocksource + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb22.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. cat /sys/devices/system/clocksource/clocksource0/available_clocksource
  2. + +
+ +

Expected results

+
    + +
  1. SoCA9 has timer1
  2. + +
  3. LCES2 has rzn1_timer_clocksource
  4. + +
+ + +
+ +
+

Manual Testcase 15

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB23 + +
description + + TB23: CAN Bus + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb23.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Hardware not available
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 16

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB24 + +
description + + TB24: CAN Bus + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb24.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Hardware not available
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 17

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB25 + +
description + + TB25: CAN Bus + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb25.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Hardware not available
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 18

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB26 + +
description + + TB26: CAN Bus + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb26.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Hardware not available
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 19

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB27 + +
description + + TB27: CAN Bus + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb27.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Hardware not available
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 20

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB28 + +
description + + TB28: UART loopback + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb28.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Runs in LAVA
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 21

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB29 + +
description + + TB29: UART Loopback + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb29.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Runs in LAVA
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 22

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB30 + +
description + + TB30: UART Loopback + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb30.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Runs in LAVA
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 23

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB31 + +
description + + TB31: Watchdog + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb31.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. TODO: copy wd-test*.deb from lces2 build to soca9 board
  2. + +
  3. + +
  4. wdt_driver_test 5 4 1 # this should never reboot, CTRL-C to exit after about 1 min
  5. + +
  6. wdt_driver_test 5 6 0 # this should reboot after 5 secs
  7. + +
  8. wdt_driver_test 5 6 1 # this should reboot after 5 secs
  9. + +
+ +

Expected results

+
    + +
  1. reboots happen only when expected
  2. + +
+ + +
+ +
+

Manual Testcase 24

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB32 + +
description + + TB32: MTD flash + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb32.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. #soca9: ok
  2. + +
  3. num=0 # for NAND
  4. + +
  5. num=2 # for NOR
  6. + +
  7. #lces2: ok
  8. + +
  9. num=9
  10. + +
  11. + +
  12. dev=/dev/mtd${num}
  13. + +
  14. blk=/dev/mtdblock${num}
  15. + +
  16. mnt=/mnt/jffs2
  17. + +
  18. tmp=/tmp/file.dat
  19. + +
  20. + +
  21. flash_erase -j ${dev} 0 0
  22. + +
  23. # Create a folder in which flash partition will be mounted:
  24. + +
  25. mkdir ${mnt}
  26. + +
  27. # Mount NOR Flash jffs2 partition
  28. + +
  29. mount -t jffs2 ${blk} ${mnt}
  30. + +
  31. cd ${mnt}
  32. + +
  33. dd if=/dev/urandom of=${tmp} bs=1K count=512
  34. + +
  35. md5sum ${tmp}
  36. + +
  37. cp ${tmp} ${mnt}
  38. + +
  39. sync
  40. + +
  41. cd
  42. + +
  43. umount ${mnt}
  44. + +
  45. reboot
  46. + +
  47. # set env vars from above
  48. + +
  49. ls ${mnt}
  50. + +
  51. mount -t jffs2 ${blk} ${mnt}
  52. + +
  53. md5sum ${mnt}/file.dat
  54. + +
+ +

Expected results

+
    + +
  1. no unpexpected errors reported
  2. + +
  3. md5sums match
  4. + +
+ + +
+ +
+

Manual Testcase 25

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB33 + +
description + + TB33: MTD iozone + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb33.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. cd ${mnt}
  2. + +
  3. iozone -e -s 40M
  4. + +
  5. cd
  6. + +
  7. umount ${mnt}
  8. + +
+ +

Expected results

+
    + +
  1. iozone completes without errors
  2. + +
+ + +
+ +
+

Manual Testcase 26

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB34 + +
description + + TB34: ubiattach + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb34.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. soca9:
  2. + +
  3. dev=/dev/mtd0
  4. + +
  5. mib=480
  6. + +
  7. #lces2:
  8. + +
  9. dev=/dev/mtd1
  10. + +
  11. mib=237
  12. + +
  13. + +
  14. mnt=/mnt/ubifs
  15. + +
  16. ubiformat -y ${dev}
  17. + +
  18. + +
  19. # Attach MTD device:
  20. + +
  21. ubiattach -p ${dev}
  22. + +
  23. # Create an 485MiB volume on UBI dev. 0:
  24. + +
  25. ubimkvol /dev/ubi0 -N ubifs_vol -s ${mib}MiB
  26. + +
  27. mkdir -p ${mnt}
  28. + +
  29. # Mount partition:
  30. + +
  31. mount -t ubifs /dev/ubi0_0 ${mnt}
  32. + +
+ +

Expected results

+
    + +
  1. ubi partition mounted
  2. + +
+ + +
+ +
+

Manual Testcase 27

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB35 + +
description + + TB35: + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb35.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. # run TB34 first
  2. + +
  3. cd ${mnt}
  4. + +
  5. iozone -e -s 40M
  6. + +
  7. cd ; umount ${mnt}
  8. + +
+ +

Expected results

+
    + +
  1. iozone completes without errors
  2. + +
+ + +
+ +
+

Manual Testcase 28

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB36 + +
description + + TB36: dmatest + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb36.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. #soca9: ok
  2. + +
  3. channels=(0 1 2 3 4 5)
  4. + +
  5. modprobe dmatest
  6. + +
  7. #
  8. + +
  9. #lces2: ok
  10. + +
  11. channels=(2 3 4 5 6 7)
  12. + +
  13. #
  14. + +
  15. echo > /sys/module/dmatest/parameters/channel
  16. + +
  17. echo 2000 > /sys/module/dmatest/parameters/timeout
  18. + +
  19. echo 1000 > /sys/module/dmatest/parameters/iterations
  20. + +
  21. echo 1 > /sys/module/dmatest/parameters/run
  22. + +
  23. #
  24. + +
  25. for channel in ${channels[@]}; do echo dma0chan${channel} > /sys/module/dmatest/parameters/channel; echo 1 > /sys/module/dmatest/parameters/run ; sleep 5 ; done
  26. + +
+ +

Expected results

+
    + +
  1. no errors reported
  2. + +
+ + +
+ +
+

Manual Testcase 29

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB37 + +
description + + TB37: Read/Write I2C EEPROM + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb37.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Run tc22
  2. + +
+ +

Expected results

+
    + +
  1. Same results as tc22
  2. + +
+ + +
+ +
+

Manual Testcase 30

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB38 + +
description + + TB38: temperature sensor + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb38.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. cat /sys/class/hwmon/hwmon0/temp1_input
  2. + +
+ +

Expected results

+
    + +
  1. value read from the temperature input
  2. + +
+ + +
+ +
+

Manual Testcase 31

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB40 + +
description + + TB40: RS485 + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb40.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Hardware not available
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 32

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TB41 + +
description + + TB41: RS485 + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tb41.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Hardware not available
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 33

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC1 + +
description + + TC1: Flash SD cards from the CI binaries + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc1.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Download the binaries from the release candidate CI snapshot
  2. + +
  3. Flash them to SD card
  4. + +
+ +

Expected results

+
    + +
  1. The board should boot normally and the user is able to log in
  2. + +
+ + +
+ +
+

Manual Testcase 34

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC2 + +
description + + TC2: boot SD card with release candidate images + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc2.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Boot the board from the SD card using the 'linux_sd' command in U-Boot
  2. + +
  3. Log in at the prompt
  4. + +
+ +

Expected results

+
    + +
  1. The board should boot normally and the user is able to log in
  2. + +
+ + +
+ +
+

Manual Testcase 35

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC3 + +
description + + TC3: ce_count + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc3.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. ce_count is not available
  2. + +
  3. This test should be skipped
  4. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 36

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC5 + +
description + + TC5: ce_count + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc5.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. ce_count is not available
  2. + +
  3. This test should be skipped
  4. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 37

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC7 + +
description + + TC7: ce_count + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc7.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. ce_count is not available
  2. + +
  3. This test should be skipped
  4. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 38

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC8 + +
description + + TC8: u-boot mtest + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc8.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. On SoCA9, run the following command:
  2. + +
  3. mtest 0 1befffff 0 10
  4. + +
  5. + +
  6. On LCES2, run the following commands:
  7. + +
  8. mtest 80000000 87bfffff
  9. + +
  10. mtest 88a00000 8fdfffff
  11. + +
+ +

Expected results

+
    + +
  1. Each mtest command should return with the following string:
  2. + +
  3. Tested 16 iteration(s) with 0 errors
  4. + +
+ + +
+ +
+

Manual Testcase 39

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC9 + +
description + + TC9: ce_count + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc9.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. ce_count is not available
  2. + +
  3. This test should be skipped
  4. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 40

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC16 + +
description + + TC16: Dual Core CMP + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc16.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. cat /proc/cpuinfo
  2. + +
+ +

Expected results

+
    + +
  1. # soca9
  2. + +
  3. root@snarc-soca9:/data/linux_scripts/linux# cat /proc/cpuinfo
  4. + +
  5. processor : 0
  6. + +
  7. model name : ARMv7 Processor rev 0 (v7l)
  8. + +
  9. BogoMIPS : 200.00
  10. + +
  11. Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
  12. + +
  13. CPU implementer : 0x41
  14. + +
  15. CPU architecture: 7
  16. + +
  17. CPU variant : 0x3
  18. + +
  19. CPU part : 0xc09
  20. + +
  21. CPU revision : 0
  22. + +
  23. processor : 1
  24. + +
  25. model name : ARMv7 Processor rev 0 (v7l)
  26. + +
  27. BogoMIPS : 200.00
  28. + +
  29. Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
  30. + +
  31. CPU implementer : 0x41
  32. + +
  33. CPU architecture: 7
  34. + +
  35. CPU variant : 0x3
  36. + +
  37. CPU part : 0xc09
  38. + +
  39. CPU revision : 0
  40. + +
  41. Hardware : Altera SOCFPGA
  42. + +
  43. Revision : 0000
  44. + +
  45. Serial : 0000000000000000
  46. + +
  47. + +
  48. # lces2
  49. + +
  50. root@rzn1-snarc:/data/linux_scripts/linux# cat /proc/cpuinfo
  51. + +
  52. processor : 0
  53. + +
  54. model name : ARMv7 Processor rev 5 (v7l)
  55. + +
  56. BogoMIPS : 12.50
  57. + +
  58. Features : half thumb fastmult vfp edsp thumbee vfpv3 vfpv3d16 tls vfpv4 idiva idivt lpae evtstrm
  59. + +
  60. CPU implementer : 0x41
  61. + +
  62. CPU architecture: 7
  63. + +
  64. CPU variant : 0x0
  65. + +
  66. CPU part : 0xc07
  67. + +
  68. CPU revision : 5
  69. + +
  70. processor : 1
  71. + +
  72. model name : ARMv7 Processor rev 5 (v7l)
  73. + +
  74. BogoMIPS : 12.50
  75. + +
  76. Features : half thumb fastmult vfp edsp thumbee vfpv3 vfpv3d16 tls vfpv4 idiva idivt lpae evtstrm
  77. + +
  78. CPU implementer : 0x41
  79. + +
  80. CPU architecture: 7
  81. + +
  82. CPU variant : 0x0
  83. + +
  84. CPU part : 0xc07
  85. + +
  86. CPU revision : 5
  87. + +
  88. Hardware : Renesas RZ/N1 (DT)
  89. + +
  90. Revision : 0000
  91. + +
  92. Serial : LCES2-0x0000000000000000
  93. + +
+ + +
+ +
+

Manual Testcase 41

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC17 + +
description + + TC17: CPU Core Clock + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc17.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. # soca9: skip
  2. + +
  3. # lces2: ok
  4. + +
  5. + +
  6. SCP a clone of the test scripts repo to the board
  7. + +
  8. bash ~/test-scripts/test-cpu-freq.sh
  9. + +
+ +

Expected results

+
    + +
  1. Test reports pass
  2. + +
+ + +
+ +
+

Manual Testcase 42

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC18 + +
description + + TC18: UDL Timer + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc18.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. sleep 10
  2. + +
+ +

Expected results

+
    + +
  1. Sleep happens for 10 seconds, timed with a stopwatch
  2. + +
+ + +
+ +
+

Manual Testcase 43

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC19 + +
description + + TC19: Real Time Clock + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc19.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. # soca9: skip
  2. + +
  3. # lces2: ok
  4. + +
  5. + +
  6. # example of setting hwclock
  7. + +
  8. # hwclock --set --date="2015-12-31 23:59:55" --localtime
  9. + +
  10. + +
  11. # Run this command sequence, the watch the time tick over from from 2015 to 2016
  12. + +
  13. + +
  14. hwclock --set --date="2015-12-31 23:59:55" --localtime ; while [ true ]; do hwclock; sleep 10; done
  15. + +
  16. reboot
  17. + +
  18. # check date and time after reboot
  19. + +
  20. hwclock
  21. + +
  22. date
  23. + +
  24. + +
  25. # Set the hwclock back to match the system time
  26. + +
  27. hwclock -w
  28. + +
+ +

Expected results

+
    + +
  1. clock is set to the specified values and overflows correctly
  2. + +
+ + +
+ +
+

Manual Testcase 44

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC20 + +
description + + TC20: UART Loopback + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc20.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Runs in LAVA
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 45

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC21 + +
description + + TC21: I2C detect + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc21.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. #soca9: ok
  2. + +
  3. dev=0
  4. + +
  5. #lces2: ok
  6. + +
  7. dev=1
  8. + +
  9. + +
  10. i2cdetect -y -r ${dev}
  11. + +
+ +

Expected results

+
    + +
  1. I2C device detected
  2. + +
+ + +
+ +
+

Manual Testcase 46

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC22 + +
description + + TC22: Read/Write I2C EEPROM + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc22.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. # soca9: ok
  2. + +
  3. EEPROM=/sys/bus/i2c/devices/0-0050/eeprom
  4. + +
  5. # lces2: ok
  6. + +
  7. EEPROM=/sys/bus/i2c/devices/1-0050/eeprom
  8. + +
  9. + +
  10. dd if=/dev/urandom of=${TMPFILE} bs=1 count=64
  11. + +
  12. dd if=${TMPFILE} of=${EEPROM}
  13. + +
  14. dd if=${EEPROM} of=${TMPFILE}.read bs=1 count=64
  15. + +
  16. cmp ${TMPFILE} ${TMPFILE}.read
  17. + +
  18. if [ $? -eq 0 ]; then echo pass; else echo fail; fi
  19. + +
  20. time cat ${EEPROM} | od -x
  21. + +
+ +

Expected results

+
    + +
  1. pass is displayed on the terminal
  2. + +
+ + +
+ +
+

Manual Testcase 47

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC23 + +
description + + TC23: I2C Error Handling + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc23.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. #soca9: ok
  2. + +
  3. dev=0
  4. + +
  5. #lces2: ok
  6. + +
  7. dev=1
  8. + +
  9. + +
  10. device_exists /dev/i2c-${dev}
  11. + +
  12. i2cset -y ${dev} 0x60 0x00
  13. + +
+ +

Expected results

+
    + +
  1. Error: Write failed
  2. + +
+ + +
+ +
+

Manual Testcase 48

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC25 + +
description + + TC25: NAND Controller + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc25.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. #soca9: ok
  2. + +
  3. NAND_MTD=/dev/mtd0
  4. + +
  5. #lces2: ok
  6. + +
  7. NAND_MTD=/dev/mtd1
  8. + +
  9. + +
  10. USB_DEV=/dev/sda1
  11. + +
  12. + +
  13. device_exists $NAND_MTD
  14. + +
  15. device_exists $USB_DEV
  16. + +
  17. + +
  18. # This might fail if there are bad blocks on the NAND
  19. + +
  20. #dd if=/dev/urandom of=/tmp/random bs=1M count=10 && time flashcp -v /tmp/random $NAND_MTD
  21. + +
  22. + +
  23. flash_erase $NAND_MTD 0 0
  24. + +
  25. + +
  26. # This is a more reliable/realistic test because it skips bad blocks
  27. + +
  28. dd if=/dev/urandom of=/tmp/random bs=1M count=10 && time nandwrite $NAND_MTD /tmp/random
  29. + +
  30. + +
  31. # mount the USB stick first
  32. + +
  33. mnt=/mnt/usb
  34. + +
  35. mkdir -p ${mnt}
  36. + +
  37. mount ${USB_DEV} ${mnt}
  38. + +
  39. + +
  40. nanddump -l 10485760 ${NAND_MTD} > ${mnt}/nand.bin
  41. + +
  42. + +
  43. ls -al /tmp/random ${mnt}/nand.bin
  44. + +
  45. md5sum /tmp/random ${mnt}/nand.bin
  46. + +
  47. umount ${mnt}
  48. + +
+ +

Expected results

+
    + +
  1. md5sums match
  2. + +
+ + +
+ +
+

Manual Testcase 49

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC26 + +
description + + TC26: NAND MTD Read/Write + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc26.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. #soca9: ok
  2. + +
  3. PART=0
  4. + +
  5. #lces2: ok
  6. + +
  7. PART=1
  8. + +
  9. sumfile=~/tc26.md5
  10. + +
  11. rm ${sumfile}*
  12. + +
  13. + +
  14. ./test-mtd-write.sh ${PART} 512 | tail -1 | cut -d " " -f 1 | tee ${sumfile}
  15. + +
  16. # note checksum output
  17. + +
  18. reboot
  19. + +
  20. + +
  21. #soca9:
  22. + +
  23. PART=0
  24. + +
  25. #lces2:
  26. + +
  27. PART=1
  28. + +
  29. + +
  30. + +
  31. sumfile=~/tc26.md5
  32. + +
  33. ./test-mtd-read.sh ${PART} | tail -1 | cut -d " " -f 1 | tee ${sumfile}.read
  34. + +
  35. # verify checksum matches one from the write test
  36. + +
  37. + +
  38. cat ${sumfile}*
  39. + +
  40. cmp ${sumfile}*
  41. + +
  42. if [ $? -eq 0 ]; then echo pass; else echo fail; fi
  43. + +
+ +

Expected results

+
    + +
  1. Test echos pass
  2. + +
+ + +
+ +
+

Manual Testcase 50

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC27 + +
description + + TC27: USB Mass Storage + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc27.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Runs in LAVA
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 51

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC28 + +
description + + TC28: USB Mass Storage Bonnie++ test + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc28.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Runs in LAVA
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 52

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC29 + +
description + + TC29: USB RNDIS + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc29.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Connect a USB cable from J9 USB OTG on the board to a host PC
  2. + +
  3. + +
  4. #soca9: skip
  5. + +
  6. #lces2: ok
  7. + +
  8. + +
  9. # From host machine:
  10. + +
  11. script -a /host-00n.log
  12. + +
  13. hostif=usb0
  14. + +
  15. hostif=enp0s29u1u2u4u3 # on 'x220' laptop
  16. + +
  17. hostif=enp0s20f0u5u2u2 # on 'bld' desktop machine
  18. + +
  19. hostif=enp0s20f0u3u2u2 # on 'bld' desktop machine with LCES2 board 2
  20. + +
  21. targetip=10.0.0.35 # original test used 192.168.1.35, but that clashes with my network setup
  22. + +
  23. + +
  24. sudo ifconfig ${hostif} down
  25. + +
  26. sudo ifconfig ${hostif} ${targetip} up
  27. + +
  28. sudo ifconfig ${hostif}
  29. + +
  30. + +
  31. for n in 1 1 1500; do
  32. + +
  33. echo "n: $n"
  34. + +
  35. ping -c 5 -s $n -I ${hostif} ${targetip}
  36. + +
  37. done
  38. + +
+ +

Expected results

+
    + +
  1. ping returns without failures
  2. + +
+ + +
+ +
+

Manual Testcase 53

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC30 + +
description + + TC30: USB RNDIS fping + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc30.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. #soca9: skip
  2. + +
  3. #lces2: ok
  4. + +
  5. + +
  6. NR_PKTS=10
  7. + +
  8. + +
  9. # run tc.29, then from host machine:
  10. + +
  11. # large:
  12. + +
  13. start=64501
  14. + +
  15. end=65000
  16. + +
  17. for (( bytes=${start}; bytes<=${end}; bytes++ )); do
  18. + +
  19. let iters_left=${end}-${bytes}
  20. + +
  21. echo "bytes=${bytes} (${iters_left} iterations left)"
  22. + +
  23. fping $targetip -c $NR_PKTS -b ${bytes} -o
  24. + +
  25. done
  26. + +
  27. + +
  28. # small:
  29. + +
  30. start=1
  31. + +
  32. end=15
  33. + +
  34. for (( bytes=${start}; bytes<=${end}; bytes++ )); do
  35. + +
  36. echo bytes=${bytes}
  37. + +
  38. fping $targetip -c $NR_PKTS -b ${bytes} -o
  39. + +
  40. done
  41. + +
  42. + +
  43. sudo ifconfig ${hostif} down
  44. + +
+ +

Expected results

+
    + +
  1. fping returns without failures
  2. + +
+ + +
+ +
+

Manual Testcase 54

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC31 + +
description + + TC31: QSPI + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc31.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. #soca9:
  2. + +
  3. QSPI_MTD=/dev/mtd2
  4. + +
  5. #lces2: ok
  6. + +
  7. QSPI_MTD=/dev/mtd9
  8. + +
  9. + +
  10. dd if=/dev/urandom of=/tmp/random bs=1M count=1 && time flashcp -v /tmp/random $QSPI_MTD
  11. + +
+ +

Expected results

+
    + +
  1. flashcp completes without errors
  2. + +
+ + +
+ +
+

Manual Testcase 55

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC32 + +
description + + TC32: QSPI mtd_debug + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc32.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. #soca9: skip
  2. + +
  3. #lces2: ok
  4. + +
  5. time mtd_debug read $QSPI_MTD 0 0x830000 /tmp/a
  6. + +
+ +

Expected results

+
    + +
  1. + +
+ + +
+ +
+

Manual Testcase 56

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC33 + +
description + + TC33: QSPI MTD read/write + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc33.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. #soca9: ok
  2. + +
  3. dev=2
  4. + +
  5. #lces2: ok
  6. + +
  7. dev=9
  8. + +
  9. + +
  10. sumfile=~/tc26.md5
  11. + +
  12. + +
  13. ./test-mtd-write.sh ${dev} 128 | tail -1 | cut -d " " -f 1 | tee ${sumfile}.write
  14. + +
  15. + +
  16. reboot
  17. + +
  18. sumfile=~/tc26.md5
  19. + +
  20. ./test-mtd-read.sh ${dev} | tail -1 | cut -d " " -f 1 | tee ${sumfile}.read
  21. + +
  22. + +
  23. cat ${sumfile}.*
  24. + +
  25. cmp ${sumfile}.*
  26. + +
  27. if [ $? -eq 0 ]; then echo pass; else echo fail; fi
  28. + +
+ +

Expected results

+
    + +
  1. The checksum matches, pass is echoed to the terminal
  2. + +
+ + +
+ +
+

Manual Testcase 57

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC34 + +
description + + TC34: USB Ethernet adapter + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc34.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Test script got1Mnew not available
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 58

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC35 + +
description + + TC35: Large ping + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc35.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. #soca9: ok
  2. + +
  3. targetip=192.168.1.71
  4. + +
  5. #lces2: ok
  6. + +
  7. targetip=192.168.1.108
  8. + +
  9. + +
  10. #On the development host:
  11. + +
  12. ping -c 500 -s 32768 ${targetip}
  13. + +
+ +

Expected results

+
    + +
  1. ping returns without errors
  2. + +
+ + +
+ +
+

Manual Testcase 59

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC36 + +
description + + TC36: GPIO LED Use Case 1 + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc36.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. # soca9: ok
  2. + +
  3. d1grn=1952 # D1 green
  4. + +
  5. d1red=1953 # D1 red
  6. + +
  7. d3grn=1954 # D3 green
  8. + +
  9. d3red=1955 # D3 red
  10. + +
  11. + +
  12. function led_enable()
  13. + +
  14. {
  15. + +
  16. local led=$1
  17. + +
  18. cd /sys/class/gpio/
  19. + +
  20. echo ${led} > export
  21. + +
  22. echo "out" > gpio${led}/direction
  23. + +
  24. }
  25. + +
  26. + +
  27. function led_set()
  28. + +
  29. {
  30. + +
  31. local led=$1
  32. + +
  33. local value=$2
  34. + +
  35. echo $value > gpio${led}/value
  36. + +
  37. sleep 0.5
  38. + +
  39. }
  40. + +
  41. + +
  42. function led_disable()
  43. + +
  44. {
  45. + +
  46. local led=$1
  47. + +
  48. cd /sys/class/gpio/
  49. + +
  50. echo ${led} > unexport
  51. + +
  52. }
  53. + +
  54. + +
  55. led_enable ${d1grn}
  56. + +
  57. led_enable ${d1red}
  58. + +
  59. led_enable ${d3grn}
  60. + +
  61. led_enable ${d3red}
  62. + +
  63. + +
  64. # D1 green/orange/red
  65. + +
  66. led_set ${d1grn} 255
  67. + +
  68. led_set ${d1red} 255
  69. + +
  70. led_set ${d1grn} 0
  71. + +
  72. led_set ${d1red} 0
  73. + +
  74. + +
  75. # D3 green/orange/red
  76. + +
  77. led_set ${d3grn} 255
  78. + +
  79. led_set ${d3red} 255
  80. + +
  81. led_set ${d3grn} 0
  82. + +
  83. led_set ${d3red} 0
  84. + +
  85. + +
  86. led_disable ${d1grn}
  87. + +
  88. led_disable ${d1red}
  89. + +
  90. led_disable ${d3grn}
  91. + +
  92. led_disable ${d3red}
  93. + +
  94. + +
  95. #lces2: ok
  96. + +
  97. # Sumo & Warrior:
  98. + +
  99. + +
  100. function led_test()
  101. + +
  102. {
  103. + +
  104. local led=$1
  105. + +
  106. echo none > $led/trigger
  107. + +
  108. echo 255 > $led/brightness
  109. + +
  110. sleep 1
  111. + +
  112. echo 0 > $led/brightness
  113. + +
  114. sleep 1
  115. + +
  116. echo 255 > $led/brightness
  117. + +
  118. sleep 1
  119. + +
  120. echo 0 > $led/brightness
  121. + +
  122. }
  123. + +
  124. led_test /sys/class/leds/pl_gpio13 # LED D3 (Red LED)
  125. + +
  126. led_test /sys/class/leds/pl_gpio14 # LED D3 (Green LED)
  127. + +
  128. led_test /sys/class/leds/pl_gpio17 # LED D1 (Green LED)
  129. + +
  130. led_test /sys/class/leds/pl_gpio18 # LED D1 (Red LED)
  131. + +
+ +

Expected results

+
    + +
  1. LEDs light up with correct colours
  2. + +
+ + +
+ +
+

Manual Testcase 60

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC37 + +
description + + TC37: GPIO input + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc37.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. #soca9: ok
  2. + +
  3. # Sumo 4.9
  4. + +
  5. sw3=384
  6. + +
  7. sw4=385
  8. + +
  9. # Warrior 4.19
  10. + +
  11. sw3=1920
  12. + +
  13. sw4=1921
  14. + +
  15. + +
  16. #lces2: ok
  17. + +
  18. sw3=461
  19. + +
  20. # sw4 is not routed as a GPIO like this
  21. + +
  22. + +
  23. # buttons on SoCA9 are SW3 and SW4
  24. + +
  25. sw=${sw3}
  26. + +
  27. # or
  28. + +
  29. sw=${sw4}
  30. + +
  31. + +
  32. echo ${sw} > /sys/class/gpio/export
  33. + +
  34. echo in > /sys/class/gpio/gpio${sw}/direction
  35. + +
  36. cat /sys/class/gpio/gpio${sw}/value
  37. + +
  38. + +
  39. echo 1 > /sys/class/gpio/gpio${sw}/active_low
  40. + +
  41. cat /sys/class/gpio/gpio${sw}/value
  42. + +
+ +

Expected results

+
    + +
  1. The GPIO value read correctly when the button is pressed or not
  2. + +
+ + +
+ +
+

Manual Testcase 61

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC38 + +
description + + TC38: GPIO Input + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc38.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. TC37 runs the tests needed for this testcase
  2. + +
+ +

Expected results

+
    + +
  1. Same results as TC37
  2. + +
+ + +
+ +
+

Manual Testcase 62

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC39 + +
description + + TC30: Watchdog timer + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc39.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. watchdog -t 20 -T 30 /dev/watchdog
  2. + +
  3. ps -ef | grep watch | grep -v grep
  4. + +
  5. # check the watchdogs are created
  6. + +
  7. # Example output:
  8. + +
  9. # root@rzn1-snarc:~# ps -ef | grep watch | grep -v grep
  10. + +
  11. # root 31 2 0 16:44 ? 00:00:00 [watchdogd]
  12. + +
  13. # root 330 1 0 16:51 ? 00:00:00 watchdog -t 20 -T 30 /dev/watchdog
  14. + +
  15. + +
  16. # Kill the program, check it goes away, but the [watchdogd] entry stays
  17. + +
  18. process=$(ps -ef | grep watch | grep -v "grep" | tail -1 | awk '{print $2}')
  19. + +
  20. echo ${process}
  21. + +
  22. kill ${process}
  23. + +
  24. ps -ef | grep watch | grep -v grep
  25. + +
+ +

Expected results

+
    + +
  1. Watchdog processes are started and terminated
  2. + +
+ + +
+ +
+

Manual Testcase 63

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC40 + +
description + + TC40: Watchdog + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc40.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Scripts not available
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 64

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC41 + +
description + + TC41: DHCP IP Address + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc41.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. #soca9: ok
  2. + +
  3. ipaddr=192.168.1.171
  4. + +
  5. dev=eth1 # eth0 incdicates freja dtb
  6. + +
  7. #lces2: ok
  8. + +
  9. dev=eth1
  10. + +
  11. ipaddr=192.168.1.170
  12. + +
  13. + +
  14. ifconfig ${dev}
  15. + +
  16. ifconfig ${dev} down
  17. + +
  18. ifconfig ${dev} ${ipaddr} up
  19. + +
  20. ifconfig ${dev}
  21. + +
  22. + +
  23. dhclient -r ${dev}
  24. + +
  25. ifconfig ${dev}
  26. + +
  27. + +
  28. ifconfig ${dev} down
  29. + +
+ +

Expected results

+
    + +
  1. IP addresses are assigned
  2. + +
+ + +
+ +
+

Manual Testcase 65

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC42 + +
description + + TC42: memtester + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc42.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Runs in LAVA
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 66

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC43 + +
description + + TC43: CAN Bus + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc43.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Hardware not available
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 67

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC44 + +
description + + TC44: Password Change + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc44.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. passwd root
  2. + +
  3. P@ssword-2
  4. + +
  5. + +
  6. useradd passtest
  7. + +
  8. passwd passtest << EOF
  9. + +
  10. passWd1!
  11. + +
  12. passWd1!
  13. + +
  14. passWd1!
  15. + +
  16. EOF
  17. + +
  18. + +
  19. cp -r ~/test-scripts/ /home/passtest/
  20. + +
  21. logout
  22. + +
  23. + +
  24. # log in as user passtest
  25. + +
  26. # Run "passwd" with this sequence of passwords:
  27. + +
  28. newpassword="passWd1!"
  29. + +
  30. passwd << EOF
  31. + +
  32. ${newpassword}
  33. + +
  34. ${newpassword}
  35. + +
  36. ${newpassword}
  37. + +
  38. ${newpassword}
  39. + +
  40. ${newpassword}
  41. + +
  42. ${newpassword}
  43. + +
  44. ${newpassword}
  45. + +
  46. EOF
  47. + +
  48. + +
  49. # Look for this error, it is expected and means the test has passed:
  50. + +
  51. "passwd: password unchanged"
  52. + +
  53. + +
  54. # List of newpasswords
  55. + +
  56. # Look for success:
  57. + +
  58. # "password updated successfully"
  59. + +
  60. newpassword="passWd1!"
  61. + +
  62. oldpassword=${newpassword}; newpassword="u7F8A:e="; ./test-password-change.sh "${oldpassword}" "${newpassword}"
  63. + +
  64. oldpassword=${newpassword}; newpassword="6rY9bN~)"; ./test-password-change.sh "${oldpassword}" "${newpassword}"
  65. + +
  66. oldpassword=${newpassword}; newpassword="!qIS2{h3"; ./test-password-change.sh "${oldpassword}" "${newpassword}"
  67. + +
  68. oldpassword=${newpassword}; newpassword="])Qoh24I"; ./test-password-change.sh "${oldpassword}" "${newpassword}"
  69. + +
  70. oldpassword=${newpassword}; newpassword="66%U-Hpa"; ./test-password-change.sh "${oldpassword}" "${newpassword}"
  71. + +
  72. oldpassword=${newpassword}; newpassword="33uCl/D@"; ./test-password-change.sh "${oldpassword}" "${newpassword}"
  73. + +
  74. oldpassword=${newpassword}; newpassword="y0T8 + +
  75. oldpassword=${newpassword}; newpassword="PnD]r9&5"; ./test-password-change.sh "${oldpassword}" "${newpassword}"
  76. + +
  77. oldpassword=${newpassword}; newpassword="F6N&3{ub"; ./test-password-change.sh "${oldpassword}" "${newpassword}"
  78. + +
  79. oldpassword=${newpassword}; newpassword="Z[0>aT0v"; ./test-password-change.sh "${oldpassword}" "${newpassword}"
  80. + +
  81. + +
  82. # Then try again with password "passWd1!"
  83. + +
  84. # This should fail
  85. + +
  86. # Look for these errors:
  87. + +
  88. # Password has been already used. Choose another.
  89. + +
  90. # passwd: Authentication token manipulation error
  91. + +
  92. # passwd: password unchanged
  93. + +
  94. + +
  95. failpassword="passWd1!"
  96. + +
  97. passwd << EOF
  98. + +
  99. ${newpassword}
  100. + +
  101. ${failpassword}
  102. + +
  103. ${failpassword}
  104. + +
  105. ${failpassword}
  106. + +
  107. ${failpassword}
  108. + +
  109. ${failpassword}
  110. + +
  111. ${failpassword}
  112. + +
  113. EOF
  114. + +
  115. + +
  116. # Then try again with these passwords:
  117. + +
  118. oldpassword=${newpassword}; newpassword="J7\$4J[gq"; ./test-password-change.sh "${oldpassword}" "${newpassword}"
  119. + +
  120. oldpassword=${newpassword}; newpassword="48}h=TL88l"; ./test-password-change.sh "${oldpassword}" "${newpassword}"
  121. + +
  122. oldpassword=${newpassword}; newpassword="Ytr56mp$"; ./test-password-change.sh "${oldpassword}" "${newpassword}"
  123. + +
  124. + +
  125. # Then try again with password "passWd1!"
  126. + +
  127. # This should pass
  128. + +
  129. oldpassword=${newpassword}; newpassword="passWd1!"; ./test-password-change.sh "${oldpassword}" "${newpassword}"
  130. + +
  131. + +
  132. + +
  133. + +
  134. # Once the test has finished:
  135. + +
  136. logout
  137. + +
  138. + +
  139. # login as root, password should be P@ssword-2 but might be passWd1!
  140. + +
  141. passwd -d root
  142. + +
+ +

Expected results

+
    + +
  1. Passwords are changed or rejected at the correct points
  2. + +
+ + +
+ +
+

Manual Testcase 68

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC45 + +
description + + TC45: SSH + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc45.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Assign an IP address if networking configured
  2. + +
  3. udhcpc -i eth1
  4. + +
  5. + +
  6. make sure dropbear isn't running
  7. + +
  8. systemctl stop dropbear.socket; systemctl status dropbear.socket
  9. + +
  10. + +
  11. # Attempt to SSH into the board
  12. + +
  13. # This should fail.
  14. + +
  15. + +
  16. # In file /etc/default/dropbear
  17. + +
  18. # Replace `DROPBEAR_EXTRA_ARGS="-w"` with `DROPBEAR_EXTRA_ARGS=`
  19. + +
  20. sed -i 's/"-w"/""/g' /etc/default/dropbear
  21. + +
  22. + +
  23. # Start dropbear
  24. + +
  25. systemctl start dropbear.socket; systemctl status dropbear.socket
  26. + +
  27. + +
  28. # Attempt to SSH into the board
  29. + +
  30. # This should pass.
  31. + +
  32. # Check who is connected
  33. + +
  34. systemctl status dropbear.socket
  35. + +
+ +

Expected results

+
    + +
  1. remote users are able to SSH into the board
  2. + +
  3. systemctl shows users connecting and disconnecting
  4. + +
+ + +
+ +
+

Manual Testcase 69

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC46 + +
description + + TC46: Password reuse + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc46.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. Tested in TC44
  2. + +
+ +

Expected results

+
    + +
  1. Same results as TC44
  2. + +
+ + +
+ +
+

Manual Testcase 70

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC47 + +
description + + TC47: zscaler + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc47.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. zscaler not available outside SE
  2. + +
+ +

Expected results

+
    + +
  1. skip
  2. + +
+ + +
+ +
+

Manual Testcase 71

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC48 + +
description + + TC48: Flash and Boot UBI image + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc48.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. #soca9: skip
  2. + +
  3. #lces2: ok
  4. + +
  5. + +
  6. # from u-boot - make sure there is nothing in nand
  7. + +
  8. nand erase.chip
  9. + +
  10. + +
  11. # Boot from SD card
  12. + +
  13. # Use Linux to flash the UBI image and boot it
  14. + +
  15. ubiformat /dev/mtd1 -f dip-image-rzn1-snarc*.rootfs.ubi
  16. + +
+ +

Expected results

+
    + +
  1. Board boots from UBI image
  2. + +
+ + +
+ +
+

Manual Testcase 72

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC49 + +
description + + TC49: Boot on INIT_RAM_FS + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc49.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. #soca9: skip
  2. + +
  3. #lces2: ok
  4. + +
  5. + +
  6. # On target, at u-boot prompt
  7. + +
  8. dfu
  9. + +
  10. + +
  11. # On Host, flash the initramfs image
  12. + +
  13. dfu-util -a n_fs1 -D zImage-initramfs-rzn1-snarc.bin
  14. + +
+ +

Expected results

+
    + +
  1. Board boots from flashed initramfs
  2. + +
+ + +
+ +
+

Manual Testcase 73

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name + + TC50 + +
description + + TC50: Boot Matrix + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
+ +
path + + manual/se/tc50.yaml + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + linaro + +
+ +

Steps to execute

+
    + +
  1. flash the UBI images, SD cards, etc. and test they boot
  2. + +
  3. This is tested in LAVA
  4. + +
+ +

Expected results

+
    + +
  1. All combinations boot
  2. + +
+ + +
+ + + +

Automated tests

+ +
+

Automated Testcase 1

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + Check files exist + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • oe
  • + +
+ +
name + + files-exist + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/files-exist/files-exist.yaml + +
parameters + + + SKIP_INSTALL: True
+ + EXTRA_FILES: /etc/os-release
+ + +
+ +

Steps to execute

+
    + +
  1. cd ./automated/linux/files-exist
  2. + +
  3. ./files-exist.sh -e "${EXTRA_FILES}"
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ +
+

Automated Testcase 2

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + This test checks if Ethernet is up and prints IP address. + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • debian
  • + +
  • ubuntu
  • + +
  • centos
  • + +
  • fedora
  • + +
+ +
name + + ethernet + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/ethernet/ethernet.yaml + +
parameters + + + INTERFACE: eth1
+ + SKIP_INSTALL: False
+ + +
+ +

Steps to execute

+
    + +
  1. cd automated/linux/ethernet
  2. + +
  3. ./ethernet.sh -s "${SKIP_INSTALL}" -i "${INTERFACE}"
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ +
+

Automated Testcase 3

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + Collect the information in /proc/meminfo after boot. + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • debian
  • + +
  • ubuntu
  • + +
  • fedora
  • + +
  • centos
  • + +
  • oe
  • + +
+ +
name + + meminfo + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/meminfo/meminfo.yaml + +
+ +

Steps to execute

+
    + +
  1. cd ./automated/linux/meminfo
  2. + +
  3. ./meminfo.sh
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ +
+

Automated Testcase 4

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + Run a read-only test for bad blocks + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
  • debian
  • + +
+ +
name + + badblocks + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/badblocks/badblocks.yaml + +
+ +

Steps to execute

+
    + +
  1. cd ./automated/linux/badblocks/
  2. + +
  3. ./badblocks.sh -b "${BLOCK_DEVICE}" -p "${BADBLOCKS_PARAMS}" -s "${SKIP_INSTALL}"
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ +
+

Automated Testcase 5

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + Stress test to find memory subsystem faults + +
scope + +
    + +
  • functional
  • + +
  • stress
  • + +
+ +
os + +
    + +
  • debian
  • + +
  • ubuntu
  • + +
  • openembedded
  • + +
+ +
name + + memtester + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/memtester/memtester.yaml + +
+ +

Steps to execute

+
    + +
  1. cd ./automated/linux/memtester/
  2. + +
  3. ./memtester.sh -s "${SKIP_INSTALL}" -m "${MEMORY}" -i "${ITERATIONS}"
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ +
+

Automated Testcase 6

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + UART functional test. This runs a functional test across two connected UARTs. It tests baud rates from 9600 to 230400, a selection of parity, CTS/RTS, and stop bit settings. + +
scope + +
    + +
  • functional
  • + +
  • uart
  • + +
  • loopback
  • + +
+ +
os + +
    + +
  • debian
  • + +
  • ubuntu
  • + +
  • fedora
  • + +
  • centos
  • + +
  • openembedded
  • + +
+ +
name + + uart-loopback-forward + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/uart-loopback/uart-loopback.yaml + +
parameters + + + SKIP_INSTALL: true
+ + UART0: /dev/ttyUSB0
+ + UART1: /dev/ttyS1
+ + YKUSHPORT: 1
+ + TXUART: /dev/ttyS1
+ + RXUART: /dev/ttyUSB0
+ + +
+ +

Steps to execute

+
    + +
  1. cd ./automated/linux/uart-loopback
  2. + +
  3. ./uart-loopback.sh -t "${TXUART}" -r "${RXUART}"
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ +
+

Automated Testcase 7

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + UART functional test. This runs a functional test across two connected UARTs. It tests baud rates from 9600 to 230400, a selection of parity, CTS/RTS, and stop bit settings. + +
scope + +
    + +
  • functional
  • + +
  • uart
  • + +
  • loopback
  • + +
+ +
os + +
    + +
  • debian
  • + +
  • ubuntu
  • + +
  • fedora
  • + +
  • centos
  • + +
  • openembedded
  • + +
+ +
name + + uart-loopback-reverse + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/uart-loopback/uart-loopback.yaml + +
parameters + + + SKIP_INSTALL: true
+ + UART0: /dev/ttyS1
+ + UART1: /dev/ttyUSB0
+ + YKUSHPORT: 1
+ + TXUART: /dev/ttyS1
+ + RXUART: /dev/ttyUSB0
+ + +
+ +

Steps to execute

+
    + +
  1. cd ./automated/linux/uart-loopback
  2. + +
  3. ./uart-loopback.sh -t "${TXUART}" -r "${RXUART}"
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ +
+

Automated Testcase 8

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + Test a partition on a block device. +Check that files can be written and read reliably, measure the timings for read and write, and run the bonnie++ block device test on the device. + +
scope + +
    + +
  • blkdev
  • + +
  • bonnie++
  • + +
  • performance
  • + +
  • functional
  • + +
+ +
os + +
    + +
  • debian
  • + +
  • ubuntu
  • + +
  • fedora
  • + +
  • centos
  • + +
  • openembedded
  • + +
+ +
name + + block-device-sda + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/block-device/block-device.yaml + +
parameters + + + SKIP_INSTALL: true
+ + DEVICE: /dev/sda
+ + YKUSHPORT: 2
+ + FORMAT_DEVICE: False
+ + +
+ +

Steps to execute

+
    + +
  1. cd ./automated/linux/block-device
  2. + +
  3. ./block-device.sh -s "${SKIP_INSTALL}" -d "${DEVICE}" -f "${FORMAT_DEVICE}"
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ +
+

Automated Testcase 9

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + Use 'hdparm -t' to perform timings of block device reads for benchmark and comparison purposes. + +
scope + +
    + +
  • performance
  • + +
+ +
os + +
    + +
  • debian
  • + +
  • ubuntu
  • + +
  • fedora
  • + +
  • centos
  • + +
  • openembedded
  • + +
+ +
name + + device-read-perf + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/device-read-perf/device-read-perf.yaml + +
parameters + + + SKIP_INSTALL: true
+ + DEVICE: sda mmcblk0
+ + +
+ +

Steps to execute

+
    + +
  1. cd ./automated/linux/device-read-perf/
  2. + +
  3. ./device-read-perf.sh -d "${DEVICE}" -s "${SKIP_INSTALL}"
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ +
+

Automated Testcase 10

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + Schneider Electric cryptotest + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • oe
  • + +
+ +
name + + cryptotest + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/cryptotest/cryptotest.yaml + +
parameters + + + SKIP_INSTALL: True
+ + CRYPTO_DEVICE: /dev/cryptotest
+ + +
+ +

Steps to execute

+
    + +
  1. cd ./automated/linux/cryptotest
  2. + +
  3. ./cryptotest.sh -c "${CRYPTO_DEVICE}"
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ +
+

Automated Testcase 11

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + Docker smoke test. When docker not pre-installed, docker-ce will be installed from upstream on supported distributions. + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • debian
  • + +
  • ubuntu
  • + +
  • fedora
  • + +
  • centos
  • + +
+ +
name + + docker-hello-world + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/docker/docker.yaml + +
parameters + + + IMAGE: hello-world
+ + SKIP_INSTALL: True
+ + +
+ +

Steps to execute

+
    + +
  1. cd ./automated/linux/docker/
  2. + +
  3. ./docker.sh -i "${IMAGE}"
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ +
+

Automated Testcase 12

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + Docker smoke test. When docker not pre-installed, docker-ce will be installed from upstream on supported distributions. + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • debian
  • + +
  • ubuntu
  • + +
  • fedora
  • + +
  • centos
  • + +
+ +
name + + docker + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/docker/docker.yaml + +
parameters + + + IMAGE: arm32v7/ubuntu
+ + SKIP_INSTALL: True
+ + +
+ +

Steps to execute

+
    + +
  1. cd ./automated/linux/docker/
  2. + +
  3. ./docker.sh -i "${IMAGE}"
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ +
+

Automated Testcase 13

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + OP-TEE sanity test suite + +
scope + +
    + +
  • functional
  • + +
  • performance
  • + +
+ +
os + +
    + +
  • openembedded
  • + +
  • debian
  • + +
+ +
name + + optee-xtest + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/optee/optee-xtest.yaml + +
parameters + + + TEST_LEVEL: 0
+ + TEST_SUITE: regression
+ + +
+ +

Steps to execute

+
    + +
  1. cd ./automated/linux/optee/
  2. + +
  3. ./optee-xtest.sh -l "${TEST_LEVEL}" -t "${TEST_SUITE}"
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ +
+

Automated Testcase 14

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + Schneider Electric EEPROM test + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • oe
  • + +
+ +
name + + spi-eeprom-lces2 + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/eeprom/eeprom.yaml + +
parameters + + + SKIP_INSTALL: true
+ + EEPROM: /sys/bus/spi/devices/spi0.1/eeprom
+ + BLOCK_SIZE: 1024
+ + BLOCK_COUNT: 128
+ + +
+ +

Steps to execute

+
    + +
  1. cd ./automated/linux/eeprom
  2. + +
  3. ./eeprom.sh -e "${EEPROM}" -b ${BLOCK_SIZE} -c ${BLOCK_COUNT}
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ +
+

Automated Testcase 15

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + Schneider Electric EEPROM test + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • oe
  • + +
+ +
name + + spi-eeprom-soca9 + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/eeprom/eeprom.yaml + +
parameters + + + SKIP_INSTALL: true
+ + EEPROM: /sys/bus/spi/devices/spi0.0/eeprom
+ + BLOCK_SIZE: 1024
+ + BLOCK_COUNT: 128
+ + +
+ +

Steps to execute

+
    + +
  1. cd ./automated/linux/eeprom
  2. + +
  3. ./eeprom.sh -e "${EEPROM}" -b ${BLOCK_SIZE} -c ${BLOCK_COUNT}
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ +
+

Automated Testcase 16

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + Test networking features and performance, including running iperf, scp and ssh from daemon to DUT. + +
scope + +
    + +
  • performance
  • + +
+ +
os + +
    + +
  • debian
  • + +
  • ubuntu
  • + +
  • fedora
  • + +
  • centos
  • + +
  • openembedded
  • + +
+ +
name + + network-test + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/network-test/network-test.yaml + +
+ +

Steps to execute

+
    + +
  1. cd ./automated/linux/network-test
  2. + +
  3. ./network-test.sh -c "${CMD}" -s "${SKIP_INSTALL}" -e "${ETH}" -t "${TIME}" -p "${THREADS}" -r "${EXPECTED_RESULT}" -a "${AUTONEG}" -l "${LINKSPEED}" -d "${DUPLEX}" -m "${MTU}" -w "${SWITCH_IF}" "${AFFINITY}" "${REVERSE}"
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ +
+

Automated Testcase 17

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
description + + TPM test. Run the Schneider version of the ECDSA tests from https://github.com/tpm2-software/tpm2-tss-engine + +
scope + +
    + +
  • functional
  • + +
+ +
os + +
    + +
  • oe
  • + +
+ +
name + + tpm + +
from + + git + +
history + + False + +
repository + + https://git.linaro.org/landing-teams/working/schneider/test-definitions.git + +
branch + + master + +
path + + automated/linux/tpm/tpm.yaml + +
+ +

Steps to execute

+
    + +
  1. cd ./automated/linux/tpm
  2. + +
  3. ./tpm.sh
  4. + +
  5. ../../utils/send-to-lava.sh ./output/result.txt
  6. + +
+ + +
+ + + +
+
+ + \ No newline at end of file diff --git a/plans/output/se-all-tests.pdf b/plans/output/se-all-tests.pdf new file mode 100644 index 0000000..3a06da9 Binary files /dev/null and b/plans/output/se-all-tests.pdf differ -- cgit v1.2.3