Skip to content

Commit

Permalink
Merge branch 'master' into issue/2545-small
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Oct 20, 2023
2 parents 7a555f4 + aa0deff commit 5e93d83
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion NDKVERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
26.0.10792818
26.1.10909125
6 changes: 4 additions & 2 deletions cmd/ooniprobe/internal/nettests/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func RunGroup(config RunGroupConfig) error {
return err
}
if err := sess.MaybeLookupBackends(); err != nil {
log.WithError(err).Warn("Failed to discover OONI backends")
log.WithError(err).Errorf("Failed to discover OONI backends")
return err
}

Expand Down Expand Up @@ -116,7 +116,9 @@ func RunGroup(config RunGroupConfig) error {
ctl.RunType = config.RunType
ctl.SetNettestIndex(i, len(group.Nettests))
if err = nt.Run(ctl); err != nil {
log.WithError(err).Errorf("Failed to run %s", group.Label)
// We used to emit an error here, now we emit a warning--the proper choice
// given that we continue running. See https://github.com/ooni/probe/issues/2576.
log.WithError(err).Warnf("Failed to run %s", group.Label)
}
}

Expand Down
6 changes: 4 additions & 2 deletions internal/registry/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,10 @@ func TestNewFactory(t *testing.T) {
inputPolicy: model.InputStrictlyRequired,
},
"vanilla_tor": {
enabledByDefault: true,
inputPolicy: model.InputNone,
// The experiment crashes on Android and possibly also iOS. We want to
// control whether and when to run it using check-in.
//enabledByDefault: false,
inputPolicy: model.InputNone,
},
"web_connectivity": {
enabledByDefault: true,
Expand Down
7 changes: 5 additions & 2 deletions internal/registry/vanillator.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ func init() {
*config.(*vanillator.Config),
)
},
config: &vanillator.Config{},
enabledByDefault: true,
config: &vanillator.Config{},
// We discussed this topic with @aanorbel. On Android this experiment crashes
// frequently because of https://github.com/ooni/probe/issues/2406. So, it seems
// more cautious to disable it by default and let the check-in API decide.
enabledByDefault: false,
inputPolicy: model.InputNone,
}
}

0 comments on commit 5e93d83

Please sign in to comment.