CI Automation/windows10 aarch64: Difference between revisions

how to run tests
(Added section to install)
(how to run tests)
Line 32: Line 32:
Instruction originally from [https://bugzilla.mozilla.org/show_bug.cgi?id=1522997#c2 1522997].
Instruction originally from [https://bugzilla.mozilla.org/show_bug.cgi?id=1522997#c2 1522997].


'''Prerequisites'''
=== Prerequisites ===
* disable Windows S mode
* disable Windows S mode
* disable User Account Control
* disable User Account Control
Line 38: Line 38:
* download NSSM to C:\nssm-2.24\
* download NSSM to C:\nssm-2.24\
* create "Remote Desktop Users" group:
* create "Remote Desktop Users" group:
  * net localgroup "Remote Desktop Users" /add
  net localgroup "Remote Desktop Users" /add
* log in to Taskcluster
* log in to Taskcluster
* request scope `assume:project:taskcluster:generic-worker-tester`  
* request scope `assume:project:taskcluster:generic-worker-tester`  


'''Steps'''
=== Steps ===


# download the current 386 release of `generic-worker-windows-386.exe` from [https://github.com/taskcluster/generic-worker/releases taskcluster generic-worker].
# download the current 386 release of `generic-worker-windows-386.exe` from [https://github.com/taskcluster/generic-worker/releases taskcluster generic-worker].
Line 50: Line 50:
# rename generic-worker-windows-386.exe to generic-worker.exe.
# rename generic-worker-windows-386.exe to generic-worker.exe.
# generate two signing keys:
# generate two signing keys:
  * generic-worker new-openpgp-keypair --file <unique_file_name>
  generic-worker new-openpgp-keypair --file <unique_file_name>
  * generic-worker new-ed25519-keypair --file <unique_file_name>
  generic-worker new-ed25519-keypair --file <unique_file_name>
# create generic-worker.config and include the following:
# create generic-worker.config and include the following:
"accessToken":                "<access token tied to taskcluster>",
"clientId":                  "<client ID tied to taskcluster>",
"ed25519SigningKeyLocation":  "<file location you wrote ed25519 private key in step 6>",
"livelogSecret":              "<any text>",
"openpgpSigningKeyLocation":  "<file location you wrote gpg private key kn step 6>",
"provisionerId":              "test-provisioner",
"publicIP":                  "<ideally an IP address of one of your network interfaces>",
"rootURL":                    "https://taskcluster.net",
"workerGroup":                "test-worker-group",
"workerId":                  "test-worker-id",
"workerType":                "<a unique string that only you will use for your test worker(s)>"
# launch cmd.exe with Administrator rights.
# launch cmd.exe with Administrator rights.
# cd c:\generic-worker
# cd c:\generic-worker
Line 83: Line 94:
* cppunittest
* cppunittest


For an up-to-date definition, please refer to [https://searchfox.org/mozilla-central/source/taskcluster/ci/test/test-platforms.yml#222 this file].
For an up-to-date list of tests, please refer to [https://searchfox.org/mozilla-central/source/taskcluster/ci/test/test-platforms.yml#222 this file].
 
= Run tests =
 
== Overview ==
 
This is probably what you came to the document for. How to run tests against the windows10-aarch64 hardware we currently have running.
 
Follow these steps to be able to enable windows10-aarch64 tests for the try server. These steps are required as of 2019-02-25; it will become obsolete when windows10-aarch64 tests are released to the general public.
 
=== Prerequisites ===
 
* try access
* up-to-date mozilla-central codebase
 
=== Steps ===
 
# open the file at taskcluster/ci/test/test-platforms.yml
# search for 'windows10-aarch64/opt'
# uncomment all or some of the items under 'test-sets'
# make changes to the local codebase that needs testing
# ./mach try fuzzy
# select tests that need to be run
# enter


= Bugs =
= Bugs =


These are the top-level bugs; the recommended view is [https://bugzilla.mozilla.org/showdependencytree.cgi?id=1522997&hide_resolved=0 tree].
These are the top-level tracking bugs; the recommended view is [https://bugzilla.mozilla.org/showdependencytree.cgi?id=1522997&hide_resolved=0 tree] (login required).


<bugzilla>
<bugzilla>
74

edits