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

[do not merge] Demo incorrect phpunit status (phpunit 6) #34865

Closed
wants to merge 9 commits into from

Conversation

phil-davis
Copy link
Contributor

@phil-davis phil-davis commented Mar 22, 2019

Sadly, we get the same outcome with PHPUnit6:

  1. https://drone.owncloud.com/owncloud/core/16424/199
    runs 9609 unit tests with sqlite and PHP7.1 - it correctly sees 6 failures and exits with error - good.

  2. https://drone.owncloud.com/owncloud/core/16424/207
    runs 9609 unit tests with sqlite and PHP7.2 - it correctly sees 6 failures but exits with success status - bad.

  3. https://drone.owncloud.com/owncloud/core/16424/224
    runs 9609 unit tests with sqlite and PHP7.3 - it correctly sees 6 failures but exits with success status - bad.

This is the same observed behavior as with PHPUnit5 :(

We need to bump up to PHPUnit6 anyway, but I was also hoping that it would resolve this "exit status" issue.

@codecov
Copy link

codecov bot commented Mar 22, 2019

Codecov Report

Merging #34865 into master will decrease coverage by 16.95%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #34865       +/-   ##
=============================================
- Coverage     65.35%   48.39%   -16.96%     
=============================================
  Files          1208      109     -1099     
  Lines         69969    10493    -59476     
  Branches       1280     1280               
=============================================
- Hits          45726     5078    -40648     
+ Misses        23871     5043    -18828     
  Partials        372      372
Flag Coverage Δ Complexity Δ
#javascript 53.04% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 38.17% <ø> (-28.59%) 0 <ø> (-18484)
Impacted Files Coverage Δ Complexity Δ
lib/private/Files/Storage/DAV.php 59.45% <0%> (-21.64%) 0% <0%> (ø)
apps/updatenotification/templates/admin.php
lib/private/Encryption/Keys/Storage.php
lib/private/App/CodeChecker/NodeVisitor.php
lib/private/RedisFactory.php
apps/dav/lib/Avatars/AvatarNode.php
...s/dav/appinfo/Migrations/Version20170202213905.php
apps/dav/lib/Upload/ChunkLocationProvider.php
apps/files/lib/AppInfo/Application.php
apps/systemtags/list.php
... and 1087 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dad2d30...91b59d0. Read the comment docs.

@codecov
Copy link

codecov bot commented Mar 22, 2019

Codecov Report

Merging #34865 into master will decrease coverage by 16.95%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #34865       +/-   ##
=============================================
- Coverage     65.35%   48.39%   -16.96%     
=============================================
  Files          1208      109     -1099     
  Lines         69969    10493    -59476     
  Branches       1280     1280               
=============================================
- Hits          45727     5078    -40649     
+ Misses        23870     5043    -18827     
  Partials        372      372
Flag Coverage Δ Complexity Δ
#javascript 53.04% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 38.17% <ø> (-28.59%) 0 <ø> (-18484)
Impacted Files Coverage Δ Complexity Δ
lib/private/Files/Storage/DAV.php 59.45% <0%> (-21.64%) 0% <0%> (ø)
apps/updatenotification/templates/admin.php
lib/private/Encryption/Keys/Storage.php
lib/private/App/CodeChecker/NodeVisitor.php
lib/private/RedisFactory.php
apps/dav/lib/Avatars/AvatarNode.php
...s/dav/appinfo/Migrations/Version20170202213905.php
apps/dav/lib/Upload/ChunkLocationProvider.php
apps/files/lib/AppInfo/Application.php
apps/systemtags/list.php
... and 1087 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d2a5fec...1767841. Read the comment docs.

@phil-davis phil-davis force-pushed the demo-incorrect-phpunit-status-phpunit-6 branch from 91b59d0 to 1767841 Compare March 22, 2019 09:31
@phil-davis
Copy link
Contributor Author

Sadly issue #34858 is not solved by PHPUnit6.

@phil-davis phil-davis closed this Mar 24, 2019
@phil-davis phil-davis deleted the demo-incorrect-phpunit-status-phpunit-6 branch March 24, 2019 06:31
@lock lock bot locked as resolved and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant