This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Objects tlscanary json log action
Christiane Ruetten edited this page Jul 7, 2017
·
1 revision
A command like tlscanary log -a json
prints the result of the bulk of the content of the selected run logs to stdout. The general format is:
[
{
"data": [],
"meta": {}
},
{
"data": [],
"meta": {}
},
["... more logs"]
]
Every log entry contains a data
array, holding the mode-specific run results, and a meta
object, describing the parameters and environment of the run that produced the log entry. The the data
array is usually populated with an array of scan result objects, but it can differ between modes.
Here is a sample of the output of tlscanary log -i 1 -a json
containing a single regression run that returned no results:
[
{
"data": [],
"meta": {
"args": {
"base": "release",
"debug": false,
"filter": 1,
"limit": 10,
"mode": "regression",
"onecrl": "production",
"parallel": 4,
"prefs": null,
"prefs_base": null,
"prefs_test": null,
"requestsperworker": 50,
"scans": 3,
"source": "top",
"test": "nightly",
"timeout": 10,
"workdir": "/Users/cruetten/.tlscanary"
},
"argv": [
"/Users/cruetten/Documents/src/tls-canary/venv/bin/tlscanary",
"regression",
"-l",
"10"
],
"base_metadata": {
"appConstants": {
"ACCESSIBILITY": true,
"ANDROID_PACKAGE_NAME": "org.mozilla.firefox",
"ASAN": false,
"CAN_DRAW_IN_TITLEBAR": true,
"DEBUG": false,
"DEBUG_JS_MODULES": "",
"DLL_PREFIX": "lib",
"DLL_SUFFIX": ".dylib",
"E10S_TESTING_ONLY": false,
"HAVE_SHELL_SERVICE": true,
"HAVE_USR_LIB64_DIR": false,
"INSTALL_COMPACT_THEMES": true,
"INSTALL_LOCALE": "en-US",
"MENUBAR_CAN_AUTOHIDE": false,
"MOZILLA_OFFICIAL": true,
"MOZ_ANDROID_ACTIVITY_STREAM": false,
"MOZ_ANDROID_HISTORY": false,
"MOZ_APP_NAME": "firefox",
"MOZ_APP_VERSION": "54.0.1",
"MOZ_APP_VERSION_DISPLAY": "54.0.1",
"MOZ_B2G": false,
"MOZ_B2G_OS_NAME": "",
"MOZ_B2G_RIL": false,
"MOZ_B2G_VERSION": "1.0.0",
"MOZ_BUILD_APP": "browser",
"MOZ_CONTENT_SANDBOX": true,
"MOZ_CRASHREPORTER": true,
"MOZ_DATA_REPORTING": true,
"MOZ_DEV_EDITION": false,
"MOZ_GECKO_PROFILER": true,
"MOZ_GRAPHENE": false,
"MOZ_MACBUNDLE_NAME": "Firefox.app",
"MOZ_MAINTENANCE_SERVICE": false,
"MOZ_OFFICIAL_BRANDING": true,
"MOZ_PLACES": true,
"MOZ_REQUIRE_SIGNING": true,
"MOZ_SANDBOX": true,
"MOZ_SERVICES_CLOUDSYNC": true,
"MOZ_SERVICES_HEALTHREPORT": true,
"MOZ_SWITCHBOARD": false,
"MOZ_SYSTEM_NSS": false,
"MOZ_TELEMETRY_ON_BY_DEFAULT": false,
"MOZ_TELEMETRY_REPORTING": true,
"MOZ_TOOLKIT_SEARCH": true,
"MOZ_UPDATER": true,
"MOZ_UPDATE_CHANNEL": "release",
"MOZ_VERIFY_MAR_SIGNATURE": true,
"MOZ_WEBRTC": true,
"MOZ_WIDGET_GTK": false,
"MOZ_WIDGET_TOOLKIT": "cocoa",
"NIGHTLY_BUILD": false,
"RELEASE_OR_BETA": true,
"SOURCE_REVISION_URL": "https://hg.mozilla.org/releases/mozilla-release/rev/90f18f9c15f7c71c755e387cfc193974fcf8b29c",
"XP_UNIX": true,
"platform": "macosx"
},
"app_version": "54.0.1",
"application_ini": {
"buildid": "20170628075643",
"id": "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}",
"name": "Firefox",
"remotingname": "firefox",
"sourcerepository": "https://hg.mozilla.org/releases/mozilla-release",
"sourcestamp": "90f18f9c15f7c71c755e387cfc193974fcf8b29c",
"vendor": "Mozilla",
"version": "54.0.1"
},
"branch": "release",
"nspr_version": "NSPR 4.14",
"nssInfo": {
"NSPR_MinVersion": "4.14",
"NSPR_Version": "4.14",
"NSSSMIME_MinVersion": "3.30.2",
"NSSSMIME_Version": "3.30.2",
"NSSSSL_MinVersion": "3.30.2",
"NSSSSL_Version": "3.30.2",
"NSSUTIL_MinVersion": "3.30.2",
"NSSUTIL_Version": "3.30.2",
"NSS_MinVersion": "3.30.2",
"NSS_Version": "3.30.2"
},
"nss_version": "NSS 3.30.2",
"package_origin": "https://download.mozilla.org/?product=firefox-latest&os=osx&lang=en-US",
"platform": "osx"
},
"format_revision": 2,
"log_lines": 0,
"mode": "regression",
"profiles": [
{
"log_part": "test_profile.zip",
"name": "test_profile"
},
{
"log_part": "base_profile.zip",
"name": "base_profile"
}
],
"run_completed": true,
"run_finish_time": "2017-07-07T10:31:13.150062",
"run_start_time": "2017-07-07T10:31:05.052193",
"test_metadata": {
"appConstants": {
"ACCESSIBILITY": true,
"ANDROID_PACKAGE_NAME": "org.mozilla.firefox",
"ASAN": false,
"CAN_DRAW_IN_TITLEBAR": true,
"DEBUG": false,
"DEBUG_JS_MODULES": "",
"DLL_PREFIX": "lib",
"DLL_SUFFIX": ".dylib",
"E10S_TESTING_ONLY": true,
"HAVE_SHELL_SERVICE": true,
"HAVE_USR_LIB64_DIR": false,
"INSTALL_COMPACT_THEMES": true,
"INSTALL_LOCALE": "en-US",
"MENUBAR_CAN_AUTOHIDE": false,
"MOZILLA_OFFICIAL": true,
"MOZ_ADDON_SIGNING": true,
"MOZ_ALLOW_LEGACY_EXTENSIONS": true,
"MOZ_ANDROID_ACTIVITY_STREAM": false,
"MOZ_ANDROID_HISTORY": false,
"MOZ_ANDROID_MOZILLA_ONLINE": false,
"MOZ_APP_NAME": "firefox",
"MOZ_APP_VERSION": "56.0a1",
"MOZ_APP_VERSION_DISPLAY": "56.0a1",
"MOZ_B2G": false,
"MOZ_B2G_OS_NAME": "",
"MOZ_B2G_RIL": false,
"MOZ_B2G_VERSION": "1.0.0",
"MOZ_BUILD_APP": "browser",
"MOZ_CONTENT_SANDBOX": true,
"MOZ_CRASHREPORTER": true,
"MOZ_DATA_REPORTING": true,
"MOZ_DEV_EDITION": false,
"MOZ_GECKO_PROFILER": true,
"MOZ_GRAPHENE": false,
"MOZ_MACBUNDLE_NAME": "FirefoxNightly.app",
"MOZ_MAINTENANCE_SERVICE": false,
"MOZ_OFFICIAL_BRANDING": false,
"MOZ_PHOTON_ANIMATIONS": true,
"MOZ_PHOTON_THEME": true,
"MOZ_PLACES": true,
"MOZ_REQUIRE_SIGNING": false,
"MOZ_SANDBOX": true,
"MOZ_SERVICES_HEALTHREPORT": true,
"MOZ_STYLO": false,
"MOZ_SWITCHBOARD": false,
"MOZ_SYSTEM_NSS": false,
"MOZ_TELEMETRY_ON_BY_DEFAULT": true,
"MOZ_TELEMETRY_REPORTING": true,
"MOZ_TOOLKIT_SEARCH": true,
"MOZ_UPDATER": true,
"MOZ_UPDATE_CHANNEL": "nightly",
"MOZ_WEBRTC": true,
"MOZ_WIDGET_GTK": false,
"MOZ_WIDGET_TOOLKIT": "cocoa",
"NIGHTLY_BUILD": true,
"RELEASE_OR_BETA": false,
"SOURCE_REVISION_URL": "https://hg.mozilla.org/mozilla-central/rev/4bd7db49d22847111dff9c1dd63ed573903faa5b",
"XP_UNIX": true,
"platform": "macosx"
},
"app_version": "56.0a1",
"application_ini": {
"buildid": "20170706130327",
"codename": "Nightly",
"id": "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}",
"name": "Firefox",
"remotingname": "firefox",
"sourcerepository": "https://hg.mozilla.org/mozilla-central",
"sourcestamp": "4bd7db49d22847111dff9c1dd63ed573903faa5b",
"vendor": "Mozilla",
"version": "56.0a1"
},
"branch": "nightly",
"nspr_version": "NSPR 4.16 Beta",
"nssInfo": {
"NSPR_MinVersion": "4.16 Beta",
"NSPR_Version": "4.16 Beta",
"NSSSMIME_MinVersion": "3.32 Beta",
"NSSSMIME_Version": "3.32 Beta",
"NSSSSL_MinVersion": "3.32 Beta",
"NSSSSL_Version": "3.32 Beta",
"NSSUTIL_MinVersion": "3.32 Beta",
"NSSUTIL_Version": "3.32 Beta",
"NSS_MinVersion": "3.32 Beta",
"NSS_Version": "3.32 Beta"
},
"nss_version": "NSS 3.32 Beta",
"package_origin": "https://download.mozilla.org/?product=firefox-nightly-latest&os=osx&lang=en-US",
"platform": "osx"
},
"tlscanary_version": "3.1.0a17"
}
}
]