mozilla-services / autograph-canary

An AWS lambda for checking Autograph signing is working correctly
0 stars 1 forks source link

Test fx wo python #67

Closed g-k closed 3 years ago

g-k commented 3 years ago

Test running Fx without python to determine whether this is an issue with the tls-canary XPC shell worker and runner or an issue with the containerized lambda env.

expected output:

root@3f5b7bade062:/function# /function/bin/canary_fx_test.sh 
set -o pipefail

/function/firefox/firefox/firefox -xpcshell -g /function/firefox/firefox/ -a /function/firefox/firefox/browser -f /function/tlscanary/js/work
er_common.js /function/tests/content_signature_test.js <<EOF
{"mode":"wakeup"}
{"mode":"quit"}
EOF
{"id":15024976768322595000,"worker_id":15195759878062414000,"original_cmd":{"mode":"wakeup"},"success":true,"result":"ACK","command_time":162
3345465528,"response_time":1623345465533}
{"id":1309935440028072000,"worker_id":15195759878062414000,"original_cmd":{"mode":"quit"},"success":true,"result":"ACK","command_time":162334
5465533,"response_time":1623345465533}