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

[master] Update psalm-baseline.xml #43411

Merged
merged 1 commit into from
Feb 10, 2024

Conversation

nextcloud-command
Copy link
Contributor

Auto-generated update psalm-baseline.xml with fixed psalm warnings

@nextcloud-command nextcloud-command requested review from a team, ArtificialOwl, icewind1991 and Altahrim and removed request for a team February 7, 2024 02:16
@nextcloud-command nextcloud-command force-pushed the automated/noid/master-update-psalm-baseline branch from 6055d06 to c4a2f91 Compare February 8, 2024 02:19
@nextcloud-command nextcloud-command requested a review from a team February 8, 2024 02:19
@nextcloud-command nextcloud-command force-pushed the automated/noid/master-update-psalm-baseline branch from c4a2f91 to d45d961 Compare February 9, 2024 02:24
Signed-off-by: GitHub <noreply@github.com>
@nextcloud-command nextcloud-command force-pushed the automated/noid/master-update-psalm-baseline branch from d45d961 to 132887a Compare February 10, 2024 02:28
@skjnldsv
Copy link
Member

Running:  files/files-xml-regression.cy.ts                                                (3 of 4)


  Files: Can handle XML entities in file names
    1) "before all" hook for "Can reanme to a file name containing XML entities"


  0 passing (8s)
  1 failing

  1) Files: Can handle XML entities in file names
       "before all" hook for "Can reanme to a file name containing XML entities":
     CypressError: `cy.then()` timed out after waiting `4000ms`.

Your callback function returned a promise that never resolved.

The callback function was:

async()=>{const o=(0,gt.basename)(n),i=`${Cypress.env("baseUrl")}/remote.php/dav/files/${encodeURIComponent(e.userId)}`,u=n.split("/").map(encodeURIComponent).join("/");try{const n=new File([t],o,{type:r}),s=await ft({url:`${i}${u}`,method:"PUT",data:n,headers:{"Content-Type":r,"X-OC-MTime":a?`${a}`:void 0},auth:{username:e.userId,password:e.password}});cy.log(`Uploaded content as ${o}`,s)}catch(e){throw cy.log("error",e),new Error("Unable to process fixture")}}

https://on.cypress.io/then

Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Files: Can handle XML entit...`

Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
      at <unknown> (http://172.17.0.2/__cypress/runner/cypress_runner.js:118[316](https://github.com/nextcloud/server/actions/runs/7852045988/job/21430478754?pr=43411#step:5:317):75)
      at tryCatcher (http://172.17.0.2/__cypress/runner/cypress_runner.js:1807:23)
      at <unknown> (http://172.17.0.2/__cypress/runner/cypress_runner.js:4186:41)
      at tryCatcher (http://172.17.0.2/__cypress/runner/cypress_runner.js:1807:23)
      at Promise._settlePromiseFromHandler (http://172.17.0.2/__cypress/runner/cypress_runner.js:1519:31)
      at Promise._settlePromise (http://172.17.0.2/__cypress/runner/cypress_runner.js:1576:18)
      at Promise._settlePromise0 (http://172.17.0.2/__cypress/runner/cypress_runner.js:1621:10)
      at Promise._settlePromises (http://172.17.0.2/__cypress/runner/cypress_runner.js:1697:18)
      at _drainQueueStep (http://172.17.0.2/__cypress/runner/cypress_runner.js:2407:12)
      at _drainQueue (http://172.17.0.2/__cypress/runner/cypress_runner.js:2400:9)
      at Async._drainQueues (http://172.17.0.2/__cypress/runner/cypress_runner.js:2416:5)
      at Async.drainQueues (http://172.17.0.2/__cypress/runner/cypress_runner.js:2286:14)
  From Your Spec Code:
      at Context.eval (webpack://nextcloud/./cypress/support/commands.ts:144:9)

Not sure if related, looks flaky.
Restarted @susnux

@skjnldsv skjnldsv requested a review from susnux February 10, 2024 08:54
@susnux
Copy link
Contributor

susnux commented Feb 10, 2024

@skjnldsv thats the before hook so the user creating part, probably the test server timed out returning the newly created user.

Saw this before in other tests but rarely

@susnux susnux merged commit 6fb3c0f into master Feb 10, 2024
85 checks passed
@susnux susnux deleted the automated/noid/master-update-psalm-baseline branch February 10, 2024 09:36
@blizzz blizzz mentioned this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews automated pr
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants