Skip to content

Revert commented failing tests from 14640 - #14671

Closed
MorrisJobke wants to merge 8 commits into
masterfrom
revert/14640/commented-failing-tests
Closed

Revert commented failing tests from 14640#14671
MorrisJobke wants to merge 8 commits into
masterfrom
revert/14640/commented-failing-tests

Conversation

@MorrisJobke

Copy link
Copy Markdown
Member

Ref #14640

We should look into fixing them properly.

@MorrisJobkeMorrisJobke added the 2. developing Work in progress label Mar 13, 2019
@faily-bot

faily-botBot commented Mar 13, 2019

Copy link
Copy Markdown

🤖 beep boop beep 🤖

Here are the logs for the failed build:

Status of 16975: failure

ENABLE_REDIS=true, TESTS=db-codecov

Show full log
There were 3 failures:
1) Tests\Core\Command\Config\AppsEnableTest::testCommandInput with data set #8 (array('updatenotification', 'contacts'), array('admin'), 0, 'updatenotification enabled fo... admin')
Failed asserting that 'updatenotification enabled for groups: admin\n
Could not download app contacts\n
' contains "updatenotification enabled for groups: admin
contacts enabled for groups: admin".
/drone/src/github.com/nextcloud/server/tests/Core/Command/Apps/AppsEnableTest.php:69
2) Tests\Core\Command\Config\AppsEnableTest::testCommandInput with data set #10 (array('updatenotification', 'contacts'), array('admin', 'invalid_group'), 0, 'updatenotification enabled fo... admin')
Failed asserting that 'updatenotification enabled for groups: admin\n
Could not download app contacts\n
' contains "updatenotification enabled for groups: admin
contacts enabled for groups: admin".
/drone/src/github.com/nextcloud/server/tests/Core/Command/Apps/AppsEnableTest.php:69
3) Tests\Core\Command\Config\AppsEnableTest::testCommandInput with data set #11 (array('updatenotification', 'contacts', 'invalid_app'), array('admin', 'invalid_group'), 1, 'updatenotification enabled fo...id_app')
Failed asserting that 'updatenotification enabled for groups: admin\n
Could not download app contacts\n
Could not download app invalid_app\n
' contains "updatenotification enabled for groups: admin
contacts enabled for groups: admin
Could not download app invalid_app".
/drone/src/github.com/nextcloud/server/tests/Core/Command/Apps/AppsEnableTest.php:69
--
There was 1 risky test:
1) OCA\TwoFactorBackupCodes\Tests\Db\BackupCodeMapperTest::testInsertArgonEncryptedCodes
This test did not perform any assertions

DB=sqlite, ENABLE_REDIS=false, PHP=7.3

Show full log
There was 1 failure:
1) TrashbinTest::testExpireOldFiles
Failed asserting that null is identical to 'file2.txt'.
/drone/src/github.com/nextcloud/server/apps/files_trashbin/tests/TrashbinTest.php:186
--
There was 1 risky test:
1) OCA\TwoFactorBackupCodes\Tests\Db\BackupCodeMapperTest::testInsertArgonEncryptedCodes
This test did not perform any assertions

TESTS=integration-federation_features

  • build/integration/federation_features/federated.feature:183
  • build/integration/federation_features/federated.feature:232
  • build/integration/federation_features/federated.feature:247
  • build/integration/federation_features/federated.feature:263
Show full log
[Wed Mar 13 22:26:08 2019] 127.0.0.1:38932 [404]: /ocs/v2.php/cloud/groups/group1
[Wed Mar 13 22:26:08 2019] 127.0.0.1:58806 [200]: /ocs/v1.php/apps/testing/api/v1/app/files_sharing/incoming_server2server_group_share_enabled
[Wed Mar 13 22:26:08 2019] 127.0.0.1:58808 [200]: /ocs/v1.php/apps/testing/api/v1/app/files_sharing/outgoing_server2server_group_share_enabled
Scenario: Reshare a federated shared file # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:183
Given Using server "REMOTE" # FederationContext::usingServer()
[Wed Mar 13 22:26:08 2019] 127.0.0.1:38938 [404]: /ocs/v2.php/cloud/users/user1
[Wed Mar 13 22:26:08 2019] 127.0.0.1:38940 [200]: /ocs/v1.php/cloud/users
[Wed Mar 13 22:26:09 2019] 127.0.0.1:38944 [200]: /ocs/v1.php/cloud/users/user1
[Wed Mar 13 22:26:09 2019] 127.0.0.1:38946 [200]: /ocs/v2.php/cloud/users/user1
And user "user1" exists # FederationContext::assureUserExists()
[Wed Mar 13 22:26:09 2019] 127.0.0.1:38948 [404]: /ocs/v2.php/cloud/users/user2
[Wed Mar 13 22:26:09 2019] 127.0.0.1:38950 [200]: /ocs/v1.php/cloud/users
[Wed Mar 13 22:26:10 2019] 127.0.0.1:38952 [200]: /ocs/v1.php/cloud/users/user2
[Wed Mar 13 22:26:10 2019] 127.0.0.1:38966 [200]: /ocs/v2.php/cloud/users/user2
And user "user2" exists # FederationContext::assureUserExists()
And Using server "LOCAL" # FederationContext::usingServer()
[Wed Mar 13 22:26:11 2019] 127.0.0.1:58840 [404]: /ocs/v2.php/cloud/users/user0
[Wed Mar 13 22:26:11 2019] 127.0.0.1:58842 [200]: /ocs/v1.php/cloud/users
[Wed Mar 13 22:26:12 2019] 127.0.0.1:58846 [200]: /ocs/v1.php/cloud/users/user0
[Wed Mar 13 22:26:12 2019] 127.0.0.1:58856 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # FederationContext::assureUserExists()
[Wed Mar 13 22:26:12 2019] 127.0.0.1:39016 [200]: /ocm-provider/
[Wed Mar 13 22:26:12 2019] 127.0.0.1:39032 [201]: /index.php/ocm/shares
[Wed Mar 13 22:26:12 2019] 127.0.0.1:58858 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
And User "user0" from server "LOCAL" shares "/textfile0.txt" with user "user1" from server "REMOTE" # FederationContext::federateSharing()
[Wed Mar 13 22:26:13 2019] 127.0.0.1:39050 [200]: /ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending
[Wed Mar 13 22:26:13 2019] 127.0.0.1:58926 [200]: //ocm-provider/
[Wed Mar 13 22:26:13 2019] 127.0.0.1:58928 [201]: /index.php/ocm/notifications
[Wed Mar 13 22:26:13 2019] 127.0.0.1:58930 [200]: //ocs-provider/
[Wed Mar 13 22:26:13 2019] 127.0.0.1:58932 [200]: /ocs/v2.php/cloud/shares/8/accept?format=json
[Wed Mar 13 22:26:13 2019] 127.0.0.1:39052 [200]: /ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending/9
And User "user1" from server "REMOTE" accepts last pending share # FederationContext::acceptLastPendingShare()
And Using server "REMOTE" # FederationContext::usingServer()
And As an "user1" # FederationContext::asAn()
[Wed Mar 13 22:26:13 2019] 127.0.0.1:58938 [200]: //ocs-provider/
[Wed Mar 13 22:26:13 2019] 127.0.0.1:58940 [200]: //status.php
[Wed Mar 13 22:26:13 2019] 127.0.0.1:58942 [200]: //status.php
[Wed Mar 13 22:26:13 2019] 127.0.0.1:58944 [200]: /index.php/apps/files_sharing/shareinfo?t=hEZpQTLoE3cY9JV
[Wed Mar 13 22:26:13 2019] 127.0.0.1:39064 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # FederationContext::creatingShare()
| path | /textfile0 (2).txt |
| shareType | 0 |
| shareWith | user2 |
| permissions | 19 |
Then the OCS status code should be "100" # FederationContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &000000004efd2da4000000002c2f5192 (
0 => '404'
) matches expected '100'.
And the HTTP status code should be "200" # FederationContext::theHTTPStatusCodeShouldBe()
And Share fields of last share match with # FederationContext::checkShareFields()
| id | A_NUMBER |
| item_type | file |
| item_source | A_NUMBER |
| share_type | 0 |
| file_source | A_NUMBER |
| path | /textfile0 (2).txt |
| permissions | 19 |
| stime | A_NUMBER |
| storage | A_NUMBER |
| mail_send | 1 |
| uid_owner | user1 |
| file_parent | A_NUMBER |
| displayname_owner | user1 |
| share_with | user2 |
| share_with_displayname | user2 |
[Wed Mar 13 22:26:14 2019] 127.0.0.1:58960 [200]: /ocs/v1.php/cloud/users/user0
[Wed Mar 13 22:26:14 2019] 127.0.0.1:59018 [404]: /ocs/v2.php/cloud/users/user0
[Wed Mar 13 22:26:14 2019] 127.0.0.1:59068 [200]: //ocm-provider/
[Wed Mar 13 22:26:14 2019] 127.0.0.1:59072 [400]: /index.php/ocm/notifications
[Wed Mar 13 22:26:14 2019] error while sending notification for federated share: Client error: `POST http://localhost:8080/index.php/ocm/notifications` resulted in a `400 Bad request` response:
{"message":"Can not find share with ID: 8"}
[Wed Mar 13 22:26:23 2019] 127.0.0.1:59470 [200]: /ocs/v1.php/apps/testing/api/v1/app/files_sharing/incoming_server2server_group_share_enabled
[Wed Mar 13 22:26:23 2019] 127.0.0.1:59474 [200]: /ocs/v1.php/apps/testing/api/v1/app/files_sharing/outgoing_server2server_group_share_enabled
Scenario: Overwrite a federated shared folder as recipient # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:232
Given Using server "REMOTE" # FederationContext::usingServer()
[Wed Mar 13 22:26:23 2019] 127.0.0.1:39604 [404]: /ocs/v2.php/cloud/users/user1
[Wed Mar 13 22:26:23 2019] 127.0.0.1:39606 [200]: /ocs/v1.php/cloud/users
[Wed Mar 13 22:26:23 2019] 127.0.0.1:39608 [200]: /ocs/v1.php/cloud/users/user1
[Wed Mar 13 22:26:24 2019] 127.0.0.1:39610 [200]: /ocs/v2.php/cloud/users/user1
And user "user1" exists # FederationContext::assureUserExists()
[Wed Mar 13 22:26:24 2019] 127.0.0.1:39612 [404]: /ocs/v2.php/cloud/users/user2
[Wed Mar 13 22:26:24 2019] 127.0.0.1:39614 [200]: /ocs/v1.php/cloud/users
[Wed Mar 13 22:26:26 2019] 127.0.0.1:39622 [200]: /ocs/v1.php/cloud/users/user2
[Wed Mar 13 22:26:26 2019] 127.0.0.1:39652 [200]: /ocs/v2.php/cloud/users/user2
And user "user2" exists # FederationContext::assureUserExists()
And Using server "LOCAL" # FederationContext::usingServer()
[Wed Mar 13 22:26:27 2019] 127.0.0.1:59528 [404]: /ocs/v2.php/cloud/users/user0
[Wed Mar 13 22:26:27 2019] 127.0.0.1:59532 [200]: /ocs/v1.php/cloud/users
[Wed Mar 13 22:26:27 2019] 127.0.0.1:59538 [200]: /ocs/v1.php/cloud/users/user0
[Wed Mar 13 22:26:27 2019] 127.0.0.1:59552 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # FederationContext::assureUserExists()
[Wed Mar 13 22:26:27 2019] 127.0.0.1:39690 [200]: /ocm-provider/
[Wed Mar 13 22:26:28 2019] 127.0.0.1:39692 [201]: /index.php/ocm/shares
[Wed Mar 13 22:26:28 2019] 127.0.0.1:59556 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
And User "user0" from server "LOCAL" shares "/PARENT" with user "user1" from server "REMOTE" # FederationContext::federateSharing()
[Wed Mar 13 22:26:28 2019] 127.0.0.1:39696 [200]: /ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending
[Wed Mar 13 22:26:28 2019] 127.0.0.1:59576 [200]: //ocm-provider/
[Wed Mar 13 22:26:28 2019] 127.0.0.1:59578 [201]: /index.php/ocm/notifications
[Wed Mar 13 22:26:28 2019] 127.0.0.1:59580 [200]: //ocs-provider/
[Wed Mar 13 22:26:28 2019] 127.0.0.1:59584 [200]: /ocs/v2.php/cloud/shares/10/accept?format=json
[Wed Mar 13 22:26:28 2019] 127.0.0.1:39700 [200]: /ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending/11
And User "user1" from server "REMOTE" accepts last pending share # FederationContext::acceptLastPendingShare()
And Using server "REMOTE" # FederationContext::usingServer()
And As an "user1" # FederationContext::asAn()
And User "user1" modifies text of "/textfile0.txt" with text "BLABLABLA" # FederationContext::modifyTextOfFile()
[Wed Mar 13 22:26:28 2019] 127.0.0.1:59602 [200]: //ocs-provider/
[Wed Mar 13 22:26:29 2019] 127.0.0.1:59604 [401]: /public.php/webdav/textfile0.txt
[Wed Mar 13 22:26:29 2019] 127.0.0.1:59606 [404]: /public.php/webdav/textfile0.txt
[Wed Mar 13 22:26:29 2019] 127.0.0.1:59608 [200]: //status.php
[Wed Mar 13 22:26:29 2019] 127.0.0.1:59610 [200]: //status.php
[Wed Mar 13 22:26:29 2019] 127.0.0.1:59612 [200]: /index.php/apps/files_sharing/shareinfo?t=2P7y3FtHylo2CnQ
[Wed Mar 13 22:26:29 2019] Undefined index: size at /drone/src/github.com/nextcloud/server/lib/private/Files/View.php#1324
[Wed Mar 13 22:26:29 2019] Undefined index: storage_mtime at /drone/src/github.com/nextcloud/server/lib/private/Files/Cache/Watcher.php#126
[Wed Mar 13 22:26:29 2019] 127.0.0.1:59614 [207]: /public.php/webdav/
[Wed Mar 13 22:26:29 2019] Undefined index: etag at /drone/src/github.com/nextcloud/server/lib/private/Files/Storage/DAV.php#784
[Wed Mar 13 22:26:29 2019] 127.0.0.1:59616 [200]: //status.php
[Wed Mar 13 22:26:29 2019] 127.0.0.1:59620 [200]: //status.php
[Wed Mar 13 22:26:29 2019] 127.0.0.1:59622 [200]: /index.php/apps/files_sharing/shareinfo?t=2P7y3FtHylo2CnQ
[Wed Mar 13 22:26:29 2019] Undefined index: mimetype at /drone/src/github.com/nextcloud/server/lib/private/Files/Cache/Watcher.php#108
[Wed Mar 13 22:26:29 2019] 127.0.0.1:39728 [404]: /remote.php/webdav/PARENT%20(2)/textfile0.txt
When User "user1" uploads file "../../data/user1/files/textfile0.txt" to "/PARENT (2)/textfile0.txt" # FederationContext::userUploadsAFileTo()
Client error: `PUT http://localhost:8180/remote.php/webdav/PARENT%20(2)/textfile0.txt` resulted in a `404 Not Found` response:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DA (truncated...)
(GuzzleHttp\Exception\ClientException)
And Downloading file "/PARENT (2)/textfile0.txt" with range "bytes=0-8" # FederationContext::downloadFileWithRange()
Then Downloaded content should be "BLABLABLA" # FederationContext::downloadedContentShouldBe()
[Wed Mar 13 22:26:30 2019] 127.0.0.1:59626 [200]: /ocs/v1.php/cloud/users/user0
[Wed Mar 13 22:26:30 2019] 127.0.0.1:59654 [404]: /ocs/v2.php/cloud/users/user0
[Wed Mar 13 22:26:31 2019] 127.0.0.1:59672 [200]: //ocm-provider/
[Wed Mar 13 22:26:31 2019] 127.0.0.1:59674 [400]: /index.php/ocm/notifications
[Wed Mar 13 22:26:31 2019] error while sending notification for federated share: Client error: `POST http://localhost:8080/index.php/ocm/notifications` resulted in a `400 Bad request` response:
{"message":"Can not find share with ID: 10"}
[Wed Mar 13 22:26:41 2019] 127.0.0.1:59748 [200]: /ocs/v1.php/apps/testing/api/v1/app/files_sharing/incoming_server2server_group_share_enabled
[Wed Mar 13 22:26:41 2019] 127.0.0.1:59752 [200]: /ocs/v1.php/apps/testing/api/v1/app/files_sharing/outgoing_server2server_group_share_enabled
Scenario: Overwrite a federated shared file as recipient using old chunking # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:247
Given Using server "REMOTE" # FederationContext::usingServer()
[Wed Mar 13 22:26:41 2019] 127.0.0.1:39882 [404]: /ocs/v2.php/cloud/users/user1
[Wed Mar 13 22:26:42 2019] 127.0.0.1:39884 [200]: /ocs/v1.php/cloud/users
[Wed Mar 13 22:26:48 2019] 127.0.0.1:39890 [200]: /ocs/v1.php/cloud/users/user1
[Wed Mar 13 22:26:48 2019] 127.0.0.1:40002 [200]: /ocs/v2.php/cloud/users/user1
And user "user1" exists # FederationContext::assureUserExists()
[Wed Mar 13 22:26:48 2019] 127.0.0.1:40006 [404]: /ocs/v2.php/cloud/users/user2
[Wed Mar 13 22:26:48 2019] 127.0.0.1:40008 [200]: /ocs/v1.php/cloud/users
[Wed Mar 13 22:26:49 2019] 127.0.0.1:40012 [200]: /ocs/v1.php/cloud/users/user2
[Wed Mar 13 22:26:49 2019] 127.0.0.1:40018 [200]: /ocs/v2.php/cloud/users/user2
And user "user2" exists # FederationContext::assureUserExists()
And Using server "LOCAL" # FederationContext::usingServer()
[Wed Mar 13 22:26:49 2019] 127.0.0.1:59892 [404]: /ocs/v2.php/cloud/users/user0
[Wed Mar 13 22:26:50 2019] 127.0.0.1:59894 [200]: /ocs/v1.php/cloud/users
[Wed Mar 13 22:26:51 2019] 127.0.0.1:59908 [200]: /ocs/v1.php/cloud/users/user0
[Wed Mar 13 22:26:51 2019] 127.0.0.1:59956 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # FederationContext::assureUserExists()
[Wed Mar 13 22:26:52 2019] 127.0.0.1:40144 [200]: /ocm-provider/
[Wed Mar 13 22:26:52 2019] 127.0.0.1:40148 [201]: /index.php/ocm/shares
[Wed Mar 13 22:26:52 2019] 127.0.0.1:60010 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
And User "user0" from server "LOCAL" shares "/textfile0.txt" with user "user1" from server "REMOTE" # FederationContext::federateSharing()
[Wed Mar 13 22:26:52 2019] 127.0.0.1:40162 [200]: /ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending
[Wed Mar 13 22:26:52 2019] 127.0.0.1:60048 [200]: //ocm-provider/
[Wed Mar 13 22:26:52 2019] 127.0.0.1:60052 [201]: /index.php/ocm/notifications
[Wed Mar 13 22:26:52 2019] 127.0.0.1:60054 [200]: //ocs-provider/
[Wed Mar 13 22:26:52 2019] 127.0.0.1:60056 [200]: /ocs/v2.php/cloud/shares/11/accept?format=json
[Wed Mar 13 22:26:52 2019] 127.0.0.1:40174 [200]: /ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending/12
And User "user1" from server "REMOTE" accepts last pending share # FederationContext::acceptLastPendingShare()
And Using server "REMOTE" # FederationContext::usingServer()
And As an "user1" # FederationContext::asAn()
[Wed Mar 13 22:26:52 2019] 127.0.0.1:60072 [200]: //ocs-provider/
[Wed Mar 13 22:26:52 2019] 127.0.0.1:60074 [401]: /public.php/webdav/
[Wed Mar 13 22:26:52 2019] 127.0.0.1:60076 [207]: /public.php/webdav/
[Wed Mar 13 22:26:52 2019] 127.0.0.1:60084 [200]: //status.php
[Wed Mar 13 22:26:52 2019] 127.0.0.1:60086 [200]: //status.php
[Wed Mar 13 22:26:52 2019] 127.0.0.1:60088 [200]: /index.php/apps/files_sharing/shareinfo?t=yo66EO2WzJL4Ax1
[Wed Mar 13 22:26:52 2019] 127.0.0.1:40186 [404]: /remote.php/webdav/textfile0%20(2).txt-chunking-42-3-0
And user "user1" uploads chunk file "1" of "3" with "AAAAA" to "/textfile0 (2).txt" # FederationContext::userUploadsChunkFileOfWithToWithChecksum()
Client error: `PUT http://localhost:8180/remote.php/webdav/textfile0%20(2).txt-chunking-42-3-0` resulted in a `404 Not Found` response:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DA (truncated...)
(GuzzleHttp\Exception\ClientException)
And user "user1" uploads chunk file "2" of "3" with "BBBBB" to "/textfile0 (2).txt" # FederationContext::userUploadsChunkFileOfWithToWithChecksum()
And user "user1" uploads chunk file "3" of "3" with "CCCCC" to "/textfile0 (2).txt" # FederationContext::userUploadsChunkFileOfWithToWithChecksum()
When Downloading file "/textfile0 (2).txt" with range "bytes=0-4" # FederationContext::downloadFileWithRange()
Then Downloaded content should be "AAAAA" # FederationContext::downloadedContentShouldBe()
[Wed Mar 13 22:26:54 2019] 127.0.0.1:60138 [200]: /ocs/v1.php/cloud/users/user0
[Wed Mar 13 22:26:54 2019] 127.0.0.1:60158 [404]: /ocs/v2.php/cloud/users/user0
[Wed Mar 13 22:26:55 2019] 127.0.0.1:60194 [200]: //ocm-provider/
[Wed Mar 13 22:26:55 2019] 127.0.0.1:60196 [400]: /index.php/ocm/notifications
[Wed Mar 13 22:26:55 2019] error while sending notification for federated share: Client error: `POST http://localhost:8080/index.php/ocm/notifications` resulted in a `400 Bad request` response:
{"message":"Can not find share with ID: 11"}
[Wed Mar 13 22:26:56 2019] 127.0.0.1:60260 [200]: /ocs/v1.php/apps/testing/api/v1/app/files_sharing/incoming_server2server_group_share_enabled
[Wed Mar 13 22:26:56 2019] 127.0.0.1:60268 [200]: /ocs/v1.php/apps/testing/api/v1/app/files_sharing/outgoing_server2server_group_share_enabled
Scenario: Overwrite a federated shared folder as recipient using old chunking # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:263
Given Using server "REMOTE" # FederationContext::usingServer()
[Wed Mar 13 22:26:56 2019] 127.0.0.1:40404 [404]: /ocs/v2.php/cloud/users/user1
[Wed Mar 13 22:26:56 2019] 127.0.0.1:40414 [200]: /ocs/v1.php/cloud/users
[Wed Mar 13 22:26:56 2019] 127.0.0.1:40432 [200]: /ocs/v1.php/cloud/users/user1
[Wed Mar 13 22:26:56 2019] 127.0.0.1:40446 [200]: /ocs/v2.php/cloud/users/user1
And user "user1" exists # FederationContext::assureUserExists()
[Wed Mar 13 22:26:57 2019] 127.0.0.1:40456 [404]: /ocs/v2.php/cloud/users/user2
[Wed Mar 13 22:26:57 2019] 127.0.0.1:40462 [200]: /ocs/v1.php/cloud/users
[Wed Mar 13 22:26:57 2019] 127.0.0.1:40482 [200]: /ocs/v1.php/cloud/users/user2
[Wed Mar 13 22:26:57 2019] 127.0.0.1:40502 [200]: /ocs/v2.php/cloud/users/user2
And user "user2" exists # FederationContext::assureUserExists()
And Using server "LOCAL" # FederationContext::usingServer()
[Wed Mar 13 22:26:57 2019] 127.0.0.1:60382 [404]: /ocs/v2.php/cloud/users/user0
[Wed Mar 13 22:26:58 2019] 127.0.0.1:60392 [200]: /ocs/v1.php/cloud/users
[Wed Mar 13 22:26:58 2019] 127.0.0.1:60408 [200]: /ocs/v1.php/cloud/users/user0
[Wed Mar 13 22:26:58 2019] 127.0.0.1:60442 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # FederationContext::assureUserExists()
[Wed Mar 13 22:26:58 2019] 127.0.0.1:40594 [200]: /ocm-provider/
[Wed Mar 13 22:26:58 2019] 127.0.0.1:40600 [201]: /index.php/ocm/shares
[Wed Mar 13 22:26:58 2019] 127.0.0.1:60448 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
And User "user0" from server "LOCAL" shares "/PARENT" with user "user1" from server "REMOTE" # FederationContext::federateSharing()
[Wed Mar 13 22:26:59 2019] 127.0.0.1:40604 [200]: /ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending
[Wed Mar 13 22:26:59 2019] 127.0.0.1:60498 [200]: //ocm-provider/
[Wed Mar 13 22:26:59 2019] 127.0.0.1:60500 [201]: /index.php/ocm/notifications
[Wed Mar 13 22:26:59 2019] 127.0.0.1:60502 [200]: //ocs-provider/
[Wed Mar 13 22:26:59 2019] 127.0.0.1:60506 [200]: /ocs/v2.php/cloud/shares/12/accept?format=json
[Wed Mar 13 22:26:59 2019] 127.0.0.1:40612 [200]: /ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending/13
And User "user1" from server "REMOTE" accepts last pending share # FederationContext::acceptLastPendingShare()
And Using server "REMOTE" # FederationContext::usingServer()
And As an "user1" # FederationContext::asAn()
[Wed Mar 13 22:26:59 2019] 127.0.0.1:60516 [200]: //ocs-provider/
[Wed Mar 13 22:26:59 2019] 127.0.0.1:60518 [200]: //status.php
[Wed Mar 13 22:26:59 2019] 127.0.0.1:60520 [200]: //status.php
[Wed Mar 13 22:26:59 2019] 127.0.0.1:60522 [200]: /index.php/apps/files_sharing/shareinfo?t=TnyPsUdSmhxFgCM
[Wed Mar 13 22:26:59 2019] Undefined index: size at /drone/src/github.com/nextcloud/server/lib/private/Files/View.php#1324
[Wed Mar 13 22:26:59 2019] Undefined index: storage_mtime at /drone/src/github.com/nextcloud/server/lib/private/Files/Cache/Watcher.php#126
[Wed Mar 13 22:26:59 2019] 127.0.0.1:60528 [401]: /public.php/webdav/
[Wed Mar 13 22:26:59 2019] 127.0.0.1:60532 [207]: /public.php/webdav/
[Wed Mar 13 22:26:59 2019] Undefined index: etag at /drone/src/github.com/nextcloud/server/lib/private/Files/Storage/DAV.php#784
[Wed Mar 13 22:26:59 2019] 127.0.0.1:60534 [200]: //status.php
[Wed Mar 13 22:26:59 2019] 127.0.0.1:60540 [200]: //status.php
[Wed Mar 13 22:26:59 2019] 127.0.0.1:60544 [200]: /index.php/apps/files_sharing/shareinfo?t=TnyPsUdSmhxFgCM
[Wed Mar 13 22:26:59 2019] Undefined index: mimetype at /drone/src/github.com/nextcloud/server/lib/private/Files/Cache/Watcher.php#108
[Wed Mar 13 22:26:59 2019] 127.0.0.1:40636 [404]: /remote.php/webdav/PARENT%20(2)/textfile0.txt-chunking-42-3-0
And user "user1" uploads chunk file "1" of "3" with "AAAAA" to "/PARENT (2)/textfile0.txt" # FederationContext::userUploadsChunkFileOfWithToWithChecksum()
Client error: `PUT http://localhost:8180/remote.php/webdav/PARENT%20(2)/textfile0.txt-chunking-42-3-0` resulted in a `404 Not Found` response:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DA (truncated...)
(GuzzleHttp\Exception\ClientException)
And user "user1" uploads chunk file "2" of "3" with "BBBBB" to "/PARENT (2)/textfile0.txt" # FederationContext::userUploadsChunkFileOfWithToWithChecksum()
And user "user1" uploads chunk file "3" of "3" with "CCCCC" to "/PARENT (2)/textfile0.txt" # FederationContext::userUploadsChunkFileOfWithToWithChecksum()
When Downloading file "/PARENT (2)/textfile0.txt" with range "bytes=3-13" # FederationContext::downloadFileWithRange()
Then Downloaded content should be "AABBBBBCCCC" # FederationContext::downloadedContentShouldBe()
[Wed Mar 13 22:26:59 2019] 127.0.0.1:60552 [200]: /ocs/v1.php/cloud/users/user0
[Wed Mar 13 22:27:00 2019] 127.0.0.1:60590 [404]: /ocs/v2.php/cloud/users/user0
[Wed Mar 13 22:27:01 2019] 127.0.0.1:60704 [200]: //ocm-provider/
[Wed Mar 13 22:27:01 2019] 127.0.0.1:60706 [400]: /index.php/ocm/notifications
[Wed Mar 13 22:27:01 2019] error while sending notification for federated share: Client error: `POST http://localhost:8080/index.php/ocm/notifications` resulted in a `400 Bad request` response:
{"message":"Can not find share with ID: 12"}

TESTS=acceptance, TESTS-ACCEPTANCE=app-comments

  • tests/acceptance/features/app-comments.feature:10
Show full log
 Scenario: open the comments for a different file # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-comments.feature:10
Given I am logged in # LoginPageContext::iAmLoggedIn()
And I create a new folder named "Folder" # FileListContext::iCreateANewFolderNamed()
And I open the details view for "welcome.txt" # FileListContext::iOpenTheDetailsViewFor()
And I open the "Comments" tab in the details view # FilesAppContext::iOpenTheTabInTheDetailsView()
And I create a new comment with "Hello world" as message # CommentsAppContext::iCreateANewCommentWithAsMessage()
And I see a comment with "Hello world" as message # CommentsAppContext::iSeeACommentWithAsMessage()
Comment with text "Hello world" in details view in Files app could not be found after 100 seconds (NoSuchElementException)
When I open the details view for "Folder" # FileListContext::iOpenTheDetailsViewFor()

TESTS=acceptance, TESTS-ACCEPTANCE=app-files

  • cancelled - typically means that the tests took longer than the drone CI allows them to run

TESTS=acceptance, TESTS-ACCEPTANCE=app-files-sharing-link

  • tests/acceptance/features/app-files-sharing-link.feature:40
Show full log
 Scenario: creation is not possible by default in a public shared folder # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files-sharing-link.feature:40
Given I act as John # ActorContext::iActAs()
And I am logged in # LoginPageContext::iAmLoggedIn()
And I create a new folder named "Shared folder" # FileListContext::iCreateANewFolderNamed()
And I close the details view # FilesAppContext::iCloseTheDetailsView()
And I see that the details view is closed # FilesAppContext::iSeeThatTheDetailsViewIsClosed()
And I share the link for "Shared folder" # FilesAppSharingContext::iShareTheLinkFor()
The share link menu is not open yet after 50 seconds
And I write down the shared link # FilesAppSharingContext::iWriteDownTheSharedLink()
When I act as Jane # ActorContext::iActAs()
And I visit the shared link I wrote down # PublicShareContext::iVisitTheSharedLinkIWroteDown()
And I see that the current page is the shared link I wrote down # PublicShareContext::iSeeThatTheCurrentPageIsTheSharedLinkIWroteDown()
And I see that the file list is eventually loaded # FileListContext::iSeeThatTheFileListIsEventuallyLoaded()
Then I see that it is not possible to create new files # FileListContext::iSeeThatItIsNotPossibleToCreateNewFiles()

TESTS=acceptance, TESTS-ACCEPTANCE=app-files-tags

  • tests/acceptance/features/app-files-tags.feature:42
Show full log
 Scenario: add tags using the dropdown in the details view # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files-tags.feature:42
