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

[core] add runtime env info to task spec debug string #20631

Merged
merged 3 commits into from
Nov 23, 2021

Conversation

SongGuyang
Copy link
Contributor

@SongGuyang SongGuyang commented Nov 22, 2021

Why are these changes needed?

  • During debugging, we want to print task specs in caller side. But we only have a printing for common tasks in CoreWorker::SubmitTask now. We should also print task spec for actor creation task and actor task.
  • Add runtime env info to the printing content.

src/ray/common/task/task_util.h Outdated Show resolved Hide resolved
src/ray/core_worker/core_worker.cc Show resolved Hide resolved
@raulchen raulchen changed the title [core] add build task log [core] add runtime env info to task spec debug string Nov 23, 2021
@raulchen raulchen merged commit e9132ed into ray-project:master Nov 23, 2021
@raulchen raulchen deleted the dev_submit_task_log branch November 23, 2021 06:28
@rkooo567
Copy link
Contributor

This PR seems to break Windows build. Let me revert this. (07:46:25) ERROR: BUILD.bazel:406:11: Compiling src/ray/common/task/task_spec.cc failed: (Exit 2): cl.exe failed: error executing command

Please create a PR again!

rkooo567 added a commit to rkooo567/ray that referenced this pull request Nov 23, 2021
rkooo567 added a commit that referenced this pull request Nov 23, 2021
…" (#20668)

This reverts commit e9132ed.

<!-- Thank you for your contribution! Please review https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before opening a pull request. -->

<!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. -->

## Why are these changes needed?

Seems to break Windows build. 

```
(07:46:25) ERROR: BUILD.bazel:406:11: Compiling src/ray/common/task/task_spec.cc failed: (Exit 2): cl.exe failed: error executing command
```

<img width="487" alt="Screen Shot 2021-11-23 at 3 09 18 AM" src="https://user-images.githubusercontent.com/18510752/143013973-f157724c-4951-49a9-80c6-158d41aa4295.png">


## Related issue number

<!-- For example: "Closes #1234" -->

## Checks

- [ ] I've run `scripts/format.sh` to lint the changes in this PR.
- [ ] I've included any doc changes needed for https://docs.ray.io/en/master/.
- [ ] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
- Testing Strategy
   - [ ] Unit tests
   - [ ] Release tests
   - [ ] This PR is not tested :(
SongGuyang added a commit to alipay/ant-ray that referenced this pull request Nov 24, 2021
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.

4 participants