{"action":"created","issue":{"url":"https://api.github.com/repos/ooni/probe-cli/issues/26","repository_url":"https://api.github.com/repos/ooni/probe-cli","labels_url":"https://api.github.com/repos/ooni/probe-cli/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/ooni/probe-cli/issues/26/comments","events_url":"https://api.github.com/repos/ooni/probe-cli/issues/26/events","html_url":"https://github.com/ooni/probe-cli/issues/26","id":389942683,"node_id":"MDU6SXNzdWUzODk5NDI2ODM=","number":26,"title":"Custom config has no effect","user":{"login":"anadahz","id":4969544,"node_id":"MDQ6VXNlcjQ5Njk1NDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4969544?v=4","gravatar_id":"","url":"https://api.github.com/users/anadahz","html_url":"https://github.com/anadahz","followers_url":"https://api.github.com/users/anadahz/followers","following_url":"https://api.github.com/users/anadahz/following{/other_user}","gists_url":"https://api.github.com/users/anadahz/gists{/gist_id}","starred_url":"https://api.github.com/users/anadahz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anadahz/subscriptions","organizations_url":"https://api.github.com/users/anadahz/orgs","repos_url":"https://api.github.com/users/anadahz/repos","events_url":"https://api.github.com/users/anadahz/events{/privacy}","received_events_url":"https://api.github.com/users/anadahz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-11T20:36:11Z","updated_at":"2018-12-12T10:40:10Z","closed_at":null,"author_association":"NONE","body":"`$ cat ~/.ooni/config-web.json`\r\n\r\n```\r\n{\r\n  \"_\": \"This is your OONI Probe config file. See https://ooni.io/help/probe-cli for help\",\r\n  \"_version\": 0,\r\n  \"_informed_consent\": true,\r\n  \"_is_beta\": true,\r\n  \"auto_update\": true,\r\n  \"sharing\": {\r\n    \"include_ip\": false,\r\n    \"include_asn\": true,\r\n    \"include_country\": true,\r\n    \"include_gps\": true,\r\n    \"upload_results\": true\r\n  },\r\n  \"notifications\": {\r\n    \"enabled\": true,\r\n    \"notify_on_test_completion\": true,\r\n    \"notify_on_news\": false\r\n  },\r\n  \"automated_testing\": {\r\n    \"enabled\": false,\r\n    \"enabled_tests\": [\r\n      \"http-header-field-manipulation\"\r\n    ],\r\n    \"monthly_allowance\": \"300MB\"\r\n  },\r\n  \"test_settings\": {\r\n    \"middlebox\": {\r\n      \"enabled_tests\": [\r\n        \"http-header-field-manipulation\"\r\n      ]\r\n    }\r\n  },\r\n  \"advanced\": {\r\n    \"use_domain_fronting\": true,\r\n    \"send_crash_reports\": false,\r\n    \"collector_url\": \"\",\r\n    \"bouncer_url\": \"https://bouncer.ooni.io\"\r\n  }\r\n}\r\n```\r\nAccording to the verbose output it seems that probe reads the config file (`Reading config file from /home/user/.ooni/config-web.json`) however it doesn't process it as it is runnning the web connectivity test, although it was instructed not to.\r\nThe only test enabled in config is http-header-field-manipulation.\r\n\r\n`$ ./ooni run -vc ~/.ooni/config-web.json`\r\n\r\n```\r\n    ooni version 3.0.0-beta.1\r\n    Reading config file from /home/user/.ooni/config-web.json\r\n    Disabling crash reporting.\r\n    Connecting to database sqlite3:///home/user/.ooni/db/main.sqlite3\r\n    running migrations       \r\n    performed 0 migrations   \r\n    Using collector          \r\n    Using bouncer            \r\n    Running all tests\r\n    Running test group Websites\r\n    Creating result {0 websites 2018-12-11 20:26:34.055392897 +0000 UTC 13 0 false false 0 0 /home/user/.ooni/msmts/websites-2018-12-11T202634.055392897Z}\r\n    Running test websites.WebConnectivity\r\n    Init: &{WebConnectivity {false false false    false false false   [] []        map[]} [] {0 0} map[]}\r\n    OutputPath: /tmp/ooni166977213/msmt-websites.WebConnectivity-2018-12-11T202634.078623302Z.jsonl\r\n    GeoIPASNPath: /home/user/.ooni/geoip/GeoIPASNum.dat\r\n    GeoIPCountryPath: /home/user/.ooni/geoip/GeoIP.dat\r\n    Registered all the handlers\r\n    Looking up URLs    \r\n[...]\r\n```"},"comment":{"url":"https://api.github.com/repos/ooni/probe-cli/issues/comments/446542005","html_url":"https://github.com/ooni/probe-cli/issues/26#issuecomment-446542005","issue_url":"https://api.github.com/repos/ooni/probe-cli/issues/26","id":446542005,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjU0MjAwNQ==","user":{"login":"hellais","id":424620,"node_id":"MDQ6VXNlcjQyNDYyMA==","avatar_url":"https://avatars0.githubusercontent.com/u/424620?v=4","gravatar_id":"","url":"https://api.github.com/users/hellais","html_url":"https://github.com/hellais","followers_url":"https://api.github.com/users/hellais/followers","following_url":"https://api.github.com/users/hellais/following{/other_user}","gists_url":"https://api.github.com/users/hellais/gists{/gist_id}","starred_url":"https://api.github.com/users/hellais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellais/subscriptions","organizations_url":"https://api.github.com/users/hellais/orgs","repos_url":"https://api.github.com/users/hellais/repos","events_url":"https://api.github.com/users/hellais/events{/privacy}","received_events_url":"https://api.github.com/users/hellais/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T10:40:10Z","updated_at":"2018-12-12T10:40:10Z","author_association":"MEMBER","body":"As mentioned to you on slack, the automated testing feature is currently not implemented. Any settings in that section will not do anything.\r\n\r\nWhen you tell OONI Probe to run it will simply go through all the tests in a predefined order."}}
{"actor":{"display_login":"hellais"}}