Given I am logged in as the admin # LoginPageContext::iAmLoggedInAsTheAdmin()
And I visit the settings page # SettingsMenuContext::iVisitTheSettingsPage()
And I open the "Tag management" section # AppNavigationContext::iOpenTheSection()
And I see that the button to select tags is shown # SettingsContext::iSeeThatTheButtonToSelectTagsIsShown()
And I create the tag "tag1" in the settings # SettingsContext::iCreateTheTagInTheSettings()
And I create the tag "tag2" in the settings # SettingsContext::iCreateTheTagInTheSettings()
And I create the tag "tag3" in the settings # SettingsContext::iCreateTheTagInTheSettings()
And I create the tag "tag4" in the settings # SettingsContext::iCreateTheTagInTheSettings()
And I see that the dropdown for tags in the settings eventually contains the tag "tag1" # SettingsContext::iSeeThatTheDropdownForTagsInTheSettingsEventuallyContainsTheTag()
And I see that the dropdown for tags in the settings eventually contains the tag "tag2" # SettingsContext::iSeeThatTheDropdownForTagsInTheSettingsEventuallyContainsTheTag()
And I see that the dropdown for tags in the settings eventually contains the tag "tag3" # SettingsContext::iSeeThatTheDropdownForTagsInTheSettingsEventuallyContainsTheTag()
And I see that the dropdown for tags in the settings eventually contains the tag "tag4" # SettingsContext::iSeeThatTheDropdownForTagsInTheSettingsEventuallyContainsTheTag()
And I log out # SettingsMenuContext::iLogOut()
And I am logged in # LoginPageContext::iAmLoggedIn()
And I open the details view for "welcome.txt" # FileListContext::iOpenTheDetailsViewFor()
And I open the input field for tags in the details view # FilesAppContext::iOpenTheInputFieldForTagsInTheDetailsView()
When I check the tag "tag2" in the dropdown for tags in the details view # FilesAppContext::iCheckTheTagInTheDropdownForTagsInTheDetailsView()
And I check the tag "tag4" in the dropdown for tags in the details view # FilesAppContext::iCheckTheTagInTheDropdownForTagsInTheDetailsView()
Then I see that the tag "tag2" in the dropdown for tags in the details view is checked # FilesAppContext::iSeeThatTheTagInTheDropdownForTagsInTheDetailsViewIsChecked()
And I see that the tag "tag4" in the dropdown for tags in the details view is checked # FilesAppContext::iSeeThatTheTagInTheDropdownForTagsInTheDetailsViewIsChecked()
And I see that the input field for tags in the details view contains the tag "tag2" # FilesAppContext::iSeeThatTheInputFieldForTagsInTheDetailsViewContainsTheTag()
Failed asserting that false is true.
And I see that the input field for tags in the details view contains the tag "tag4" # FilesAppContext::iSeeThatTheInputFieldForTagsInTheDetailsViewContainsTheTag()

@kesselb
kesselbforce-pushed the revert/14640/commented-failing-tests branch from cdcfbab to 6296136CompareSeptember 28, 2019 21:11
@kesselb

Copy link
Copy Markdown
Contributor

cc @nextcloud/server-triage

@kesselbkesselb added the technical debt 🧱 🤔🚀 label Jan 16, 2020
@MorrisJobke
MorrisJobke deleted the revert/14640/commented-failing-tests branch November 20, 2020 20:12
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developingWork in progresstechnical debt🧱 🤔🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@MorrisJobke@kesselb