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

DLPX-90130 update-package failed with a merge conflict in the drgn branch #59

Merged

Conversation

manoj-joseph
Copy link

@manoj-joseph manoj-joseph commented Mar 5, 2024

Problem

mjoseph@manojjosephsmbp drgn % git merge --no-edit --no-stat upstreams
CONFLICT (modify/delete): .pre-commit-config.yaml deleted in HEAD and modified in upstreams.  Version upstreams of .pre-commit-config.yaml left in tree.
Automatic merge failed; fix conflicts and then commit the result.
mjoseph@manojjosephsmbp drgn % git diff

Solution

Fixed the conflict by deleting .pre-commit-config.yaml.

Solution

http://selfservice.jenkins.delphix.com/job/github/job/delphix/job/drgn/job/appliance-build-orchestrator/job/pre-push/47/ failed in dx-tests.

http://selfservice.jenkins.delphix.com/job/dx-integration-tests/17204/ re-running dx-tests PASSED

Add the tools directory to the mypy pre-commit configuration.
bpf_inspect.py has a bunch of mypy errors, so we'll opt it out for now.

Signed-off-by: Omar Sandoval <[email protected]>
Now that we enable CONFIG_VIRTIO_BLK in our kconfig, there's no need to
use a loop device. Configure a virtio-blk device in vmtest.vm so that
the block helper tests have a disk to test with.

Signed-off-by: Omar Sandoval <[email protected]>
My team and I have investigated many issues that turned out to be caused
by a stray reference to a file or filesystem, either by user error or
due to a kernel bug. Userspace tools like lsof and fuser can't find all
of these. This adds a drgn-based tool similar to lsof/fuser. This
initial version only checks the basics: file descriptors, task working
directories, task root directories, task executables, and VMAs. Upcoming
changes will check additional, more obscure places.

Signed-off-by: Omar Sandoval <[email protected]>
Type units don't have a skeleton unit, so we need to walk over all of
the units in the split DWARF file to find them. Instead of doing this in
a second pass, rework drgn_dwarf_index_read_cus(): instead of
substituting skeleton units with their respective split units, call
drgn_dwarf_index_read_cus() recursively on the split DWARF file.

Signed-off-by: Omar Sandoval <[email protected]>
My elfutils patches to support .dwp files were just merged and included
in release 0.191. libdw does all of the heavy lifting, we just need to
apply the section offsets when we parse DWARF ourselves. We still need
to support older versions of elfutils, so add a stub.

Closes osandov#317.

Signed-off-by: Omar Sandoval <[email protected]>
@manoj-joseph manoj-joseph force-pushed the dlpx/pr/manoj-joseph/48892f05-c3cb-4055-8705-c08b4c3b13f3 branch from df7d108 to c7b95ca Compare March 5, 2024 00:08
@manoj-joseph manoj-joseph marked this pull request as ready for review March 5, 2024 00:12
@manoj-joseph manoj-joseph force-pushed the dlpx/pr/manoj-joseph/48892f05-c3cb-4055-8705-c08b4c3b13f3 branch 2 times, most recently from ff88597 to d623c34 Compare March 5, 2024 00:23
@manoj-joseph manoj-joseph changed the title Fix for merge conflict in the drgn branch DLPX-90130 update-package failed with a merge conflict in the drgn branch Mar 5, 2024
@manoj-joseph manoj-joseph force-pushed the dlpx/pr/manoj-joseph/48892f05-c3cb-4055-8705-c08b4c3b13f3 branch from d623c34 to ef0a651 Compare March 5, 2024 00:38
@manoj-joseph manoj-joseph merged commit cc9f903 into develop Mar 6, 2024
5 of 9 checks passed
@manoj-joseph manoj-joseph deleted the dlpx/pr/manoj-joseph/48892f05-c3cb-4055-8705-c08b4c3b13f3 branch March 6, 2024 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants