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

[wasm] Ensure prerequisites are installed on the perf pipeline #72431

Merged
merged 1 commit into from
Aug 5, 2022

Conversation

radical
Copy link
Member

@radical radical commented Jul 19, 2022

No description provided.

@radical radical added arch-wasm WebAssembly architecture area-Infrastructure-mono labels Jul 19, 2022
@ghost ghost assigned radical Jul 19, 2022
@radical
Copy link
Member Author

radical commented Jul 19, 2022

/azp run perf-wasm

@ghost
Copy link

ghost commented Jul 19, 2022

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

null

Author: radical
Assignees: -
Labels:

arch-wasm, area-Infrastructure-mono

Milestone: -

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radical
Copy link
Member Author

radical commented Jul 19, 2022

/azp run perf-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radical
Copy link
Member Author

radical commented Jul 19, 2022

/azp run perf-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radical
Copy link
Member Author

radical commented Jul 19, 2022

/azp run perf-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radical
Copy link
Member Author

radical commented Jul 19, 2022

/azp run perf-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radical
Copy link
Member Author

radical commented Jul 19, 2022

/azp run perf-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radical
Copy link
Member Author

radical commented Jul 19, 2022

/azp run perf-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radical
Copy link
Member Author

radical commented Jul 20, 2022

/azp run perf-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radical
Copy link
Member Author

radical commented Jul 23, 2022

/azp run perf-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radical
Copy link
Member Author

radical commented Jul 24, 2022

/azp run perf-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radical
Copy link
Member Author

radical commented Jul 24, 2022

/azp run perf-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

- this updates node/npm to 18.x
- And passes `--not-in-lab` for PRs builds, so it doesn't try to setup
  access tokens.
@radical radical marked this pull request as ready for review August 1, 2022 21:14
@radical
Copy link
Member Author

radical commented Aug 1, 2022

/azp run runtime-wasm-perf

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @radical !

$HELIX_WORKITEM_PAYLOAD/bin/jsvu --os=linux64 --engines=v8,javascriptcore &&
export PERFLAB_UPLOAD_TOKEN="$(HelixPerfUploadTokenValue)" &&
export PERF_PREREQS_INSTALLED=1;
test "x$PERF_PREREQS_INSTALLED" = "x1" || echo "** Error: Failed to install prerequites **"
Copy link
Member

Choose a reason for hiding this comment

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

we should consider moving this logic to an .sh file

@radical radical merged commit fe957c0 into dotnet:main Aug 5, 2022
@radical radical deleted the perf-prereqs branch August 5, 2022 23:40
@LoopedBard3
Copy link
Member

@radical it appears that this is creating errors on windows micro builds: https://dev.azure.com/dnceng/internal/_build/results?buildId=1929747&view=results. Specifically: '"x$PERF_PREREQS_INSTALLED" was unexpected at this time.'. I think this is due to windows builds not supporting the bash-style if statements (could be wrong on this). I noticed that the prereqs envvar was not added to the windows precommands, would duplicating the command without the if statement and conditioning based on if we are on Windows_NT (like Condition="'$(AGENT_OS)' != 'Windows_NT'") work with these changes as expected?

@radical
Copy link
Member Author

radical commented Aug 8, 2022

Yes, adding Condition="'$(AGENT_OS)' != 'Windows_NT'" so the command is added only for !windows, would work.

@radical
Copy link
Member Author

radical commented Aug 8, 2022

Yes, adding Condition="'$(AGENT_OS)' != 'Windows_NT'" so the command is added only for !windows, would work.

Are you opening a PR, or should I?

@LoopedBard3
Copy link
Member

I can open a PR. 👍

@ghost ghost locked as resolved and limited conversation to collaborators Sep 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants