Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

jorive
Copy link

@jorive jorive commented Nov 9, 2018

No description provided.

@jorive jorive added area-Diagnostics * NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) area-Tracing labels Nov 9, 2018
@jorive
Copy link
Author

jorive commented Nov 9, 2018

@dotnet-bot test this please

Copy link
Member

@noahfalk noahfalk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Eilon
Copy link

Eilon commented Nov 9, 2018

Are there any new/updated tests required for this change?

@vancem vancem changed the title Manual port of #20796 Manual port of #20796 EventPipe support for "Parameters" Nov 9, 2018
@vancem
Copy link

vancem commented Nov 9, 2018

This is a port of #20796 in Main to the 2.2. branch.

@vancem vancem changed the title Manual port of #20796 EventPipe support for "Parameters" Port to release/2.2 branch: EventPipe support for "Parameters" #20796 Nov 9, 2018
@vancem
Copy link

vancem commented Nov 9, 2018

@dotnet-bot test Ubuntu arm Cross Checked no_tiered_compilation_innerloop Build and Test
@dotnet-bot test Ubuntu arm Cross Checked Innerloop Build and Test
@dotnet-bot test Tizen armel Cross Checked Innerloop Build and Test
@dotnet bot test OSX10.12 x64 Checked Innerloop Build and Test

@Eilon
Copy link

Eilon commented Nov 9, 2018

I'm a bit worried that this significant feature has no additional test coverage. Are there tests somewhere else for this feature? Manual tests run by vendors?

@vancem
Copy link

vancem commented Nov 9, 2018

Jose has done manual testing. He can give you details. (basically turned on an EventCounter both before the app launched and after it was running and confirmed it worked, I also suggested doing a multi-counter tests).

We also agree that we need real tests and that they are part of the work item. They will be coming (ideally they would have been part of this checkin). We are only in this place right now because we are bumping into a deadline.

I too do not like the fact that we are checking in without tests. What makes it OK for me is that there is coverage for the existing features, and the new feature really is pretty simply (pass a string through to existing logic (EventSource/EventCounters) that already know what to do with it (and have tests in the ETW scenario). We also did the manual test that mimics the important scneario (turning on EventCounters), end to end.

So yes, we are asking to check in without tests, but we will fix that shortly.

@vancem
Copy link

vancem commented Nov 9, 2018

@Eilon @DamianEdwards - I have a question: The ARM CI seems to be down right now (I have a query in to fix it). Is there a deadline we want to hit and if so should we merge this without those tests or should we wait?

@Eilon
Copy link

Eilon commented Nov 9, 2018

Understood about the tests. BTW there's still a short window (say, end of next week), for test-only changes (no product changes at all without approval).

If we are reasonably confident with the change as it is now, let's go ahead and get it checked in today, so that we can try to get builds ready for weekend vendor testing. If we later find an issue with ARM machines, we can revisit. It'll depend on how broken it is. If it just doesn't work on ARM, and the fix is expensive, then maybe that's just too bad and we'll fix in 3.0.

@Eilon
Copy link

Eilon commented Nov 9, 2018

(But if ARM all of a sudden is completely broken in unrelated scenarios, that's bad.)

@vancem
Copy link

vancem commented Nov 9, 2018

@Eilon - The best case of course is to get the CI fixed. I am working on that. The question is when do we not wait for that. It sounds like we can wait until late today is that correct?

For what it is worth, an ARM only issue is very unlikely. This change is a port from Main, and ARM tests passed there. With any luck at all, however, this will be fixed by noon.

@mmitche
Copy link
Member

mmitche commented Nov 9, 2018

@dotnet-bot test Ubuntu arm Cross Checked no_tiered_compilation_innerloop Build and Test
@dotnet-bot test Ubuntu arm Cross Checked Innerloop Build and Test
@dotnet-bot test Tizen armel Cross Checked Innerloop Build and Test
@dotnet bot test OSX10.12 x64 Checked Innerloop Build and Test

@Eilon
Copy link

Eilon commented Nov 9, 2018

Earlier is better 😄

Our dear expert @mmitche probably knows best when "late" becomes "too late."

@mmitche
Copy link
Member

mmitche commented Nov 9, 2018

Tizen failure is expected because corefx doesnt' have a corresponding tizen build

@jorive
Copy link
Author

jorive commented Nov 9, 2018

@Eilon As Vance mentioned, I did some manual testing:

  • dropping the file before process start
  • dropping the file after process start
  • deleting the file
  • multiple event sources / counters

I agree it is not ideal not having testing enabled with this PR, but we are committed to adding tests in the immediate future.

@vancem
Copy link

vancem commented Nov 9, 2018

@dotnet-bot test Tizen armel Cross Checked Innerloop Build and Test

@mmitche
Copy link
Member

mmitche commented Nov 9, 2018

@vancem the Tizen job will not pass because there is no corresponding corefx job, and the old coreclr test workflow required a corefx build to work.

@vancem vancem merged commit 418e094 into dotnet:release/2.2 Nov 9, 2018
@jorive jorive deleted the dev/port-of-20796 branch November 9, 2018 21:04
@jorive jorive removed the * NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) label Nov 9, 2018
@RussKeldorph RussKeldorph added this to the 2.2 milestone Nov 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants