X Tutup
Skip to content

Test against core branch stream_read-wrapper#166

Closed
phil-davis wants to merge 2 commits intomasterfrom
test-against-core-stream_read-wrapper
Closed

Test against core branch stream_read-wrapper#166
phil-davis wants to merge 2 commits intomasterfrom
test-against-core-stream_read-wrapper

Conversation

@phil-davis
Copy link
Contributor

Run the acceptance tests using core branch stream_read-wrapper (core PR owncloud/core#36546 )

@phil-davis phil-davis self-assigned this Dec 9, 2019
@phil-davis phil-davis force-pushed the test-against-core-stream_read-wrapper branch from bd8d339 to 65b4e57 Compare January 24, 2020 06:06
@codecov
Copy link

codecov bot commented Jan 24, 2020

Codecov Report

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

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #166      +/-   ##
============================================
- Coverage     71.94%   71.77%   -0.18%     
  Complexity      612      612              
============================================
  Files            35       35              
  Lines          2299     2299              
============================================
- Hits           1654     1650       -4     
- Misses          645      649       +4
Impacted Files Coverage Δ Complexity Δ
lib/Crypto/Encryption.php 80.6% <0%> (-1.82%) 55% <0%> (ø)
lib/Command/FixEncryptedVersion.php 92.2% <0%> (-1.3%) 21% <0%> (ø)

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 cf260a7...f8afcf7. Read the comment docs.

@phil-davis
Copy link
Contributor Author

Rebased this just now. CI is running again against the rebased core branch. Let's see the result.

@phil-davis
Copy link
Contributor Author

https://drone.owncloud.com/owncloud/encryption/1088/43/16

--- Failed scenarios:

    /var/www/owncloud/testrunner/tests/acceptance/features/apiSharingNotifications/sharingNotifications.feature:23
    /var/www/owncloud/testrunner/tests/acceptance/features/apiSharingNotifications/sharingNotifications.feature:36
    /var/www/owncloud/testrunner/tests/acceptance/features/apiSharingNotifications/sharingNotifications.feature:70
    /var/www/owncloud/testrunner/tests/acceptance/features/apiSharingNotifications/sharingNotifications.feature:96
    /var/www/owncloud/testrunner/tests/acceptance/features/apiSharingNotifications/sharingNotifications.feature:135

9 scenarios (4 passed, 5 failed)
122 steps (105 passed, 5 failed, 12 skipped)

https://drone.owncloud.com/owncloud/encryption/1088/105/17

--- Failed scenarios:

    /var/www/owncloud/testrunner/tests/acceptance/features/webUISharingNotifications/shareWithUsers.feature:47

1 scenario (1 failed)
13 steps (8 passed, 1 failed, 4 skipped)

Those are master key encryption tests. The same scenarios fail with user key encryption also.

@phil-davis
Copy link
Contributor Author

Now I understand what is the problem here. When I test against a GitHub branch, then the system-under-test is just a git clone of core. It does not automagically have any other apps available. In this case notifications app is not there.

When running against a release tarball, or daily-master tarball, those tarballs have various "bonus apps" code already bundled in the tarball.

I will adjust the drone starlark here so it fetches the notifications app code...

@phil-davis
Copy link
Contributor Author

phil-davis commented Jan 30, 2020

Works - great stuff!
PR owncloud/core#36546 loks good to go - owncloud/core#36546 (comment)

@phil-davis phil-davis closed this Mar 31, 2020
@phil-davis phil-davis deleted the test-against-core-stream_read-wrapper branch March 31, 2020 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

X Tutup