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

Performance tests are failing against v6.3 #54107

Closed
WunderBart opened this issue Sep 1, 2023 · 4 comments · Fixed by #54111
Closed

Performance tests are failing against v6.3 #54107

WunderBart opened this issue Sep 1, 2023 · 4 comments · Fixed by #54111
Assignees
Labels
[Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Type] Performance Related to performance efforts

Comments

@WunderBart
Copy link
Member

WunderBart commented Sep 1, 2023

Description

The performance job for merge commits (base branch comparison) has been failing since #54072. In consequence, no data to codevitals is being currently sent.

The following error is thrown:

✖ Error while running docker-compose command.
Creating 734421528201ba6bf4a980a8270e890d_cli_run ... 
Creating 734421528201ba6bf4a980a8270e890d_cli_run ... done
[31-Aug-2023 21:44:25 UTC] PHP Fatal error:  Cannot declare class WP_Classic_To_Block_Menu_Converter, because the name is already in use in /var/www/html/wp-content/plugins/plugin/lib/experimental/class-wp-classic-to-block-menu-converter.php on line 14
Fatal error: Cannot declare class WP_Classic_To_Block_Menu_Converter, because the name is already in use in /var/www/html/wp-content/plugins/plugin/lib/experimental/class-wp-classic-to-block-menu-converter.php on line 14
Error: Command failed: /tmp/1b7f5823-4836-4dfe-a9b1-961583e3bc1d/tests/node_modules/.bin/wp-env start
✖ Error while running docker-compose command.
Creating 734421528201ba6bf4a980a8270e890d_cli_run ... 
Creating 734421528201ba6bf4a980a8270e890d_cli_run ... done
[31-Aug-2023 21:44:25 UTC] PHP Fatal error:  Cannot declare class WP_Classic_To_Block_Menu_Converter, because the name is already in use in /var/www/html/wp-content/plugins/plugin/lib/experimental/class-wp-classic-to-block-menu-converter.php on line 14
Fatal error: Cannot declare class WP_Classic_To_Block_Menu_Converter, because the name is already in use in /var/www/html/wp-content/plugins/plugin/lib/experimental/class-wp-classic-to-block-menu-converter.php on line 14
255

/cc @youknowriad @dmsnell @kevin940726 @Mamaduka

@WunderBart WunderBart added [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Type] Performance Related to performance efforts labels Sep 1, 2023
@youknowriad
Copy link
Contributor

I'm guessing that it's the commit that we use as the "base comparison" commit that is incompatible with WP 6.3? If that's the case, It seems the fix would be to change the base commit to one that is compatible (checks existence of the class before declaring it)

@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Sep 1, 2023
@Mamaduka
Copy link
Member

Mamaduka commented Sep 1, 2023

Here's the PR - #54111.

We need to document this process as we end up in a similar situation after each release. See #50360 (comment).

cc @bph, @ndiego

@ndiego
Copy link
Member

ndiego commented Sep 1, 2023

@Mamaduka, where should this info be added? Somewhere in here?

@Mamaduka
Copy link
Member

Mamaduka commented Sep 1, 2023

@ndiego, there probably should be a "Post-WP release" section in the docs. Documenting:

These can be split into multiple PRs or be a single one. I personally think the last two should be combined.

@Mamaduka Mamaduka removed the [Status] In Progress Tracking issues with work in progress label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Type] Performance Related to performance efforts
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants