Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify ./wpt check-stability and ./wpt run --verify #13406

Open
foolip opened this issue Oct 7, 2018 · 6 comments
Open

Unify ./wpt check-stability and ./wpt run --verify #13406

foolip opened this issue Oct 7, 2018 · 6 comments
Labels
ci_stability infra priority:backlog wptrunner The automated test runner, commonly called through ./wpt run

Comments

@foolip
Copy link
Member

foolip commented Oct 7, 2018

Previous issues and PRs (now closed/merged) on the topic of stability checking:

However, with --stability gone, we're still left with two different things. On Travis we use ./wpt check-stability:

./wpt check-stability $PRODUCT $extra_arg --output-bytes $((1024 * 1024 * 3)) --metadata ~/meta/ --install-fonts

And on Taskcluster we use ./wpt run --verify:

extra_args: '--verify'

It would be great with just a single approach that we can use everywhere.

@gsnedders @jgraham @jugglinmike

@foolip foolip added infra ci_stability wptrunner The automated test runner, commonly called through ./wpt run priority:roadmap labels Oct 7, 2018
@jugglinmike
Copy link
Contributor

This is more than just interface design. The semantics of the two commandsdiffer in a way that influences what passes for "stable". More on this here:

#12657 (comment)

@foolip
Copy link
Member Author

foolip commented Oct 7, 2018

@jugglinmike thanks for that summary! Beyond the AABB vs. ABAB ordering, you can from the Taskcluster logs that there are also differences in restarts. Example from #13405:

:::
::: Running test verification step "Running tests in a loop 10 times"...
:::

All results

/webstorage/event_initstorageevent.html

Subtest Results Messages
OK
initStorageEvent with 0 arguments FAIL assert_throws: function "() => event.initStorageEvent()" did not throw
initStorageEvent with 1 argument FAIL assert_equals: event.key expected (object) null but got (string) "undefined"
initStorageEvent with 8 sensible arguments PASS
initStorageEvent with 8 null arguments FAIL assert_equals: event.key expected (object) null but got (string) "null"
initStorageEvent with 8 undefined arguments FAIL assert_equals: event.key expected (object) null but got (string) "undefined"

:::
::: Running test verification step "Running tests in a loop with restarts 5 times"...
:::

All results

/webstorage/event_initstorageevent.html

Subtest Results Messages
OK
initStorageEvent with 0 arguments FAIL assert_throws: function "() => event.initStorageEvent()" did not throw
initStorageEvent with 1 argument FAIL assert_equals: event.key expected (object) null but got (string) "undefined"
initStorageEvent with 8 sensible arguments PASS
initStorageEvent with 8 null arguments FAIL assert_equals: event.key expected (object) null but got (string) "null"
initStorageEvent with 8 undefined arguments FAIL assert_equals: event.key expected (object) null but got (string) "undefined"

::: Running tests in a loop 10 times : PASS
::: Running tests in a loop with restarts 5 times : PASS
:::
::: Test verification PASS
:::

Anyway, it seems to me that --verify is the more featureful variant. @jgraham, after we've turned off Travis stability checking in favor of Taskcluster, is there any reason to keep check-stability around as well?

@jgraham
Copy link
Contributor

jgraham commented Oct 8, 2018

No.

@foolip
Copy link
Member Author

foolip commented Oct 8, 2018

Alright! @jugglinmike, how are things looking for making Taskcluster stability task failures blocking?

@mdittmer
Copy link
Contributor

Ping from your friendly neighbourhood ecosystem infra rotation

If this is priority:roadmap should it have an assignee?

@foolip
Copy link
Member Author

foolip commented Dec 12, 2018

I'll downgrade the priority. Once we've gotten rid of stability jobs from Travis entirely we can do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci_stability infra priority:backlog wptrunner The automated test runner, commonly called through ./wpt run
Projects
None yet
Development

No branches or pull requests

4 participants