Skip to content

Show diffs for failed tests on i386/Mac OS CI #5612

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

Closed
wants to merge 1 commit into from

Conversation

alexdowad
Copy link
Contributor

Seeing the diffs for failed tests in CI is very helpful, especially for developers who do not have a Mac (or other test platform in question).

@nikic
Copy link
Member

nikic commented May 22, 2020

Diffs are available under the "Tests" tab, see for example https://dev.azure.com/phpazuredevops/PHP/_build/results?buildId=7824&view=ms.vss-test-web.build-test-results-tab.

@alexdowad
Copy link
Contributor Author

Diffs are available under the "Tests" tab, see for example https://dev.azure.com/phpazuredevops/PHP/_build/results?buildId=7824&view=ms.vss-test-web.build-test-results-tab.

Thanks. Though I don't see any test diffs from following that link.

@nikic
Copy link
Member

nikic commented May 22, 2020

@Girgias
Copy link
Member

Girgias commented May 22, 2020

The test tab on Azure sometimes decide to hide itself for no apparent reason (at least that's what I experience)

@alexdowad
Copy link
Contributor Author

The test tab on Azure sometimes decide to hide itself for no apparent reason (at least that's what I experience)

I think for me it's not "sometimes" but "all the time". This is what I see from both of the links shared by @nikic:

Screenshot from 2020-05-22 14-36-53

@alexdowad
Copy link
Contributor Author

Anyways, I can just make this change on my own dev branches and then git rebase --interactive it out before opening a PR.

@alexdowad alexdowad closed this May 22, 2020
@nikic
Copy link
Member

nikic commented May 22, 2020

Waaat. I just tried this in private browsing mode and I don't see the Tests tab either. Maybe it's only visible to member of the PHP org?

@nikic
Copy link
Member

nikic commented May 22, 2020

I found some permissions related to this, but I couldn't figure out how to make this visible for everyone. And I think that this did used to work previously...

I've opened a ticket at https://developercommunity.visualstudio.com/content/problem/1045997/tests-tab-not-visible-for-logged-out-users-on-open.html, but for now your change here seems fine as a workaround. I'd add it to the main linux x64 job as well, it shouldn't hurt at least.

@alexdowad
Copy link
Contributor Author

I found some permissions related to this, but I couldn't figure out how to make this visible for everyone. And I think that this did used to work previously...

I've opened a ticket at https://developercommunity.visualstudio.com/content/problem/1045997/tests-tab-not-visible-for-logged-out-users-on-open.html, but for now your change here seems fine as a workaround. I'd add it to the main linux x64 job as well, it shouldn't hurt at least.

Should I reopen the PR, then?

@nikic
Copy link
Member

nikic commented May 22, 2020

Yeah

@alexdowad alexdowad reopened this May 22, 2020
@kocsismate
Copy link
Member

kocsismate commented May 22, 2020

I can also confirm that tab started to be missing for me as well since the last couple of days/weeks.

@cmb69
Copy link
Member

cmb69 commented May 22, 2020

Chrome dev-tools heavily complain for that page.

@nikic
Copy link
Member

nikic commented May 22, 2020

Can you please add it to azure/test.yml as well?

Seeing the diffs for failed tests in CI is very helpful, especially for developers who
do not have a Mac (or other test platform in question).
@alexdowad alexdowad force-pushed the feedback-from-azure-tests branch from e0ee2a0 to 137b9bc Compare May 22, 2020 13:48
@alexdowad
Copy link
Contributor Author

Can you please add it to azure/test.yml as well?

Thanks for the suggestion. Done.

@nikic
Copy link
Member

nikic commented May 22, 2020

Uh, for some reason a bunch of 32-bit tests fail now.

@alexdowad
Copy link
Contributor Author

Uh, for some reason a bunch of 32-bit tests fail now.

I don't have time right now, but I'll be happy to investigate later and see what is happening.

@nikic
Copy link
Member

nikic commented May 22, 2020

Okay, those test failures are not related to this PR, also seeing them on https://dev.azure.com/phpazuredevops/PHP/_build/results?buildId=7846&view=results. @cmb69 Quite likely this is from the FPU precision change. But for some reason on master only. Maybe because master uses serialize_precision for var_dump.

@php-pulls php-pulls closed this in 6ad7464 May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants