Skip to contentSkip to conversation

Add runltp-ng to upstream

PATCH Superseded Andrea Cervesato via ltp 4 participants 7 messages Dec 2, 2022 – Dec 20, 2022

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add runltp-ng to upstream

runltp-ng is the next generation runner for Linux Testing Project and it will replace the current obsolete runltp script in the next future.

---
 .gitmodules     | 3 +++
 tools/runltp-ng | 1 +
 2 files changed, 4 insertions(+)
 create mode 160000 tools/runltp-ng
.gitmodules +3 -0
index a3c34af4b..e85fc6279 100644
@@ -4,3 +4,6 @@
 [submodule "tools/sparse/sparse-src"]
 	path = tools/sparse/sparse-src
 	url = git://git.kernel.org/pub/scm/devel/sparse/sparse.git
+[submodule "tools/runltp-ng"]
+	path = tools/runltp-ng
+	url = https://github.com/acerv/runltp-ng
tools/runltp-ng new file +1 -0
new file mode 160000
index 000000000..b08471158
@@ -0,0 +1 @@
+Subproject commit b0847115891bd3dddbe920a716342917e7088379
Signature · 5 lines
2.35.3


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
#1 lore raw

Hi Andrea,

Quoted 27 lines

runltp-ng is the next generation runner for Linux Testing Project and it will replace the current obsolete runltp script in the next future.

---
 .gitmodules     | 3 +++
 tools/runltp-ng | 1 +
 2 files changed, 4 insertions(+)
 create mode 160000 tools/runltp-ng
.gitmodules +3 -0
index a3c34af4b..e85fc6279 100644
@@ -4,3 +4,6 @@
 [submodule "tools/sparse/sparse-src"]
 	path = tools/sparse/sparse-src
 	url = git://git.kernel.org/pub/scm/devel/sparse/sparse.git
+[submodule "tools/runltp-ng"]
+	path = tools/runltp-ng
+	url = https://github.com/acerv/runltp-ng
tools/runltp-ng new file +0 -0
new file mode 160000
index 000000000..b08471158

tools/runltp-ng line 1

Quoted 1 line
tools/runltp-ng new file +1 -0
@@ -0,0 +1 @@
+Subproject commit b0847115891bd3dddbe920a716342917e7088379

Thank you for this submission! Finally we get close to adding runltp-ng :).

I've tested runltp-ng separately last few weeks, next week I'll do more testing of b0847115891bd3dddbe920a716342917e7088379. BTW there are 2 more commits in your master.

The integration: What I can see now is that it requires to run "git submodule update --init" by user. Looking at tools/sparse/Makefile. sparse is specific (not needed unless make check is evoked), therefore sparse is not installed if not needed (make in tools/ does not init the submodule).

Maybe we could add in tools/Makefile add:
git submodule update --init runltp-ng/
That would update only runltp-ng submodule.

I suppose there is a reason to deliver the tool separately (without LTP), e.g. separate development or used on systems, which use LTP built into distro package (we already use it in SUSE this way). In that case I'd be for moving the repo to LTP github (https://github.com/linux-test-project/runltp-ng).

We could also add it directly to LTP git repository (no submodule), because also for the above case (packaging) is a simple solution using just single
repository: there could be two separated packages: ltp and runltp-ng.

Otherwise to be part of LTP git repository
add code directly to tools/runltp-ng/.

Kind regards,
Petr

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
#2 lore raw

Hi Petr,

Quoted 34 lines · Petr Vorel

Hi Andrea,

Quoted 25 lines

runltp-ng is the next generation runner for Linux Testing Project and it will replace the current obsolete runltp script in the next future.

---
  .gitmodules     | 3 +++
  tools/runltp-ng | 1 +
  2 files changed, 4 insertions(+)

create mode 160000 tools/runltp-ng

.gitmodules +3 -0
index a3c34af4b..e85fc6279 100644
@@ -4,3 +4,6 @@
  [submodule "tools/sparse/sparse-src"]
  	path = tools/sparse/sparse-src
  	url = git://git.kernel.org/pub/scm/devel/sparse/sparse.git
+[submodule "tools/runltp-ng"]
+	path = tools/runltp-ng
+	url = https://github.com/acerv/runltp-ng
tools/runltp-ng new file +0 -0
new file mode 160000
index 000000000..b08471158

tools/runltp-ng line 1

Quoted 1 line
tools/runltp-ng new file +1 -0
@@ -0,0 +1 @@
+Subproject commit b0847115891bd3dddbe920a716342917e7088379

Thank you for this submission! Finally we get close to adding runltp-ng :).

I've tested runltp-ng separately last few weeks, next week I'll do more testing of b0847115891bd3dddbe920a716342917e7088379. BTW there are 2 more commits in your master.

Quoted 8 lines

The integration: What I can see now is that it requires to run "git submodule update --init" by user. Looking at tools/sparse/Makefile. sparse is specific (not needed unless make check is evoked), therefore sparse is not installed if not needed (make in tools/ does not init the submodule).

Maybe we could add in tools/Makefile add:
git submodule update --init runltp-ng/
That would update only runltp-ng submodule.

Yes, submodules are not intuitive and it would be better to add code inside the LTP upstream.

Quoted 11 lines

I suppose there is a reason to deliver the tool separately (without LTP), e.g. separate development or used on systems, which use LTP built into distro package (we already use it in SUSE this way). In that case I'd be for moving the repo to LTP github (https://github.com/linux-test-project/runltp-ng).

We could also add it directly to LTP git repository (no submodule), because also for the above case (packaging) is a simple solution using just single
repository: there could be two separated packages: ltp and runltp-ng.

Otherwise to be part of LTP git repository
add code directly to tools/runltp-ng/.

As far as I know, community wanted runltp-ng to be part of LTP, but at this stage it's probably too early (?).

Quoted 2 lines

Kind regards,
Petr

Andrea

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
#3 lore raw

Hi Andrea,

Quoted 54 lines

Hi Petr,

Quoted 34 lines · Petr Vorel

Hi Andrea,

Quoted 25 lines

runltp-ng is the next generation runner for Linux Testing Project and it will replace the current obsolete runltp script in the next future.

---
  .gitmodules     | 3 +++
  tools/runltp-ng | 1 +
  2 files changed, 4 insertions(+)

create mode 160000 tools/runltp-ng

.gitmodules +3 -0
index a3c34af4b..e85fc6279 100644
@@ -4,3 +4,6 @@
  [submodule "tools/sparse/sparse-src"]
  	path = tools/sparse/sparse-src
  	url = git://git.kernel.org/pub/scm/devel/sparse/sparse.git
+[submodule "tools/runltp-ng"]
+	path = tools/runltp-ng
+	url = https://github.com/acerv/runltp-ng
tools/runltp-ng new file +0 -0
new file mode 160000
index 000000000..b08471158

tools/runltp-ng line 1

Quoted 1 line
tools/runltp-ng new file +1 -0
@@ -0,0 +1 @@
+Subproject commit b0847115891bd3dddbe920a716342917e7088379

Thank you for this submission! Finally we get close to adding runltp-ng :).

I've tested runltp-ng separately last few weeks, next week I'll do more testing of b0847115891bd3dddbe920a716342917e7088379. BTW there are 2 more commits in your master.

Quoted 8 lines

The integration: What I can see now is that it requires to run "git submodule update --init" by user. Looking at tools/sparse/Makefile. sparse is specific (not needed unless make check is evoked), therefore sparse is not installed if not needed (make in tools/ does not init the submodule).

Maybe we could add in tools/Makefile add:
git submodule update --init runltp-ng/
That would update only runltp-ng submodule.

Yes, submodules are not intuitive and it would be better to add code inside the LTP upstream.

Quoted 4 lines

I suppose there is a reason to deliver the tool separately (without LTP), e.g. separate development or used on systems, which use LTP built into distro package (we already use it in SUSE this way). In that case I'd be for moving the repo to LTP github (https://github.com/linux-test-project/runltp-ng).

Quoted 8 lines
Quoted 6 lines

We could also add it directly to LTP git repository (no submodule), because also for the above case (packaging) is a simple solution using just single
repository: there could be two separated packages: ltp and runltp-ng.

Otherwise to be part of LTP git repository
add code directly to tools/runltp-ng/.

As far as I know, community wanted runltp-ng to be part of LTP, but at this stage it's probably too early (?).

IMHO it's already mature enough. I'm not sure if there is any important enough runltp feature which it miss, but your code is obviously huge improvement over legacy runltp. Also you fixes various things I reported really quickly, thus I expect you fixes any major issue in reasonable time.

Kind regards,
Petr

Quoted 4 lines
Quoted 2 lines

Kind regards,
Petr

Andrea

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
#4 lore raw
In reply to Andrea Cervesato via ltp

Hello,

Quoted 15 lines · Andrea Cervesato via ltp

runltp-ng is the next generation runner for Linux Testing Project and it will replace the current obsolete runltp script in the next future.

---
 .gitmodules     | 3 +++
 tools/runltp-ng | 1 +
 2 files changed, 4 insertions(+)
 create mode 160000 tools/runltp-ng
.gitmodules +0 -0
index a3c34af4b..e85fc6279 100644

.gitmodules line 9

Quoted 6 lines
.gitmodules +3 -0
@@ -4,3 +4,6 @@
 [submodule "tools/sparse/sparse-src"]
 	path = tools/sparse/sparse-src
 	url = git://git.kernel.org/pub/scm/devel/sparse/sparse.git
+[submodule "tools/runltp-ng"]
+	path = tools/runltp-ng
+	url = https://github.com/acerv/runltp-ng

NACK

We should move the project into the linux-test-project org first.

Quoted 9 lines
tools/runltp-ng new file +1 -0
new file mode 160000
index 000000000..b08471158
@@ -0,0 +1 @@
+Subproject commit b0847115891bd3dddbe920a716342917e7088379
Signature · 1 line
2.35.3
Signature · 5 lines
Thank you,
Richard.

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
#5 lore raw

Hello,

Quoted 28 lines · Richard Palethorpe

Hello,

Quoted 15 lines · Andrea Cervesato via ltp

runltp-ng is the next generation runner for Linux Testing Project and it will replace the current obsolete runltp script in the next future.

---
 .gitmodules     | 3 +++
 tools/runltp-ng | 1 +
 2 files changed, 4 insertions(+)
 create mode 160000 tools/runltp-ng
.gitmodules +0 -0
index a3c34af4b..e85fc6279 100644

.gitmodules line 9

Quoted 6 lines
.gitmodules +3 -0
@@ -4,3 +4,6 @@
 [submodule "tools/sparse/sparse-src"]
 	path = tools/sparse/sparse-src
 	url = git://git.kernel.org/pub/scm/devel/sparse/sparse.git
+[submodule "tools/runltp-ng"]
+	path = tools/runltp-ng
+	url = https://github.com/acerv/runltp-ng

NACK

Quoted 1 line

We should move the project into the linux-test-project org first.

I am in favor of doing this, but set to "changes requested" in patchwork.

Quoted 15 lines
Quoted 10 lines
tools/runltp-ng new file +1 -0
new file mode 160000
index 000000000..b08471158
@@ -0,0 +1 @@
+Subproject commit b0847115891bd3dddbe920a716342917e7088379
Signature · 1 line
2.35.3
Signature · 2 lines
Thank you,
Richard.
Signature · 5 lines
Thank you,
Richard.

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
#6 lore raw
In reply to Richard Palethorpe

Hi!

Quoted 3 lines

NACK

We should move the project into the linux-test-project org first.

Agree. I will create the repository and work with andrea to move the development there.

Signature · 5 lines
Cyril Hrubis
[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp