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

[1.x] Add support for drgn 0.0.30 & release v1.1.2 #139

Open
wants to merge 6 commits into
base: stable/v1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/litevm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Build and install drgn with CTF support
run: |
cd ..
git clone https://github.com/brenns10/drgn -b ctf_0.0.29
git clone https://github.com/brenns10/drgn -b ctf_0.0.30
cd drgn
../drgn-tools/venv/bin/python setup.py install
- name: Run tests
Expand Down
8 changes: 6 additions & 2 deletions buildrpm/python-drgn-tools.spec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


Name: python-drgn-tools
Version: 1.1.1
Version: 1.1.2
Release: 1%{?dist}
Summary: Helper scripts for drgn, containing the corelens utility

Expand Down Expand Up @@ -59,7 +59,7 @@ a running kernel image (via /proc/kcore).}
# The drgn dependency can be fulfilled by drgn with, or without, CTF support.
# However, drgn-tools is tied to specific drgn releases.
%global drgn_min 0.0.25
%global drgn_max 0.0.30
%global drgn_max 0.0.31

%package -n drgn-tools
Summary: %{summary}
Expand Down Expand Up @@ -135,6 +135,10 @@ rm %{buildroot}/usr/bin/DRGN
%endif

%changelog
* Thu Dec 19 2024 Stephen Brennan <[email protected]> - 1.1.2-1
- Fix crash due in inflight-io module [Orabug: 37394100]
- Add support for drgn 0.0.30 [Orabug: 37413891]

* Wed Oct 30 2024 Stephen Brennan <[email protected]> - 1.1.1-1
- Fix crash for NULL mutex owner in corelens "lock" module [Orabug: 37186686]
- Fix crash for NULL hc.uuid in dm helper [Orabug: 37170994]
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

long_description = "drgn helper script repository"

RELEASE_VERSION = "1.1.1"
RELEASE_VERSION = "1.1.2"
PACKAGES = ["drgn_tools"]
if not os.environ.get("DRGN_TOOLS_V2_OMIT"):
PACKAGES.append("drgn_tools.v2")
Expand Down Expand Up @@ -90,7 +90,7 @@ def get_version():
description="drgn helper script repository",
long_description=long_description,
install_requires=[
"drgn>=0.0.25,<0.0.30",
"drgn>=0.0.25,<0.0.31",
],
url="https://github.com/oracle-samples/drgn-tools",
author="Oracle Linux Sustaining Engineering Team",
Expand Down
16 changes: 8 additions & 8 deletions testing/heavyvm/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ def ks_name(self) -> str:
# OL9: UEK 7
ImageInfo(
9,
4,
5,
7,
"x86_64",
"https://yum.oracle.com/ISOS/OracleLinux/OL9/u4/x86_64/OracleLinux-R9-U4-x86_64-boot-uek.iso", # noqa
["drgn-0.0.29-1.0.1.el9.x86_64.rpm"],
"https://yum.oracle.com/ISOS/OracleLinux/OL9/u5/x86_64/OracleLinux-R9-U5-x86_64-boot-uek.iso", # noqa
["drgn-0.0.30-1.0.1.el9.x86_64.rpm"],
),
# OL8: UEK 6-7
ImageInfo(
Expand All @@ -50,15 +50,15 @@ def ks_name(self) -> str:
7,
"x86_64",
"https://yum.oracle.com/ISOS/OracleLinux/OL8/u10/x86_64/OracleLinux-R8-U10-x86_64-boot-uek.iso", # noqa
["drgn-0.0.29-1.0.1.el8.x86_64.rpm"],
["drgn-0.0.30-1.0.1.el8.x86_64.rpm"],
),
ImageInfo(
8,
10,
6,
"x86_64",
"https://yum.oracle.com/ISOS/OracleLinux/OL8/u10/x86_64/OracleLinux-R8-U10-x86_64-boot-uek.iso", # noqa
["drgn-0.0.29-1.0.1.el8.x86_64.rpm"],
["drgn-0.0.30-1.0.1.el8.x86_64.rpm"],
),
# OL7: UEK 4-6
ImageInfo(
Expand All @@ -67,23 +67,23 @@ def ks_name(self) -> str:
6,
"x86_64",
"https://yum.oracle.com/ISOS/OracleLinux/OL7/u9/x86_64/x86_64-boot-uek.iso", # noqa
["drgn-0.0.29-1.0.1.el7.x86_64.rpm"],
["drgn-0.0.30-1.0.1.el7.x86_64.rpm"],
),
ImageInfo(
7,
9,
5,
"x86_64",
"https://yum.oracle.com/ISOS/OracleLinux/OL7/u9/x86_64/x86_64-boot-uek.iso", # noqa
["drgn-0.0.29-1.0.1.el7.x86_64.rpm"],
["drgn-0.0.30-1.0.1.el7.x86_64.rpm"],
),
ImageInfo(
7,
9,
4,
"x86_64",
"https://yum.oracle.com/ISOS/OracleLinux/OL7/u9/x86_64/x86_64-boot-uek.iso", # noqa
["drgn-0.0.29-1.0.1.el7.x86_64.rpm"],
["drgn-0.0.30-1.0.1.el7.x86_64.rpm"],
),
]
NAME_TO_CONFIGURATION = {i.name: i for i in CONFIGURATIONS}
Loading