| Commit message (Collapse) | Author | Age |
| ... | |
| | | | | |
|
| |\ \ \ \
| |/ / /
|/| | | |
Feature/support postprocessor api
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
The report dict is already created in the constructor, so we look to see
if instead the input argument was already set.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If a NetTestCase has multiple test_ methods, then the report write shall
not occur until all of the individual Measurements have completed.
This also changes the postProcessor API slightly; postProcessors are now
expected to return a report instance. If a postProcessor is not
supplied, then the report object from the instanced NetTestCase class is
passed to Report.write()
|
| | |/ /
| | |
| | |
| | |
| | | |
Measurements should be able to take an instanced class so that the
resulting report can be shared between several Measurements.
|
| |\ \ \
| | | |
| | | | |
Fix/report write entry
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Simply passing a failure instance does not provide any contextual
information, such as the input that was used, or headers. Instead, we
should always write the report object, even in case of failure, and
NetTests should try to add useful information to the report in their
errbacks.
|
| | |/ /
| | |
| | |
| | | |
ReportEntryTask can be passed dicts, Measurements, or Failures
|
| |/ /
| |
| |
| |
| |
| | |
The callback attached to the deferredList previously swallowed failures,
such that any errors would never reach the errbacks attached and
therefore the test would not get rescheduled.
|
| |\ \
| | |
| | | |
Fix/test helper lookup
|
| | | | |
|
| | | | |
|
| | | | |
|
| | |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
* master:
Enforce str on IP address of backend.
Change the default ports used by Tor.
|
| | |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* thetorproject/master:
Add encoding format
Add a version and author to dnsspoof
Write unittest for testing https://github.com/TheTorProject/ooni-backend/pull/16
URL must be utf-8
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
(cherry picked from commit 30ad9e2abde45ed3946d7b00cf1e7939f7db1cfd)
|
| | |/ /
|/| |
| | |
| | | |
(cherry picked from commit cd8084ecdd5742bda39fc3294522464ddef852f0)
|
| |\ \ \
| | | |
| | | | |
Write unittest for testing https://github.com/TheTorProject/ooni-backend...
|
| | |/ / |
|
| |/ / |
|
| | | |
|
| | |
| |
| |
| |
| | |
Do not fail in downloading the inputs specified as URLs if a bouncer is not
specified.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
We now also support running test decks that have test helpers that can't reside on the same machine.
|
| | |
| |
| |
| | |
failures is now an int and not a list
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* master: (36 commits)
Clean up error messages
Handle more failure types
Properly handle the case when we don't get a collector by asking a bouncer
Track the number of failed reporters
Fix report write failure bug
Track the number of failures, not the instances.
Reschedule failures immediately
Link TaskManagers by Least Available Slots
Add CouldNotFindTestCollector error
Fix some issues with ooni.deck
Simplify the bouncer API
Use error-code 406 to indicate policy rejection
Add support for looking up test helpers via a bouncer.
Add component.json file to ng-upload
Update LICENSE file
Start outlining the classes for policy handling
Only run unittests when there is something on port 8888
Add a basic deck that includes inputs as URLs
Fix bug that leads decks not being started properly
Implement downloading of input files based on URL in deck file
...
Conflicts:
ooni/templates/httpt.py
|
| | | |
| | |
| | |
| | | |
* Fix bug when inputFile is not set
|
| | | |
| | |
| | |
| | |
| | | |
* Make sure tests will still work properly even if Tor is not running.
(cherry picked from commit 783fc4673a674bec54b958d23f3356bcc0c27286)
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
When a report has opened, and then a reporter has subsequently failed,
it is now removed from the list of valid reporters.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
The number of failures on very large scans (1m hosts) results in
a large list. This commit tracks the number of failures instead
of the objects.
|
| | | |
| | |
| | |
| | |
| | | |
Reschedule failures immediately so they do not accrue at the end
of the task list and eat memory.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
A LinkedTaskManager only has availableSlots if its child TaskManager
also has availableSlots. Children LinkedTaskManagers must notify the
parent LinkedTaskManager when a task is complete because the task
queue is event-driven.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
1. Do not require a bouncer to use a deck
2. If a bouncer is used, also fetch collectors for tests that
do not list helpers or already have helpers specified in the deck.
|
| | | |
| | |
| | |
| | | |
Simplified bouncer API requires one helper lookup per NetTest.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|