Skip to contentSkip to conversation

CI: Move default image under global defaults

PATCH In review Simon Glass 2 participants 35 messages Feb 6, 2025 – Apr 1, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/2 CI: Move default image under global defaults

This is a global default, so put it under 'default' like the tags.

---

(no changes since v2)

Changes in v2:
- Add new patch to move default image under global defaults

 .gitlab-ci.yml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
.gitlab-ci.yml +3 -4
index a55b0c9ee7a..3305f7b4df3 100644
@@ -9,10 +9,9 @@ variables:
 default:
   tags:
     - ${DEFAULT_TAG}
-
-# Grab our configured image.  The source for this is found
-# in the u-boot tree at tools/docker/Dockerfile
-image: ${MIRROR_DOCKER}/trini/u-boot-gitlab-ci-runner:jammy-20240911.1-08Dec2024
+  # Grab our configured image.  The source for this is found
+  # in the u-boot tree at tools/docker/Dockerfile
+  image: ${MIRROR_DOCKER}/trini/u-boot-gitlab-ci-runner:jammy-20240911.1-08Dec2024
 
 # We run some tests in different order, to catch some failures quicker.
 stages:
Signature · 1 line
2.43.0
#1 lore raw

PATCH v3 2/2 CI: Use different git-directories for concurrent runners

When running multiple runners on the same machine, each git repo should be in its own place to avoid them interfering with either other.

Link to docs:

https://docs.gitlab.com/ee/ci/runners/configure_runners.html#custom-build-directories

---

Changes in v3:
- Use GIT_CLONE_PATH instead

Changes in v2:
- Put this under the global 'default' part

 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)
.gitlab-ci.yml +4 -0
index 3305f7b4df3..85639ffb358 100644
@@ -5,6 +5,7 @@ variables:
   MIRROR_DOCKER: docker.io
   SJG_LAB: ""
   PLATFORM: linux/amd64,linux/arm64
+  GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_CONCURRENT_ID/u-boot
 
 default:
   tags:
@@ -12,6 +13,9 @@ default:
   # Grab our configured image.  The source for this is found
   # in the u-boot tree at tools/docker/Dockerfile
   image: ${MIRROR_DOCKER}/trini/u-boot-gitlab-ci-runner:jammy-20240911.1-08Dec2024
+  services:
+    - name: container-$(CI_JOB_ID)
+      command: ["--rm"]
 
 # We run some tests in different order, to catch some failures quicker.
 stages:
Signature · 1 line
2.43.0
Reviewed-by on v3 2/2
#2 lore raw

Re: [PATCH v3 2/2] CI: Use different git-directories for concurrent runners

Quoted 8 lines · Simon Glass

When running multiple runners on the same machine, each git repo should be in its own place to avoid them interfering with either other.

Link to docs:

https://docs.gitlab.com/ee/ci/runners/configure_runners.html#custom-build-directories

Signature · 1 line
Tom
#5 lore raw

Hi Tom,

Quoted 11 lines · Tom Rini
Quoted 5 lines · Simon Glass

This is a global default, so put it under 'default' like the tags.

Please make v4 include the way you redid the second patch and be on top of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like. It probably doesn't affect your tree as not as much is done in parallel.

Regards,
SImon

#6 lore raw
Quoted 12 lines · Simon Glass

Hi Tom,

Quoted 9 lines · Tom Rini
Quoted 5 lines · Simon Glass

This is a global default, so put it under 'default' like the tags.

Quoted 6 lines
Quoted 2 lines

Please make v4 include the way you redid the second patch and be on top of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like. It probably doesn't affect your tree as not as much is done in parallel.

I am disappointed.

Signature · 1 line
Tom
#7 lore raw

Hi Tom,

Quoted 14 lines · Tom Rini
Quoted 12 lines · Simon Glass

Hi Tom,

Quoted 9 lines · Tom Rini
Quoted 5 lines · Simon Glass

This is a global default, so put it under 'default' like the tags.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Please make v4 include the way you redid the second patch and be on top of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like. It probably doesn't affect your tree as not as much is done in parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees and the gitlab files are quite different. My CI runs take about 35 mins and it seems that yours is around 90 mins. I would like to reduce / remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

Regards,
SImon

#8 lore raw
Quoted 26 lines · Simon Glass

Hi Tom,

Quoted 14 lines · Tom Rini
Quoted 12 lines · Simon Glass

Hi Tom,

Quoted 9 lines · Tom Rini
Quoted 5 lines · Simon Glass

This is a global default, so put it under 'default' like the tags.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Please make v4 include the way you redid the second patch and be on top of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like. It probably doesn't affect your tree as not as much is done in parallel.

I am disappointed.

Quoted 8 lines

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees and the gitlab files are quite different. My CI runs take about 35 mins and it seems that yours is around 90 mins. I would like to reduce / remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

I'm sure CI could be quicker still with a number of faster runners. But if you can't be bothered to make changes against mainline, what is the point?

Signature · 1 line
Tom
#9 lore raw

Hi Tom,

Quoted 35 lines · Tom Rini
Quoted 33 lines · Simon Glass

Hi Tom,

Quoted 14 lines · Tom Rini
Quoted 12 lines · Simon Glass

Hi Tom,

Quoted 9 lines · Tom Rini
Quoted 5 lines · Simon Glass

This is a global default, so put it under 'default' like the tags.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Please make v4 include the way you redid the second patch and be on top of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like. It probably doesn't affect your tree as not as much is done in parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees and the gitlab files are quite different. My CI runs take about 35 mins and it seems that yours is around 90 mins. I would like to reduce / remove the delta (for time and patch diff), but I'm not sure how.

Quoted 5 lines
Quoted 1 line

My goal is to get CI runs to below 20 minutes, best case.

I'm sure CI could be quicker still with a number of faster runners. But if you can't be bothered to make changes against mainline, what is the point?

If you recall, I was working with your tree and had various ideas to speed things up, but you didn't like it. So I've had to do it in my tree. This is not about more runners (although I might have another one soon). It is about running jobs in parallel.

Regards,
SImon

#10 lore raw
Quoted 40 lines · Simon Glass

Hi Tom,

Quoted 37 lines · Tom Rini
Quoted 34 lines · Simon Glass

Hi Tom,

Quoted 14 lines · Tom Rini
Quoted 12 lines · Simon Glass

Hi Tom,

Quoted 9 lines · Tom Rini
Quoted 5 lines · Simon Glass

This is a global default, so put it under 'default' like the tags.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Please make v4 include the way you redid the second patch and be on top of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like. It probably doesn't affect your tree as not as much is done in parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees and the gitlab files are quite different. My CI runs take about 35 mins and it seems that yours is around 90 mins. I would like to reduce / remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

Quoted 8 lines
Quoted 3 lines

I'm sure CI could be quicker still with a number of faster runners. But if you can't be bothered to make changes against mainline, what is the point?

If you recall, I was working with your tree and had various ideas to speed things up, but you didn't like it. So I've had to do it in my tree. This is not about more runners (although I might have another one soon). It is about running jobs in parallel.

And I wasn't sure more runners in parallel would help (as it would slow down the fast runner which is what keeps the long jobs from being even longer) as much as adding more regular runners would (which we've done) and noted that in the end it's a configuration on the runner side so to go ahead. And I reviewed and ack'd the patches here which exposed the issues your path revealed. I just can't apply them because they need to be rebased (and squashed).

Signature · 1 line
Tom
#11 lore raw

Hi Tom,

Quoted 51 lines · Tom Rini
Quoted 40 lines · Simon Glass

Hi Tom,

Quoted 37 lines · Tom Rini
Quoted 34 lines · Simon Glass

Hi Tom,

Quoted 14 lines · Tom Rini
Quoted 12 lines · Simon Glass

Hi Tom,

Quoted 9 lines · Tom Rini
Quoted 5 lines · Simon Glass

This is a global default, so put it under 'default' like the tags.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Please make v4 include the way you redid the second patch and be on top of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like. It probably doesn't affect your tree as not as much is done in parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees and the gitlab files are quite different. My CI runs take about 35 mins and it seems that yours is around 90 mins. I would like to reduce / remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

Quoted 8 lines
Quoted 3 lines

I'm sure CI could be quicker still with a number of faster runners. But if you can't be bothered to make changes against mainline, what is the point?

If you recall, I was working with your tree and had various ideas to speed things up, but you didn't like it. So I've had to do it in my tree. This is not about more runners (although I might have another one soon). It is about running jobs in parallel.

Quoted 7 lines

And I wasn't sure more runners in parallel would help (as it would slow down the fast runner which is what keeps the long jobs from being even longer) as much as adding more regular runners would (which we've done) and noted that in the end it's a configuration on the runner side so to go ahead. And I reviewed and ack'd the patches here which exposed the issues your path revealed. I just can't apply them because they need to be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the other way from what I have added.

I have a tag called 'single' which means that the machine is only allowed to one of those jobs. The world-build jobs are marked with 'single'.

For other jobs, I allow the runners to pick up some in parallel depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on the same machine. It seems to work fine in practice, although I would rather be able to make these two types of jobs mutually exclusive, so that a runner is either running 10 parallel jobs or 1 'single' job, but not both. I'm not sure how to do that.

Regards,
Simon

#12 lore raw
Quoted 69 lines · Simon Glass

Hi Tom,

Quoted 51 lines · Tom Rini
Quoted 40 lines · Simon Glass

Hi Tom,

Quoted 37 lines · Tom Rini
Quoted 34 lines · Simon Glass

Hi Tom,

Quoted 14 lines · Tom Rini
Quoted 12 lines · Simon Glass

Hi Tom,

Quoted 9 lines · Tom Rini
Quoted 5 lines · Simon Glass

This is a global default, so put it under 'default' like the tags.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Please make v4 include the way you redid the second patch and be on top of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like. It probably doesn't affect your tree as not as much is done in parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees and the gitlab files are quite different. My CI runs take about 35 mins and it seems that yours is around 90 mins. I would like to reduce / remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

Quoted 8 lines
Quoted 3 lines

I'm sure CI could be quicker still with a number of faster runners. But if you can't be bothered to make changes against mainline, what is the point?

If you recall, I was working with your tree and had various ideas to speed things up, but you didn't like it. So I've had to do it in my tree. This is not about more runners (although I might have another one soon). It is about running jobs in parallel.

Quoted 7 lines

And I wasn't sure more runners in parallel would help (as it would slow down the fast runner which is what keeps the long jobs from being even longer) as much as adding more regular runners would (which we've done) and noted that in the end it's a configuration on the runner side so to go ahead. And I reviewed and ack'd the patches here which exposed the issues your path revealed. I just can't apply them because they need to be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the other way from what I have added.

I have a tag called 'single' which means that the machine is only allowed to one of those jobs. The world-build jobs are marked with 'single'.

Quoted 8 lines

For other jobs, I allow the runners to pick up some in parallel depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on the same machine. It seems to work fine in practice, although I would rather be able to make these two types of jobs mutually exclusive, so that a runner is either running 10 parallel jobs or 1 'single' job, but not both. I'm not sure how to do that.

So unless I'm missing something, in both cases the bottleneck is that for world build jobs you don't want anything else going on with the underlying build host. You could register 10 "all" runners and 1 "fast amd64" runner (and something similar but smaller for alexandra). If you update the registrations on source.denx.de can you then shut down your gitlab instance?

Signature · 1 line
Tom
#13 lore raw

Hi Tom,

Quoted 80 lines · Tom Rini
Quoted 69 lines · Simon Glass

Hi Tom,

Quoted 51 lines · Tom Rini
Quoted 40 lines · Simon Glass

Hi Tom,

Quoted 37 lines · Tom Rini
Quoted 34 lines · Simon Glass

Hi Tom,

Quoted 14 lines · Tom Rini
Quoted 12 lines · Simon Glass

Hi Tom,

Quoted 9 lines · Tom Rini
Quoted 5 lines · Simon Glass

This is a global default, so put it under 'default' like the tags.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Please make v4 include the way you redid the second patch and be on top of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like. It probably doesn't affect your tree as not as much is done in parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees and the gitlab files are quite different. My CI runs take about 35 mins and it seems that yours is around 90 mins. I would like to reduce / remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

Quoted 8 lines
Quoted 3 lines

I'm sure CI could be quicker still with a number of faster runners. But if you can't be bothered to make changes against mainline, what is the point?

If you recall, I was working with your tree and had various ideas to speed things up, but you didn't like it. So I've had to do it in my tree. This is not about more runners (although I might have another one soon). It is about running jobs in parallel.

Quoted 7 lines

And I wasn't sure more runners in parallel would help (as it would slow down the fast runner which is what keeps the long jobs from being even longer) as much as adding more regular runners would (which we've done) and noted that in the end it's a configuration on the runner side so to go ahead. And I reviewed and ack'd the patches here which exposed the issues your path revealed. I just can't apply them because they need to be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the other way from what I have added.

I have a tag called 'single' which means that the machine is only allowed to one of those jobs. The world-build jobs are marked with 'single'.

Quoted 8 lines

For other jobs, I allow the runners to pick up some in parallel depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on the same machine. It seems to work fine in practice, although I would rather be able to make these two types of jobs mutually exclusive, so that a runner is either running 10 parallel jobs or 1 'single' job, but not both. I'm not sure how to do that.

Quoted 6 lines

So unless I'm missing something, in both cases the bottleneck is that for world build jobs you don't want anything else going on with the underlying build host. You could register 10 "all" runners and 1 "fast amd64" runner (and something similar but smaller for alexandra). If you update the registrations on source.denx.de can you then shut down your gitlab instance?

I've put a tag of 'single' on things that should run on the single-job runner. Everything else can run concurrently, e.g. up to 10 jobs. So I have two runners on the same host. E.g. tui-single has 'limit = 1', but 'tui' has no limit and is just governed by the 'concurrent = 10' at the top of the file.

From my side, I have found it helpful and refreshing to have a gitlab instance which I can control, e.g. it runs in half the time and if my patches are completely blocked by Linaro, etc., I have an escape valve.

Regards,
Simon

#14 lore raw
Quoted 90 lines · Simon Glass

Hi Tom,

Quoted 80 lines · Tom Rini
Quoted 69 lines · Simon Glass

Hi Tom,

Quoted 51 lines · Tom Rini
Quoted 40 lines · Simon Glass

Hi Tom,

Quoted 37 lines · Tom Rini
Quoted 34 lines · Simon Glass

Hi Tom,

Quoted 14 lines · Tom Rini
Quoted 12 lines · Simon Glass

Hi Tom,

Quoted 9 lines · Tom Rini
Quoted 5 lines · Simon Glass

This is a global default, so put it under 'default' like the tags.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Please make v4 include the way you redid the second patch and be on top of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like. It probably doesn't affect your tree as not as much is done in parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees and the gitlab files are quite different. My CI runs take about 35 mins and it seems that yours is around 90 mins. I would like to reduce / remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

Quoted 8 lines
Quoted 3 lines

I'm sure CI could be quicker still with a number of faster runners. But if you can't be bothered to make changes against mainline, what is the point?

If you recall, I was working with your tree and had various ideas to speed things up, but you didn't like it. So I've had to do it in my tree. This is not about more runners (although I might have another one soon). It is about running jobs in parallel.

Quoted 7 lines

And I wasn't sure more runners in parallel would help (as it would slow down the fast runner which is what keeps the long jobs from being even longer) as much as adding more regular runners would (which we've done) and noted that in the end it's a configuration on the runner side so to go ahead. And I reviewed and ack'd the patches here which exposed the issues your path revealed. I just can't apply them because they need to be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the other way from what I have added.

I have a tag called 'single' which means that the machine is only allowed to one of those jobs. The world-build jobs are marked with 'single'.

Quoted 8 lines

For other jobs, I allow the runners to pick up some in parallel depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on the same machine. It seems to work fine in practice, although I would rather be able to make these two types of jobs mutually exclusive, so that a runner is either running 10 parallel jobs or 1 'single' job, but not both. I'm not sure how to do that.

Quoted 6 lines

So unless I'm missing something, in both cases the bottleneck is that for world build jobs you don't want anything else going on with the underlying build host. You could register 10 "all" runners and 1 "fast amd64" runner (and something similar but smaller for alexandra). If you update the registrations on source.denx.de can you then shut down your gitlab instance?

Quoted 5 lines

I've put a tag of 'single' on things that should run on the single-job runner. Everything else can run concurrently, e.g. up to 10 jobs. So I have two runners on the same host. E.g. tui-single has 'limit = 1', but 'tui' has no limit and is just governed by the 'concurrent = 10' at the top of the file.

Yes. And you could move those runners to the mainline gitlab. There is no "single" tag, that would be the "all" tag. And "tui-single" would be "fast amd64".

Quoted 4 lines

From my side, I have found it helpful and refreshing to have a gitlab instance which I can control, e.g. it runs in half the time and if my patches are completely blocked by Linaro, etc., I have an escape valve.

Yes, and I have no idea what any of that has to do with anything other than leading to confusion about what tree is or is not mainline. Since you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

Signature · 1 line
Tom
#15 lore raw

Hi Tom,

Quoted 98 lines · Tom Rini
Quoted 90 lines · Simon Glass

Hi Tom,

Quoted 80 lines · Tom Rini
Quoted 69 lines · Simon Glass

Hi Tom,

Quoted 51 lines · Tom Rini
Quoted 40 lines · Simon Glass

Hi Tom,

Quoted 37 lines · Tom Rini
Quoted 34 lines · Simon Glass

Hi Tom,

Quoted 14 lines · Tom Rini
Quoted 12 lines · Simon Glass

Hi Tom,

Quoted 9 lines · Tom Rini
Quoted 5 lines · Simon Glass

This is a global default, so put it under 'default' like the tags.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Please make v4 include the way you redid the second patch and be on top of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like. It probably doesn't affect your tree as not as much is done in parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees and the gitlab files are quite different. My CI runs take about 35 mins and it seems that yours is around 90 mins. I would like to reduce / remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

Quoted 8 lines
Quoted 3 lines

I'm sure CI could be quicker still with a number of faster runners. But if you can't be bothered to make changes against mainline, what is the point?

If you recall, I was working with your tree and had various ideas to speed things up, but you didn't like it. So I've had to do it in my tree. This is not about more runners (although I might have another one soon). It is about running jobs in parallel.

Quoted 7 lines

And I wasn't sure more runners in parallel would help (as it would slow down the fast runner which is what keeps the long jobs from being even longer) as much as adding more regular runners would (which we've done) and noted that in the end it's a configuration on the runner side so to go ahead. And I reviewed and ack'd the patches here which exposed the issues your path revealed. I just can't apply them because they need to be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the other way from what I have added.

I have a tag called 'single' which means that the machine is only allowed to one of those jobs. The world-build jobs are marked with 'single'.

Quoted 8 lines

For other jobs, I allow the runners to pick up some in parallel depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on the same machine. It seems to work fine in practice, although I would rather be able to make these two types of jobs mutually exclusive, so that a runner is either running 10 parallel jobs or 1 'single' job, but not both. I'm not sure how to do that.

Quoted 6 lines

So unless I'm missing something, in both cases the bottleneck is that for world build jobs you don't want anything else going on with the underlying build host. You could register 10 "all" runners and 1 "fast amd64" runner (and something similar but smaller for alexandra). If you update the registrations on source.denx.de can you then shut down your gitlab instance?

Quoted 5 lines

I've put a tag of 'single' on things that should run on the single-job runner. Everything else can run concurrently, e.g. up to 10 jobs. So I have two runners on the same host. E.g. tui-single has 'limit = 1', but 'tui' has no limit and is just governed by the 'concurrent = 10' at the top of the file.

Quoted 3 lines

Yes. And you could move those runners to the mainline gitlab. There is no "single" tag, that would be the "all" tag. And "tui-single" would be "fast amd64".

They are still attached to the Denx gitlab. Nothing has changed on my side. I'm not sure that your new tags are working though. I have a feeling something broke along the way when you made all your tag changes. One of my servers makes a bit of noise and I haven't heard it in quite a while.

If Denx would like to give me access to their gitlab instances, I'd be happy to play around and figure out how to get it going as fast as my tree does, and send a patch.

I also have another runner to add.

Quoted 10 lines
Quoted 5 lines

From my side, I have found it helpful and refreshing to have a gitlab instance which I can control, e.g. it runs in half the time and if my patches are completely blocked by Linaro, etc., I have an escape valve.

Yes, and I have no idea what any of that has to do with anything other than leading to confusion about what tree is or is not mainline. Since you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

For now I am working with my tree, so that I am not blocked by Linaro, etc. but as you have seen I can rebase series for your tree as needed.

Regards,
Simon

#16 lore raw
Quoted 105 lines · Simon Glass

Hi Tom,

Quoted 98 lines · Tom Rini
Quoted 90 lines · Simon Glass

Hi Tom,

Quoted 80 lines · Tom Rini
Quoted 69 lines · Simon Glass

Hi Tom,

Quoted 51 lines · Tom Rini
Quoted 40 lines · Simon Glass

Hi Tom,

Quoted 37 lines · Tom Rini
Quoted 34 lines · Simon Glass

Hi Tom,

Quoted 14 lines · Tom Rini
Quoted 12 lines · Simon Glass

Hi Tom,

Quoted 9 lines · Tom Rini
Quoted 5 lines · Simon Glass

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Please make v4 include the way you redid the second patch and be on top of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like. It probably doesn't affect your tree as not as much is done in parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees and the gitlab files are quite different. My CI runs take about 35 mins and it seems that yours is around 90 mins. I would like to reduce / remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

Quoted 8 lines
Quoted 3 lines

I'm sure CI could be quicker still with a number of faster runners. But if you can't be bothered to make changes against mainline, what is the point?

If you recall, I was working with your tree and had various ideas to speed things up, but you didn't like it. So I've had to do it in my tree. This is not about more runners (although I might have another one soon). It is about running jobs in parallel.

Quoted 7 lines

And I wasn't sure more runners in parallel would help (as it would slow down the fast runner which is what keeps the long jobs from being even longer) as much as adding more regular runners would (which we've done) and noted that in the end it's a configuration on the runner side so to go ahead. And I reviewed and ack'd the patches here which exposed the issues your path revealed. I just can't apply them because they need to be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the other way from what I have added.

I have a tag called 'single' which means that the machine is only allowed to one of those jobs. The world-build jobs are marked with 'single'.

Quoted 8 lines

For other jobs, I allow the runners to pick up some in parallel depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on the same machine. It seems to work fine in practice, although I would rather be able to make these two types of jobs mutually exclusive, so that a runner is either running 10 parallel jobs or 1 'single' job, but not both. I'm not sure how to do that.

Quoted 6 lines

So unless I'm missing something, in both cases the bottleneck is that for world build jobs you don't want anything else going on with the underlying build host. You could register 10 "all" runners and 1 "fast amd64" runner (and something similar but smaller for alexandra). If you update the registrations on source.denx.de can you then shut down your gitlab instance?

Quoted 5 lines

I've put a tag of 'single' on things that should run on the single-job runner. Everything else can run concurrently, e.g. up to 10 jobs. So I have two runners on the same host. E.g. tui-single has 'limit = 1', but 'tui' has no limit and is just governed by the 'concurrent = 10' at the top of the file.

Quoted 3 lines

Yes. And you could move those runners to the mainline gitlab. There is no "single" tag, that would be the "all" tag. And "tui-single" would be "fast amd64".

Quoted 5 lines

They are still attached to the Denx gitlab. Nothing has changed on my side. I'm not sure that your new tags are working though. I have a feeling something broke along the way when you made all your tag changes. One of my servers makes a bit of noise and I haven't heard it in quite a while.

There's a few of your runners that are "stale" and haven't contacted gitlab in a long time. I'll double check the tags tho.

Quoted 3 lines

If Denx would like to give me access to their gitlab instances, I'd be happy to play around and figure out how to get it going as fast as my tree does, and send a patch.

I'm not sure what you mean by that? The instance itself?

Quoted 1 line

I also have another runner to add.

I'll contact you off-list with the token.

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

From my side, I have found it helpful and refreshing to have a gitlab instance which I can control, e.g. it runs in half the time and if my patches are completely blocked by Linaro, etc., I have an escape valve.

Quoted 7 lines
Quoted 4 lines

Yes, and I have no idea what any of that has to do with anything other than leading to confusion about what tree is or is not mainline. Since you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

For now I am working with my tree, so that I am not blocked by Linaro, etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for your personal tree. That's my big huge "are you forking the project or what" problem.

Signature · 1 line
Tom
#17 lore raw

Hi Tom,

Quoted 113 lines · Tom Rini
Quoted 105 lines · Simon Glass

Hi Tom,

Quoted 98 lines · Tom Rini
Quoted 90 lines · Simon Glass

Hi Tom,

Quoted 80 lines · Tom Rini
Quoted 69 lines · Simon Glass

Hi Tom,

Quoted 51 lines · Tom Rini
Quoted 40 lines · Simon Glass

Hi Tom,

Quoted 37 lines · Tom Rini
Quoted 34 lines · Simon Glass

Hi Tom,

Quoted 14 lines · Tom Rini
Quoted 12 lines · Simon Glass

Hi Tom,

Quoted 9 lines · Tom Rini

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like. It probably doesn't affect your tree as not as much is done in parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees and the gitlab files are quite different. My CI runs take about 35 mins and it seems that yours is around 90 mins. I would like to reduce / remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

Quoted 8 lines
Quoted 3 lines

I'm sure CI could be quicker still with a number of faster runners. But if you can't be bothered to make changes against mainline, what is the point?

If you recall, I was working with your tree and had various ideas to speed things up, but you didn't like it. So I've had to do it in my tree. This is not about more runners (although I might have another one soon). It is about running jobs in parallel.

Quoted 7 lines

And I wasn't sure more runners in parallel would help (as it would slow down the fast runner which is what keeps the long jobs from being even longer) as much as adding more regular runners would (which we've done) and noted that in the end it's a configuration on the runner side so to go ahead. And I reviewed and ack'd the patches here which exposed the issues your path revealed. I just can't apply them because they need to be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the other way from what I have added.

I have a tag called 'single' which means that the machine is only allowed to one of those jobs. The world-build jobs are marked with 'single'.

Quoted 8 lines

For other jobs, I allow the runners to pick up some in parallel depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on the same machine. It seems to work fine in practice, although I would rather be able to make these two types of jobs mutually exclusive, so that a runner is either running 10 parallel jobs or 1 'single' job, but not both. I'm not sure how to do that.

Quoted 6 lines

So unless I'm missing something, in both cases the bottleneck is that for world build jobs you don't want anything else going on with the underlying build host. You could register 10 "all" runners and 1 "fast amd64" runner (and something similar but smaller for alexandra). If you update the registrations on source.denx.de can you then shut down your gitlab instance?

Quoted 5 lines

I've put a tag of 'single' on things that should run on the single-job runner. Everything else can run concurrently, e.g. up to 10 jobs. So I have two runners on the same host. E.g. tui-single has 'limit = 1', but 'tui' has no limit and is just governed by the 'concurrent = 10' at the top of the file.

Quoted 3 lines

Yes. And you could move those runners to the mainline gitlab. There is no "single" tag, that would be the "all" tag. And "tui-single" would be "fast amd64".

Quoted 5 lines

They are still attached to the Denx gitlab. Nothing has changed on my side. I'm not sure that your new tags are working though. I have a feeling something broke along the way when you made all your tag changes. One of my servers makes a bit of noise and I haven't heard it in quite a while.

Quoted 8 lines

There's a few of your runners that are "stale" and haven't contacted gitlab in a long time. I'll double check the tags tho.

Quoted 3 lines

If Denx would like to give me access to their gitlab instances, I'd be happy to play around and figure out how to get it going as fast as my tree does, and send a patch.

I'm not sure what you mean by that? The instance itself?

Yes. I can fiddle with tags on my runners and try to figure it out.

Quoted 15 lines
Quoted 2 lines

I also have another runner to add.

I'll contact you off-list with the token.

Quoted 10 lines
Quoted 9 lines
Quoted 4 lines

From my side, I have found it helpful and refreshing to have a gitlab instance which I can control, e.g. it runs in half the time and if my patches are completely blocked by Linaro, etc., I have an escape valve.

Yes, and I have no idea what any of that has to do with anything other than leading to confusion about what tree is or is not mainline. Since you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

Quoted 6 lines
Quoted 2 lines

For now I am working with my tree, so that I am not blocked by Linaro, etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for your personal tree. That's my big huge "are you forking the project or what" problem.

I'm just making sure that my work is not blocked or lost, as that has happened too many times in the past few years.

BTW weka is too slow so I took it off.

tui is running but seems to be renamed 'tui-redux' now. I don't see it getting jobs though.

Regards,
Simon

#18 lore raw
Quoted 119 lines · Simon Glass

Hi Tom,

Quoted 116 lines · Tom Rini
Quoted 105 lines · Simon Glass

Hi Tom,

Quoted 98 lines · Tom Rini
Quoted 90 lines · Simon Glass

Hi Tom,

Quoted 80 lines · Tom Rini
Quoted 69 lines · Simon Glass

Hi Tom,

Quoted 51 lines · Tom Rini
Quoted 40 lines · Simon Glass

Hi Tom,

Quoted 37 lines · Tom Rini
Quoted 34 lines · Simon Glass

Hi Tom,

Quoted 14 lines · Tom Rini
Quoted 12 lines · Simon Glass

Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Quoted 8 lines
Quoted 6 lines

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees and the gitlab files are quite different. My CI runs take about 35 mins and it seems that yours is around 90 mins. I would like to reduce / remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

Quoted 8 lines
Quoted 3 lines

I'm sure CI could be quicker still with a number of faster runners. But if you can't be bothered to make changes against mainline, what is the point?

If you recall, I was working with your tree and had various ideas to speed things up, but you didn't like it. So I've had to do it in my tree. This is not about more runners (although I might have another one soon). It is about running jobs in parallel.

Quoted 7 lines

And I wasn't sure more runners in parallel would help (as it would slow down the fast runner which is what keeps the long jobs from being even longer) as much as adding more regular runners would (which we've done) and noted that in the end it's a configuration on the runner side so to go ahead. And I reviewed and ack'd the patches here which exposed the issues your path revealed. I just can't apply them because they need to be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the other way from what I have added.

I have a tag called 'single' which means that the machine is only allowed to one of those jobs. The world-build jobs are marked with 'single'.

Quoted 8 lines

For other jobs, I allow the runners to pick up some in parallel depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on the same machine. It seems to work fine in practice, although I would rather be able to make these two types of jobs mutually exclusive, so that a runner is either running 10 parallel jobs or 1 'single' job, but not both. I'm not sure how to do that.

Quoted 6 lines

So unless I'm missing something, in both cases the bottleneck is that for world build jobs you don't want anything else going on with the underlying build host. You could register 10 "all" runners and 1 "fast amd64" runner (and something similar but smaller for alexandra). If you update the registrations on source.denx.de can you then shut down your gitlab instance?

Quoted 5 lines

I've put a tag of 'single' on things that should run on the single-job runner. Everything else can run concurrently, e.g. up to 10 jobs. So I have two runners on the same host. E.g. tui-single has 'limit = 1', but 'tui' has no limit and is just governed by the 'concurrent = 10' at the top of the file.

Quoted 3 lines

Yes. And you could move those runners to the mainline gitlab. There is no "single" tag, that would be the "all" tag. And "tui-single" would be "fast amd64".

Quoted 5 lines

They are still attached to the Denx gitlab. Nothing has changed on my side. I'm not sure that your new tags are working though. I have a feeling something broke along the way when you made all your tag changes. One of my servers makes a bit of noise and I haven't heard it in quite a while.

There's a few of your runners that are "stale" and haven't contacted gitlab in a long time. I'll double check the tags tho.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

If Denx would like to give me access to their gitlab instances, I'd be happy to play around and figure out how to get it going as fast as my tree does, and send a patch.

I'm not sure what you mean by that? The instance itself?

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in /etc/gitlab-runner/config.toml those aren't relevant here I believe.

Quoted 17 lines
Quoted 17 lines
Quoted 1 line

I also have another runner to add.

I'll contact you off-list with the token.

Quoted 12 lines
Quoted 9 lines
Quoted 4 lines

From my side, I have found it helpful and refreshing to have a gitlab instance which I can control, e.g. it runs in half the time and if my patches are completely blocked by Linaro, etc., I have an escape valve.

Yes, and I have no idea what any of that has to do with anything other than leading to confusion about what tree is or is not mainline. Since you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

For now I am working with my tree, so that I am not blocked by Linaro, etc. but as you have seen I can rebase series for your tree as needed.

Quoted 6 lines
Quoted 3 lines

And you're not addressing my point about using the project domain for your personal tree. That's my big huge "are you forking the project or what" problem.

I'm just making sure that my work is not blocked or lost, as that has happened too many times in the past few years.

Again, are you intending to fork the project? Putting your personal tree in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking you to stop it.

Quoted 1 line

BTW weka is too slow so I took it off.

I'll remove it.

Quoted 2 lines

tui is running but seems to be renamed 'tui-redux' now. I don't see it getting jobs though.

It's been getting jobs. Is it something sufficiently fast that it should be doing big jobs?

Signature · 1 line
Tom
#19 lore raw

Hi Tom,

Quoted 125 lines · Tom Rini
Quoted 123 lines · Simon Glass

Hi Tom,

Quoted 120 lines · Tom Rini
Quoted 105 lines · Simon Glass

Hi Tom,

Quoted 98 lines · Tom Rini
Quoted 90 lines · Simon Glass

Hi Tom,

Quoted 80 lines · Tom Rini
Quoted 69 lines · Simon Glass

Hi Tom,

Quoted 51 lines · Tom Rini
Quoted 40 lines · Simon Glass

Hi Tom,

Quoted 37 lines · Tom Rini
Quoted 34 lines · Simon Glass

Hi Tom,

Quoted 22 lines · Tom Rini

On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees and the gitlab files are quite different. My CI runs take about 35 mins and it seems that yours is around 90 mins. I would like to reduce / remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

Quoted 8 lines
Quoted 3 lines

I'm sure CI could be quicker still with a number of faster runners. But if you can't be bothered to make changes against mainline, what is the point?

If you recall, I was working with your tree and had various ideas to speed things up, but you didn't like it. So I've had to do it in my tree. This is not about more runners (although I might have another one soon). It is about running jobs in parallel.

Quoted 7 lines

And I wasn't sure more runners in parallel would help (as it would slow down the fast runner which is what keeps the long jobs from being even longer) as much as adding more regular runners would (which we've done) and noted that in the end it's a configuration on the runner side so to go ahead. And I reviewed and ack'd the patches here which exposed the issues your path revealed. I just can't apply them because they need to be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the other way from what I have added.

I have a tag called 'single' which means that the machine is only allowed to one of those jobs. The world-build jobs are marked with 'single'.

Quoted 8 lines

For other jobs, I allow the runners to pick up some in parallel depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on the same machine. It seems to work fine in practice, although I would rather be able to make these two types of jobs mutually exclusive, so that a runner is either running 10 parallel jobs or 1 'single' job, but not both. I'm not sure how to do that.

Quoted 6 lines

So unless I'm missing something, in both cases the bottleneck is that for world build jobs you don't want anything else going on with the underlying build host. You could register 10 "all" runners and 1 "fast amd64" runner (and something similar but smaller for alexandra). If you update the registrations on source.denx.de can you then shut down your gitlab instance?

Quoted 5 lines

I've put a tag of 'single' on things that should run on the single-job runner. Everything else can run concurrently, e.g. up to 10 jobs. So I have two runners on the same host. E.g. tui-single has 'limit = 1', but 'tui' has no limit and is just governed by the 'concurrent = 10' at the top of the file.

Quoted 3 lines

Yes. And you could move those runners to the mainline gitlab. There is no "single" tag, that would be the "all" tag. And "tui-single" would be "fast amd64".

Quoted 5 lines

They are still attached to the Denx gitlab. Nothing has changed on my side. I'm not sure that your new tags are working though. I have a feeling something broke along the way when you made all your tag changes. One of my servers makes a bit of noise and I haven't heard it in quite a while.

There's a few of your runners that are "stale" and haven't contacted gitlab in a long time. I'll double check the tags tho.

Quoted 3 lines

If Denx would like to give me access to their gitlab instances, I'd be happy to play around and figure out how to get it going as fast as my tree does, and send a patch.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I'm not sure what you mean by that? The instance itself?

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in /etc/gitlab-runner/config.toml those aren't relevant here I believe.

No, I mean the tags in CI. If I fiddle with them I can probably come up with a way to run your CI much faster. Mine is about 35mins.

Quoted 22 lines
Quoted 22 lines
Quoted 21 lines
Quoted 2 lines

I also have another runner to add.

I'll contact you off-list with the token.

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

From my side, I have found it helpful and refreshing to have a gitlab instance which I can control, e.g. it runs in half the time and if my patches are completely blocked by Linaro, etc., I have an escape valve.

Quoted 7 lines
Quoted 4 lines

Yes, and I have no idea what any of that has to do with anything other than leading to confusion about what tree is or is not mainline. Since you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

For now I am working with my tree, so that I am not blocked by Linaro, etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for your personal tree. That's my big huge "are you forking the project or what" problem.

Quoted 6 lines
Quoted 2 lines

I'm just making sure that my work is not blocked or lost, as that has happened too many times in the past few years.

Again, are you intending to fork the project? Putting your personal tree in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking you to stop it.

No, I'm not intending to fork anything. But I need a tree that I can control and push things into.

Quoted 10 lines
Quoted 2 lines

BTW weka is too slow so I took it off.

I'll remove it.

Quoted 2 lines

tui is running but seems to be renamed 'tui-redux' now. I don't see it getting jobs though.

It's been getting jobs. Is it something sufficiently fast that it should be doing big jobs?

Yes, tui is the same as moa, pretty fast.

Regards,
SImon

#20 lore raw
Quoted 130 lines · Simon Glass

Hi Tom,

Quoted 127 lines · Tom Rini
Quoted 125 lines · Simon Glass

Hi Tom,

Quoted 121 lines · Tom Rini
Quoted 105 lines · Simon Glass

Hi Tom,

Quoted 98 lines · Tom Rini
Quoted 90 lines · Simon Glass

Hi Tom,

Quoted 80 lines · Tom Rini
Quoted 69 lines · Simon Glass

Hi Tom,

Quoted 51 lines · Tom Rini
Quoted 40 lines · Simon Glass

Hi Tom,

Quoted 37 lines · Tom Rini
Quoted 34 lines · Simon Glass

Hi Tom,

On Sat, 15 Feb 2025 at 07:41, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees
and the gitlab files are quite different. My CI runs take about 35
mins and it seems that yours is around 90 mins. I would like to reduce
/ remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

Quoted 8 lines
Quoted 3 lines

I'm sure CI could be quicker still with a number of faster runners. But if you can't be bothered to make changes against mainline, what is the point?

If you recall, I was working with your tree and had various ideas to speed things up, but you didn't like it. So I've had to do it in my tree. This is not about more runners (although I might have another one soon). It is about running jobs in parallel.

Quoted 7 lines

And I wasn't sure more runners in parallel would help (as it would slow down the fast runner which is what keeps the long jobs from being even longer) as much as adding more regular runners would (which we've done) and noted that in the end it's a configuration on the runner side so to go ahead. And I reviewed and ack'd the patches here which exposed the issues your path revealed. I just can't apply them because they need to be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the other way from what I have added.

I have a tag called 'single' which means that the machine is only allowed to one of those jobs. The world-build jobs are marked with 'single'.

Quoted 8 lines

For other jobs, I allow the runners to pick up some in parallel depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on the same machine. It seems to work fine in practice, although I would rather be able to make these two types of jobs mutually exclusive, so that a runner is either running 10 parallel jobs or 1 'single' job, but not both. I'm not sure how to do that.

Quoted 6 lines

So unless I'm missing something, in both cases the bottleneck is that for world build jobs you don't want anything else going on with the underlying build host. You could register 10 "all" runners and 1 "fast amd64" runner (and something similar but smaller for alexandra). If you update the registrations on source.denx.de can you then shut down your gitlab instance?

Quoted 5 lines

I've put a tag of 'single' on things that should run on the single-job runner. Everything else can run concurrently, e.g. up to 10 jobs. So I have two runners on the same host. E.g. tui-single has 'limit = 1', but 'tui' has no limit and is just governed by the 'concurrent = 10' at the top of the file.

Quoted 3 lines

Yes. And you could move those runners to the mainline gitlab. There is no "single" tag, that would be the "all" tag. And "tui-single" would be "fast amd64".

Quoted 5 lines

They are still attached to the Denx gitlab. Nothing has changed on my side. I'm not sure that your new tags are working though. I have a feeling something broke along the way when you made all your tag changes. One of my servers makes a bit of noise and I haven't heard it in quite a while.

There's a few of your runners that are "stale" and haven't contacted gitlab in a long time. I'll double check the tags tho.

Quoted 3 lines

If Denx would like to give me access to their gitlab instances, I'd be happy to play around and figure out how to get it going as fast as my tree does, and send a patch.

I'm not sure what you mean by that? The instance itself?

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in /etc/gitlab-runner/config.toml those aren't relevant here I believe.

No, I mean the tags in CI. If I fiddle with them I can probably come up with a way to run your CI much faster. Mine is about 35mins.

I'm not so sure about that. Yours runs faster because it tests less. Now that we've got some of your other fast runners showing up again, this is more instructive of current times I think:
https://source.denx.de/u-boot/u-boot/-/pipelines/24802

If you want to make mainline CI run faster you will need to catch up with the missing coverage or argue that some things are redundant.

Quoted 24 lines
Quoted 24 lines
Quoted 23 lines
Quoted 14 lines
Quoted 1 line

I also have another runner to add.

I'll contact you off-list with the token.

Quoted 10 lines
Quoted 9 lines
Quoted 4 lines

From my side, I have found it helpful and refreshing to have a gitlab instance which I can control, e.g. it runs in half the time and if my patches are completely blocked by Linaro, etc., I have an escape valve.

Yes, and I have no idea what any of that has to do with anything other than leading to confusion about what tree is or is not mainline. Since you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

Quoted 6 lines
Quoted 2 lines

For now I am working with my tree, so that I am not blocked by Linaro, etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for your personal tree. That's my big huge "are you forking the project or what" problem.

I'm just making sure that my work is not blocked or lost, as that has happened too many times in the past few years.

Quoted 6 lines
Quoted 3 lines

Again, are you intending to fork the project? Putting your personal tree in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking you to stop it.

No, I'm not intending to fork anything. But I need a tree that I can control and push things into.

I don't know how you can call your personal tree being at "https://ci.u-boot.org/u-boot/u-boot.git" and saying it's somewhere you control and can push to while not also saying it's a fork. If you want to close down your gitlab and CNAME ci.u-boot.org to source.denx.de, you can still push things to u-boot-dm. Or if that's too constrained of a namespace you can also get a contributors/sjg/ namespace. But what you're doing today WILL lead to confusion.

Quoted 11 lines
Quoted 9 lines
Quoted 1 line

BTW weka is too slow so I took it off.

I'll remove it.

Quoted 2 lines

tui is running but seems to be renamed 'tui-redux' now. I don't see it getting jobs though.

It's been getting jobs. Is it something sufficiently fast that it should be doing big jobs?

Yes, tui is the same as moa, pretty fast.

Thanks, I've added the "fast amd64" tag then so it'll get the long running jobs too.

Signature · 1 line
Tom
#21 lore raw

Hi Tom,

Quoted 137 lines · Tom Rini
Quoted 135 lines · Simon Glass

Hi Tom,

Quoted 131 lines · Tom Rini
Quoted 119 lines · Simon Glass

Hi Tom,

Quoted 116 lines · Tom Rini
Quoted 105 lines · Simon Glass

Hi Tom,

Quoted 98 lines · Tom Rini
Quoted 90 lines · Simon Glass

Hi Tom,

Quoted 80 lines · Tom Rini
Quoted 69 lines · Simon Glass

Hi Tom,

Quoted 51 lines · Tom Rini
Quoted 40 lines · Simon Glass

Hi Tom,

Quoted 37 lines · Tom Rini

On Sat, Feb 15, 2025 at 10:21:16AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 07:41, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees
and the gitlab files are quite different. My CI runs take about 35
mins and it seems that yours is around 90 mins. I would like to reduce
/ remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

Quoted 8 lines
Quoted 3 lines

I'm sure CI could be quicker still with a number of faster runners. But
if you can't be bothered to make changes against mainline, what is the
point?

If you recall, I was working with your tree and had various ideas to speed things up, but you didn't like it. So I've had to do it in my tree. This is not about more runners (although I might have another one soon). It is about running jobs in parallel.

Quoted 7 lines

And I wasn't sure more runners in parallel would help (as it would slow down the fast runner which is what keeps the long jobs from being even longer) as much as adding more regular runners would (which we've done) and noted that in the end it's a configuration on the runner side so to go ahead. And I reviewed and ack'd the patches here which exposed the issues your path revealed. I just can't apply them because they need to be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the other way from what I have added.

I have a tag called 'single' which means that the machine is only allowed to one of those jobs. The world-build jobs are marked with 'single'.

Quoted 8 lines

For other jobs, I allow the runners to pick up some in parallel depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on the same machine. It seems to work fine in practice, although I would rather be able to make these two types of jobs mutually exclusive, so that a runner is either running 10 parallel jobs or 1 'single' job, but not both. I'm not sure how to do that.

Quoted 6 lines

So unless I'm missing something, in both cases the bottleneck is that for world build jobs you don't want anything else going on with the underlying build host. You could register 10 "all" runners and 1 "fast amd64" runner (and something similar but smaller for alexandra). If you update the registrations on source.denx.de can you then shut down your gitlab instance?

Quoted 5 lines

I've put a tag of 'single' on things that should run on the single-job runner. Everything else can run concurrently, e.g. up to 10 jobs. So I have two runners on the same host. E.g. tui-single has 'limit = 1', but 'tui' has no limit and is just governed by the 'concurrent = 10' at the top of the file.

Quoted 3 lines

Yes. And you could move those runners to the mainline gitlab. There is no "single" tag, that would be the "all" tag. And "tui-single" would be "fast amd64".

Quoted 5 lines

They are still attached to the Denx gitlab. Nothing has changed on my side. I'm not sure that your new tags are working though. I have a feeling something broke along the way when you made all your tag changes. One of my servers makes a bit of noise and I haven't heard it in quite a while.

There's a few of your runners that are "stale" and haven't contacted gitlab in a long time. I'll double check the tags tho.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

If Denx would like to give me access to their gitlab instances, I'd be happy to play around and figure out how to get it going as fast as my tree does, and send a patch.

I'm not sure what you mean by that? The instance itself?

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in /etc/gitlab-runner/config.toml those aren't relevant here I believe.

Quoted 7 lines
Quoted 2 lines

No, I mean the tags in CI. If I fiddle with them I can probably come up with a way to run your CI much faster. Mine is about 35mins.

I'm not so sure about that. Yours runs faster because it tests less. Now that we've got some of your other fast runners showing up again, this is more instructive of current times I think:
https://source.denx.de/u-boot/u-boot/-/pipelines/24802

But not this? :

Quoted 3 lines

If you want to make mainline CI run faster you will need to catch up with the missing coverage or argue that some things are redundant.

Or perhaps I can actually just make it faster without dropping coverage?

Quoted 32 lines
Quoted 25 lines
Quoted 25 lines
Quoted 24 lines
Quoted 15 lines
Quoted 2 lines

I also have another runner to add.

I'll contact you off-list with the token.

Quoted 10 lines
Quoted 9 lines
Quoted 4 lines

From my side, I have found it helpful and refreshing to have a gitlab instance which I can control, e.g. it runs in half the time and if my patches are completely blocked by Linaro, etc., I have an escape valve.

Yes, and I have no idea what any of that has to do with anything other than leading to confusion about what tree is or is not mainline. Since you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

Quoted 6 lines
Quoted 2 lines

For now I am working with my tree, so that I am not blocked by Linaro, etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for your personal tree. That's my big huge "are you forking the project or what" problem.

I'm just making sure that my work is not blocked or lost, as that has happened too many times in the past few years.

Quoted 6 lines
Quoted 3 lines

Again, are you intending to fork the project? Putting your personal tree in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking you to stop it.

No, I'm not intending to fork anything. But I need a tree that I can control and push things into.

Quoted 7 lines

I don't know how you can call your personal tree being at "https://ci.u-boot.org/u-boot/u-boot.git" and saying it's somewhere you control and can push to while not also saying it's a fork. If you want to close down your gitlab and CNAME ci.u-boot.org to source.denx.de, you can still push things to u-boot-dm. Or if that's too constrained of a namespace you can also get a contributors/sjg/ namespace. But what you're doing today WILL lead to confusion.

I believe I've answered this question before. It is simply that I cannot get certain patches (bloblist, EFI, devicetree) into your tree. There really isn't any other reason.

At the moment your CI seems to be flaky as well:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/1038174

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines

BTW weka is too slow so I took it off.

I'll remove it.

Quoted 2 lines

tui is running but seems to be renamed 'tui-redux' now. I don't see it getting jobs though.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

It's been getting jobs. Is it something sufficiently fast that it should be doing big jobs?

Yes, tui is the same as moa, pretty fast.

Thanks, I've added the "fast amd64" tag then so it'll get the long running jobs too.

OK good.

Regards,
Simon

#22 lore raw
Quoted 143 lines · Simon Glass

Hi Tom,

Quoted 140 lines · Tom Rini
Quoted 137 lines · Simon Glass

Hi Tom,

Quoted 125 lines · Tom Rini
Quoted 123 lines · Simon Glass

Hi Tom,

Quoted 120 lines · Tom Rini
Quoted 105 lines · Simon Glass

Hi Tom,

Quoted 98 lines · Tom Rini
Quoted 90 lines · Simon Glass

Hi Tom,

Quoted 80 lines · Tom Rini
Quoted 69 lines · Simon Glass

Hi Tom,

Quoted 51 lines · Tom Rini
Quoted 48 lines · Simon Glass

Hi Tom,

On Sat, 15 Feb 2025 at 11:12, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 10:21:16AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 07:41, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees
and the gitlab files are quite different. My CI runs take about 35
mins and it seems that yours is around 90 mins. I would like to reduce
/ remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

I'm sure CI could be quicker still with a number of faster runners. But
if you can't be bothered to make changes against mainline, what is the
point?

If you recall, I was working with your tree and had various ideas to
speed things up, but you didn't like it. So I've had to do it in my
tree. This is not about more runners (although I might have another
one soon). It is about running jobs in parallel.

Quoted 7 lines

And I wasn't sure more runners in parallel would help (as it would slow down the fast runner which is what keeps the long jobs from being even longer) as much as adding more regular runners would (which we've done) and noted that in the end it's a configuration on the runner side so to go ahead. And I reviewed and ack'd the patches here which exposed the issues your path revealed. I just can't apply them because they need to be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the other way from what I have added.

I have a tag called 'single' which means that the machine is only allowed to one of those jobs. The world-build jobs are marked with 'single'.

Quoted 8 lines

For other jobs, I allow the runners to pick up some in parallel depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on the same machine. It seems to work fine in practice, although I would rather be able to make these two types of jobs mutually exclusive, so that a runner is either running 10 parallel jobs or 1 'single' job, but not both. I'm not sure how to do that.

Quoted 6 lines

So unless I'm missing something, in both cases the bottleneck is that for world build jobs you don't want anything else going on with the underlying build host. You could register 10 "all" runners and 1 "fast amd64" runner (and something similar but smaller for alexandra). If you update the registrations on source.denx.de can you then shut down your gitlab instance?

Quoted 5 lines

I've put a tag of 'single' on things that should run on the single-job runner. Everything else can run concurrently, e.g. up to 10 jobs. So I have two runners on the same host. E.g. tui-single has 'limit = 1', but 'tui' has no limit and is just governed by the 'concurrent = 10' at the top of the file.

Quoted 3 lines

Yes. And you could move those runners to the mainline gitlab. There is no "single" tag, that would be the "all" tag. And "tui-single" would be "fast amd64".

Quoted 5 lines

They are still attached to the Denx gitlab. Nothing has changed on my side. I'm not sure that your new tags are working though. I have a feeling something broke along the way when you made all your tag changes. One of my servers makes a bit of noise and I haven't heard it in quite a while.

There's a few of your runners that are "stale" and haven't contacted gitlab in a long time. I'll double check the tags tho.

Quoted 3 lines

If Denx would like to give me access to their gitlab instances, I'd be happy to play around and figure out how to get it going as fast as my tree does, and send a patch.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I'm not sure what you mean by that? The instance itself?

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in /etc/gitlab-runner/config.toml those aren't relevant here I believe.

No, I mean the tags in CI. If I fiddle with them I can probably come up with a way to run your CI much faster. Mine is about 35mins.

Quoted 6 lines
Quoted 4 lines

I'm not so sure about that. Yours runs faster because it tests less. Now that we've got some of your other fast runners showing up again, this is more instructive of current times I think:
https://source.denx.de/u-boot/u-boot/-/pipelines/24802

But not this? :

You forgot a link. But presumably to some run yesterday which took longer. And because Ilias was tweaking the currently donated arm64 runners (that have other jobs to run) and also we had two or three custodians at a time preparing trees, things ran slower.

Quoted 4 lines
Quoted 2 lines

If you want to make mainline CI run faster you will need to catch up with the missing coverage or argue that some things are redundant.

Or perhaps I can actually just make it faster without dropping coverage?

I mean, I don't know how that's physically possible, outside of adding many more expensive build hosts. We have two-three fast arm64 hosts and that world builds between 30-45 minutes. That's the biggest time bottleneck.

The next biggest is that unless sandbox tests are run on a fast host, they take upwards of 10 minutes, rather than 5.

But please, rebase your work to next and see what you can do. There is likely some speed-ups possible if we allow for failures to take longer to happen (and don't gate world builds on all of test.py stage completing, just say sandbox). And if you do the work on source.denx.de (as there is *NOTHING* stopping you from registering more runners to your tree and using whatever tagging scheme you like) you might even see more of the time variability due to load from other custodians.

Quoted 39 lines
Quoted 31 lines
Quoted 24 lines
Quoted 24 lines
Quoted 23 lines
Quoted 14 lines
Quoted 1 line

I also have another runner to add.

I'll contact you off-list with the token.

Quoted 10 lines
Quoted 9 lines
Quoted 4 lines

From my side, I have found it helpful and refreshing to have a gitlab instance which I can control, e.g. it runs in half the time and if my patches are completely blocked by Linaro, etc., I have an escape valve.

Yes, and I have no idea what any of that has to do with anything other than leading to confusion about what tree is or is not mainline. Since you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

Quoted 6 lines
Quoted 2 lines

For now I am working with my tree, so that I am not blocked by Linaro, etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for your personal tree. That's my big huge "are you forking the project or what" problem.

I'm just making sure that my work is not blocked or lost, as that has happened too many times in the past few years.

Quoted 6 lines
Quoted 3 lines

Again, are you intending to fork the project? Putting your personal tree in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking you to stop it.

No, I'm not intending to fork anything. But I need a tree that I can control and push things into.

Quoted 7 lines

I don't know how you can call your personal tree being at "https://ci.u-boot.org/u-boot/u-boot.git" and saying it's somewhere you control and can push to while not also saying it's a fork. If you want to close down your gitlab and CNAME ci.u-boot.org to source.denx.de, you can still push things to u-boot-dm. Or if that's too constrained of a namespace you can also get a contributors/sjg/ namespace. But what you're doing today WILL lead to confusion.

Quoted 3 lines

I believe I've answered this question before. It is simply that I cannot get certain patches (bloblist, EFI, devicetree) into your tree. There really isn't any other reason.

Yes, that's still not an answer to my question.

Or is the answer to my question "Yes, I'm trying to confuse people to thinking my tree is mainline."

Quoted 3 lines

At the moment your CI seems to be flaky as well:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/1038174

[aside, I think you meant to link to the pipeline itself, which also passed, but had some retries]

Funny story. Ilias needed to tweak the fast arm64 hosts and also wanted to explore "What if we have concurrency higher?" and ran in to the problems you also ran in to with respect to git seeing an existing clone in progress and bailing. Followed by the problem of multiple non-trivial jobs running concurrently.

All of which is why I keep trying to tell you that while "single" and concurrent runners work fine for you on a single user instance it will not scale.

Signature · 1 line
Tom
#23 lore raw

Hi Tom,

Quoted 150 lines · Tom Rini
Quoted 148 lines · Simon Glass

Hi Tom,

Quoted 144 lines · Tom Rini
Quoted 130 lines · Simon Glass

Hi Tom,

Quoted 127 lines · Tom Rini
Quoted 125 lines · Simon Glass

Hi Tom,

Quoted 121 lines · Tom Rini
Quoted 105 lines · Simon Glass

Hi Tom,

Quoted 98 lines · Tom Rini
Quoted 90 lines · Simon Glass

Hi Tom,

Quoted 80 lines · Tom Rini
Quoted 69 lines · Simon Glass

Hi Tom,

Quoted 58 lines · Tom Rini

On Sun, Feb 16, 2025 at 07:10:12AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 11:12, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 10:21:16AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 07:41, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees
and the gitlab files are quite different. My CI runs take about 35
mins and it seems that yours is around 90 mins. I would like to reduce
/ remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

I'm sure CI could be quicker still with a number of faster runners. But
if you can't be bothered to make changes against mainline, what is the
point?

If you recall, I was working with your tree and had various ideas to
speed things up, but you didn't like it. So I've had to do it in my
tree. This is not about more runners (although I might have another
one soon). It is about running jobs in parallel.

And I wasn't sure more runners in parallel would help (as it would slow
down the fast runner which is what keeps the long jobs from being even
longer) as much as adding more regular runners would (which we've done)
and noted that in the end it's a configuration on the runner side so to
go ahead. And I reviewed and ack'd the patches here which exposed the
issues your path revealed. I just can't apply them because they need to
be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the other way from what I have added.

I have a tag called 'single' which means that the machine is only allowed to one of those jobs. The world-build jobs are marked with 'single'.

Quoted 8 lines

For other jobs, I allow the runners to pick up some in parallel depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on the same machine. It seems to work fine in practice, although I would rather be able to make these two types of jobs mutually exclusive, so that a runner is either running 10 parallel jobs or 1 'single' job, but not both. I'm not sure how to do that.

Quoted 6 lines

So unless I'm missing something, in both cases the bottleneck is that for world build jobs you don't want anything else going on with the underlying build host. You could register 10 "all" runners and 1 "fast amd64" runner (and something similar but smaller for alexandra). If you update the registrations on source.denx.de can you then shut down your gitlab instance?

Quoted 5 lines

I've put a tag of 'single' on things that should run on the single-job runner. Everything else can run concurrently, e.g. up to 10 jobs. So I have two runners on the same host. E.g. tui-single has 'limit = 1', but 'tui' has no limit and is just governed by the 'concurrent = 10' at the top of the file.

Quoted 3 lines

Yes. And you could move those runners to the mainline gitlab. There is no "single" tag, that would be the "all" tag. And "tui-single" would be "fast amd64".

Quoted 5 lines

They are still attached to the Denx gitlab. Nothing has changed on my side. I'm not sure that your new tags are working though. I have a feeling something broke along the way when you made all your tag changes. One of my servers makes a bit of noise and I haven't heard it in quite a while.

There's a few of your runners that are "stale" and haven't contacted gitlab in a long time. I'll double check the tags tho.

Quoted 3 lines

If Denx would like to give me access to their gitlab instances, I'd be happy to play around and figure out how to get it going as fast as my tree does, and send a patch.

I'm not sure what you mean by that? The instance itself?

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in /etc/gitlab-runner/config.toml those aren't relevant here I believe.

No, I mean the tags in CI. If I fiddle with them I can probably come up with a way to run your CI much faster. Mine is about 35mins.

I'm not so sure about that. Yours runs faster because it tests less. Now that we've got some of your other fast runners showing up again, this is more instructive of current times I think:
https://source.denx.de/u-boot/u-boot/-/pipelines/24802

Quoted 6 lines
Quoted 1 line

But not this? :

You forgot a link. But presumably to some run yesterday which took longer. And because Ilias was tweaking the currently donated arm64 runners (that have other jobs to run) and also we had two or three custodians at a time preparing trees, things ran slower.

Maybe, but I don't think so.

Quoted 10 lines
Quoted 5 lines
Quoted 3 lines

If you want to make mainline CI run faster you will need to catch up with the missing coverage or argue that some things are redundant.

Or perhaps I can actually just make it faster without dropping coverage?

I mean, I don't know how that's physically possible, outside of adding many more expensive build hosts. We have two-three fast arm64 hosts and that world builds between 30-45 minutes. That's the biggest time bottleneck.

Why did you join those builds up? It is better for throughput to have a few runners working in parallel.

Quoted 3 lines

The next biggest is that unless sandbox tests are run on a fast host, they take upwards of 10 minutes, rather than 5.

Yes, they are just getting slower and slower.

Quoted 8 lines

But please, rebase your work to next and see what you can do. There is likely some speed-ups possible if we allow for failures to take longer to happen (and don't gate world builds on all of test.py stage completing, just say sandbox). And if you do the work on source.denx.de (as there is *NOTHING* stopping you from registering more runners to your tree and using whatever tagging scheme you like) you might even see more of the time variability due to load from other custodians.

I can't edit the tags on the runners, nor can I adjust them to run untagged jobs, nor can I delete runners I don't want, so no, I believe I need access to do that.

Quoted 40 lines
Quoted 40 lines
Quoted 39 lines
Quoted 25 lines
Quoted 25 lines
Quoted 24 lines
Quoted 15 lines
Quoted 2 lines

I also have another runner to add.

I'll contact you off-list with the token.

Quoted 10 lines
Quoted 9 lines
Quoted 4 lines

From my side, I have found it helpful and refreshing to have a gitlab instance which I can control, e.g. it runs in half the time and if my patches are completely blocked by Linaro, etc., I have an escape valve.

Yes, and I have no idea what any of that has to do with anything other than leading to confusion about what tree is or is not mainline. Since you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

Quoted 6 lines
Quoted 2 lines

For now I am working with my tree, so that I am not blocked by Linaro, etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for your personal tree. That's my big huge "are you forking the project or what" problem.

I'm just making sure that my work is not blocked or lost, as that has happened too many times in the past few years.

Quoted 6 lines
Quoted 3 lines

Again, are you intending to fork the project? Putting your personal tree in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking you to stop it.

No, I'm not intending to fork anything. But I need a tree that I can control and push things into.

I don't know how you can call your personal tree being at "https://ci.u-boot.org/u-boot/u-boot.git" and saying it's somewhere you control and can push to while not also saying it's a fork. If you want to close down your gitlab and CNAME ci.u-boot.org to source.denx.de, you can still push things to u-boot-dm. Or if that's too constrained of a namespace you can also get a contributors/sjg/ namespace. But what you're doing today WILL lead to confusion.

Quoted 8 lines
Quoted 3 lines

I believe I've answered this question before. It is simply that I cannot get certain patches (bloblist, EFI, devicetree) into your tree. There really isn't any other reason.

Yes, that's still not an answer to my question.

Or is the answer to my question "Yes, I'm trying to confuse people to thinking my tree is mainline."

No, it's simply that you are not taking some patches in your tree and complaining about the amount of patches.

Quoted 14 lines
Quoted 4 lines

At the moment your CI seems to be flaky as well:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/1038174

[aside, I think you meant to link to the pipeline itself, which also passed, but had some retries]

Funny story. Ilias needed to tweak the fast arm64 hosts and also wanted to explore "What if we have concurrency higher?" and ran in to the problems you also ran in to with respect to git seeing an existing clone in progress and bailing. Followed by the problem of multiple non-trivial jobs running concurrently.

Quoted 3 lines

All of which is why I keep trying to tell you that while "single" and concurrent runners work fine for you on a single user instance it will not scale.

Yes, but I solved that with the patch I sent and it seems to be 100% reliable now.

Regards,
SImon

#24 lore raw
Quoted 153 lines · Simon Glass

Hi Tom,

Quoted 150 lines · Tom Rini
Quoted 148 lines · Simon Glass

Hi Tom,

Quoted 144 lines · Tom Rini
Quoted 130 lines · Simon Glass

Hi Tom,

Quoted 127 lines · Tom Rini
Quoted 125 lines · Simon Glass

Hi Tom,

Quoted 121 lines · Tom Rini
Quoted 105 lines · Simon Glass

Hi Tom,

Quoted 98 lines · Tom Rini
Quoted 90 lines · Simon Glass

Hi Tom,

Quoted 80 lines · Tom Rini
Quoted 77 lines · Simon Glass

Hi Tom,

On Sun, 16 Feb 2025 at 09:07, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 07:10:12AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 11:12, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 10:21:16AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 07:41, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees
and the gitlab files are quite different. My CI runs take about 35
mins and it seems that yours is around 90 mins. I would like to reduce
/ remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

I'm sure CI could be quicker still with a number of faster runners. But
if you can't be bothered to make changes against mainline, what is the
point?

If you recall, I was working with your tree and had various ideas to
speed things up, but you didn't like it. So I've had to do it in my
tree. This is not about more runners (although I might have another
one soon). It is about running jobs in parallel.

And I wasn't sure more runners in parallel would help (as it would slow
down the fast runner which is what keeps the long jobs from being even
longer) as much as adding more regular runners would (which we've done)
and noted that in the end it's a configuration on the runner side so to
go ahead. And I reviewed and ack'd the patches here which exposed the
issues your path revealed. I just can't apply them because they need to
be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the
other way from what I have added.

I have a tag called 'single' which means that the machine is only
allowed to one of those jobs. The world-build jobs are marked with
'single'.

For other jobs, I allow the runners to pick up some in parallel
depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on
the same machine. It seems to work fine in practice, although I would
rather be able to make these two types of jobs mutually exclusive, so
that a runner is either running 10 parallel jobs or 1 'single' job,
but not both. I'm not sure how to do that.

Quoted 6 lines

So unless I'm missing something, in both cases the bottleneck is that for world build jobs you don't want anything else going on with the underlying build host. You could register 10 "all" runners and 1 "fast amd64" runner (and something similar but smaller for alexandra). If you update the registrations on source.denx.de can you then shut down your gitlab instance?

Quoted 5 lines

I've put a tag of 'single' on things that should run on the single-job runner. Everything else can run concurrently, e.g. up to 10 jobs. So I have two runners on the same host. E.g. tui-single has 'limit = 1', but 'tui' has no limit and is just governed by the 'concurrent = 10' at the top of the file.

Quoted 3 lines

Yes. And you could move those runners to the mainline gitlab. There is no "single" tag, that would be the "all" tag. And "tui-single" would be "fast amd64".

Quoted 5 lines

They are still attached to the Denx gitlab. Nothing has changed on my side. I'm not sure that your new tags are working though. I have a feeling something broke along the way when you made all your tag changes. One of my servers makes a bit of noise and I haven't heard it in quite a while.

There's a few of your runners that are "stale" and haven't contacted gitlab in a long time. I'll double check the tags tho.

Quoted 3 lines

If Denx would like to give me access to their gitlab instances, I'd be happy to play around and figure out how to get it going as fast as my tree does, and send a patch.

I'm not sure what you mean by that? The instance itself?

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in /etc/gitlab-runner/config.toml those aren't relevant here I believe.

No, I mean the tags in CI. If I fiddle with them I can probably come up with a way to run your CI much faster. Mine is about 35mins.

I'm not so sure about that. Yours runs faster because it tests less. Now that we've got some of your other fast runners showing up again, this is more instructive of current times I think:
https://source.denx.de/u-boot/u-boot/-/pipelines/24802

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

But not this? :

You forgot a link. But presumably to some run yesterday which took longer. And because Ilias was tweaking the currently donated arm64 runners (that have other jobs to run) and also we had two or three custodians at a time preparing trees, things ran slower.

Maybe, but I don't think so.

No need to "think" about it. You can look at the pipeline history and see what was in queue for how long. And since I needed to be keeping an eye on two of the 3 arm64 runners, I could see when custodians were firing off tests. Aside from the number of pull requests I had waiting that morning.

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 2 lines

If you want to make mainline CI run faster you will need to catch up with the missing coverage or argue that some things are redundant.

Or perhaps I can actually just make it faster without dropping coverage?

Quoted 7 lines
Quoted 4 lines

I mean, I don't know how that's physically possible, outside of adding many more expensive build hosts. We have two-three fast arm64 hosts and that world builds between 30-45 minutes. That's the biggest time bottleneck.

Why did you join those builds up? It is better for throughput to have a few runners working in parallel.

Because I'm not optimizing for the single developer running CI case (or the loads of fast runners case). If we had sufficient resources, yes, the fastest possible way would be 4 "fast arm64" servers and 4 "fast amd64" servers each running if not 25% of the world build, at least 4 easy to make and maintain groupings.

However, we don't have that many of either. And they also need to be used for the biggest sandbox test suite jobs so that they run in about 5 minutes, not about 10 minutes. So in order to not entirely block other custodians we do a single world build. Because make and buildman are very good about otherwise fully loading the server. Running anything else while that is going on will slow down the world build (and, the other job too).

Aside, maintaining groupings is a pain. It was very bad with Travis, and it's only moderately painful with Azure where at least the end goal is 10 pipelines for maximum concurrency. And with Azure everyone *can* get their own "project" or whatever the right term is, and utilize 10 runners at once.

Quoted 4 lines
Quoted 2 lines

The next biggest is that unless sandbox tests are run on a fast host, they take upwards of 10 minutes, rather than 5.

Yes, they are just getting slower and slower.

Adding more tests takes more time. But the real question is which tests take wall clock noticeable time, and why, and if we can do anything about it. My gut feeling is that it's in the disk image related tests and the user space verification of them.

Quoted 11 lines
Quoted 7 lines

But please, rebase your work to next and see what you can do. There is likely some speed-ups possible if we allow for failures to take longer to happen (and don't gate world builds on all of test.py stage completing, just say sandbox). And if you do the work on source.denx.de (as there is *NOTHING* stopping you from registering more runners to your tree and using whatever tagging scheme you like) you might even see more of the time variability due to load from other custodians.

I can't edit the tags on the runners, nor can I adjust them to run untagged jobs, nor can I delete runners I don't want, so no, I believe I need access to do that.

You can do all of that with runners specific to u-boot-dm, and you can disable project / group runners yourself too. So yes, you can.

Quoted 43 lines
Quoted 43 lines
Quoted 42 lines
Quoted 31 lines
Quoted 24 lines
Quoted 24 lines
Quoted 23 lines
Quoted 14 lines
Quoted 1 line

I also have another runner to add.

I'll contact you off-list with the token.

Quoted 10 lines
Quoted 9 lines
Quoted 4 lines

From my side, I have found it helpful and refreshing to have a gitlab instance which I can control, e.g. it runs in half the time and if my patches are completely blocked by Linaro, etc., I have an escape valve.

Yes, and I have no idea what any of that has to do with anything other than leading to confusion about what tree is or is not mainline. Since you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

Quoted 6 lines
Quoted 2 lines

For now I am working with my tree, so that I am not blocked by Linaro, etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for your personal tree. That's my big huge "are you forking the project or what" problem.

I'm just making sure that my work is not blocked or lost, as that has happened too many times in the past few years.

Quoted 6 lines
Quoted 3 lines

Again, are you intending to fork the project? Putting your personal tree in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking you to stop it.

No, I'm not intending to fork anything. But I need a tree that I can control and push things into.

Quoted 7 lines

I don't know how you can call your personal tree being at "https://ci.u-boot.org/u-boot/u-boot.git" and saying it's somewhere you control and can push to while not also saying it's a fork. If you want to close down your gitlab and CNAME ci.u-boot.org to source.denx.de, you can still push things to u-boot-dm. Or if that's too constrained of a namespace you can also get a contributors/sjg/ namespace. But what you're doing today WILL lead to confusion.

I believe I've answered this question before. It is simply that I cannot get certain patches (bloblist, EFI, devicetree) into your tree. There really isn't any other reason.

Quoted 7 lines
Quoted 4 lines

Yes, that's still not an answer to my question.

Or is the answer to my question "Yes, I'm trying to confuse people to thinking my tree is mainline."

No, it's simply that you are not taking some patches in your tree and complaining about the amount of patches.

That's misleading at best. I'm not taking the patches that other custodians have repeatedly rejected and explained why they're rejecting them.

Quoted 13 lines
Quoted 13 lines
Quoted 3 lines

At the moment your CI seems to be flaky as well:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/1038174

[aside, I think you meant to link to the pipeline itself, which also passed, but had some retries]

Funny story. Ilias needed to tweak the fast arm64 hosts and also wanted to explore "What if we have concurrency higher?" and ran in to the problems you also ran in to with respect to git seeing an existing clone in progress and bailing. Followed by the problem of multiple non-trivial jobs running concurrently.

Quoted 6 lines
Quoted 3 lines

All of which is why I keep trying to tell you that while "single" and concurrent runners work fine for you on a single user instance it will not scale.

Yes, but I solved that with the patch I sent and it seems to be 100% reliable now.

Yes, you eventually solved it with 3 patches, which I asked you to rebase and squash to two patches (because #3 just fixes that #2 wasn't sufficient) and you declined.

Signature · 1 line
Tom
#25 lore raw

Hi Tom,

Quoted 162 lines · Tom Rini
Quoted 160 lines · Simon Glass

Hi Tom,

Quoted 156 lines · Tom Rini
Quoted 143 lines · Simon Glass

Hi Tom,

Quoted 140 lines · Tom Rini
Quoted 137 lines · Simon Glass

Hi Tom,

Quoted 125 lines · Tom Rini
Quoted 123 lines · Simon Glass

Hi Tom,

Quoted 120 lines · Tom Rini
Quoted 105 lines · Simon Glass

Hi Tom,

Quoted 98 lines · Tom Rini
Quoted 90 lines · Simon Glass

Hi Tom,

Quoted 86 lines · Tom Rini

On Sun, Feb 16, 2025 at 12:39:34PM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 09:07, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 07:10:12AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 11:12, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 10:21:16AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 07:41, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees
and the gitlab files are quite different. My CI runs take about 35
mins and it seems that yours is around 90 mins. I would like to reduce
/ remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

I'm sure CI could be quicker still with a number of faster runners. But
if you can't be bothered to make changes against mainline, what is the
point?

If you recall, I was working with your tree and had various ideas to
speed things up, but you didn't like it. So I've had to do it in my
tree. This is not about more runners (although I might have another
one soon). It is about running jobs in parallel.

And I wasn't sure more runners in parallel would help (as it would slow
down the fast runner which is what keeps the long jobs from being even
longer) as much as adding more regular runners would (which we've done)
and noted that in the end it's a configuration on the runner side so to
go ahead. And I reviewed and ack'd the patches here which exposed the
issues your path revealed. I just can't apply them because they need to
be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the
other way from what I have added.

I have a tag called 'single' which means that the machine is only
allowed to one of those jobs. The world-build jobs are marked with
'single'.

For other jobs, I allow the runners to pick up some in parallel
depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on
the same machine. It seems to work fine in practice, although I would
rather be able to make these two types of jobs mutually exclusive, so
that a runner is either running 10 parallel jobs or 1 'single' job,
but not both. I'm not sure how to do that.

So unless I'm missing something, in both cases the bottleneck is that
for world build jobs you don't want anything else going on with the
underlying build host. You could register 10 "all" runners and 1 "fast
amd64" runner (and something similar but smaller for alexandra). If you
update the registrations on source.denx.de can you then shut down your
gitlab instance?

Quoted 5 lines

I've put a tag of 'single' on things that should run on the single-job runner. Everything else can run concurrently, e.g. up to 10 jobs. So I have two runners on the same host. E.g. tui-single has 'limit = 1', but 'tui' has no limit and is just governed by the 'concurrent = 10' at the top of the file.

Quoted 3 lines

Yes. And you could move those runners to the mainline gitlab. There is no "single" tag, that would be the "all" tag. And "tui-single" would be "fast amd64".

Quoted 5 lines

They are still attached to the Denx gitlab. Nothing has changed on my side. I'm not sure that your new tags are working though. I have a feeling something broke along the way when you made all your tag changes. One of my servers makes a bit of noise and I haven't heard it in quite a while.

There's a few of your runners that are "stale" and haven't contacted gitlab in a long time. I'll double check the tags tho.

Quoted 3 lines

If Denx would like to give me access to their gitlab instances, I'd be happy to play around and figure out how to get it going as fast as my tree does, and send a patch.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I'm not sure what you mean by that? The instance itself?

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in /etc/gitlab-runner/config.toml those aren't relevant here I believe.

No, I mean the tags in CI. If I fiddle with them I can probably come up with a way to run your CI much faster. Mine is about 35mins.

Quoted 6 lines
Quoted 4 lines

I'm not so sure about that. Yours runs faster because it tests less. Now that we've got some of your other fast runners showing up again, this is more instructive of current times I think:
https://source.denx.de/u-boot/u-boot/-/pipelines/24802

But not this? :

You forgot a link. But presumably to some run yesterday which took longer. And because Ilias was tweaking the currently donated arm64 runners (that have other jobs to run) and also we had two or three custodians at a time preparing trees, things ran slower.

Quoted 7 lines
Quoted 1 line

Maybe, but I don't think so.

No need to "think" about it. You can look at the pipeline history and see what was in queue for how long. And since I needed to be keeping an eye on two of the 3 arm64 runners, I could see when custodians were firing off tests. Aside from the number of pull requests I had waiting that morning.

Your runs are reliably around an hour but mine are reliably just over 30 minutes. I only have three runners.

https://source.denx.de/u-boot/u-boot/-/pipelines
https://sjg.u-boot.org/u-boot/u-boot/-/pipelines

I know you have added a duplicate build on arm64, but I can still speed it up significantly if you'll allow me.

Quoted 20 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 3 lines

If you want to make mainline CI run faster you will need to catch up with the missing coverage or argue that some things are redundant.

Or perhaps I can actually just make it faster without dropping coverage?

Quoted 7 lines
Quoted 4 lines

I mean, I don't know how that's physically possible, outside of adding many more expensive build hosts. We have two-three fast arm64 hosts and that world builds between 30-45 minutes. That's the biggest time bottleneck.

Why did you join those builds up? It is better for throughput to have a few runners working in parallel.

Because I'm not optimizing for the single developer running CI case (or the loads of fast runners case). If we had sufficient resources, yes, the fastest possible way would be 4 "fast arm64" servers and 4 "fast amd64" servers each running if not 25% of the world build, at least 4 easy to make and maintain groupings.

Quoted 7 lines

However, we don't have that many of either. And they also need to be used for the biggest sandbox test suite jobs so that they run in about 5 minutes, not about 10 minutes. So in order to not entirely block other custodians we do a single world build. Because make and buildman are very good about otherwise fully loading the server. Running anything else while that is going on will slow down the world build (and, the other job too).

They're OK (on a fast machine) so long as the 'other' load is not too much.

Quoted 6 lines

Aside, maintaining groupings is a pain. It was very bad with Travis, and it's only moderately painful with Azure where at least the end goal is 10 pipelines for maximum concurrency. And with Azure everyone *can* get their own "project" or whatever the right term is, and utilize 10 runners at once.

Yes, but we can update buildman to handle grouping automatically, as I suggested once.

Quoted 20 lines
Quoted 6 lines
Quoted 4 lines

The next biggest is that unless sandbox tests are run on a fast host, they take upwards of 10 minutes, rather than 5.

Yes, they are just getting slower and slower.

Adding more tests takes more time. But the real question is which tests take wall clock noticeable time, and why, and if we can do anything about it. My gut feeling is that it's in the disk image related tests and the user space verification of them.

Quoted 8 lines
Quoted 7 lines

But please, rebase your work to next and see what you can do. There is likely some speed-ups possible if we allow for failures to take longer to happen (and don't gate world builds on all of test.py stage completing, just say sandbox). And if you do the work on source.denx.de (as there is *NOTHING* stopping you from registering more runners to your tree and using whatever tagging scheme you like) you might even see more of the time variability due to load from other custodians.

Quoted 6 lines
Quoted 3 lines

I can't edit the tags on the runners, nor can I adjust them to run untagged jobs, nor can I delete runners I don't want, so no, I believe I need access to do that.

You can do all of that with runners specific to u-boot-dm, and you can disable project / group runners yourself too. So yes, you can.

Nope, sorry, I wasn't able to do any of this with the Denx tree as I can't adjust tags and can't delete and recreate runners.

Quoted 49 lines
Quoted 49 lines
Quoted 48 lines
Quoted 40 lines
Quoted 32 lines
Quoted 25 lines
Quoted 25 lines
Quoted 24 lines
Quoted 15 lines
Quoted 2 lines

I also have another runner to add.

I'll contact you off-list with the token.

Quoted 10 lines
Quoted 9 lines
Quoted 4 lines

From my side, I have found it helpful and refreshing to have a gitlab instance which I can control, e.g. it runs in half the time and if my patches are completely blocked by Linaro, etc., I have an escape valve.

Yes, and I have no idea what any of that has to do with anything other than leading to confusion about what tree is or is not mainline. Since you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

Quoted 6 lines
Quoted 2 lines

For now I am working with my tree, so that I am not blocked by Linaro, etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for your personal tree. That's my big huge "are you forking the project or what" problem.

I'm just making sure that my work is not blocked or lost, as that has happened too many times in the past few years.

Quoted 6 lines
Quoted 3 lines

Again, are you intending to fork the project? Putting your personal tree in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking you to stop it.

No, I'm not intending to fork anything. But I need a tree that I can control and push things into.

Quoted 7 lines

I don't know how you can call your personal tree being at "https://ci.u-boot.org/u-boot/u-boot.git" and saying it's somewhere you control and can push to while not also saying it's a fork. If you want to close down your gitlab and CNAME ci.u-boot.org to source.denx.de, you can still push things to u-boot-dm. Or if that's too constrained of a namespace you can also get a contributors/sjg/ namespace. But what you're doing today WILL lead to confusion.

Quoted 3 lines

I believe I've answered this question before. It is simply that I cannot get certain patches (bloblist, EFI, devicetree) into your tree. There really isn't any other reason.

Yes, that's still not an answer to my question.

Or is the answer to my question "Yes, I'm trying to confuse people to thinking my tree is mainline."

Quoted 6 lines
Quoted 2 lines

No, it's simply that you are not taking some patches in your tree and complaining about the amount of patches.

That's misleading at best. I'm not taking the patches that other custodians have repeatedly rejected and explained why they're rejecting them.

Yes and this has affected my ability to move things forward so much that I've had to set up my own tree. It has been working very well, to have a relief valve.

Quoted 18 lines
Quoted 18 lines
Quoted 17 lines
Quoted 4 lines

At the moment your CI seems to be flaky as well:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/1038174

[aside, I think you meant to link to the pipeline itself, which also passed, but had some retries]

Funny story. Ilias needed to tweak the fast arm64 hosts and also wanted to explore "What if we have concurrency higher?" and ran in to the problems you also ran in to with respect to git seeing an existing clone in progress and bailing. Followed by the problem of multiple non-trivial jobs running concurrently.

All of which is why I keep trying to tell you that while "single" and concurrent runners work fine for you on a single user instance it will not scale.

Quoted 6 lines
Quoted 2 lines

Yes, but I solved that with the patch I sent and it seems to be 100% reliable now.

Yes, you eventually solved it with 3 patches, which I asked you to rebase and squash to two patches (because #3 just fixes that #2 wasn't sufficient) and you declined.

In general, why not just be more open to my ideas, even just try it for a year? Given the tools I'm confident I can speed up your CI as well.

Regards,
Simon

#26 lore raw
Quoted 173 lines · Simon Glass

Hi Tom,

Quoted 162 lines · Tom Rini
Quoted 160 lines · Simon Glass

Hi Tom,

Quoted 156 lines · Tom Rini
Quoted 143 lines · Simon Glass

Hi Tom,

Quoted 140 lines · Tom Rini
Quoted 137 lines · Simon Glass

Hi Tom,

Quoted 125 lines · Tom Rini
Quoted 123 lines · Simon Glass

Hi Tom,

Quoted 120 lines · Tom Rini
Quoted 105 lines · Simon Glass

Hi Tom,

Quoted 98 lines · Tom Rini
Quoted 95 lines · Simon Glass

Hi Tom,

On Sun, 16 Feb 2025 at 14:52, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 12:39:34PM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 09:07, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 07:10:12AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 11:12, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 10:21:16AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 07:41, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees
and the gitlab files are quite different. My CI runs take about 35
mins and it seems that yours is around 90 mins. I would like to reduce
/ remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

I'm sure CI could be quicker still with a number of faster runners. But
if you can't be bothered to make changes against mainline, what is the
point?

If you recall, I was working with your tree and had various ideas to
speed things up, but you didn't like it. So I've had to do it in my
tree. This is not about more runners (although I might have another
one soon). It is about running jobs in parallel.

And I wasn't sure more runners in parallel would help (as it would slow
down the fast runner which is what keeps the long jobs from being even
longer) as much as adding more regular runners would (which we've done)
and noted that in the end it's a configuration on the runner side so to
go ahead. And I reviewed and ack'd the patches here which exposed the
issues your path revealed. I just can't apply them because they need to
be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the
other way from what I have added.

I have a tag called 'single' which means that the machine is only
allowed to one of those jobs. The world-build jobs are marked with
'single'.

For other jobs, I allow the runners to pick up some in parallel
depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on
the same machine. It seems to work fine in practice, although I would
rather be able to make these two types of jobs mutually exclusive, so
that a runner is either running 10 parallel jobs or 1 'single' job,
but not both. I'm not sure how to do that.

So unless I'm missing something, in both cases the bottleneck is that
for world build jobs you don't want anything else going on with the
underlying build host. You could register 10 "all" runners and 1 "fast
amd64" runner (and something similar but smaller for alexandra). If you
update the registrations on source.denx.de can you then shut down your
gitlab instance?

I've put a tag of 'single' on things that should run on the single-job
runner. Everything else can run concurrently, e.g. up to 10 jobs. So I
have two runners on the same host. E.g. tui-single has 'limit = 1',
but 'tui' has no limit and is just governed by the 'concurrent = 10'
at the top of the file.

Quoted 3 lines

Yes. And you could move those runners to the mainline gitlab. There is no "single" tag, that would be the "all" tag. And "tui-single" would be "fast amd64".

Quoted 5 lines

They are still attached to the Denx gitlab. Nothing has changed on my side. I'm not sure that your new tags are working though. I have a feeling something broke along the way when you made all your tag changes. One of my servers makes a bit of noise and I haven't heard it in quite a while.

There's a few of your runners that are "stale" and haven't contacted gitlab in a long time. I'll double check the tags tho.

Quoted 3 lines

If Denx would like to give me access to their gitlab instances, I'd be happy to play around and figure out how to get it going as fast as my tree does, and send a patch.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I'm not sure what you mean by that? The instance itself?

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in /etc/gitlab-runner/config.toml those aren't relevant here I believe.

No, I mean the tags in CI. If I fiddle with them I can probably come up with a way to run your CI much faster. Mine is about 35mins.

Quoted 6 lines
Quoted 4 lines

I'm not so sure about that. Yours runs faster because it tests less. Now that we've got some of your other fast runners showing up again, this is more instructive of current times I think:
https://source.denx.de/u-boot/u-boot/-/pipelines/24802

But not this? :

You forgot a link. But presumably to some run yesterday which took longer. And because Ilias was tweaking the currently donated arm64 runners (that have other jobs to run) and also we had two or three custodians at a time preparing trees, things ran slower.

Quoted 7 lines
Quoted 1 line

Maybe, but I don't think so.

No need to "think" about it. You can look at the pipeline history and see what was in queue for how long. And since I needed to be keeping an eye on two of the 3 arm64 runners, I could see when custodians were firing off tests. Aside from the number of pull requests I had waiting that morning.

Quoted 8 lines

Your runs are reliably around an hour but mine are reliably just over 30 minutes. I only have three runners.

https://source.denx.de/u-boot/u-boot/-/pipelines
https://sjg.u-boot.org/u-boot/u-boot/-/pipelines

I know you have added a duplicate build on arm64, but I can still speed it up significantly if you'll allow me.

I've never been stopping you.

Quoted 27 lines
Quoted 19 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 2 lines

If you want to make mainline CI run faster you will need to catch up with the missing coverage or argue that some things are redundant.

Or perhaps I can actually just make it faster without dropping coverage?

Quoted 7 lines
Quoted 4 lines

I mean, I don't know how that's physically possible, outside of adding many more expensive build hosts. We have two-three fast arm64 hosts and that world builds between 30-45 minutes. That's the biggest time bottleneck.

Why did you join those builds up? It is better for throughput to have a few runners working in parallel.

Because I'm not optimizing for the single developer running CI case (or the loads of fast runners case). If we had sufficient resources, yes, the fastest possible way would be 4 "fast arm64" servers and 4 "fast amd64" servers each running if not 25% of the world build, at least 4 easy to make and maintain groupings.

Quoted 7 lines

However, we don't have that many of either. And they also need to be used for the biggest sandbox test suite jobs so that they run in about 5 minutes, not about 10 minutes. So in order to not entirely block other custodians we do a single world build. Because make and buildman are very good about otherwise fully loading the server. Running anything else while that is going on will slow down the world build (and, the other job too).

Quoted 1 line

They're OK (on a fast machine) so long as the 'other' load is not too much.

Things are OK until they aren't, yes. But just make sure you try out some of the worst case (ie more than one pipeline at a time running).

Quoted 8 lines
Quoted 5 lines

Aside, maintaining groupings is a pain. It was very bad with Travis, and it's only moderately painful with Azure where at least the end goal is 10 pipelines for maximum concurrency. And with Azure everyone *can* get their own "project" or whatever the right term is, and utilize 10 runners at once.

Yes, but we can update buildman to handle grouping automatically, as I suggested once.

I'm not sure we want make buildman act like distcc as well here. If we wanted to split the world in two, making it easy to say "arm not armv8" and "not (arm not armv8)" would be good enough.

Quoted 22 lines
Quoted 22 lines
Quoted 4 lines
Quoted 2 lines

The next biggest is that unless sandbox tests are run on a fast host, they take upwards of 10 minutes, rather than 5.

Yes, they are just getting slower and slower.

Adding more tests takes more time. But the real question is which tests take wall clock noticeable time, and why, and if we can do anything about it. My gut feeling is that it's in the disk image related tests and the user space verification of them.

Quoted 11 lines
Quoted 7 lines

But please, rebase your work to next and see what you can do. There is likely some speed-ups possible if we allow for failures to take longer to happen (and don't gate world builds on all of test.py stage completing, just say sandbox). And if you do the work on source.denx.de (as there is *NOTHING* stopping you from registering more runners to your tree and using whatever tagging scheme you like) you might even see more of the time variability due to load from other custodians.

I can't edit the tags on the runners, nor can I adjust them to run untagged jobs, nor can I delete runners I don't want, so no, I believe I need access to do that.

Quoted 5 lines
Quoted 2 lines

You can do all of that with runners specific to u-boot-dm, and you can disable project / group runners yourself too. So yes, you can.

Nope, sorry, I wasn't able to do any of this with the Denx tree as I can't adjust tags and can't delete and recreate runners.

You don't have
https://source.denx.de/u-boot/custodians/u-boot-dm/-/settings/ci_cd#js-runners-settings
visible to you?

Quoted 51 lines
Quoted 51 lines
Quoted 50 lines
Quoted 39 lines
Quoted 39 lines
Quoted 38 lines
Quoted 24 lines
Quoted 24 lines
Quoted 23 lines
Quoted 14 lines
Quoted 1 line

I also have another runner to add.

I'll contact you off-list with the token.

Quoted 10 lines
Quoted 9 lines
Quoted 4 lines

From my side, I have found it helpful and refreshing to have a gitlab
instance which I can control, e.g. it runs in half the time and if my
patches are completely blocked by Linaro, etc., I have an escape
valve.

Yes, and I have no idea what any of that has to do with anything other than leading to confusion about what tree is or is not mainline. Since you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

Quoted 6 lines
Quoted 2 lines

For now I am working with my tree, so that I am not blocked by Linaro, etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for your personal tree. That's my big huge "are you forking the project or what" problem.

I'm just making sure that my work is not blocked or lost, as that has happened too many times in the past few years.

Quoted 6 lines
Quoted 3 lines

Again, are you intending to fork the project? Putting your personal tree in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking you to stop it.

No, I'm not intending to fork anything. But I need a tree that I can control and push things into.

I don't know how you can call your personal tree being at "https://ci.u-boot.org/u-boot/u-boot.git" and saying it's somewhere you control and can push to while not also saying it's a fork. If you want to close down your gitlab and CNAME ci.u-boot.org to source.denx.de, you can still push things to u-boot-dm. Or if that's too constrained of a namespace you can also get a contributors/sjg/ namespace. But what you're doing today WILL lead to confusion.

Quoted 8 lines
Quoted 3 lines

I believe I've answered this question before. It is simply that I cannot get certain patches (bloblist, EFI, devicetree) into your tree. There really isn't any other reason.

Yes, that's still not an answer to my question.

Or is the answer to my question "Yes, I'm trying to confuse people to thinking my tree is mainline."

No, it's simply that you are not taking some patches in your tree and complaining about the amount of patches.

Quoted 7 lines
Quoted 3 lines

That's misleading at best. I'm not taking the patches that other custodians have repeatedly rejected and explained why they're rejecting them.

Yes and this has affected my ability to move things forward so much that I've had to set up my own tree. It has been working very well, to have a relief valve.

It's been working pretty terrible for the rest of the project as you build on top of things that have been rejected and you're collecting in your own personal downstream fork. Igor's email last night would be the latest example of "I wanted to look at this but where is it?"

Quoted 20 lines
Quoted 20 lines
Quoted 19 lines
Quoted 13 lines
Quoted 3 lines

At the moment your CI seems to be flaky as well:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/1038174

[aside, I think you meant to link to the pipeline itself, which also passed, but had some retries]

Funny story. Ilias needed to tweak the fast arm64 hosts and also wanted to explore "What if we have concurrency higher?" and ran in to the problems you also ran in to with respect to git seeing an existing clone in progress and bailing. Followed by the problem of multiple non-trivial jobs running concurrently.

Quoted 3 lines

All of which is why I keep trying to tell you that while "single" and concurrent runners work fine for you on a single user instance it will not scale.

Yes, but I solved that with the patch I sent and it seems to be 100% reliable now.

Quoted 7 lines
Quoted 3 lines

Yes, you eventually solved it with 3 patches, which I asked you to rebase and squash to two patches (because #3 just fixes that #2 wasn't sufficient) and you declined.

In general, why not just be more open to my ideas, even just try it for a year? Given the tools I'm confident I can speed up your CI as well.

I've never not been open to applying patches to mainline that are against mainline. I am not going to rebase your work for you however. And I think it's terrible for the project as a whole when you post changes against your tree and people expect to be able to review them and then can't because it's against your downstream fork.

Signature · 1 line
Tom
#27 lore raw

Hi Tom,

Quoted 178 lines · Tom Rini
Quoted 176 lines · Simon Glass

Hi Tom,

Quoted 162 lines · Tom Rini
Quoted 160 lines · Simon Glass

Hi Tom,

Quoted 156 lines · Tom Rini
Quoted 143 lines · Simon Glass

Hi Tom,

Quoted 140 lines · Tom Rini
Quoted 137 lines · Simon Glass

Hi Tom,

Quoted 125 lines · Tom Rini
Quoted 123 lines · Simon Glass

Hi Tom,

Quoted 120 lines · Tom Rini
Quoted 105 lines · Simon Glass

Hi Tom,

Quoted 101 lines · Tom Rini

On Mon, Feb 17, 2025 at 06:14:06AM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 14:52, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 12:39:34PM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 09:07, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 07:10:12AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 11:12, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 10:21:16AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 07:41, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees
and the gitlab files are quite different. My CI runs take about 35
mins and it seems that yours is around 90 mins. I would like to reduce
/ remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

I'm sure CI could be quicker still with a number of faster runners. But
if you can't be bothered to make changes against mainline, what is the
point?

If you recall, I was working with your tree and had various ideas to
speed things up, but you didn't like it. So I've had to do it in my
tree. This is not about more runners (although I might have another
one soon). It is about running jobs in parallel.

And I wasn't sure more runners in parallel would help (as it would slow
down the fast runner which is what keeps the long jobs from being even
longer) as much as adding more regular runners would (which we've done)
and noted that in the end it's a configuration on the runner side so to
go ahead. And I reviewed and ack'd the patches here which exposed the
issues your path revealed. I just can't apply them because they need to
be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the
other way from what I have added.

I have a tag called 'single' which means that the machine is only
allowed to one of those jobs. The world-build jobs are marked with
'single'.

For other jobs, I allow the runners to pick up some in parallel
depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on
the same machine. It seems to work fine in practice, although I would
rather be able to make these two types of jobs mutually exclusive, so
that a runner is either running 10 parallel jobs or 1 'single' job,
but not both. I'm not sure how to do that.

So unless I'm missing something, in both cases the bottleneck is that
for world build jobs you don't want anything else going on with the
underlying build host. You could register 10 "all" runners and 1 "fast
amd64" runner (and something similar but smaller for alexandra). If you
update the registrations on source.denx.de can you then shut down your
gitlab instance?

I've put a tag of 'single' on things that should run on the single-job
runner. Everything else can run concurrently, e.g. up to 10 jobs. So I
have two runners on the same host. E.g. tui-single has 'limit = 1',
but 'tui' has no limit and is just governed by the 'concurrent = 10'
at the top of the file.

Yes. And you could move those runners to the mainline gitlab. There is
no "single" tag, that would be the "all" tag. And "tui-single" would be
"fast amd64".

Quoted 5 lines

They are still attached to the Denx gitlab. Nothing has changed on my side. I'm not sure that your new tags are working though. I have a feeling something broke along the way when you made all your tag changes. One of my servers makes a bit of noise and I haven't heard it in quite a while.

There's a few of your runners that are "stale" and haven't contacted gitlab in a long time. I'll double check the tags tho.

Quoted 3 lines

If Denx would like to give me access to their gitlab instances, I'd be happy to play around and figure out how to get it going as fast as my tree does, and send a patch.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I'm not sure what you mean by that? The instance itself?

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in /etc/gitlab-runner/config.toml those aren't relevant here I believe.

No, I mean the tags in CI. If I fiddle with them I can probably come up with a way to run your CI much faster. Mine is about 35mins.

Quoted 6 lines
Quoted 4 lines

I'm not so sure about that. Yours runs faster because it tests less. Now that we've got some of your other fast runners showing up again, this is more instructive of current times I think:
https://source.denx.de/u-boot/u-boot/-/pipelines/24802

But not this? :

You forgot a link. But presumably to some run yesterday which took longer. And because Ilias was tweaking the currently donated arm64 runners (that have other jobs to run) and also we had two or three custodians at a time preparing trees, things ran slower.

Quoted 7 lines
Quoted 1 line

Maybe, but I don't think so.

No need to "think" about it. You can look at the pipeline history and see what was in queue for how long. And since I needed to be keeping an eye on two of the 3 arm64 runners, I could see when custodians were firing off tests. Aside from the number of pull requests I had waiting that morning.

Your runs are reliably around an hour but mine are reliably just over 30 minutes. I only have three runners.

Quoted 7 lines
Quoted 5 lines

https://source.denx.de/u-boot/u-boot/-/pipelines
https://sjg.u-boot.org/u-boot/u-boot/-/pipelines

I know you have added a duplicate build on arm64, but I can still speed it up significantly if you'll allow me.

I've never been stopping you.

https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

Quoted 28 lines
Quoted 28 lines
Quoted 27 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 3 lines

If you want to make mainline CI run faster you will need to catch up with the missing coverage or argue that some things are redundant.

Or perhaps I can actually just make it faster without dropping coverage?

Quoted 7 lines
Quoted 4 lines

I mean, I don't know how that's physically possible, outside of adding many more expensive build hosts. We have two-three fast arm64 hosts and that world builds between 30-45 minutes. That's the biggest time bottleneck.

Why did you join those builds up? It is better for throughput to have a few runners working in parallel.

Because I'm not optimizing for the single developer running CI case (or the loads of fast runners case). If we had sufficient resources, yes, the fastest possible way would be 4 "fast arm64" servers and 4 "fast amd64" servers each running if not 25% of the world build, at least 4 easy to make and maintain groupings.

However, we don't have that many of either. And they also need to be used for the biggest sandbox test suite jobs so that they run in about 5 minutes, not about 10 minutes. So in order to not entirely block other custodians we do a single world build. Because make and buildman are very good about otherwise fully loading the server. Running anything else while that is going on will slow down the world build (and, the other job too).

Quoted 4 lines
Quoted 1 line

They're OK (on a fast machine) so long as the 'other' load is not too much.

Things are OK until they aren't, yes. But just make sure you try out some of the worst case (ie more than one pipeline at a time running).

We could collect stats on runs, I suppose. Perhaps it runs a lot when I am asleep.

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

Aside, maintaining groupings is a pain. It was very bad with Travis, and it's only moderately painful with Azure where at least the end goal is 10 pipelines for maximum concurrency. And with Azure everyone *can* get their own "project" or whatever the right term is, and utilize 10 runners at once.

Quoted 6 lines
Quoted 2 lines

Yes, but we can update buildman to handle grouping automatically, as I suggested once.

I'm not sure we want make buildman act like distcc as well here. If we wanted to split the world in two, making it easy to say "arm not armv8" and "not (arm not armv8)" would be good enough.

OK, yes that would be better as boards would be more sensibly grouped.

Quoted 26 lines
Quoted 26 lines
Quoted 25 lines
Quoted 5 lines
Quoted 3 lines

The next biggest is that unless sandbox tests are run on a fast host, they take upwards of 10 minutes, rather than 5.

Yes, they are just getting slower and slower.

Adding more tests takes more time. But the real question is which tests take wall clock noticeable time, and why, and if we can do anything about it. My gut feeling is that it's in the disk image related tests and the user space verification of them.

Quoted 11 lines
Quoted 7 lines

But please, rebase your work to next and see what you can do. There is likely some speed-ups possible if we allow for failures to take longer to happen (and don't gate world builds on all of test.py stage completing, just say sandbox). And if you do the work on source.denx.de (as there is *NOTHING* stopping you from registering more runners to your tree and using whatever tagging scheme you like) you might even see more of the time variability due to load from other custodians.

I can't edit the tags on the runners, nor can I adjust them to run untagged jobs, nor can I delete runners I don't want, so no, I believe I need access to do that.

You can do all of that with runners specific to u-boot-dm, and you can disable project / group runners yourself too. So yes, you can.

Quoted 6 lines
Quoted 2 lines

Nope, sorry, I wasn't able to do any of this with the Denx tree as I can't adjust tags and can't delete and recreate runners.

You don't have
https://source.denx.de/u-boot/custodians/u-boot-dm/-/settings/ci_cd#js-runners-settings
visible to you?

Right. But also note that there are group runners on another page.

Quoted 56 lines
Quoted 56 lines
Quoted 55 lines
Quoted 44 lines
Quoted 44 lines
Quoted 43 lines
Quoted 32 lines
Quoted 25 lines
Quoted 25 lines
Quoted 24 lines
Quoted 15 lines
Quoted 2 lines

I also have another runner to add.

I'll contact you off-list with the token.

Quoted 10 lines
Quoted 9 lines

From my side, I have found it helpful and refreshing to have a gitlab
instance which I can control, e.g. it runs in half the time and if my
patches are completely blocked by Linaro, etc., I have an escape
valve.

Yes, and I have no idea what any of that has to do with anything other
than leading to confusion about what tree is or is not mainline. Since
you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

Quoted 6 lines
Quoted 2 lines

For now I am working with my tree, so that I am not blocked by Linaro, etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for your personal tree. That's my big huge "are you forking the project or what" problem.

I'm just making sure that my work is not blocked or lost, as that has happened too many times in the past few years.

Quoted 6 lines
Quoted 3 lines

Again, are you intending to fork the project? Putting your personal tree in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking you to stop it.

No, I'm not intending to fork anything. But I need a tree that I can control and push things into.

Quoted 7 lines

I don't know how you can call your personal tree being at "https://ci.u-boot.org/u-boot/u-boot.git" and saying it's somewhere you control and can push to while not also saying it's a fork. If you want to close down your gitlab and CNAME ci.u-boot.org to source.denx.de, you can still push things to u-boot-dm. Or if that's too constrained of a namespace you can also get a contributors/sjg/ namespace. But what you're doing today WILL lead to confusion.

I believe I've answered this question before. It is simply that I cannot get certain patches (bloblist, EFI, devicetree) into your tree. There really isn't any other reason.

Quoted 7 lines
Quoted 4 lines

Yes, that's still not an answer to my question.

Or is the answer to my question "Yes, I'm trying to confuse people to thinking my tree is mainline."

No, it's simply that you are not taking some patches in your tree and complaining about the amount of patches.

That's misleading at best. I'm not taking the patches that other custodians have repeatedly rejected and explained why they're rejecting them.

Quoted 8 lines
Quoted 3 lines

Yes and this has affected my ability to move things forward so much that I've had to set up my own tree. It has been working very well, to have a relief valve.

It's been working pretty terrible for the rest of the project as you build on top of things that have been rejected and you're collecting in your own personal downstream fork. Igor's email last night would be the latest example of "I wanted to look at this but where is it?"

You make it sound like it is some strange force from the void that is creating these problems :-)

The EFI-app thing was killed in review, so I picked it up and applied it and am now building on it (it now supports arm64). I mentioned before that I found that whole review process embarrassing (if not mortifying) and it made me realise that I shouldn't tolerate it either. Matthew Garrett is the sort of engineer that people should *welcome* to the project. Yes, Heinrich and Ilias had some useful feedback which I will get to at some point, but it works. Perhaps I'll get into it when Linaro gets the lwip network tests running with sandbox :-)

The next step is to get it running in qemu with my lab...but you rejected that too I think? So it won't be in your tree unless you change your mind on that.

Again, it isn't a strange and unexplained force. It is just a consequence of your decisions here. If you were more flexible, I would have been able to continue as we were.

Quoted 29 lines
Quoted 21 lines
Quoted 21 lines
Quoted 20 lines
Quoted 14 lines
Quoted 4 lines

At the moment your CI seems to be flaky as well:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/1038174

[aside, I think you meant to link to the pipeline itself, which also passed, but had some retries]

Funny story. Ilias needed to tweak the fast arm64 hosts and also wanted to explore "What if we have concurrency higher?" and ran in to the problems you also ran in to with respect to git seeing an existing clone in progress and bailing. Followed by the problem of multiple non-trivial jobs running concurrently.

Quoted 3 lines

All of which is why I keep trying to tell you that while "single" and concurrent runners work fine for you on a single user instance it will not scale.

Yes, but I solved that with the patch I sent and it seems to be 100% reliable now.

Quoted 7 lines
Quoted 3 lines

Yes, you eventually solved it with 3 patches, which I asked you to rebase and squash to two patches (because #3 just fixes that #2 wasn't sufficient) and you declined.

In general, why not just be more open to my ideas, even just try it for a year? Given the tools I'm confident I can speed up your CI as well.

Quoted 5 lines

I've never not been open to applying patches to mainline that are against mainline. I am not going to rebase your work for you however. And I think it's terrible for the project as a whole when you post changes against your tree and people expect to be able to review them and then can't because it's against your downstream fork.

I've started mentioning the base commit in patman and I think I'll update it to show the source tree as well. I understand the rebasing is a pain and I am certainly happy to shoulder some of that load. E.g. I can send a PR for each series when you are ready to accept it. If you like. Perhaps we can set a timeline for that (e.g. no comments for a week?)

Regards,
Simon

#28 lore raw
Quoted 184 lines · Simon Glass

Hi Tom,

Quoted 181 lines · Tom Rini
Quoted 179 lines · Simon Glass

Hi Tom,

Quoted 162 lines · Tom Rini
Quoted 160 lines · Simon Glass

Hi Tom,

Quoted 156 lines · Tom Rini
Quoted 143 lines · Simon Glass

Hi Tom,

Quoted 140 lines · Tom Rini
Quoted 137 lines · Simon Glass

Hi Tom,

Quoted 125 lines · Tom Rini
Quoted 123 lines · Simon Glass

Hi Tom,

Quoted 120 lines · Tom Rini
Quoted 110 lines · Simon Glass

Hi Tom,

On Mon, 17 Feb 2025 at 07:14, Tom Rini <[email protected]> wrote:

On Mon, Feb 17, 2025 at 06:14:06AM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 14:52, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 12:39:34PM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 09:07, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 07:10:12AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 11:12, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 10:21:16AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 07:41, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees
and the gitlab files are quite different. My CI runs take about 35
mins and it seems that yours is around 90 mins. I would like to reduce
/ remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

I'm sure CI could be quicker still with a number of faster runners. But
if you can't be bothered to make changes against mainline, what is the
point?

If you recall, I was working with your tree and had various ideas to
speed things up, but you didn't like it. So I've had to do it in my
tree. This is not about more runners (although I might have another
one soon). It is about running jobs in parallel.

And I wasn't sure more runners in parallel would help (as it would slow
down the fast runner which is what keeps the long jobs from being even
longer) as much as adding more regular runners would (which we've done)
and noted that in the end it's a configuration on the runner side so to
go ahead. And I reviewed and ack'd the patches here which exposed the
issues your path revealed. I just can't apply them because they need to
be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the
other way from what I have added.

I have a tag called 'single' which means that the machine is only
allowed to one of those jobs. The world-build jobs are marked with
'single'.

For other jobs, I allow the runners to pick up some in parallel
depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on
the same machine. It seems to work fine in practice, although I would
rather be able to make these two types of jobs mutually exclusive, so
that a runner is either running 10 parallel jobs or 1 'single' job,
but not both. I'm not sure how to do that.

So unless I'm missing something, in both cases the bottleneck is that
for world build jobs you don't want anything else going on with the
underlying build host. You could register 10 "all" runners and 1 "fast
amd64" runner (and something similar but smaller for alexandra). If you
update the registrations on source.denx.de can you then shut down your
gitlab instance?

I've put a tag of 'single' on things that should run on the single-job
runner. Everything else can run concurrently, e.g. up to 10 jobs. So I
have two runners on the same host. E.g. tui-single has 'limit = 1',
but 'tui' has no limit and is just governed by the 'concurrent = 10'
at the top of the file.

Yes. And you could move those runners to the mainline gitlab. There is
no "single" tag, that would be the "all" tag. And "tui-single" would be
"fast amd64".

They are still attached to the Denx gitlab. Nothing has changed on my
side. I'm not sure that your new tags are working though. I have a
feeling something broke along the way when you made all your tag
changes. One of my servers makes a bit of noise and I haven't heard it
in quite a while.

There's a few of your runners that are "stale" and haven't contacted gitlab in a long time. I'll double check the tags tho.

Quoted 3 lines

If Denx would like to give me access to their gitlab instances, I'd be
happy to play around and figure out how to get it going as fast as my
tree does, and send a patch.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I'm not sure what you mean by that? The instance itself?

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in /etc/gitlab-runner/config.toml those aren't relevant here I believe.

No, I mean the tags in CI. If I fiddle with them I can probably come up with a way to run your CI much faster. Mine is about 35mins.

Quoted 6 lines
Quoted 4 lines

I'm not so sure about that. Yours runs faster because it tests less. Now that we've got some of your other fast runners showing up again, this is more instructive of current times I think:
https://source.denx.de/u-boot/u-boot/-/pipelines/24802

But not this? :

You forgot a link. But presumably to some run yesterday which took longer. And because Ilias was tweaking the currently donated arm64 runners (that have other jobs to run) and also we had two or three custodians at a time preparing trees, things ran slower.

Quoted 7 lines
Quoted 1 line

Maybe, but I don't think so.

No need to "think" about it. You can look at the pipeline history and see what was in queue for how long. And since I needed to be keeping an eye on two of the 3 arm64 runners, I could see when custodians were firing off tests. Aside from the number of pull requests I had waiting that morning.

Your runs are reliably around an hour but mine are reliably just over 30 minutes. I only have three runners.

https://source.denx.de/u-boot/u-boot/-/pipelines
https://sjg.u-boot.org/u-boot/u-boot/-/pipelines

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

I know you have added a duplicate build on arm64, but I can still speed it up significantly if you'll allow me.

I've never been stopping you.

https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

Indeed. That gets back to what I keep telling you about how to test your CI changes on source.denx.de.

Quoted 27 lines
Quoted 27 lines
Quoted 27 lines
Quoted 26 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 2 lines

If you want to make mainline CI run faster you will need to catch up with the missing coverage or argue that some things are redundant.

Or perhaps I can actually just make it faster without dropping coverage?

Quoted 7 lines
Quoted 4 lines

I mean, I don't know how that's physically possible, outside of adding many more expensive build hosts. We have two-three fast arm64 hosts and that world builds between 30-45 minutes. That's the biggest time bottleneck.

Why did you join those builds up? It is better for throughput to have a few runners working in parallel.

Because I'm not optimizing for the single developer running CI case (or the loads of fast runners case). If we had sufficient resources, yes, the fastest possible way would be 4 "fast arm64" servers and 4 "fast amd64" servers each running if not 25% of the world build, at least 4 easy to make and maintain groupings.

However, we don't have that many of either. And they also need to be used for the biggest sandbox test suite jobs so that they run in about 5 minutes, not about 10 minutes. So in order to not entirely block other custodians we do a single world build. Because make and buildman are very good about otherwise fully loading the server. Running anything else while that is going on will slow down the world build (and, the other job too).

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

They're OK (on a fast machine) so long as the 'other' load is not too much.

Things are OK until they aren't, yes. But just make sure you try out some of the worst case (ie more than one pipeline at a time running).

We could collect stats on runs, I suppose. Perhaps it runs a lot when I am asleep.

That's not what your pipeline shows? Or do you mean the runners? Yes, the runners themselves are busy with jobs from source.denx.de.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

Aside, maintaining groupings is a pain. It was very bad with Travis, and it's only moderately painful with Azure where at least the end goal is 10 pipelines for maximum concurrency. And with Azure everyone *can* get their own "project" or whatever the right term is, and utilize 10 runners at once.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Yes, but we can update buildman to handle grouping automatically, as I suggested once.

I'm not sure we want make buildman act like distcc as well here. If we wanted to split the world in two, making it easy to say "arm not armv8" and "not (arm not armv8)" would be good enough.

OK, yes that would be better as boards would be more sensibly grouped.

I look forward to your results on testing that, then as I can't get that kind of list from buildman today (starting problem, "tools/buildman/buildman --dry-run -v all" is 10 boards).

Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
Quoted 24 lines
Quoted 4 lines
Quoted 2 lines

The next biggest is that unless sandbox tests are run on a fast host, they take upwards of 10 minutes, rather than 5.

Yes, they are just getting slower and slower.

Adding more tests takes more time. But the real question is which tests take wall clock noticeable time, and why, and if we can do anything about it. My gut feeling is that it's in the disk image related tests and the user space verification of them.

Quoted 11 lines
Quoted 7 lines

But please, rebase your work to next and see what you can do. There is likely some speed-ups possible if we allow for failures to take longer to happen (and don't gate world builds on all of test.py stage completing, just say sandbox). And if you do the work on source.denx.de (as there is *NOTHING* stopping you from registering more runners to your tree and using whatever tagging scheme you like) you might even see more of the time variability due to load from other custodians.

I can't edit the tags on the runners, nor can I adjust them to run untagged jobs, nor can I delete runners I don't want, so no, I believe I need access to do that.

You can do all of that with runners specific to u-boot-dm, and you can disable project / group runners yourself too. So yes, you can.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Nope, sorry, I wasn't able to do any of this with the Denx tree as I can't adjust tags and can't delete and recreate runners.

You don't have
https://source.denx.de/u-boot/custodians/u-boot-dm/-/settings/ci_cd#js-runners-settings
visible to you?

Right. But also note that there are group runners on another page.

And you disable them from the page I mentioned above. If you disable all of the existing project, group and shared runners (which are settings on that page) you will have zero runners available for your tree. You can then add project runners to only your project with whatever tagging scheme you like. You can then test your ideas about how tags would work.

Quoted 59 lines
Quoted 59 lines
Quoted 58 lines
Quoted 48 lines
Quoted 48 lines
Quoted 47 lines
Quoted 39 lines
Quoted 31 lines
Quoted 24 lines
Quoted 24 lines
Quoted 23 lines
Quoted 14 lines
Quoted 1 line

I also have another runner to add.

I'll contact you off-list with the token.

Quoted 10 lines

From my side, I have found it helpful and refreshing to have a gitlab
instance which I can control, e.g. it runs in half the time and if my
patches are completely blocked by Linaro, etc., I have an escape
valve.

Yes, and I have no idea what any of that has to do with anything other
than leading to confusion about what tree is or is not mainline. Since
you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

Quoted 6 lines
Quoted 2 lines

For now I am working with my tree, so that I am not blocked by Linaro,
etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for your personal tree. That's my big huge "are you forking the project or what" problem.

I'm just making sure that my work is not blocked or lost, as that has happened too many times in the past few years.

Quoted 6 lines
Quoted 3 lines

Again, are you intending to fork the project? Putting your personal tree in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking you to stop it.

No, I'm not intending to fork anything. But I need a tree that I can control and push things into.

Quoted 7 lines

I don't know how you can call your personal tree being at "https://ci.u-boot.org/u-boot/u-boot.git" and saying it's somewhere you control and can push to while not also saying it's a fork. If you want to close down your gitlab and CNAME ci.u-boot.org to source.denx.de, you can still push things to u-boot-dm. Or if that's too constrained of a namespace you can also get a contributors/sjg/ namespace. But what you're doing today WILL lead to confusion.

Quoted 3 lines

I believe I've answered this question before. It is simply that I cannot get certain patches (bloblist, EFI, devicetree) into your tree. There really isn't any other reason.

Yes, that's still not an answer to my question.

Or is the answer to my question "Yes, I'm trying to confuse people to thinking my tree is mainline."

Quoted 6 lines
Quoted 2 lines

No, it's simply that you are not taking some patches in your tree and complaining about the amount of patches.

That's misleading at best. I'm not taking the patches that other custodians have repeatedly rejected and explained why they're rejecting them.

Yes and this has affected my ability to move things forward so much that I've had to set up my own tree. It has been working very well, to have a relief valve.

Quoted 7 lines
Quoted 4 lines

It's been working pretty terrible for the rest of the project as you build on top of things that have been rejected and you're collecting in your own personal downstream fork. Igor's email last night would be the latest example of "I wanted to look at this but where is it?"

You make it sound like it is some strange force from the void that is creating these problems :-)

No, I'm saying you're making these problems and I wish you would stop.

Quoted 1 line

The EFI-app thing was killed in review, so I picked it up and applied

It was not "killed in review". It was posted once, given feedback and you picked it up for your tree in what felt like a day later but I'm sure was slightly longer than that.

Quoted 8 lines

it and am now building on it (it now supports arm64). I mentioned before that I found that whole review process embarrassing (if not mortifying) and it made me realise that I shouldn't tolerate it either. Matthew Garrett is the sort of engineer that people should *welcome* to the project. Yes, Heinrich and Ilias had some useful feedback which I will get to at some point, but it works. Perhaps I'll get into it when Linaro gets the lwip network tests running with sandbox :-)

You know what, I'd really love feedback from Matthew about that.

Quoted 3 lines

The next step is to get it running in qemu with my lab...but you rejected that too I think? So it won't be in your tree unless you change your mind on that.

Did I reject making labgrid a requirement for tests? Yes, I did. Did I explain why and offer alternatives? I also did. Does there seem to be any reason this next test of yours would require labgrid? No, there does not.

Quoted 3 lines

Again, it isn't a strange and unexplained force. It is just a consequence of your decisions here. If you were more flexible, I would have been able to continue as we were.

The only way I could be more flexible here is to apply everything you post without question.

Quoted 34 lines
Quoted 28 lines
Quoted 20 lines
Quoted 20 lines
Quoted 19 lines
Quoted 13 lines
Quoted 3 lines

At the moment your CI seems to be flaky as well:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/1038174

[aside, I think you meant to link to the pipeline itself, which also passed, but had some retries]

Funny story. Ilias needed to tweak the fast arm64 hosts and also wanted to explore "What if we have concurrency higher?" and ran in to the problems you also ran in to with respect to git seeing an existing clone in progress and bailing. Followed by the problem of multiple non-trivial jobs running concurrently.

Quoted 3 lines

All of which is why I keep trying to tell you that while "single" and concurrent runners work fine for you on a single user instance it will not scale.

Yes, but I solved that with the patch I sent and it seems to be 100% reliable now.

Quoted 7 lines
Quoted 3 lines

Yes, you eventually solved it with 3 patches, which I asked you to rebase and squash to two patches (because #3 just fixes that #2 wasn't sufficient) and you declined.

In general, why not just be more open to my ideas, even just try it for a year? Given the tools I'm confident I can speed up your CI as well.

Quoted 5 lines

I've never not been open to applying patches to mainline that are against mainline. I am not going to rebase your work for you however. And I think it's terrible for the project as a whole when you post changes against your tree and people expect to be able to review them and then can't because it's against your downstream fork.

Quoted 6 lines

I've started mentioning the base commit in patman and I think I'll update it to show the source tree as well. I understand the rebasing is a pain and I am certainly happy to shoulder some of that load. E.g. I can send a PR for each series when you are ready to accept it. If you like. Perhaps we can set a timeline for that (e.g. no comments for a week?)

You are subject to the same general timelines as everyone else. When your patches apply to mainline and aren't rejected. Which is "about two weeks" and has been for about 15 years now. Sometimes I will pull things in sooner when they're smaller / clearer, but that typically doesn't apply to your very large series with multiple changes in it.

Signature · 1 line
Tom
#29 lore raw

Hi Tom,

Quoted 189 lines · Tom Rini
Quoted 187 lines · Simon Glass

Hi Tom,

Quoted 184 lines · Tom Rini
Quoted 181 lines · Simon Glass

Hi Tom,

Quoted 162 lines · Tom Rini
Quoted 160 lines · Simon Glass

Hi Tom,

Quoted 156 lines · Tom Rini
Quoted 143 lines · Simon Glass

Hi Tom,

Quoted 140 lines · Tom Rini
Quoted 137 lines · Simon Glass

Hi Tom,

Quoted 125 lines · Tom Rini
Quoted 123 lines · Simon Glass

Hi Tom,

Quoted 120 lines · Tom Rini

On Fri, Feb 21, 2025 at 04:42:09PM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 17 Feb 2025 at 07:14, Tom Rini <[email protected]> wrote:

On Mon, Feb 17, 2025 at 06:14:06AM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 14:52, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 12:39:34PM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 09:07, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 07:10:12AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 11:12, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 10:21:16AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 07:41, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees
and the gitlab files are quite different. My CI runs take about 35
mins and it seems that yours is around 90 mins. I would like to reduce
/ remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

I'm sure CI could be quicker still with a number of faster runners. But
if you can't be bothered to make changes against mainline, what is the
point?

If you recall, I was working with your tree and had various ideas to
speed things up, but you didn't like it. So I've had to do it in my
tree. This is not about more runners (although I might have another
one soon). It is about running jobs in parallel.

And I wasn't sure more runners in parallel would help (as it would slow
down the fast runner which is what keeps the long jobs from being even
longer) as much as adding more regular runners would (which we've done)
and noted that in the end it's a configuration on the runner side so to
go ahead. And I reviewed and ack'd the patches here which exposed the
issues your path revealed. I just can't apply them because they need to
be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the
other way from what I have added.

I have a tag called 'single' which means that the machine is only
allowed to one of those jobs. The world-build jobs are marked with
'single'.

For other jobs, I allow the runners to pick up some in parallel
depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on
the same machine. It seems to work fine in practice, although I would
rather be able to make these two types of jobs mutually exclusive, so
that a runner is either running 10 parallel jobs or 1 'single' job,
but not both. I'm not sure how to do that.

So unless I'm missing something, in both cases the bottleneck is that
for world build jobs you don't want anything else going on with the
underlying build host. You could register 10 "all" runners and 1 "fast
amd64" runner (and something similar but smaller for alexandra). If you
update the registrations on source.denx.de can you then shut down your
gitlab instance?

I've put a tag of 'single' on things that should run on the single-job
runner. Everything else can run concurrently, e.g. up to 10 jobs. So I
have two runners on the same host. E.g. tui-single has 'limit = 1',
but 'tui' has no limit and is just governed by the 'concurrent = 10'
at the top of the file.

Yes. And you could move those runners to the mainline gitlab. There is
no "single" tag, that would be the "all" tag. And "tui-single" would be
"fast amd64".

They are still attached to the Denx gitlab. Nothing has changed on my
side. I'm not sure that your new tags are working though. I have a
feeling something broke along the way when you made all your tag
changes. One of my servers makes a bit of noise and I haven't heard it
in quite a while.

There's a few of your runners that are "stale" and haven't contacted
gitlab in a long time. I'll double check the tags tho.

If Denx would like to give me access to their gitlab instances, I'd be
happy to play around and figure out how to get it going as fast as my
tree does, and send a patch.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I'm not sure what you mean by that? The instance itself?

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in /etc/gitlab-runner/config.toml those aren't relevant here I believe.

No, I mean the tags in CI. If I fiddle with them I can probably come up with a way to run your CI much faster. Mine is about 35mins.

Quoted 6 lines
Quoted 4 lines

I'm not so sure about that. Yours runs faster because it tests less. Now that we've got some of your other fast runners showing up again, this is more instructive of current times I think:
https://source.denx.de/u-boot/u-boot/-/pipelines/24802

But not this? :

You forgot a link. But presumably to some run yesterday which took longer. And because Ilias was tweaking the currently donated arm64 runners (that have other jobs to run) and also we had two or three custodians at a time preparing trees, things ran slower.

Quoted 7 lines
Quoted 1 line

Maybe, but I don't think so.

No need to "think" about it. You can look at the pipeline history and see what was in queue for how long. And since I needed to be keeping an eye on two of the 3 arm64 runners, I could see when custodians were firing off tests. Aside from the number of pull requests I had waiting that morning.

Your runs are reliably around an hour but mine are reliably just over 30 minutes. I only have three runners.

https://source.denx.de/u-boot/u-boot/-/pipelines
https://sjg.u-boot.org/u-boot/u-boot/-/pipelines

I know you have added a duplicate build on arm64, but I can still speed it up significantly if you'll allow me.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I've never been stopping you.

https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

Indeed. That gets back to what I keep telling you about how to test your CI changes on source.denx.de.

I don't understand your response here.

Quoted 30 lines
Quoted 30 lines
Quoted 30 lines
Quoted 29 lines
Quoted 20 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 3 lines

If you want to make mainline CI run faster you will need to catch up with the missing coverage or argue that some things are redundant.

Or perhaps I can actually just make it faster without dropping coverage?

Quoted 7 lines
Quoted 4 lines

I mean, I don't know how that's physically possible, outside of adding many more expensive build hosts. We have two-three fast arm64 hosts and that world builds between 30-45 minutes. That's the biggest time bottleneck.

Why did you join those builds up? It is better for throughput to have a few runners working in parallel.

Because I'm not optimizing for the single developer running CI case (or the loads of fast runners case). If we had sufficient resources, yes, the fastest possible way would be 4 "fast arm64" servers and 4 "fast amd64" servers each running if not 25% of the world build, at least 4 easy to make and maintain groupings.

Quoted 7 lines

However, we don't have that many of either. And they also need to be used for the biggest sandbox test suite jobs so that they run in about 5 minutes, not about 10 minutes. So in order to not entirely block other custodians we do a single world build. Because make and buildman are very good about otherwise fully loading the server. Running anything else while that is going on will slow down the world build (and, the other job too).

They're OK (on a fast machine) so long as the 'other' load is not too much.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Things are OK until they aren't, yes. But just make sure you try out some of the worst case (ie more than one pipeline at a time running).

We could collect stats on runs, I suppose. Perhaps it runs a lot when I am asleep.

That's not what your pipeline shows? Or do you mean the runners? Yes, the runners themselves are busy with jobs from source.denx.de.

Mostly the runners seem fairly unloaded, so far as I can tell, but as I say, I don't have monitoring to see what happens at night.

Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
Quoted 9 lines
Quoted 6 lines

Aside, maintaining groupings is a pain. It was very bad with Travis, and it's only moderately painful with Azure where at least the end goal is 10 pipelines for maximum concurrency. And with Azure everyone *can* get their own "project" or whatever the right term is, and utilize 10 runners at once.

Yes, but we can update buildman to handle grouping automatically, as I suggested once.

I'm not sure we want make buildman act like distcc as well here. If we wanted to split the world in two, making it easy to say "arm not armv8" and "not (arm not armv8)" would be good enough.

Quoted 5 lines
Quoted 1 line

OK, yes that would be better as boards would be more sensibly grouped.

I look forward to your results on testing that, then as I can't get that kind of list from buildman today (starting problem, "tools/buildman/buildman --dry-run -v all" is 10 boards).

OK

Quoted 33 lines
Quoted 33 lines
Quoted 32 lines
Quoted 23 lines
Quoted 23 lines
Quoted 5 lines
Quoted 3 lines

The next biggest is that unless sandbox tests are run on a fast host, they take upwards of 10 minutes, rather than 5.

Yes, they are just getting slower and slower.

Adding more tests takes more time. But the real question is which tests take wall clock noticeable time, and why, and if we can do anything about it. My gut feeling is that it's in the disk image related tests and the user space verification of them.

Quoted 11 lines
Quoted 7 lines

But please, rebase your work to next and see what you can do. There is likely some speed-ups possible if we allow for failures to take longer to happen (and don't gate world builds on all of test.py stage completing, just say sandbox). And if you do the work on source.denx.de (as there is *NOTHING* stopping you from registering more runners to your tree and using whatever tagging scheme you like) you might even see more of the time variability due to load from other custodians.

I can't edit the tags on the runners, nor can I adjust them to run untagged jobs, nor can I delete runners I don't want, so no, I believe I need access to do that.

Quoted 5 lines
Quoted 2 lines

You can do all of that with runners specific to u-boot-dm, and you can disable project / group runners yourself too. So yes, you can.

Nope, sorry, I wasn't able to do any of this with the Denx tree as I can't adjust tags and can't delete and recreate runners.

You don't have
https://source.denx.de/u-boot/custodians/u-boot-dm/-/settings/ci_cd#js-runners-settings
visible to you?

Quoted 7 lines
Quoted 1 line

Right. But also note that there are group runners on another page.

And you disable them from the page I mentioned above. If you disable all of the existing project, group and shared runners (which are settings on that page) you will have zero runners available for your tree. You can then add project runners to only your project with whatever tagging scheme you like. You can then test your ideas about how tags would work.

OK, that sounds like a lot of hassle and you've already rejected my ideas here. Are you saying you are open to a change? I am asking because your last response suggested that my CI was no faster than yours, or that it was only faster because it has less testing.

Quoted 68 lines
Quoted 60 lines
Quoted 60 lines
Quoted 59 lines
Quoted 49 lines
Quoted 49 lines
Quoted 48 lines
Quoted 40 lines
Quoted 32 lines
Quoted 25 lines
Quoted 25 lines
Quoted 24 lines
Quoted 21 lines

I also have another runner to add.

I'll contact you off-list with the token.

From my side, I have found it helpful and refreshing to have a gitlab
instance which I can control, e.g. it runs in half the time and if my
patches are completely blocked by Linaro, etc., I have an escape
valve.

Yes, and I have no idea what any of that has to do with anything other
than leading to confusion about what tree is or is not mainline. Since
you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

For now I am working with my tree, so that I am not blocked by Linaro,
etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for
your personal tree. That's my big huge "are you forking the project or
what" problem.

I'm just making sure that my work is not blocked or lost, as that has happened too many times in the past few years.

Quoted 6 lines
Quoted 3 lines

Again, are you intending to fork the project? Putting your personal tree in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking you to stop it.

No, I'm not intending to fork anything. But I need a tree that I can control and push things into.

Quoted 7 lines

I don't know how you can call your personal tree being at "https://ci.u-boot.org/u-boot/u-boot.git" and saying it's somewhere you control and can push to while not also saying it's a fork. If you want to close down your gitlab and CNAME ci.u-boot.org to source.denx.de, you can still push things to u-boot-dm. Or if that's too constrained of a namespace you can also get a contributors/sjg/ namespace. But what you're doing today WILL lead to confusion.

Quoted 3 lines

I believe I've answered this question before. It is simply that I cannot get certain patches (bloblist, EFI, devicetree) into your tree. There really isn't any other reason.

Yes, that's still not an answer to my question.

Or is the answer to my question "Yes, I'm trying to confuse people to thinking my tree is mainline."

Quoted 6 lines
Quoted 2 lines

No, it's simply that you are not taking some patches in your tree and complaining about the amount of patches.

That's misleading at best. I'm not taking the patches that other custodians have repeatedly rejected and explained why they're rejecting them.

Yes and this has affected my ability to move things forward so much that I've had to set up my own tree. It has been working very well, to have a relief valve.

Quoted 7 lines
Quoted 4 lines

It's been working pretty terrible for the rest of the project as you build on top of things that have been rejected and you're collecting in your own personal downstream fork. Igor's email last night would be the latest example of "I wanted to look at this but where is it?"

You make it sound like it is some strange force from the void that is creating these problems :-)

Quoted 7 lines

No, I'm saying you're making these problems and I wish you would stop.

Quoted 1 line

The EFI-app thing was killed in review, so I picked it up and applied

It was not "killed in review". It was posted once, given feedback and you picked it up for your tree in what felt like a day later but I'm sure was slightly longer than that.

Just over two weeks, when it seemed to me it was dead. I had emailed Matthew several times asking if he could make time to post his work. Telling him to refactor a load of the EFI_LOADER stuff just to get the app running seems wrong to me. I believe I already explained this at the time.

Quoted 12 lines
Quoted 9 lines

it and am now building on it (it now supports arm64). I mentioned before that I found that whole review process embarrassing (if not mortifying) and it made me realise that I shouldn't tolerate it either. Matthew Garrett is the sort of engineer that people should *welcome* to the project. Yes, Heinrich and Ilias had some useful feedback which I will get to at some point, but it works. Perhaps I'll get into it when Linaro gets the lwip network tests running with sandbox :-)

You know what, I'd really love feedback from Matthew about that.

Quoted 8 lines
Quoted 3 lines

The next step is to get it running in qemu with my lab...but you rejected that too I think? So it won't be in your tree unless you change your mind on that.

Did I reject making labgrid a requirement for tests? Yes, I did. Did I explain why and offer alternatives? I also did. Does there seem to be any reason this next test of yours would require labgrid? No, there does not.

We can't 'require' Labgrid. There are too many loose strawmans being thrown around here. But I want to use it in my lab and I want a test which boots Ubuntu etc. in my lab using Labgrid. I explained that I want to be able to interactively run the target ('ub-int qemu-86') as well as run pytests ('ub-pyt qemu-x86 pxe') and in gitlab CI. That all works today and all you need to do is not reject the patch.

Quoted 7 lines
Quoted 4 lines

Again, it isn't a strange and unexplained force. It is just a consequence of your decisions here. If you were more flexible, I would have been able to continue as we were.

The only way I could be more flexible here is to apply everything you post without question.

That's the part of your thinking which I really struggle with. There is a large amount of space in between that (which as you know I've never even suggested) and what I am looking for.

The ANSI patch is an example of gratuitous rejection for no useful reason.

Given the number of emails I'm genuinely surprised at the lack of progress we have made here.

Again, your decisions and position have produced the situation we are in now. Much is in your control. If you are interested in changing anything, even a little, I'm sure it would help.

Quoted 42 lines
Quoted 35 lines
Quoted 29 lines
Quoted 21 lines
Quoted 21 lines
Quoted 20 lines
Quoted 14 lines
Quoted 4 lines

At the moment your CI seems to be flaky as well:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/1038174

[aside, I think you meant to link to the pipeline itself, which also passed, but had some retries]

Funny story. Ilias needed to tweak the fast arm64 hosts and also wanted to explore "What if we have concurrency higher?" and ran in to the problems you also ran in to with respect to git seeing an existing clone in progress and bailing. Followed by the problem of multiple non-trivial jobs running concurrently.

Quoted 3 lines

All of which is why I keep trying to tell you that while "single" and concurrent runners work fine for you on a single user instance it will not scale.

Yes, but I solved that with the patch I sent and it seems to be 100% reliable now.

Quoted 7 lines
Quoted 3 lines

Yes, you eventually solved it with 3 patches, which I asked you to rebase and squash to two patches (because #3 just fixes that #2 wasn't sufficient) and you declined.

In general, why not just be more open to my ideas, even just try it for a year? Given the tools I'm confident I can speed up your CI as well.

Quoted 5 lines

I've never not been open to applying patches to mainline that are against mainline. I am not going to rebase your work for you however. And I think it's terrible for the project as a whole when you post changes against your tree and people expect to be able to review them and then can't because it's against your downstream fork.

Quoted 6 lines

I've started mentioning the base commit in patman and I think I'll update it to show the source tree as well. I understand the rebasing is a pain and I am certainly happy to shoulder some of that load. E.g. I can send a PR for each series when you are ready to accept it. If you like. Perhaps we can set a timeline for that (e.g. no comments for a week?)

Quoted 5 lines

You are subject to the same general timelines as everyone else. When your patches apply to mainline and aren't rejected. Which is "about two weeks" and has been for about 15 years now. Sometimes I will pull things in sooner when they're smaller / clearer, but that typically doesn't apply to your very large series with multiple changes in it.

OK, well again I'm happy to send a PR for things that haven't been rejected for your tree.

Regards,
Simon

#30 lore raw
Quoted 192 lines · Simon Glass

Hi Tom,

Quoted 189 lines · Tom Rini
Quoted 187 lines · Simon Glass

Hi Tom,

Quoted 184 lines · Tom Rini
Quoted 181 lines · Simon Glass

Hi Tom,

Quoted 162 lines · Tom Rini
Quoted 160 lines · Simon Glass

Hi Tom,

Quoted 156 lines · Tom Rini
Quoted 143 lines · Simon Glass

Hi Tom,

Quoted 140 lines · Tom Rini
Quoted 137 lines · Simon Glass

Hi Tom,

Quoted 125 lines · Tom Rini
Quoted 123 lines · Simon Glass

Hi Tom,

On Fri, 21 Feb 2025 at 17:08, Tom Rini <[email protected]> wrote:

On Fri, Feb 21, 2025 at 04:42:09PM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 17 Feb 2025 at 07:14, Tom Rini <[email protected]> wrote:

On Mon, Feb 17, 2025 at 06:14:06AM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 14:52, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 12:39:34PM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 09:07, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 07:10:12AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 11:12, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 10:21:16AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 07:41, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees
and the gitlab files are quite different. My CI runs take about 35
mins and it seems that yours is around 90 mins. I would like to reduce
/ remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

I'm sure CI could be quicker still with a number of faster runners. But
if you can't be bothered to make changes against mainline, what is the
point?

If you recall, I was working with your tree and had various ideas to
speed things up, but you didn't like it. So I've had to do it in my
tree. This is not about more runners (although I might have another
one soon). It is about running jobs in parallel.

And I wasn't sure more runners in parallel would help (as it would slow
down the fast runner which is what keeps the long jobs from being even
longer) as much as adding more regular runners would (which we've done)
and noted that in the end it's a configuration on the runner side so to
go ahead. And I reviewed and ack'd the patches here which exposed the
issues your path revealed. I just can't apply them because they need to
be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the
other way from what I have added.

I have a tag called 'single' which means that the machine is only
allowed to one of those jobs. The world-build jobs are marked with
'single'.

For other jobs, I allow the runners to pick up some in parallel
depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on
the same machine. It seems to work fine in practice, although I would
rather be able to make these two types of jobs mutually exclusive, so
that a runner is either running 10 parallel jobs or 1 'single' job,
but not both. I'm not sure how to do that.

So unless I'm missing something, in both cases the bottleneck is that
for world build jobs you don't want anything else going on with the
underlying build host. You could register 10 "all" runners and 1 "fast
amd64" runner (and something similar but smaller for alexandra). If you
update the registrations on source.denx.de can you then shut down your
gitlab instance?

I've put a tag of 'single' on things that should run on the single-job
runner. Everything else can run concurrently, e.g. up to 10 jobs. So I
have two runners on the same host. E.g. tui-single has 'limit = 1',
but 'tui' has no limit and is just governed by the 'concurrent = 10'
at the top of the file.

Yes. And you could move those runners to the mainline gitlab. There is
no "single" tag, that would be the "all" tag. And "tui-single" would be
"fast amd64".

They are still attached to the Denx gitlab. Nothing has changed on my
side. I'm not sure that your new tags are working though. I have a
feeling something broke along the way when you made all your tag
changes. One of my servers makes a bit of noise and I haven't heard it
in quite a while.

There's a few of your runners that are "stale" and haven't contacted
gitlab in a long time. I'll double check the tags tho.

If Denx would like to give me access to their gitlab instances, I'd be
happy to play around and figure out how to get it going as fast as my
tree does, and send a patch.

Quoted 6 lines
Quoted 3 lines

I'm not sure what you mean by that? The instance itself?

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in /etc/gitlab-runner/config.toml those aren't relevant here I believe.

No, I mean the tags in CI. If I fiddle with them I can probably come up with a way to run your CI much faster. Mine is about 35mins.

Quoted 6 lines
Quoted 4 lines

I'm not so sure about that. Yours runs faster because it tests less. Now that we've got some of your other fast runners showing up again, this is more instructive of current times I think:
https://source.denx.de/u-boot/u-boot/-/pipelines/24802

But not this? :

You forgot a link. But presumably to some run yesterday which took longer. And because Ilias was tweaking the currently donated arm64 runners (that have other jobs to run) and also we had two or three custodians at a time preparing trees, things ran slower.

Quoted 7 lines
Quoted 1 line

Maybe, but I don't think so.

No need to "think" about it. You can look at the pipeline history and see what was in queue for how long. And since I needed to be keeping an eye on two of the 3 arm64 runners, I could see when custodians were firing off tests. Aside from the number of pull requests I had waiting that morning.

Your runs are reliably around an hour but mine are reliably just over 30 minutes. I only have three runners.

https://source.denx.de/u-boot/u-boot/-/pipelines
https://sjg.u-boot.org/u-boot/u-boot/-/pipelines

I know you have added a duplicate build on arm64, but I can still speed it up significantly if you'll allow me.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I've never been stopping you.

https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

Indeed. That gets back to what I keep telling you about how to test your CI changes on source.denx.de.

I don't understand your response here.

Well, if we go to the next part..

Quoted 104 lines
Quoted 29 lines
Quoted 29 lines
Quoted 29 lines
Quoted 28 lines
Quoted 19 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 2 lines

If you want to make mainline CI run faster you will need to catch up with the missing coverage or argue that some things are redundant.

Or perhaps I can actually just make it faster without dropping coverage?

Quoted 7 lines
Quoted 4 lines

I mean, I don't know how that's physically possible, outside of adding many more expensive build hosts. We have two-three fast arm64 hosts and that world builds between 30-45 minutes. That's the biggest time bottleneck.

Why did you join those builds up? It is better for throughput to have a few runners working in parallel.

Because I'm not optimizing for the single developer running CI case (or the loads of fast runners case). If we had sufficient resources, yes, the fastest possible way would be 4 "fast arm64" servers and 4 "fast amd64" servers each running if not 25% of the world build, at least 4 easy to make and maintain groupings.

Quoted 7 lines

However, we don't have that many of either. And they also need to be used for the biggest sandbox test suite jobs so that they run in about 5 minutes, not about 10 minutes. So in order to not entirely block other custodians we do a single world build. Because make and buildman are very good about otherwise fully loading the server. Running anything else while that is going on will slow down the world build (and, the other job too).

They're OK (on a fast machine) so long as the 'other' load is not too much.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Things are OK until they aren't, yes. But just make sure you try out some of the worst case (ie more than one pipeline at a time running).

We could collect stats on runs, I suppose. Perhaps it runs a lot when I am asleep.

That's not what your pipeline shows? Or do you mean the runners? Yes, the runners themselves are busy with jobs from source.denx.de.

Mostly the runners seem fairly unloaded, so far as I can tell, but as I say, I don't have monitoring to see what happens at night.

Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
Quoted 9 lines
Quoted 6 lines

Aside, maintaining groupings is a pain. It was very bad with Travis, and it's only moderately painful with Azure where at least the end goal is 10 pipelines for maximum concurrency. And with Azure everyone *can* get their own "project" or whatever the right term is, and utilize 10 runners at once.

Yes, but we can update buildman to handle grouping automatically, as I suggested once.

I'm not sure we want make buildman act like distcc as well here. If we wanted to split the world in two, making it easy to say "arm not armv8" and "not (arm not armv8)" would be good enough.

Quoted 5 lines
Quoted 1 line

OK, yes that would be better as boards would be more sensibly grouped.

I look forward to your results on testing that, then as I can't get that kind of list from buildman today (starting problem, "tools/buildman/buildman --dry-run -v all" is 10 boards).

OK

Quoted 33 lines
Quoted 33 lines
Quoted 32 lines
Quoted 23 lines
Quoted 23 lines
Quoted 5 lines
Quoted 3 lines

The next biggest is that unless sandbox tests are run on a fast host, they take upwards of 10 minutes, rather than 5.

Yes, they are just getting slower and slower.

Adding more tests takes more time. But the real question is which tests take wall clock noticeable time, and why, and if we can do anything about it. My gut feeling is that it's in the disk image related tests and the user space verification of them.

Quoted 11 lines
Quoted 7 lines

But please, rebase your work to next and see what you can do. There is likely some speed-ups possible if we allow for failures to take longer to happen (and don't gate world builds on all of test.py stage completing, just say sandbox). And if you do the work on source.denx.de (as there is *NOTHING* stopping you from registering more runners to your tree and using whatever tagging scheme you like) you might even see more of the time variability due to load from other custodians.

I can't edit the tags on the runners, nor can I adjust them to run untagged jobs, nor can I delete runners I don't want, so no, I believe I need access to do that.

Quoted 5 lines
Quoted 2 lines

You can do all of that with runners specific to u-boot-dm, and you can disable project / group runners yourself too. So yes, you can.

Nope, sorry, I wasn't able to do any of this with the Denx tree as I can't adjust tags and can't delete and recreate runners.

You don't have
https://source.denx.de/u-boot/custodians/u-boot-dm/-/settings/ci_cd#js-runners-settings
visible to you?

Quoted 7 lines
Quoted 1 line

Right. But also note that there are group runners on another page.

And you disable them from the page I mentioned above. If you disable all of the existing project, group and shared runners (which are settings on that page) you will have zero runners available for your tree. You can then add project runners to only your project with whatever tagging scheme you like. You can then test your ideas about how tags would work.

Quoted 4 lines

OK, that sounds like a lot of hassle and you've already rejected my ideas here. Are you saying you are open to a change? I am asking because your last response suggested that my CI was no faster than yours, or that it was only faster because it has less testing.

Once again I am trying to show you how to test your changes on the mainline Gitlab server. Because you said you need your own gitlab (or admin access to the u-boot space) to do this and that's not correct.

I have rejected your idea because it doesn't seem like it would actually be a win.

I have asked you to prove me wrong by implementing your idea on mainline, on the mainline gitlab server.

You have declined thus far.

And I am *always* open to being shown facts that show I was wrong. If you can rework the CI jobs such that mainline is faster, and is still faster or at least no worse with multiple running pipelines, great.

And yes, your tree is testing less things. This is a statement of fact. You are neither running sandbox on arm64 (which exposed important bugs) nor world builds on arm64 (which exposed bugs within the Dockerfile and makes it clearer that buildman is very funky about using a "cross" toolchain for the host processor).

Quoted 75 lines
Quoted 67 lines
Quoted 59 lines
Quoted 59 lines
Quoted 58 lines
Quoted 48 lines
Quoted 48 lines
Quoted 47 lines
Quoted 39 lines
Quoted 31 lines
Quoted 24 lines
Quoted 24 lines
Quoted 23 lines

I also have another runner to add.

I'll contact you off-list with the token.

From my side, I have found it helpful and refreshing to have a gitlab
instance which I can control, e.g. it runs in half the time and if my
patches are completely blocked by Linaro, etc., I have an escape
valve.

Yes, and I have no idea what any of that has to do with anything other
than leading to confusion about what tree is or is not mainline. Since
you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

For now I am working with my tree, so that I am not blocked by Linaro,
etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for
your personal tree. That's my big huge "are you forking the project or
what" problem.

I'm just making sure that my work is not blocked or lost, as that has
happened too many times in the past few years.

Quoted 6 lines
Quoted 3 lines

Again, are you intending to fork the project? Putting your personal tree in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking you to stop it.

No, I'm not intending to fork anything. But I need a tree that I can control and push things into.

Quoted 7 lines

I don't know how you can call your personal tree being at "https://ci.u-boot.org/u-boot/u-boot.git" and saying it's somewhere you control and can push to while not also saying it's a fork. If you want to close down your gitlab and CNAME ci.u-boot.org to source.denx.de, you can still push things to u-boot-dm. Or if that's too constrained of a namespace you can also get a contributors/sjg/ namespace. But what you're doing today WILL lead to confusion.

Quoted 3 lines

I believe I've answered this question before. It is simply that I cannot get certain patches (bloblist, EFI, devicetree) into your tree. There really isn't any other reason.

Yes, that's still not an answer to my question.

Or is the answer to my question "Yes, I'm trying to confuse people to thinking my tree is mainline."

Quoted 6 lines
Quoted 2 lines

No, it's simply that you are not taking some patches in your tree and complaining about the amount of patches.

That's misleading at best. I'm not taking the patches that other custodians have repeatedly rejected and explained why they're rejecting them.

Yes and this has affected my ability to move things forward so much that I've had to set up my own tree. It has been working very well, to have a relief valve.

Quoted 7 lines
Quoted 4 lines

It's been working pretty terrible for the rest of the project as you build on top of things that have been rejected and you're collecting in your own personal downstream fork. Igor's email last night would be the latest example of "I wanted to look at this but where is it?"

You make it sound like it is some strange force from the void that is creating these problems :-)

Quoted 7 lines

No, I'm saying you're making these problems and I wish you would stop.

Quoted 1 line

The EFI-app thing was killed in review, so I picked it up and applied

It was not "killed in review". It was posted once, given feedback and you picked it up for your tree in what felt like a day later but I'm sure was slightly longer than that.

Quoted 5 lines

Just over two weeks, when it seemed to me it was dead. I had emailed Matthew several times asking if he could make time to post his work. Telling him to refactor a load of the EFI_LOADER stuff just to get the app running seems wrong to me. I believe I already explained this at the time.

Waiting for answers to questions, which then did come along with confusion about the state of the series given that you had applied it somewhere else by then.

On the merits, I'm entirely unsure without digging it all up on if factoring out common code was or was not a reasonable request. I believe there was other feedback on the series as well and it was certainly not a "ready to merge as v1" post.

Quoted 20 lines
Quoted 11 lines
Quoted 8 lines

it and am now building on it (it now supports arm64). I mentioned before that I found that whole review process embarrassing (if not mortifying) and it made me realise that I shouldn't tolerate it either. Matthew Garrett is the sort of engineer that people should *welcome* to the project. Yes, Heinrich and Ilias had some useful feedback which I will get to at some point, but it works. Perhaps I'll get into it when Linaro gets the lwip network tests running with sandbox :-)

You know what, I'd really love feedback from Matthew about that.

Quoted 8 lines
Quoted 3 lines

The next step is to get it running in qemu with my lab...but you rejected that too I think? So it won't be in your tree unless you change your mind on that.

Did I reject making labgrid a requirement for tests? Yes, I did. Did I explain why and offer alternatives? I also did. Does there seem to be any reason this next test of yours would require labgrid? No, there does not.

Quoted 6 lines

We can't 'require' Labgrid. There are too many loose strawmans being thrown around here. But I want to use it in my lab and I want a test which boots Ubuntu etc. in my lab using Labgrid. I explained that I want to be able to interactively run the target ('ub-int qemu-86') as well as run pytests ('ub-pyt qemu-x86 pxe') and in gitlab CI. That all works today and all you need to do is not reject the patch.

And I found it both hugely disappointing that you wrote something so specific to your lab and non-replicable elsewhere and also "yes and" to the patch. Perhaps that got missed along the way.

Quoted 10 lines
Quoted 6 lines
Quoted 3 lines

Again, it isn't a strange and unexplained force. It is just a consequence of your decisions here. If you were more flexible, I would have been able to continue as we were.

The only way I could be more flexible here is to apply everything you post without question.

That's the part of your thinking which I really struggle with. There is a large amount of space in between that (which as you know I've never even suggested) and what I am looking for.

And I keep struggling with how you don't see it. You want changes that have been rejected for various valid technical reasons to be applied over the objection of the custodian.

Quoted 1 line

The ANSI patch is an example of gratuitous rejection for no useful reason.

It wasn't tho? Heinrich explained in another part of the thread where there is a good spec required reason we're doing the sequences we're doing. You either missed it or forgot it, I don't know which. But it wasn't "gratuitous". It's a tricky part of the spec where we need to come up with some clever solution for the case Michal hits.

Quoted 2 lines

Given the number of emails I'm genuinely surprised at the lack of progress we have made here.

I'm not surprised because I keep having to repeat myself.

Quoted 3 lines

Again, your decisions and position have produced the situation we are in now. Much is in your control. If you are interested in changing anything, even a little, I'm sure it would help.

OK. What's one request you have of me that should be clear and un-objectionable?

Quoted 41 lines
Quoted 41 lines
Quoted 40 lines
Quoted 28 lines
Quoted 20 lines
Quoted 20 lines
Quoted 19 lines
Quoted 13 lines
Quoted 3 lines

At the moment your CI seems to be flaky as well:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/1038174

[aside, I think you meant to link to the pipeline itself, which also passed, but had some retries]

Funny story. Ilias needed to tweak the fast arm64 hosts and also wanted to explore "What if we have concurrency higher?" and ran in to the problems you also ran in to with respect to git seeing an existing clone in progress and bailing. Followed by the problem of multiple non-trivial jobs running concurrently.

Quoted 3 lines

All of which is why I keep trying to tell you that while "single" and concurrent runners work fine for you on a single user instance it will not scale.

Yes, but I solved that with the patch I sent and it seems to be 100% reliable now.

Quoted 7 lines
Quoted 3 lines

Yes, you eventually solved it with 3 patches, which I asked you to rebase and squash to two patches (because #3 just fixes that #2 wasn't sufficient) and you declined.

In general, why not just be more open to my ideas, even just try it for a year? Given the tools I'm confident I can speed up your CI as well.

Quoted 5 lines

I've never not been open to applying patches to mainline that are against mainline. I am not going to rebase your work for you however. And I think it's terrible for the project as a whole when you post changes against your tree and people expect to be able to review them and then can't because it's against your downstream fork.

I've started mentioning the base commit in patman and I think I'll update it to show the source tree as well. I understand the rebasing is a pain and I am certainly happy to shoulder some of that load. E.g. I can send a PR for each series when you are ready to accept it. If you like. Perhaps we can set a timeline for that (e.g. no comments for a week?)

Quoted 8 lines
Quoted 5 lines

You are subject to the same general timelines as everyone else. When your patches apply to mainline and aren't rejected. Which is "about two weeks" and has been for about 15 years now. Sometimes I will pull things in sooner when they're smaller / clearer, but that typically doesn't apply to your very large series with multiple changes in it.

OK, well again I'm happy to send a PR for things that haven't been rejected for your tree.

OK. So looking at:
https://patchwork.ozlabs.org/project/uboot/list/?series=&submitter=&state=&q=&archive=&delegate=3184
Right now, there's patches for you lab that need to be rebased to next (and feedback addressed, or set aside the i.MX target for now / make a new thread about the general problem there). A patch from Heinrich. A series from Caleb. The last two certainly, and whatever of the lab stuff applies, could be in a PR for next whenever you're ready.

Signature · 1 line
Tom
#31 lore raw

Hi Tom,

Quoted 318 lines · Tom Rini
Quoted 192 lines · Simon Glass

Hi Tom,

Quoted 189 lines · Tom Rini
Quoted 187 lines · Simon Glass

Hi Tom,

Quoted 184 lines · Tom Rini
Quoted 181 lines · Simon Glass

Hi Tom,

Quoted 162 lines · Tom Rini
Quoted 160 lines · Simon Glass

Hi Tom,

Quoted 156 lines · Tom Rini
Quoted 143 lines · Simon Glass

Hi Tom,

Quoted 140 lines · Tom Rini
Quoted 137 lines · Simon Glass

Hi Tom,

Quoted 131 lines · Tom Rini

On Sat, Feb 22, 2025 at 10:23:59AM -0700, Simon Glass wrote:
Hi Tom,

On Fri, 21 Feb 2025 at 17:08, Tom Rini <[email protected]> wrote:

On Fri, Feb 21, 2025 at 04:42:09PM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 17 Feb 2025 at 07:14, Tom Rini <[email protected]> wrote:

On Mon, Feb 17, 2025 at 06:14:06AM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 14:52, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 12:39:34PM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 09:07, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 07:10:12AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 11:12, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 10:21:16AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 07:41, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees
and the gitlab files are quite different. My CI runs take about 35
mins and it seems that yours is around 90 mins. I would like to reduce
/ remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

I'm sure CI could be quicker still with a number of faster runners. But
if you can't be bothered to make changes against mainline, what is the
point?

If you recall, I was working with your tree and had various ideas to
speed things up, but you didn't like it. So I've had to do it in my
tree. This is not about more runners (although I might have another
one soon). It is about running jobs in parallel.

And I wasn't sure more runners in parallel would help (as it would slow
down the fast runner which is what keeps the long jobs from being even
longer) as much as adding more regular runners would (which we've done)
and noted that in the end it's a configuration on the runner side so to
go ahead. And I reviewed and ack'd the patches here which exposed the
issues your path revealed. I just can't apply them because they need to
be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the
other way from what I have added.

I have a tag called 'single' which means that the machine is only
allowed to one of those jobs. The world-build jobs are marked with
'single'.

For other jobs, I allow the runners to pick up some in parallel
depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on
the same machine. It seems to work fine in practice, although I would
rather be able to make these two types of jobs mutually exclusive, so
that a runner is either running 10 parallel jobs or 1 'single' job,
but not both. I'm not sure how to do that.

So unless I'm missing something, in both cases the bottleneck is that
for world build jobs you don't want anything else going on with the
underlying build host. You could register 10 "all" runners and 1 "fast
amd64" runner (and something similar but smaller for alexandra). If you
update the registrations on source.denx.de can you then shut down your
gitlab instance?

I've put a tag of 'single' on things that should run on the single-job
runner. Everything else can run concurrently, e.g. up to 10 jobs. So I
have two runners on the same host. E.g. tui-single has 'limit = 1',
but 'tui' has no limit and is just governed by the 'concurrent = 10'
at the top of the file.

Yes. And you could move those runners to the mainline gitlab. There is
no "single" tag, that would be the "all" tag. And "tui-single" would be
"fast amd64".

They are still attached to the Denx gitlab. Nothing has changed on my
side. I'm not sure that your new tags are working though. I have a
feeling something broke along the way when you made all your tag
changes. One of my servers makes a bit of noise and I haven't heard it
in quite a while.

There's a few of your runners that are "stale" and haven't contacted
gitlab in a long time. I'll double check the tags tho.

If Denx would like to give me access to their gitlab instances, I'd be
happy to play around and figure out how to get it going as fast as my
tree does, and send a patch.

I'm not sure what you mean by that? The instance itself?

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in
/etc/gitlab-runner/config.toml those aren't relevant here I believe.

No, I mean the tags in CI. If I fiddle with them I can probably come up with a way to run your CI much faster. Mine is about 35mins.

Quoted 6 lines
Quoted 4 lines

I'm not so sure about that. Yours runs faster because it tests less. Now that we've got some of your other fast runners showing up again, this is more instructive of current times I think:
https://source.denx.de/u-boot/u-boot/-/pipelines/24802

But not this? :

You forgot a link. But presumably to some run yesterday which took longer. And because Ilias was tweaking the currently donated arm64 runners (that have other jobs to run) and also we had two or three custodians at a time preparing trees, things ran slower.

Quoted 7 lines
Quoted 1 line

Maybe, but I don't think so.

No need to "think" about it. You can look at the pipeline history and see what was in queue for how long. And since I needed to be keeping an eye on two of the 3 arm64 runners, I could see when custodians were firing off tests. Aside from the number of pull requests I had waiting that morning.

Your runs are reliably around an hour but mine are reliably just over 30 minutes. I only have three runners.

https://source.denx.de/u-boot/u-boot/-/pipelines
https://sjg.u-boot.org/u-boot/u-boot/-/pipelines

I know you have added a duplicate build on arm64, but I can still speed it up significantly if you'll allow me.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I've never been stopping you.

https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

Indeed. That gets back to what I keep telling you about how to test your CI changes on source.denx.de.

I don't understand your response here.

Well, if we go to the next part..

Quoted 104 lines
Quoted 29 lines
Quoted 29 lines
Quoted 29 lines
Quoted 28 lines
Quoted 19 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 2 lines

If you want to make mainline CI run faster you will need to catch up with the missing coverage or argue that some things are redundant.

Or perhaps I can actually just make it faster without dropping coverage?

Quoted 7 lines
Quoted 4 lines

I mean, I don't know how that's physically possible, outside of adding many more expensive build hosts. We have two-three fast arm64 hosts and that world builds between 30-45 minutes. That's the biggest time bottleneck.

Why did you join those builds up? It is better for throughput to have a few runners working in parallel.

Because I'm not optimizing for the single developer running CI case (or the loads of fast runners case). If we had sufficient resources, yes, the fastest possible way would be 4 "fast arm64" servers and 4 "fast amd64" servers each running if not 25% of the world build, at least 4 easy to make and maintain groupings.

Quoted 7 lines

However, we don't have that many of either. And they also need to be used for the biggest sandbox test suite jobs so that they run in about 5 minutes, not about 10 minutes. So in order to not entirely block other custodians we do a single world build. Because make and buildman are very good about otherwise fully loading the server. Running anything else while that is going on will slow down the world build (and, the other job too).

They're OK (on a fast machine) so long as the 'other' load is not too much.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Things are OK until they aren't, yes. But just make sure you try out some of the worst case (ie more than one pipeline at a time running).

We could collect stats on runs, I suppose. Perhaps it runs a lot when I am asleep.

That's not what your pipeline shows? Or do you mean the runners? Yes, the runners themselves are busy with jobs from source.denx.de.

Mostly the runners seem fairly unloaded, so far as I can tell, but as I say, I don't have monitoring to see what happens at night.

Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
Quoted 9 lines
Quoted 6 lines

Aside, maintaining groupings is a pain. It was very bad with Travis, and it's only moderately painful with Azure where at least the end goal is 10 pipelines for maximum concurrency. And with Azure everyone *can* get their own "project" or whatever the right term is, and utilize 10 runners at once.

Yes, but we can update buildman to handle grouping automatically, as I suggested once.

I'm not sure we want make buildman act like distcc as well here. If we wanted to split the world in two, making it easy to say "arm not armv8" and "not (arm not armv8)" would be good enough.

Quoted 5 lines
Quoted 1 line

OK, yes that would be better as boards would be more sensibly grouped.

I look forward to your results on testing that, then as I can't get that kind of list from buildman today (starting problem, "tools/buildman/buildman --dry-run -v all" is 10 boards).

OK

Quoted 33 lines
Quoted 33 lines
Quoted 32 lines
Quoted 23 lines
Quoted 23 lines
Quoted 5 lines
Quoted 3 lines

The next biggest is that unless sandbox tests are run on a fast host, they take upwards of 10 minutes, rather than 5.

Yes, they are just getting slower and slower.

Adding more tests takes more time. But the real question is which tests take wall clock noticeable time, and why, and if we can do anything about it. My gut feeling is that it's in the disk image related tests and the user space verification of them.

Quoted 11 lines
Quoted 7 lines

But please, rebase your work to next and see what you can do. There is likely some speed-ups possible if we allow for failures to take longer to happen (and don't gate world builds on all of test.py stage completing, just say sandbox). And if you do the work on source.denx.de (as there is *NOTHING* stopping you from registering more runners to your tree and using whatever tagging scheme you like) you might even see more of the time variability due to load from other custodians.

I can't edit the tags on the runners, nor can I adjust them to run untagged jobs, nor can I delete runners I don't want, so no, I believe I need access to do that.

Quoted 5 lines
Quoted 2 lines

You can do all of that with runners specific to u-boot-dm, and you can disable project / group runners yourself too. So yes, you can.

Nope, sorry, I wasn't able to do any of this with the Denx tree as I can't adjust tags and can't delete and recreate runners.

You don't have
https://source.denx.de/u-boot/custodians/u-boot-dm/-/settings/ci_cd#js-runners-settings
visible to you?

Quoted 7 lines
Quoted 1 line

Right. But also note that there are group runners on another page.

And you disable them from the page I mentioned above. If you disable all of the existing project, group and shared runners (which are settings on that page) you will have zero runners available for your tree. You can then add project runners to only your project with whatever tagging scheme you like. You can then test your ideas about how tags would work.

Quoted 4 lines

OK, that sounds like a lot of hassle and you've already rejected my ideas here. Are you saying you are open to a change? I am asking because your last response suggested that my CI was no faster than yours, or that it was only faster because it has less testing.

Once again I am trying to show you how to test your changes on the mainline Gitlab server. Because you said you need your own gitlab (or admin access to the u-boot space) to do this and that's not correct.

Quoted 7 lines

I have rejected your idea because it doesn't seem like it would actually be a win.

I have asked you to prove me wrong by implementing your idea on mainline, on the mainline gitlab server.

You have declined thus far.

I'm not trying to prove anyone wrong, nor am I interested in such an endeavour.

Quoted 10 lines

And I am *always* open to being shown facts that show I was wrong. If you can rework the CI jobs such that mainline is faster, and is still faster or at least no worse with multiple running pipelines, great.

And yes, your tree is testing less things. This is a statement of fact. You are neither running sandbox on arm64 (which exposed important bugs) nor world builds on arm64 (which exposed bugs within the Dockerfile and makes it clearer that buildman is very funky about using a "cross" toolchain for the host processor).

OK, sure.

Anway, my offer stands and I'm confident I can spend it up, perhaps 80% faster. I need access to the server and the ability to change tags on the server while adding runners, experimenting, etc., obviously without changing existing runners, except that I may need to pause some for a few hours.

Quoted 82 lines
Quoted 76 lines
Quoted 68 lines
Quoted 60 lines
Quoted 60 lines
Quoted 59 lines
Quoted 49 lines
Quoted 49 lines
Quoted 48 lines
Quoted 40 lines
Quoted 32 lines
Quoted 25 lines
Quoted 25 lines

I also have another runner to add.

I'll contact you off-list with the token.

From my side, I have found it helpful and refreshing to have a gitlab
instance which I can control, e.g. it runs in half the time and if my
patches are completely blocked by Linaro, etc., I have an escape
valve.

Yes, and I have no idea what any of that has to do with anything other
than leading to confusion about what tree is or is not mainline. Since
you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

For now I am working with my tree, so that I am not blocked by Linaro,
etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for
your personal tree. That's my big huge "are you forking the project or
what" problem.

I'm just making sure that my work is not blocked or lost, as that has
happened too many times in the past few years.

Quoted 6 lines
Quoted 3 lines

Again, are you intending to fork the project? Putting your personal tree
in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking
you to stop it.

No, I'm not intending to fork anything. But I need a tree that I can control and push things into.

Quoted 7 lines

I don't know how you can call your personal tree being at "https://ci.u-boot.org/u-boot/u-boot.git" and saying it's somewhere you control and can push to while not also saying it's a fork. If you want to close down your gitlab and CNAME ci.u-boot.org to source.denx.de, you can still push things to u-boot-dm. Or if that's too constrained of a namespace you can also get a contributors/sjg/ namespace. But what you're doing today WILL lead to confusion.

Quoted 3 lines

I believe I've answered this question before. It is simply that I cannot get certain patches (bloblist, EFI, devicetree) into your tree. There really isn't any other reason.

Yes, that's still not an answer to my question.

Or is the answer to my question "Yes, I'm trying to confuse people to thinking my tree is mainline."

Quoted 6 lines
Quoted 2 lines

No, it's simply that you are not taking some patches in your tree and complaining about the amount of patches.

That's misleading at best. I'm not taking the patches that other custodians have repeatedly rejected and explained why they're rejecting them.

Yes and this has affected my ability to move things forward so much that I've had to set up my own tree. It has been working very well, to have a relief valve.

Quoted 7 lines
Quoted 4 lines

It's been working pretty terrible for the rest of the project as you build on top of things that have been rejected and you're collecting in your own personal downstream fork. Igor's email last night would be the latest example of "I wanted to look at this but where is it?"

You make it sound like it is some strange force from the void that is creating these problems :-)

Quoted 7 lines

No, I'm saying you're making these problems and I wish you would stop.

Quoted 1 line

The EFI-app thing was killed in review, so I picked it up and applied

It was not "killed in review". It was posted once, given feedback and you picked it up for your tree in what felt like a day later but I'm sure was slightly longer than that.

Quoted 5 lines

Just over two weeks, when it seemed to me it was dead. I had emailed Matthew several times asking if he could make time to post his work. Telling him to refactor a load of the EFI_LOADER stuff just to get the app running seems wrong to me. I believe I already explained this at the time.

Quoted 8 lines

Waiting for answers to questions, which then did come along with confusion about the state of the series given that you had applied it somewhere else by then.

On the merits, I'm entirely unsure without digging it all up on if factoring out common code was or was not a reasonable request. I believe there was other feedback on the series as well and it was certainly not a "ready to merge as v1" post.

It certainly was ready to merge. It works fine, actually and I've been using it ever since. I'm very happy with it and have continued to build on it. My changes when applying were very minor, basically adding an include file to a header.

Having said that, if people hadn't jumped down his throat so hard I would have waited, yes. I think I said that already.

Quoted 28 lines
Quoted 21 lines
Quoted 12 lines
Quoted 9 lines

it and am now building on it (it now supports arm64). I mentioned before that I found that whole review process embarrassing (if not mortifying) and it made me realise that I shouldn't tolerate it either. Matthew Garrett is the sort of engineer that people should *welcome* to the project. Yes, Heinrich and Ilias had some useful feedback which I will get to at some point, but it works. Perhaps I'll get into it when Linaro gets the lwip network tests running with sandbox :-)

You know what, I'd really love feedback from Matthew about that.

Quoted 8 lines
Quoted 3 lines

The next step is to get it running in qemu with my lab...but you rejected that too I think? So it won't be in your tree unless you change your mind on that.

Did I reject making labgrid a requirement for tests? Yes, I did. Did I explain why and offer alternatives? I also did. Does there seem to be any reason this next test of yours would require labgrid? No, there does not.

Quoted 6 lines

We can't 'require' Labgrid. There are too many loose strawmans being thrown around here. But I want to use it in my lab and I want a test which boots Ubuntu etc. in my lab using Labgrid. I explained that I want to be able to interactively run the target ('ub-int qemu-86') as well as run pytests ('ub-pyt qemu-x86 pxe') and in gitlab CI. That all works today and all you need to do is not reject the patch.

Quoted 3 lines

And I found it both hugely disappointing that you wrote something so specific to your lab and non-replicable elsewhere and also "yes and" to the patch. Perhaps that got missed along the way.

I know it is disappointing, but don't imagine that I lack for disappointments. It solves the problem of testing a distro boot for me, while letting me run it locally. I can build on it easily enough.

If you apply the series and I do come back to this, I would like to figure out how to make the lab Python files easier to work with.

Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 4 lines

Again, it isn't a strange and unexplained force. It is just a consequence of your decisions here. If you were more flexible, I would have been able to continue as we were.

The only way I could be more flexible here is to apply everything you post without question.

Quoted 7 lines
Quoted 3 lines

That's the part of your thinking which I really struggle with. There is a large amount of space in between that (which as you know I've never even suggested) and what I am looking for.

And I keep struggling with how you don't see it. You want changes that have been rejected for various valid technical reasons to be applied over the objection of the custodian.

That would be great, but I would settle for not blocking my patches, e.g. providing feedback on what to change.

In any case, I thought I was devicetree custodian but my objections were ignored with Linaro patches. Same for bloblist. I started the EFI effort but can't get anything into that subsystem anymore, etc. I'm not complaining, just explaining why we are where we are.

Quoted 8 lines
Quoted 2 lines

The ANSI patch is an example of gratuitous rejection for no useful reason.

It wasn't tho? Heinrich explained in another part of the thread where there is a good spec required reason we're doing the sequences we're doing. You either missed it or forgot it, I don't know which. But it wasn't "gratuitous". It's a tricky part of the spec where we need to come up with some clever solution for the case Michal hits.

No it just seems wrong to me, sorry. Of course we can do those sequences, We just need a way to disable them when we know they are not required. There is no need for a 'clever solution'. Just design it properly. If we carried on like that (emitting random junk and writing loads of work-arounds elsewhere in U-Boot to ignore the junk) the codebase would eventually become a steaming pile of manure.

Quoted 5 lines
Quoted 3 lines

Given the number of emails I'm genuinely surprised at the lack of progress we have made here.

I'm not surprised because I keep having to repeat myself.

You don't have to repeat yourself. It isn't that I can't hear you, it's that I disagree. People can have different opinions on things and still work together on shared goals. But there needs to be give and take.

Really, you could just change your mind on some of these things and it would make a difference.

Quoted 7 lines
Quoted 4 lines

Again, your decisions and position have produced the situation we are in now. Much is in your control. If you are interested in changing anything, even a little, I'm sure it would help.

OK. What's one request you have of me that should be clear and un-objectionable?

I should really leave that to you to decide. Some things that are top of mind are:

a) sunxi, which has blocked all future bootstd migration
b) PXE, blocked on doing lwip work which I am not willing to do until my series is applied
c) ANSI:

https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

Quoted 51 lines
Quoted 42 lines
Quoted 42 lines
Quoted 41 lines
Quoted 29 lines
Quoted 21 lines
Quoted 21 lines
Quoted 20 lines
Quoted 14 lines
Quoted 4 lines

At the moment your CI seems to be flaky as well:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/1038174

[aside, I think you meant to link to the pipeline itself, which also passed, but had some retries]

Funny story. Ilias needed to tweak the fast arm64 hosts and also wanted to explore "What if we have concurrency higher?" and ran in to the problems you also ran in to with respect to git seeing an existing clone in progress and bailing. Followed by the problem of multiple non-trivial jobs running concurrently.

Quoted 3 lines

All of which is why I keep trying to tell you that while "single" and concurrent runners work fine for you on a single user instance it will not scale.

Yes, but I solved that with the patch I sent and it seems to be 100% reliable now.

Quoted 7 lines
Quoted 3 lines

Yes, you eventually solved it with 3 patches, which I asked you to rebase and squash to two patches (because #3 just fixes that #2 wasn't sufficient) and you declined.

In general, why not just be more open to my ideas, even just try it for a year? Given the tools I'm confident I can speed up your CI as well.

Quoted 5 lines

I've never not been open to applying patches to mainline that are against mainline. I am not going to rebase your work for you however. And I think it's terrible for the project as a whole when you post changes against your tree and people expect to be able to review them and then can't because it's against your downstream fork.

I've started mentioning the base commit in patman and I think I'll update it to show the source tree as well. I understand the rebasing is a pain and I am certainly happy to shoulder some of that load. E.g. I can send a PR for each series when you are ready to accept it. If you like. Perhaps we can set a timeline for that (e.g. no comments for a week?)

Quoted 8 lines
Quoted 5 lines

You are subject to the same general timelines as everyone else. When your patches apply to mainline and aren't rejected. Which is "about two weeks" and has been for about 15 years now. Sometimes I will pull things in sooner when they're smaller / clearer, but that typically doesn't apply to your very large series with multiple changes in it.

OK, well again I'm happy to send a PR for things that haven't been rejected for your tree.

Quoted 7 lines

OK. So looking at:
https://patchwork.ozlabs.org/project/uboot/list/?series=&submitter=&state=&q=&archive=&delegate=3184
Right now, there's patches for you lab that need to be rebased to next (and feedback addressed, or set aside the i.MX target for now / make a new thread about the general problem there). A patch from Heinrich. A series from Caleb. The last two certainly, and whatever of the lab stuff applies, could be in a PR for next whenever you're ready.

Looking at it now there is an ACPI series from Heinrich which should go in after my qemu-x86 series. There's another ACPI series from Linaro which looks fine. I've assigned both to you.

Regards,
Simon

#32 lore raw
Quoted 342 lines · Simon Glass

Hi Tom,

Quoted 318 lines · Tom Rini
Quoted 192 lines · Simon Glass

Hi Tom,

Quoted 189 lines · Tom Rini
Quoted 187 lines · Simon Glass

Hi Tom,

Quoted 184 lines · Tom Rini
Quoted 181 lines · Simon Glass

Hi Tom,

Quoted 162 lines · Tom Rini
Quoted 160 lines · Simon Glass

Hi Tom,

Quoted 156 lines · Tom Rini
Quoted 143 lines · Simon Glass

Hi Tom,

Quoted 140 lines · Tom Rini
Quoted 137 lines · Simon Glass

Hi Tom,

On Sat, 22 Feb 2025 at 14:37, Tom Rini <[email protected]> wrote:

On Sat, Feb 22, 2025 at 10:23:59AM -0700, Simon Glass wrote:
Hi Tom,

On Fri, 21 Feb 2025 at 17:08, Tom Rini <[email protected]> wrote:

On Fri, Feb 21, 2025 at 04:42:09PM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 17 Feb 2025 at 07:14, Tom Rini <[email protected]> wrote:

On Mon, Feb 17, 2025 at 06:14:06AM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 14:52, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 12:39:34PM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 09:07, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 07:10:12AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 11:12, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 10:21:16AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 07:41, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees
and the gitlab files are quite different. My CI runs take about 35
mins and it seems that yours is around 90 mins. I would like to reduce
/ remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

I'm sure CI could be quicker still with a number of faster runners. But
if you can't be bothered to make changes against mainline, what is the
point?

If you recall, I was working with your tree and had various ideas to
speed things up, but you didn't like it. So I've had to do it in my
tree. This is not about more runners (although I might have another
one soon). It is about running jobs in parallel.

And I wasn't sure more runners in parallel would help (as it would slow
down the fast runner which is what keeps the long jobs from being even
longer) as much as adding more regular runners would (which we've done)
and noted that in the end it's a configuration on the runner side so to
go ahead. And I reviewed and ack'd the patches here which exposed the
issues your path revealed. I just can't apply them because they need to
be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the
other way from what I have added.

I have a tag called 'single' which means that the machine is only
allowed to one of those jobs. The world-build jobs are marked with
'single'.

For other jobs, I allow the runners to pick up some in parallel
depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on
the same machine. It seems to work fine in practice, although I would
rather be able to make these two types of jobs mutually exclusive, so
that a runner is either running 10 parallel jobs or 1 'single' job,
but not both. I'm not sure how to do that.

So unless I'm missing something, in both cases the bottleneck is that
for world build jobs you don't want anything else going on with the
underlying build host. You could register 10 "all" runners and 1 "fast
amd64" runner (and something similar but smaller for alexandra). If you
update the registrations on source.denx.de can you then shut down your
gitlab instance?

I've put a tag of 'single' on things that should run on the single-job
runner. Everything else can run concurrently, e.g. up to 10 jobs. So I
have two runners on the same host. E.g. tui-single has 'limit = 1',
but 'tui' has no limit and is just governed by the 'concurrent = 10'
at the top of the file.

Yes. And you could move those runners to the mainline gitlab. There is
no "single" tag, that would be the "all" tag. And "tui-single" would be
"fast amd64".

They are still attached to the Denx gitlab. Nothing has changed on my
side. I'm not sure that your new tags are working though. I have a
feeling something broke along the way when you made all your tag
changes. One of my servers makes a bit of noise and I haven't heard it
in quite a while.

There's a few of your runners that are "stale" and haven't contacted
gitlab in a long time. I'll double check the tags tho.

If Denx would like to give me access to their gitlab instances, I'd be
happy to play around and figure out how to get it going as fast as my
tree does, and send a patch.

I'm not sure what you mean by that? The instance itself?

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in
/etc/gitlab-runner/config.toml those aren't relevant here I believe.

No, I mean the tags in CI. If I fiddle with them I can probably come
up with a way to run your CI much faster. Mine is about 35mins.

Quoted 6 lines
Quoted 4 lines

I'm not so sure about that. Yours runs faster because it tests less. Now that we've got some of your other fast runners showing up again, this is more instructive of current times I think:
https://source.denx.de/u-boot/u-boot/-/pipelines/24802

But not this? :

You forgot a link. But presumably to some run yesterday which took longer. And because Ilias was tweaking the currently donated arm64 runners (that have other jobs to run) and also we had two or three custodians at a time preparing trees, things ran slower.

Quoted 7 lines
Quoted 1 line

Maybe, but I don't think so.

No need to "think" about it. You can look at the pipeline history and see what was in queue for how long. And since I needed to be keeping an eye on two of the 3 arm64 runners, I could see when custodians were firing off tests. Aside from the number of pull requests I had waiting that morning.

Your runs are reliably around an hour but mine are reliably just over 30 minutes. I only have three runners.

https://source.denx.de/u-boot/u-boot/-/pipelines
https://sjg.u-boot.org/u-boot/u-boot/-/pipelines

I know you have added a duplicate build on arm64, but I can still speed it up significantly if you'll allow me.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I've never been stopping you.

https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

Indeed. That gets back to what I keep telling you about how to test your CI changes on source.denx.de.

I don't understand your response here.

Well, if we go to the next part..

Quoted 104 lines
Quoted 29 lines
Quoted 29 lines
Quoted 29 lines
Quoted 28 lines
Quoted 19 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 2 lines

If you want to make mainline CI run faster you will need to catch up with the missing coverage or argue that some things are redundant.

Or perhaps I can actually just make it faster without dropping coverage?

Quoted 7 lines
Quoted 4 lines

I mean, I don't know how that's physically possible, outside of adding many more expensive build hosts. We have two-three fast arm64 hosts and that world builds between 30-45 minutes. That's the biggest time bottleneck.

Why did you join those builds up? It is better for throughput to have a few runners working in parallel.

Because I'm not optimizing for the single developer running CI case (or the loads of fast runners case). If we had sufficient resources, yes, the fastest possible way would be 4 "fast arm64" servers and 4 "fast amd64" servers each running if not 25% of the world build, at least 4 easy to make and maintain groupings.

Quoted 7 lines

However, we don't have that many of either. And they also need to be used for the biggest sandbox test suite jobs so that they run in about 5 minutes, not about 10 minutes. So in order to not entirely block other custodians we do a single world build. Because make and buildman are very good about otherwise fully loading the server. Running anything else while that is going on will slow down the world build (and, the other job too).

They're OK (on a fast machine) so long as the 'other' load is not too much.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Things are OK until they aren't, yes. But just make sure you try out some of the worst case (ie more than one pipeline at a time running).

We could collect stats on runs, I suppose. Perhaps it runs a lot when I am asleep.

That's not what your pipeline shows? Or do you mean the runners? Yes, the runners themselves are busy with jobs from source.denx.de.

Mostly the runners seem fairly unloaded, so far as I can tell, but as I say, I don't have monitoring to see what happens at night.

Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
Quoted 9 lines
Quoted 6 lines

Aside, maintaining groupings is a pain. It was very bad with Travis, and it's only moderately painful with Azure where at least the end goal is 10 pipelines for maximum concurrency. And with Azure everyone *can* get their own "project" or whatever the right term is, and utilize 10 runners at once.

Yes, but we can update buildman to handle grouping automatically, as I suggested once.

I'm not sure we want make buildman act like distcc as well here. If we wanted to split the world in two, making it easy to say "arm not armv8" and "not (arm not armv8)" would be good enough.

Quoted 5 lines
Quoted 1 line

OK, yes that would be better as boards would be more sensibly grouped.

I look forward to your results on testing that, then as I can't get that kind of list from buildman today (starting problem, "tools/buildman/buildman --dry-run -v all" is 10 boards).

OK

Quoted 33 lines
Quoted 33 lines
Quoted 32 lines
Quoted 23 lines
Quoted 23 lines
Quoted 5 lines
Quoted 3 lines

The next biggest is that unless sandbox tests are run on a fast host, they take upwards of 10 minutes, rather than 5.

Yes, they are just getting slower and slower.

Adding more tests takes more time. But the real question is which tests take wall clock noticeable time, and why, and if we can do anything about it. My gut feeling is that it's in the disk image related tests and the user space verification of them.

Quoted 11 lines
Quoted 7 lines

But please, rebase your work to next and see what you can do. There is likely some speed-ups possible if we allow for failures to take longer to happen (and don't gate world builds on all of test.py stage completing, just say sandbox). And if you do the work on source.denx.de (as there is *NOTHING* stopping you from registering more runners to your tree and using whatever tagging scheme you like) you might even see more of the time variability due to load from other custodians.

I can't edit the tags on the runners, nor can I adjust them to run untagged jobs, nor can I delete runners I don't want, so no, I believe I need access to do that.

Quoted 5 lines
Quoted 2 lines

You can do all of that with runners specific to u-boot-dm, and you can disable project / group runners yourself too. So yes, you can.

Nope, sorry, I wasn't able to do any of this with the Denx tree as I can't adjust tags and can't delete and recreate runners.

You don't have
https://source.denx.de/u-boot/custodians/u-boot-dm/-/settings/ci_cd#js-runners-settings
visible to you?

Quoted 7 lines
Quoted 1 line

Right. But also note that there are group runners on another page.

And you disable them from the page I mentioned above. If you disable all of the existing project, group and shared runners (which are settings on that page) you will have zero runners available for your tree. You can then add project runners to only your project with whatever tagging scheme you like. You can then test your ideas about how tags would work.

Quoted 4 lines

OK, that sounds like a lot of hassle and you've already rejected my ideas here. Are you saying you are open to a change? I am asking because your last response suggested that my CI was no faster than yours, or that it was only faster because it has less testing.

Once again I am trying to show you how to test your changes on the mainline Gitlab server. Because you said you need your own gitlab (or admin access to the u-boot space) to do this and that's not correct.

Quoted 7 lines

I have rejected your idea because it doesn't seem like it would actually be a win.

I have asked you to prove me wrong by implementing your idea on mainline, on the mainline gitlab server.

You have declined thus far.

I'm not trying to prove anyone wrong, nor am I interested in such an endeavour.

Quoted 10 lines

And I am *always* open to being shown facts that show I was wrong. If you can rework the CI jobs such that mainline is faster, and is still faster or at least no worse with multiple running pipelines, great.

And yes, your tree is testing less things. This is a statement of fact. You are neither running sandbox on arm64 (which exposed important bugs) nor world builds on arm64 (which exposed bugs within the Dockerfile and makes it clearer that buildman is very funky about using a "cross" toolchain for the host processor).

Quoted 7 lines

OK, sure.

Anway, my offer stands and I'm confident I can spend it up, perhaps 80% faster. I need access to the server and the ability to change tags on the server while adding runners, experimenting, etc., obviously without changing existing runners, except that I may need to pause some for a few hours.

I'm so tired of having multiple discussions at the same time. Again, you're just wrong above. You do not need more access to show, or see that you're wrong, about speeding up CI.

Quoted 90 lines
Quoted 81 lines
Quoted 75 lines
Quoted 67 lines
Quoted 59 lines
Quoted 59 lines
Quoted 58 lines
Quoted 48 lines
Quoted 48 lines
Quoted 47 lines
Quoted 39 lines
Quoted 31 lines
Quoted 30 lines

I also have another runner to add.

I'll contact you off-list with the token.

From my side, I have found it helpful and refreshing to have a gitlab
instance which I can control, e.g. it runs in half the time and if my
patches are completely blocked by Linaro, etc., I have an escape
valve.

Yes, and I have no idea what any of that has to do with anything other
than leading to confusion about what tree is or is not mainline. Since
you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

For now I am working with my tree, so that I am not blocked by Linaro,
etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for
your personal tree. That's my big huge "are you forking the project or
what" problem.

I'm just making sure that my work is not blocked or lost, as that has
happened too many times in the past few years.

Again, are you intending to fork the project? Putting your personal tree
in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking
you to stop it.

No, I'm not intending to fork anything. But I need a tree that I can
control and push things into.

Quoted 7 lines

I don't know how you can call your personal tree being at "https://ci.u-boot.org/u-boot/u-boot.git" and saying it's somewhere you control and can push to while not also saying it's a fork. If you want to close down your gitlab and CNAME ci.u-boot.org to source.denx.de, you can still push things to u-boot-dm. Or if that's too constrained of a namespace you can also get a contributors/sjg/ namespace. But what you're doing today WILL lead to confusion.

Quoted 3 lines

I believe I've answered this question before. It is simply that I cannot get certain patches (bloblist, EFI, devicetree) into your tree. There really isn't any other reason.

Yes, that's still not an answer to my question.

Or is the answer to my question "Yes, I'm trying to confuse people to thinking my tree is mainline."

Quoted 6 lines
Quoted 2 lines

No, it's simply that you are not taking some patches in your tree and complaining about the amount of patches.

That's misleading at best. I'm not taking the patches that other custodians have repeatedly rejected and explained why they're rejecting them.

Yes and this has affected my ability to move things forward so much that I've had to set up my own tree. It has been working very well, to have a relief valve.

Quoted 7 lines
Quoted 4 lines

It's been working pretty terrible for the rest of the project as you build on top of things that have been rejected and you're collecting in your own personal downstream fork. Igor's email last night would be the latest example of "I wanted to look at this but where is it?"

You make it sound like it is some strange force from the void that is creating these problems :-)

Quoted 7 lines

No, I'm saying you're making these problems and I wish you would stop.

Quoted 1 line

The EFI-app thing was killed in review, so I picked it up and applied

It was not "killed in review". It was posted once, given feedback and you picked it up for your tree in what felt like a day later but I'm sure was slightly longer than that.

Quoted 5 lines

Just over two weeks, when it seemed to me it was dead. I had emailed Matthew several times asking if he could make time to post his work. Telling him to refactor a load of the EFI_LOADER stuff just to get the app running seems wrong to me. I believe I already explained this at the time.

Quoted 8 lines

Waiting for answers to questions, which then did come along with confusion about the state of the series given that you had applied it somewhere else by then.

On the merits, I'm entirely unsure without digging it all up on if factoring out common code was or was not a reasonable request. I believe there was other feedback on the series as well and it was certainly not a "ready to merge as v1" post.

Quoted 7 lines

It certainly was ready to merge. It works fine, actually and I've been using it ever since. I'm very happy with it and have continued to build on it. My changes when applying were very minor, basically adding an include file to a header.

Having said that, if people hadn't jumped down his throat so hard I would have waited, yes. I think I said that already.

It was absolutely not ready to merge as-is. There was both feedback major and minor. There was technical questions and philosophical questions. I would be *shocked* if the authors expected it to be merged as-is.

Quoted 31 lines
Quoted 27 lines
Quoted 20 lines
Quoted 11 lines
Quoted 8 lines

it and am now building on it (it now supports arm64). I mentioned before that I found that whole review process embarrassing (if not mortifying) and it made me realise that I shouldn't tolerate it either. Matthew Garrett is the sort of engineer that people should *welcome* to the project. Yes, Heinrich and Ilias had some useful feedback which I will get to at some point, but it works. Perhaps I'll get into it when Linaro gets the lwip network tests running with sandbox :-)

You know what, I'd really love feedback from Matthew about that.

Quoted 8 lines
Quoted 3 lines

The next step is to get it running in qemu with my lab...but you rejected that too I think? So it won't be in your tree unless you change your mind on that.

Did I reject making labgrid a requirement for tests? Yes, I did. Did I explain why and offer alternatives? I also did. Does there seem to be any reason this next test of yours would require labgrid? No, there does not.

Quoted 6 lines

We can't 'require' Labgrid. There are too many loose strawmans being thrown around here. But I want to use it in my lab and I want a test which boots Ubuntu etc. in my lab using Labgrid. I explained that I want to be able to interactively run the target ('ub-int qemu-86') as well as run pytests ('ub-pyt qemu-x86 pxe') and in gitlab CI. That all works today and all you need to do is not reject the patch.

Quoted 3 lines

And I found it both hugely disappointing that you wrote something so specific to your lab and non-replicable elsewhere and also "yes and" to the patch. Perhaps that got missed along the way.

Quoted 6 lines

I know it is disappointing, but don't imagine that I lack for disappointments. It solves the problem of testing a distro boot for me, while letting me run it locally. I can build on it easily enough.

If you apply the series and I do come back to this, I would like to figure out how to make the lab Python files easier to work with.

I already said a number of times that I would apply it, in time, if against upstream. If you did your part, I will do mine.

Quoted 15 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines

Again, it isn't a strange and unexplained force. It is just a consequence of your decisions here. If you were more flexible, I would have been able to continue as we were.

The only way I could be more flexible here is to apply everything you post without question.

Quoted 7 lines
Quoted 3 lines

That's the part of your thinking which I really struggle with. There is a large amount of space in between that (which as you know I've never even suggested) and what I am looking for.

And I keep struggling with how you don't see it. You want changes that have been rejected for various valid technical reasons to be applied over the objection of the custodian.

Quoted 7 lines

That would be great, but I would settle for not blocking my patches, e.g. providing feedback on what to change.

In any case, I thought I was devicetree custodian but my objections were ignored with Linaro patches. Same for bloblist. I started the EFI effort but can't get anything into that subsystem anymore, etc. I'm not complaining, just explaining why we are where we are.

Yes, I've overruled you when you've had things wrong. If you want the final say on stuff, please just go fork the project. We will survive.

Quoted 8 lines
Quoted 7 lines
Quoted 1 line

The ANSI patch is an example of gratuitous rejection for no useful reason.

It wasn't tho? Heinrich explained in another part of the thread where there is a good spec required reason we're doing the sequences we're doing. You either missed it or forgot it, I don't know which. But it wasn't "gratuitous". It's a tricky part of the spec where we need to come up with some clever solution for the case Michal hits.

Quoted 6 lines

No it just seems wrong to me, sorry. Of course we can do those sequences, We just need a way to disable them when we know they are not required. There is no need for a 'clever solution'. Just design it properly. If we carried on like that (emitting random junk and writing loads of work-arounds elsewhere in U-Boot to ignore the junk) the codebase would eventually become a steaming pile of manure.

Again, it looks like you're ignoring the facts in favor of your opinions.

Quoted 9 lines
Quoted 4 lines
Quoted 2 lines

Given the number of emails I'm genuinely surprised at the lack of progress we have made here.

I'm not surprised because I keep having to repeat myself.

You don't have to repeat yourself. It isn't that I can't hear you, it's that I disagree. People can have different opinions on things and still work together on shared goals. But there needs to be give and take.

There has been give and take. And you may leave, if you can't accept No.

Quoted 2 lines

Really, you could just change your mind on some of these things and it would make a difference.

I'll re-evaluate things, sure. But I won't just change my mind when you're wrong.

Quoted 11 lines
Quoted 6 lines
Quoted 3 lines

Again, your decisions and position have produced the situation we are in now. Much is in your control. If you are interested in changing anything, even a little, I'm sure it would help.

OK. What's one request you have of me that should be clear and un-objectionable?

I should really leave that to you to decide. Some things that are top of mind are:

a) sunxi, which has blocked all future bootstd migration

Hard no. See my detailed explanation already.

Quoted 2 lines

b) PXE, blocked on doing lwip work which I am not willing to do until my series is applied

Then you can wait for Jerome to have time? It looks like he started on part of that recently.

Quoted 3 lines

c) ANSI:

https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

Hard no. The custodian has already explained that it's done for a reason and not on a whim. Whatever solution Heinrich is happy with to the actual problem Michal reported is what we'll go with.

Quoted 58 lines
Quoted 50 lines
Quoted 41 lines
Quoted 41 lines
Quoted 40 lines
Quoted 28 lines
Quoted 20 lines
Quoted 20 lines
Quoted 19 lines
Quoted 13 lines
Quoted 3 lines

At the moment your CI seems to be flaky as well:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/1038174

[aside, I think you meant to link to the pipeline itself, which also passed, but had some retries]

Funny story. Ilias needed to tweak the fast arm64 hosts and also wanted to explore "What if we have concurrency higher?" and ran in to the problems you also ran in to with respect to git seeing an existing clone in progress and bailing. Followed by the problem of multiple non-trivial jobs running concurrently.

Quoted 3 lines

All of which is why I keep trying to tell you that while "single" and concurrent runners work fine for you on a single user instance it will not scale.

Yes, but I solved that with the patch I sent and it seems to be 100% reliable now.

Quoted 7 lines
Quoted 3 lines

Yes, you eventually solved it with 3 patches, which I asked you to rebase and squash to two patches (because #3 just fixes that #2 wasn't sufficient) and you declined.

In general, why not just be more open to my ideas, even just try it for a year? Given the tools I'm confident I can speed up your CI as well.

Quoted 5 lines

I've never not been open to applying patches to mainline that are against mainline. I am not going to rebase your work for you however. And I think it's terrible for the project as a whole when you post changes against your tree and people expect to be able to review them and then can't because it's against your downstream fork.

I've started mentioning the base commit in patman and I think I'll update it to show the source tree as well. I understand the rebasing is a pain and I am certainly happy to shoulder some of that load. E.g. I can send a PR for each series when you are ready to accept it. If you like. Perhaps we can set a timeline for that (e.g. no comments for a week?)

Quoted 8 lines
Quoted 5 lines

You are subject to the same general timelines as everyone else. When your patches apply to mainline and aren't rejected. Which is "about two weeks" and has been for about 15 years now. Sometimes I will pull things in sooner when they're smaller / clearer, but that typically doesn't apply to your very large series with multiple changes in it.

OK, well again I'm happy to send a PR for things that haven't been rejected for your tree.

Quoted 7 lines

OK. So looking at:
https://patchwork.ozlabs.org/project/uboot/list/?series=&submitter=&state=&q=&archive=&delegate=3184
Right now, there's patches for you lab that need to be rebased to next (and feedback addressed, or set aside the i.MX target for now / make a new thread about the general problem there). A patch from Heinrich. A series from Caleb. The last two certainly, and whatever of the lab stuff applies, could be in a PR for next whenever you're ready.

Quoted 3 lines

Looking at it now there is an ACPI series from Heinrich which should go in after my qemu-x86 series. There's another ACPI series from Linaro which looks fine. I've assigned both to you.

And this is why I don't think you want to work in mainline anyhow.

Signature · 1 line
Tom
#33 lore raw

Hi Tom,

Quoted 352 lines · Tom Rini
Quoted 342 lines · Simon Glass

Hi Tom,

Quoted 318 lines · Tom Rini
Quoted 192 lines · Simon Glass

Hi Tom,

Quoted 189 lines · Tom Rini
Quoted 187 lines · Simon Glass

Hi Tom,

Quoted 184 lines · Tom Rini
Quoted 181 lines · Simon Glass

Hi Tom,

Quoted 162 lines · Tom Rini
Quoted 160 lines · Simon Glass

Hi Tom,

Quoted 156 lines · Tom Rini
Quoted 143 lines · Simon Glass

Hi Tom,

Quoted 140 lines · Tom Rini

On Sat, Feb 22, 2025 at 05:24:05PM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 22 Feb 2025 at 14:37, Tom Rini <[email protected]> wrote:

On Sat, Feb 22, 2025 at 10:23:59AM -0700, Simon Glass wrote:
Hi Tom,

On Fri, 21 Feb 2025 at 17:08, Tom Rini <[email protected]> wrote:

On Fri, Feb 21, 2025 at 04:42:09PM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 17 Feb 2025 at 07:14, Tom Rini <[email protected]> wrote:

On Mon, Feb 17, 2025 at 06:14:06AM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 14:52, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 12:39:34PM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 09:07, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 07:10:12AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 11:12, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 10:21:16AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 07:41, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees
and the gitlab files are quite different. My CI runs take about 35
mins and it seems that yours is around 90 mins. I would like to reduce
/ remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

I'm sure CI could be quicker still with a number of faster runners. But
if you can't be bothered to make changes against mainline, what is the
point?

If you recall, I was working with your tree and had various ideas to
speed things up, but you didn't like it. So I've had to do it in my
tree. This is not about more runners (although I might have another
one soon). It is about running jobs in parallel.

And I wasn't sure more runners in parallel would help (as it would slow
down the fast runner which is what keeps the long jobs from being even
longer) as much as adding more regular runners would (which we've done)
and noted that in the end it's a configuration on the runner side so to
go ahead. And I reviewed and ack'd the patches here which exposed the
issues your path revealed. I just can't apply them because they need to
be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the
other way from what I have added.

I have a tag called 'single' which means that the machine is only
allowed to one of those jobs. The world-build jobs are marked with
'single'.

For other jobs, I allow the runners to pick up some in parallel
depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on
the same machine. It seems to work fine in practice, although I would
rather be able to make these two types of jobs mutually exclusive, so
that a runner is either running 10 parallel jobs or 1 'single' job,
but not both. I'm not sure how to do that.

So unless I'm missing something, in both cases the bottleneck is that
for world build jobs you don't want anything else going on with the
underlying build host. You could register 10 "all" runners and 1 "fast
amd64" runner (and something similar but smaller for alexandra). If you
update the registrations on source.denx.de can you then shut down your
gitlab instance?

I've put a tag of 'single' on things that should run on the single-job
runner. Everything else can run concurrently, e.g. up to 10 jobs. So I
have two runners on the same host. E.g. tui-single has 'limit = 1',
but 'tui' has no limit and is just governed by the 'concurrent = 10'
at the top of the file.

Yes. And you could move those runners to the mainline gitlab. There is
no "single" tag, that would be the "all" tag. And "tui-single" would be
"fast amd64".

They are still attached to the Denx gitlab. Nothing has changed on my
side. I'm not sure that your new tags are working though. I have a
feeling something broke along the way when you made all your tag
changes. One of my servers makes a bit of noise and I haven't heard it
in quite a while.

There's a few of your runners that are "stale" and haven't contacted
gitlab in a long time. I'll double check the tags tho.

If Denx would like to give me access to their gitlab instances, I'd be
happy to play around and figure out how to get it going as fast as my
tree does, and send a patch.

I'm not sure what you mean by that? The instance itself?

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in
/etc/gitlab-runner/config.toml those aren't relevant here I believe.

No, I mean the tags in CI. If I fiddle with them I can probably come
up with a way to run your CI much faster. Mine is about 35mins.

Quoted 6 lines
Quoted 4 lines

I'm not so sure about that. Yours runs faster because it tests less. Now
that we've got some of your other fast runners showing up again, this is
more instructive of current times I think:
https://source.denx.de/u-boot/u-boot/-/pipelines/24802

But not this? :

You forgot a link. But presumably to some run yesterday which took longer. And because Ilias was tweaking the currently donated arm64 runners (that have other jobs to run) and also we had two or three custodians at a time preparing trees, things ran slower.

Quoted 7 lines
Quoted 1 line

Maybe, but I don't think so.

No need to "think" about it. You can look at the pipeline history and see what was in queue for how long. And since I needed to be keeping an eye on two of the 3 arm64 runners, I could see when custodians were firing off tests. Aside from the number of pull requests I had waiting that morning.

Your runs are reliably around an hour but mine are reliably just over 30 minutes. I only have three runners.

https://source.denx.de/u-boot/u-boot/-/pipelines
https://sjg.u-boot.org/u-boot/u-boot/-/pipelines

I know you have added a duplicate build on arm64, but I can still speed it up significantly if you'll allow me.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I've never been stopping you.

https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

Indeed. That gets back to what I keep telling you about how to test your CI changes on source.denx.de.

I don't understand your response here.

Well, if we go to the next part..

Quoted 104 lines
Quoted 29 lines
Quoted 29 lines
Quoted 29 lines
Quoted 28 lines
Quoted 19 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 2 lines

If you want to make mainline CI run faster you will need to catch up
with the missing coverage or argue that some things are redundant.

Or perhaps I can actually just make it faster without dropping coverage?

Quoted 7 lines
Quoted 4 lines

I mean, I don't know how that's physically possible, outside of adding many more expensive build hosts. We have two-three fast arm64 hosts and that world builds between 30-45 minutes. That's the biggest time bottleneck.

Why did you join those builds up? It is better for throughput to have a few runners working in parallel.

Because I'm not optimizing for the single developer running CI case (or the loads of fast runners case). If we had sufficient resources, yes, the fastest possible way would be 4 "fast arm64" servers and 4 "fast amd64" servers each running if not 25% of the world build, at least 4 easy to make and maintain groupings.

Quoted 7 lines

However, we don't have that many of either. And they also need to be used for the biggest sandbox test suite jobs so that they run in about 5 minutes, not about 10 minutes. So in order to not entirely block other custodians we do a single world build. Because make and buildman are very good about otherwise fully loading the server. Running anything else while that is going on will slow down the world build (and, the other job too).

They're OK (on a fast machine) so long as the 'other' load is not too much.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Things are OK until they aren't, yes. But just make sure you try out some of the worst case (ie more than one pipeline at a time running).

We could collect stats on runs, I suppose. Perhaps it runs a lot when I am asleep.

That's not what your pipeline shows? Or do you mean the runners? Yes, the runners themselves are busy with jobs from source.denx.de.

Mostly the runners seem fairly unloaded, so far as I can tell, but as I say, I don't have monitoring to see what happens at night.

Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
Quoted 9 lines
Quoted 6 lines

Aside, maintaining groupings is a pain. It was very bad with Travis, and it's only moderately painful with Azure where at least the end goal is 10 pipelines for maximum concurrency. And with Azure everyone *can* get their own "project" or whatever the right term is, and utilize 10 runners at once.

Yes, but we can update buildman to handle grouping automatically, as I suggested once.

I'm not sure we want make buildman act like distcc as well here. If we wanted to split the world in two, making it easy to say "arm not armv8" and "not (arm not armv8)" would be good enough.

Quoted 5 lines
Quoted 1 line

OK, yes that would be better as boards would be more sensibly grouped.

I look forward to your results on testing that, then as I can't get that kind of list from buildman today (starting problem, "tools/buildman/buildman --dry-run -v all" is 10 boards).

OK

Quoted 33 lines
Quoted 33 lines
Quoted 32 lines
Quoted 23 lines
Quoted 23 lines
Quoted 5 lines
Quoted 3 lines

The next biggest is that unless sandbox tests are run on a fast host, they take upwards of 10 minutes, rather than 5.

Yes, they are just getting slower and slower.

Adding more tests takes more time. But the real question is which tests take wall clock noticeable time, and why, and if we can do anything about it. My gut feeling is that it's in the disk image related tests and the user space verification of them.

Quoted 11 lines
Quoted 7 lines

But please, rebase your work to next and see what you can do. There is likely some speed-ups possible if we allow for failures to take longer to happen (and don't gate world builds on all of test.py stage completing, just say sandbox). And if you do the work on source.denx.de (as there is *NOTHING* stopping you from registering more runners to your tree and using whatever tagging scheme you like) you might even see more of the time variability due to load from other custodians.

I can't edit the tags on the runners, nor can I adjust them to run untagged jobs, nor can I delete runners I don't want, so no, I believe I need access to do that.

Quoted 5 lines
Quoted 2 lines

You can do all of that with runners specific to u-boot-dm, and you can disable project / group runners yourself too. So yes, you can.

Nope, sorry, I wasn't able to do any of this with the Denx tree as I can't adjust tags and can't delete and recreate runners.

You don't have
https://source.denx.de/u-boot/custodians/u-boot-dm/-/settings/ci_cd#js-runners-settings
visible to you?

Quoted 7 lines
Quoted 1 line

Right. But also note that there are group runners on another page.

And you disable them from the page I mentioned above. If you disable all of the existing project, group and shared runners (which are settings on that page) you will have zero runners available for your tree. You can then add project runners to only your project with whatever tagging scheme you like. You can then test your ideas about how tags would work.

Quoted 4 lines

OK, that sounds like a lot of hassle and you've already rejected my ideas here. Are you saying you are open to a change? I am asking because your last response suggested that my CI was no faster than yours, or that it was only faster because it has less testing.

Once again I am trying to show you how to test your changes on the mainline Gitlab server. Because you said you need your own gitlab (or admin access to the u-boot space) to do this and that's not correct.

Quoted 7 lines

I have rejected your idea because it doesn't seem like it would actually be a win.

I have asked you to prove me wrong by implementing your idea on mainline, on the mainline gitlab server.

You have declined thus far.

I'm not trying to prove anyone wrong, nor am I interested in such an endeavour.

Quoted 10 lines

And I am *always* open to being shown facts that show I was wrong. If you can rework the CI jobs such that mainline is faster, and is still faster or at least no worse with multiple running pipelines, great.

And yes, your tree is testing less things. This is a statement of fact. You are neither running sandbox on arm64 (which exposed important bugs) nor world builds on arm64 (which exposed bugs within the Dockerfile and makes it clearer that buildman is very funky about using a "cross" toolchain for the host processor).

Quoted 7 lines

OK, sure.

Anway, my offer stands and I'm confident I can spend it up, perhaps 80% faster. I need access to the server and the ability to change tags on the server while adding runners, experimenting, etc., obviously without changing existing runners, except that I may need to pause some for a few hours.

Quoted 3 lines

I'm so tired of having multiple discussions at the same time. Again, you're just wrong above. You do not need more access to show, or see that you're wrong, about speeding up CI.

Perhaps you are right and I can fiddle around with local runners. But I am reluctant to invest time in experimenting with things like that, since it then requires a lot more work to actually get it applied for real.

I rarely use your CI so I don't mind. I was just suggesting that if I could make yours operate at the same speed as mine, then we could avoid the delta in that part of the project.

Quoted 96 lines
Quoted 96 lines
Quoted 82 lines
Quoted 76 lines
Quoted 68 lines
Quoted 60 lines
Quoted 60 lines
Quoted 59 lines
Quoted 49 lines
Quoted 49 lines
Quoted 48 lines
Quoted 40 lines
Quoted 39 lines

I also have another runner to add.

I'll contact you off-list with the token.

From my side, I have found it helpful and refreshing to have a gitlab
instance which I can control, e.g. it runs in half the time and if my
patches are completely blocked by Linaro, etc., I have an escape
valve.

Yes, and I have no idea what any of that has to do with anything other
than leading to confusion about what tree is or is not mainline. Since
you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

For now I am working with my tree, so that I am not blocked by Linaro,
etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for
your personal tree. That's my big huge "are you forking the project or
what" problem.

I'm just making sure that my work is not blocked or lost, as that has
happened too many times in the past few years.

Again, are you intending to fork the project? Putting your personal tree
in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking
you to stop it.

No, I'm not intending to fork anything. But I need a tree that I can
control and push things into.

I don't know how you can call your personal tree being at
"https://ci.u-boot.org/u-boot/u-boot.git" and saying it's somewhere you
control and can push to while not also saying it's a fork. If you want
to close down your gitlab and CNAME ci.u-boot.org to source.denx.de, you
can still push things to u-boot-dm. Or if that's too constrained of a
namespace you can also get a contributors/sjg/ namespace. But what
you're doing today WILL lead to confusion.

Quoted 3 lines

I believe I've answered this question before. It is simply that I cannot get certain patches (bloblist, EFI, devicetree) into your tree. There really isn't any other reason.

Yes, that's still not an answer to my question.

Or is the answer to my question "Yes, I'm trying to confuse people to thinking my tree is mainline."

Quoted 6 lines
Quoted 2 lines

No, it's simply that you are not taking some patches in your tree and complaining about the amount of patches.

That's misleading at best. I'm not taking the patches that other custodians have repeatedly rejected and explained why they're rejecting them.

Yes and this has affected my ability to move things forward so much that I've had to set up my own tree. It has been working very well, to have a relief valve.

Quoted 7 lines
Quoted 4 lines

It's been working pretty terrible for the rest of the project as you build on top of things that have been rejected and you're collecting in your own personal downstream fork. Igor's email last night would be the latest example of "I wanted to look at this but where is it?"

You make it sound like it is some strange force from the void that is creating these problems :-)

Quoted 7 lines

No, I'm saying you're making these problems and I wish you would stop.

Quoted 1 line

The EFI-app thing was killed in review, so I picked it up and applied

It was not "killed in review". It was posted once, given feedback and you picked it up for your tree in what felt like a day later but I'm sure was slightly longer than that.

Quoted 5 lines

Just over two weeks, when it seemed to me it was dead. I had emailed Matthew several times asking if he could make time to post his work. Telling him to refactor a load of the EFI_LOADER stuff just to get the app running seems wrong to me. I believe I already explained this at the time.

Quoted 8 lines

Waiting for answers to questions, which then did come along with confusion about the state of the series given that you had applied it somewhere else by then.

On the merits, I'm entirely unsure without digging it all up on if factoring out common code was or was not a reasonable request. I believe there was other feedback on the series as well and it was certainly not a "ready to merge as v1" post.

It certainly was ready to merge. It works fine, actually and I've been using it ever since. I'm very happy with it and have continued to build on it. My changes when applying were very minor, basically adding an include file to a header.

Quoted 7 lines
Quoted 2 lines

Having said that, if people hadn't jumped down his throat so hard I would have waited, yes. I think I said that already.

It was absolutely not ready to merge as-is. There was both feedback major and minor. There was technical questions and philosophical questions. I would be *shocked* if the authors expected it to be merged as-is.

OK, sorry I don't agree.

Quoted 36 lines
Quoted 36 lines
Quoted 28 lines
Quoted 21 lines
Quoted 12 lines
Quoted 9 lines

it and am now building on it (it now supports arm64). I mentioned before that I found that whole review process embarrassing (if not mortifying) and it made me realise that I shouldn't tolerate it either. Matthew Garrett is the sort of engineer that people should *welcome* to the project. Yes, Heinrich and Ilias had some useful feedback which I will get to at some point, but it works. Perhaps I'll get into it when Linaro gets the lwip network tests running with sandbox :-)

You know what, I'd really love feedback from Matthew about that.

Quoted 8 lines
Quoted 3 lines

The next step is to get it running in qemu with my lab...but you rejected that too I think? So it won't be in your tree unless you change your mind on that.

Did I reject making labgrid a requirement for tests? Yes, I did. Did I explain why and offer alternatives? I also did. Does there seem to be any reason this next test of yours would require labgrid? No, there does not.

Quoted 6 lines

We can't 'require' Labgrid. There are too many loose strawmans being thrown around here. But I want to use it in my lab and I want a test which boots Ubuntu etc. in my lab using Labgrid. I explained that I want to be able to interactively run the target ('ub-int qemu-86') as well as run pytests ('ub-pyt qemu-x86 pxe') and in gitlab CI. That all works today and all you need to do is not reject the patch.

Quoted 3 lines

And I found it both hugely disappointing that you wrote something so specific to your lab and non-replicable elsewhere and also "yes and" to the patch. Perhaps that got missed along the way.

I know it is disappointing, but don't imagine that I lack for disappointments. It solves the problem of testing a distro boot for me, while letting me run it locally. I can build on it easily enough.

Quoted 5 lines
Quoted 2 lines

If you apply the series and I do come back to this, I would like to figure out how to make the lab Python files easier to work with.

I already said a number of times that I would apply it, in time, if against upstream. If you did your part, I will do mine.

OK.

Quoted 42 lines
Quoted 16 lines
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 4 lines

Again, it isn't a strange and unexplained force. It is just a consequence of your decisions here. If you were more flexible, I would have been able to continue as we were.

The only way I could be more flexible here is to apply everything you post without question.

Quoted 7 lines
Quoted 3 lines

That's the part of your thinking which I really struggle with. There is a large amount of space in between that (which as you know I've never even suggested) and what I am looking for.

And I keep struggling with how you don't see it. You want changes that have been rejected for various valid technical reasons to be applied over the objection of the custodian.

Quoted 7 lines

That would be great, but I would settle for not blocking my patches, e.g. providing feedback on what to change.

In any case, I thought I was devicetree custodian but my objections were ignored with Linaro patches. Same for bloblist. I started the EFI effort but can't get anything into that subsystem anymore, etc. I'm not complaining, just explaining why we are where we are.

Yes, I've overruled you when you've had things wrong. If you want the final say on stuff, please just go fork the project. We will survive.

Quoted 8 lines
Quoted 7 lines
Quoted 1 line

The ANSI patch is an example of gratuitous rejection for no useful reason.

It wasn't tho? Heinrich explained in another part of the thread where there is a good spec required reason we're doing the sequences we're doing. You either missed it or forgot it, I don't know which. But it wasn't "gratuitous". It's a tricky part of the spec where we need to come up with some clever solution for the case Michal hits.

Quoted 6 lines

No it just seems wrong to me, sorry. Of course we can do those sequences, We just need a way to disable them when we know they are not required. There is no need for a 'clever solution'. Just design it properly. If we carried on like that (emitting random junk and writing loads of work-arounds elsewhere in U-Boot to ignore the junk) the codebase would eventually become a steaming pile of manure.

Quoted 2 lines

Again, it looks like you're ignoring the facts in favor of your opinions.

Or it could be that I'm right? It has happened before, sometimes.

Quoted 26 lines
Quoted 10 lines
Quoted 5 lines
Quoted 3 lines

Given the number of emails I'm genuinely surprised at the lack of progress we have made here.

I'm not surprised because I keep having to repeat myself.

You don't have to repeat yourself. It isn't that I can't hear you, it's that I disagree. People can have different opinions on things and still work together on shared goals. But there needs to be give and take.

There has been give and take. And you may leave, if you can't accept No.

Quoted 2 lines

Really, you could just change your mind on some of these things and it would make a difference.

I'll re-evaluate things, sure. But I won't just change my mind when you're wrong.

Quoted 7 lines
Quoted 6 lines
Quoted 3 lines

Again, your decisions and position have produced the situation we are in now. Much is in your control. If you are interested in changing anything, even a little, I'm sure it would help.

OK. What's one request you have of me that should be clear and un-objectionable?

Quoted 6 lines
Quoted 4 lines

I should really leave that to you to decide. Some things that are top of mind are:

a) sunxi, which has blocked all future bootstd migration

Hard no. See my detailed explanation already.

OK.

Quoted 6 lines
Quoted 3 lines

b) PXE, blocked on doing lwip work which I am not willing to do until my series is applied

Then you can wait for Jerome to have time? It looks like he started on part of that recently.

OK.

Quoted 8 lines
Quoted 4 lines

c) ANSI:

https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

Hard no. The custodian has already explained that it's done for a reason and not on a whim. Whatever solution Heinrich is happy with to the actual problem Michal reported is what we'll go with.

OK.

If there is any small thing in which you would be willing to be flexible, it would be good to hear it.

Quoted 58 lines
Quoted 58 lines
Quoted 57 lines
Quoted 41 lines
Quoted 41 lines
Quoted 40 lines
Quoted 28 lines
Quoted 20 lines
Quoted 20 lines
Quoted 19 lines
Quoted 13 lines
Quoted 3 lines

At the moment your CI seems to be flaky as well:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/1038174

[aside, I think you meant to link to the pipeline itself, which also passed, but had some retries]

Funny story. Ilias needed to tweak the fast arm64 hosts and also wanted to explore "What if we have concurrency higher?" and ran in to the problems you also ran in to with respect to git seeing an existing clone in progress and bailing. Followed by the problem of multiple non-trivial jobs running concurrently.

Quoted 3 lines

All of which is why I keep trying to tell you that while "single" and concurrent runners work fine for you on a single user instance it will not scale.

Yes, but I solved that with the patch I sent and it seems to be 100% reliable now.

Quoted 7 lines
Quoted 3 lines

Yes, you eventually solved it with 3 patches, which I asked you to rebase and squash to two patches (because #3 just fixes that #2 wasn't sufficient) and you declined.

In general, why not just be more open to my ideas, even just try it for a year? Given the tools I'm confident I can speed up your CI as well.

Quoted 5 lines

I've never not been open to applying patches to mainline that are against mainline. I am not going to rebase your work for you however. And I think it's terrible for the project as a whole when you post changes against your tree and people expect to be able to review them and then can't because it's against your downstream fork.

I've started mentioning the base commit in patman and I think I'll update it to show the source tree as well. I understand the rebasing is a pain and I am certainly happy to shoulder some of that load. E.g. I can send a PR for each series when you are ready to accept it. If you like. Perhaps we can set a timeline for that (e.g. no comments for a week?)

Quoted 8 lines
Quoted 5 lines

You are subject to the same general timelines as everyone else. When your patches apply to mainline and aren't rejected. Which is "about two weeks" and has been for about 15 years now. Sometimes I will pull things in sooner when they're smaller / clearer, but that typically doesn't apply to your very large series with multiple changes in it.

OK, well again I'm happy to send a PR for things that haven't been rejected for your tree.

OK. So looking at:
https://patchwork.ozlabs.org/project/uboot/list/?series=&submitter=&state=&q=&archive=&delegate=3184
Right now, there's patches for you lab that need to be rebased to next (and feedback addressed, or set aside the i.MX target for now / make a new thread about the general problem there). A patch from Heinrich. A series from Caleb. The last two certainly, and whatever of the lab stuff applies, could be in a PR for next whenever you're ready.

Quoted 5 lines
Quoted 3 lines

Looking at it now there is an ACPI series from Heinrich which should go in after my qemu-x86 series. There's another ACPI series from Linaro which looks fine. I've assigned both to you.

And this is why I don't think you want to work in mainline anyhow.

It's not for want of trying, believe me.

I think this thread can be parked as it has come to a logical end.

Regards,
Simon

#34 lore raw
Quoted 359 lines · Simon Glass

Hi Tom,

Quoted 352 lines · Tom Rini
Quoted 342 lines · Simon Glass

Hi Tom,

Quoted 318 lines · Tom Rini
Quoted 192 lines · Simon Glass

Hi Tom,

Quoted 189 lines · Tom Rini
Quoted 187 lines · Simon Glass

Hi Tom,

Quoted 184 lines · Tom Rini
Quoted 181 lines · Simon Glass

Hi Tom,

Quoted 162 lines · Tom Rini
Quoted 160 lines · Simon Glass

Hi Tom,

Quoted 156 lines · Tom Rini
Quoted 149 lines · Simon Glass

Hi Tom,

On Mon, 24 Feb 2025 at 16:14, Tom Rini <[email protected]> wrote:

On Sat, Feb 22, 2025 at 05:24:05PM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 22 Feb 2025 at 14:37, Tom Rini <[email protected]> wrote:

On Sat, Feb 22, 2025 at 10:23:59AM -0700, Simon Glass wrote:
Hi Tom,

On Fri, 21 Feb 2025 at 17:08, Tom Rini <[email protected]> wrote:

On Fri, Feb 21, 2025 at 04:42:09PM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 17 Feb 2025 at 07:14, Tom Rini <[email protected]> wrote:

On Mon, Feb 17, 2025 at 06:14:06AM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 14:52, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 12:39:34PM -0700, Simon Glass wrote:
Hi Tom,

On Sun, 16 Feb 2025 at 09:07, Tom Rini <[email protected]> wrote:

On Sun, Feb 16, 2025 at 07:10:12AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 11:12, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 10:21:16AM -0700, Simon Glass wrote:
Hi Tom,

On Sat, 15 Feb 2025 at 07:41, Tom Rini <[email protected]> wrote:

On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote:
Hi Tom,

On Mon, 10 Feb 2025 at 09:25, Tom Rini <[email protected]> wrote:

On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote:

This is a global default, so put it under 'default' like the tags.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>

Please make v4 include the way you redid the second patch and be on top
of mainline, thanks.

That's enough versions for me, so I'll let you do that, if you'd like.
It probably doesn't affect your tree as not as much is done in
parallel.

I am disappointed.

I'm sorry to disappoint you.

The background is that I looked at the difference between our trees
and the gitlab files are quite different. My CI runs take about 35
mins and it seems that yours is around 90 mins. I would like to reduce
/ remove the delta (for time and patch diff), but I'm not sure how.

My goal is to get CI runs to below 20 minutes, best case.

I'm sure CI could be quicker still with a number of faster runners. But
if you can't be bothered to make changes against mainline, what is the
point?

If you recall, I was working with your tree and had various ideas to
speed things up, but you didn't like it. So I've had to do it in my
tree. This is not about more runners (although I might have another
one soon). It is about running jobs in parallel.

And I wasn't sure more runners in parallel would help (as it would slow
down the fast runner which is what keeps the long jobs from being even
longer) as much as adding more regular runners would (which we've done)
and noted that in the end it's a configuration on the runner side so to
go ahead. And I reviewed and ack'd the patches here which exposed the
issues your path revealed. I just can't apply them because they need to
be rebased (and squashed).

You have already added tags for things, but (IIUC) they are around the
other way from what I have added.

I have a tag called 'single' which means that the machine is only
allowed to one of those jobs. The world-build jobs are marked with
'single'.

For other jobs, I allow the runners to pick up some in parallel
depending on their performance (for moa and tui that is 10).

So at most, there is a 'world build' and 10 test.py jobs running on
the same machine. It seems to work fine in practice, although I would
rather be able to make these two types of jobs mutually exclusive, so
that a runner is either running 10 parallel jobs or 1 'single' job,
but not both. I'm not sure how to do that.

So unless I'm missing something, in both cases the bottleneck is that
for world build jobs you don't want anything else going on with the
underlying build host. You could register 10 "all" runners and 1 "fast
amd64" runner (and something similar but smaller for alexandra). If you
update the registrations on source.denx.de can you then shut down your
gitlab instance?

I've put a tag of 'single' on things that should run on the single-job
runner. Everything else can run concurrently, e.g. up to 10 jobs. So I
have two runners on the same host. E.g. tui-single has 'limit = 1',
but 'tui' has no limit and is just governed by the 'concurrent = 10'
at the top of the file.

Yes. And you could move those runners to the mainline gitlab. There is
no "single" tag, that would be the "all" tag. And "tui-single" would be
"fast amd64".

They are still attached to the Denx gitlab. Nothing has changed on my
side. I'm not sure that your new tags are working though. I have a
feeling something broke along the way when you made all your tag
changes. One of my servers makes a bit of noise and I haven't heard it
in quite a while.

There's a few of your runners that are "stale" and haven't contacted
gitlab in a long time. I'll double check the tags tho.

If Denx would like to give me access to their gitlab instances, I'd be
happy to play around and figure out how to get it going as fast as my
tree does, and send a patch.

I'm not sure what you mean by that? The instance itself?

Yes. I can fiddle with tags on my runners and try to figure it out.

I'm not sure what you're getting at here. If you mean "tags" in
/etc/gitlab-runner/config.toml those aren't relevant here I believe.

No, I mean the tags in CI. If I fiddle with them I can probably come
up with a way to run your CI much faster. Mine is about 35mins.

I'm not so sure about that. Yours runs faster because it tests less. Now
that we've got some of your other fast runners showing up again, this is
more instructive of current times I think:
https://source.denx.de/u-boot/u-boot/-/pipelines/24802

But not this? :

You forgot a link. But presumably to some run yesterday which took longer. And because Ilias was tweaking the currently donated arm64 runners (that have other jobs to run) and also we had two or three custodians at a time preparing trees, things ran slower.

Quoted 7 lines
Quoted 1 line

Maybe, but I don't think so.

No need to "think" about it. You can look at the pipeline history and see what was in queue for how long. And since I needed to be keeping an eye on two of the 3 arm64 runners, I could see when custodians were firing off tests. Aside from the number of pull requests I had waiting that morning.

Your runs are reliably around an hour but mine are reliably just over 30 minutes. I only have three runners.

https://source.denx.de/u-boot/u-boot/-/pipelines
https://sjg.u-boot.org/u-boot/u-boot/-/pipelines

I know you have added a duplicate build on arm64, but I can still speed it up significantly if you'll allow me.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I've never been stopping you.

https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

Indeed. That gets back to what I keep telling you about how to test your CI changes on source.denx.de.

I don't understand your response here.

Well, if we go to the next part..

Quoted 104 lines
Quoted 29 lines
Quoted 29 lines
Quoted 29 lines
Quoted 28 lines
Quoted 19 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

If you want to make mainline CI run faster you will need to catch up
with the missing coverage or argue that some things are redundant.

Or perhaps I can actually just make it faster without dropping coverage?

Quoted 7 lines
Quoted 4 lines

I mean, I don't know how that's physically possible, outside of adding many more expensive build hosts. We have two-three fast arm64 hosts and that world builds between 30-45 minutes. That's the biggest time bottleneck.

Why did you join those builds up? It is better for throughput to have a few runners working in parallel.

Because I'm not optimizing for the single developer running CI case (or the loads of fast runners case). If we had sufficient resources, yes, the fastest possible way would be 4 "fast arm64" servers and 4 "fast amd64" servers each running if not 25% of the world build, at least 4 easy to make and maintain groupings.

Quoted 7 lines

However, we don't have that many of either. And they also need to be used for the biggest sandbox test suite jobs so that they run in about 5 minutes, not about 10 minutes. So in order to not entirely block other custodians we do a single world build. Because make and buildman are very good about otherwise fully loading the server. Running anything else while that is going on will slow down the world build (and, the other job too).

They're OK (on a fast machine) so long as the 'other' load is not too much.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Things are OK until they aren't, yes. But just make sure you try out some of the worst case (ie more than one pipeline at a time running).

We could collect stats on runs, I suppose. Perhaps it runs a lot when I am asleep.

That's not what your pipeline shows? Or do you mean the runners? Yes, the runners themselves are busy with jobs from source.denx.de.

Mostly the runners seem fairly unloaded, so far as I can tell, but as I say, I don't have monitoring to see what happens at night.

Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
Quoted 9 lines
Quoted 6 lines

Aside, maintaining groupings is a pain. It was very bad with Travis, and it's only moderately painful with Azure where at least the end goal is 10 pipelines for maximum concurrency. And with Azure everyone *can* get their own "project" or whatever the right term is, and utilize 10 runners at once.

Yes, but we can update buildman to handle grouping automatically, as I suggested once.

I'm not sure we want make buildman act like distcc as well here. If we wanted to split the world in two, making it easy to say "arm not armv8" and "not (arm not armv8)" would be good enough.

Quoted 5 lines
Quoted 1 line

OK, yes that would be better as boards would be more sensibly grouped.

I look forward to your results on testing that, then as I can't get that kind of list from buildman today (starting problem, "tools/buildman/buildman --dry-run -v all" is 10 boards).

OK

Quoted 33 lines
Quoted 33 lines
Quoted 32 lines
Quoted 23 lines
Quoted 23 lines
Quoted 5 lines
Quoted 3 lines

The next biggest is that unless sandbox tests are run on a fast host, they take upwards of 10 minutes, rather than 5.

Yes, they are just getting slower and slower.

Adding more tests takes more time. But the real question is which tests take wall clock noticeable time, and why, and if we can do anything about it. My gut feeling is that it's in the disk image related tests and the user space verification of them.

Quoted 11 lines
Quoted 7 lines

But please, rebase your work to next and see what you can do. There is likely some speed-ups possible if we allow for failures to take longer to happen (and don't gate world builds on all of test.py stage completing, just say sandbox). And if you do the work on source.denx.de (as there is *NOTHING* stopping you from registering more runners to your tree and using whatever tagging scheme you like) you might even see more of the time variability due to load from other custodians.

I can't edit the tags on the runners, nor can I adjust them to run untagged jobs, nor can I delete runners I don't want, so no, I believe I need access to do that.

Quoted 5 lines
Quoted 2 lines

You can do all of that with runners specific to u-boot-dm, and you can disable project / group runners yourself too. So yes, you can.

Nope, sorry, I wasn't able to do any of this with the Denx tree as I can't adjust tags and can't delete and recreate runners.

You don't have
https://source.denx.de/u-boot/custodians/u-boot-dm/-/settings/ci_cd#js-runners-settings
visible to you?

Quoted 7 lines
Quoted 1 line

Right. But also note that there are group runners on another page.

And you disable them from the page I mentioned above. If you disable all of the existing project, group and shared runners (which are settings on that page) you will have zero runners available for your tree. You can then add project runners to only your project with whatever tagging scheme you like. You can then test your ideas about how tags would work.

Quoted 4 lines

OK, that sounds like a lot of hassle and you've already rejected my ideas here. Are you saying you are open to a change? I am asking because your last response suggested that my CI was no faster than yours, or that it was only faster because it has less testing.

Once again I am trying to show you how to test your changes on the mainline Gitlab server. Because you said you need your own gitlab (or admin access to the u-boot space) to do this and that's not correct.

Quoted 7 lines

I have rejected your idea because it doesn't seem like it would actually be a win.

I have asked you to prove me wrong by implementing your idea on mainline, on the mainline gitlab server.

You have declined thus far.

I'm not trying to prove anyone wrong, nor am I interested in such an endeavour.

Quoted 10 lines

And I am *always* open to being shown facts that show I was wrong. If you can rework the CI jobs such that mainline is faster, and is still faster or at least no worse with multiple running pipelines, great.

And yes, your tree is testing less things. This is a statement of fact. You are neither running sandbox on arm64 (which exposed important bugs) nor world builds on arm64 (which exposed bugs within the Dockerfile and makes it clearer that buildman is very funky about using a "cross" toolchain for the host processor).

Quoted 7 lines

OK, sure.

Anway, my offer stands and I'm confident I can spend it up, perhaps 80% faster. I need access to the server and the ability to change tags on the server while adding runners, experimenting, etc., obviously without changing existing runners, except that I may need to pause some for a few hours.

Quoted 3 lines

I'm so tired of having multiple discussions at the same time. Again, you're just wrong above. You do not need more access to show, or see that you're wrong, about speeding up CI.

Quoted 8 lines

Perhaps you are right and I can fiddle around with local runners. But I am reluctant to invest time in experimenting with things like that, since it then requires a lot more work to actually get it applied for real.

I rarely use your CI so I don't mind. I was just suggesting that if I could make yours operate at the same speed as mine, then we could avoid the delta in that part of the project.

I guess we'll never know then. I keep saying that if you post things against upstream they'll be reviewed and feedback given.

Quoted 98 lines
Quoted 98 lines
Quoted 97 lines
Quoted 81 lines
Quoted 75 lines
Quoted 67 lines
Quoted 59 lines
Quoted 59 lines
Quoted 58 lines
Quoted 48 lines
Quoted 48 lines
Quoted 47 lines
Quoted 42 lines

I also have another runner to add.

I'll contact you off-list with the token.

From my side, I have found it helpful and refreshing to have a gitlab
instance which I can control, e.g. it runs in half the time and if my
patches are completely blocked by Linaro, etc., I have an escape
valve.

Yes, and I have no idea what any of that has to do with anything other
than leading to confusion about what tree is or is not mainline. Since
you own u-boot.org and ci.u-boot.org is your gitlab and
https://ci.u-boot.org/u-boot/u-boot/ is your personal tree.

For now I am working with my tree, so that I am not blocked by Linaro,
etc. but as you have seen I can rebase series for your tree as needed.

And you're not addressing my point about using the project domain for
your personal tree. That's my big huge "are you forking the project or
what" problem.

I'm just making sure that my work is not blocked or lost, as that has
happened too many times in the past few years.

Again, are you intending to fork the project? Putting your personal tree
in as "https://ci.u-boot.org/u-boot/u-boot.git" is not OK. I keep asking
you to stop it.

No, I'm not intending to fork anything. But I need a tree that I can
control and push things into.

I don't know how you can call your personal tree being at
"https://ci.u-boot.org/u-boot/u-boot.git" and saying it's somewhere you
control and can push to while not also saying it's a fork. If you want
to close down your gitlab and CNAME ci.u-boot.org to source.denx.de, you
can still push things to u-boot-dm. Or if that's too constrained of a
namespace you can also get a contributors/sjg/ namespace. But what
you're doing today WILL lead to confusion.

I believe I've answered this question before. It is simply that I
cannot get certain patches (bloblist, EFI, devicetree) into your tree.
There really isn't any other reason.

Yes, that's still not an answer to my question.

Or is the answer to my question "Yes, I'm trying to confuse people to thinking my tree is mainline."

Quoted 6 lines
Quoted 2 lines

No, it's simply that you are not taking some patches in your tree and complaining about the amount of patches.

That's misleading at best. I'm not taking the patches that other custodians have repeatedly rejected and explained why they're rejecting them.

Yes and this has affected my ability to move things forward so much that I've had to set up my own tree. It has been working very well, to have a relief valve.

Quoted 7 lines
Quoted 4 lines

It's been working pretty terrible for the rest of the project as you build on top of things that have been rejected and you're collecting in your own personal downstream fork. Igor's email last night would be the latest example of "I wanted to look at this but where is it?"

You make it sound like it is some strange force from the void that is creating these problems :-)

Quoted 7 lines

No, I'm saying you're making these problems and I wish you would stop.

Quoted 1 line

The EFI-app thing was killed in review, so I picked it up and applied

It was not "killed in review". It was posted once, given feedback and you picked it up for your tree in what felt like a day later but I'm sure was slightly longer than that.

Quoted 5 lines

Just over two weeks, when it seemed to me it was dead. I had emailed Matthew several times asking if he could make time to post his work. Telling him to refactor a load of the EFI_LOADER stuff just to get the app running seems wrong to me. I believe I already explained this at the time.

Quoted 8 lines

Waiting for answers to questions, which then did come along with confusion about the state of the series given that you had applied it somewhere else by then.

On the merits, I'm entirely unsure without digging it all up on if factoring out common code was or was not a reasonable request. I believe there was other feedback on the series as well and it was certainly not a "ready to merge as v1" post.

It certainly was ready to merge. It works fine, actually and I've been using it ever since. I'm very happy with it and have continued to build on it. My changes when applying were very minor, basically adding an include file to a header.

Having said that, if people hadn't jumped down his throat so hard I would have waited, yes. I think I said that already.

Quoted 6 lines
Quoted 4 lines

It was absolutely not ready to merge as-is. There was both feedback major and minor. There was technical questions and philosophical questions. I would be *shocked* if the authors expected it to be merged as-is.

OK, sorry I don't agree.

Then you should look at the series and all of the feedback again. There was an issue or two with the command part for example. It was also missing documentation I believe. That is standard regular normal v2-is-expected type feedback.

Quoted 85 lines
Quoted 35 lines
Quoted 35 lines
Quoted 27 lines
Quoted 20 lines
Quoted 11 lines
Quoted 8 lines

it and am now building on it (it now supports arm64). I mentioned before that I found that whole review process embarrassing (if not mortifying) and it made me realise that I shouldn't tolerate it either. Matthew Garrett is the sort of engineer that people should *welcome* to the project. Yes, Heinrich and Ilias had some useful feedback which I will get to at some point, but it works. Perhaps I'll get into it when Linaro gets the lwip network tests running with sandbox :-)

You know what, I'd really love feedback from Matthew about that.

Quoted 8 lines
Quoted 3 lines

The next step is to get it running in qemu with my lab...but you rejected that too I think? So it won't be in your tree unless you change your mind on that.

Did I reject making labgrid a requirement for tests? Yes, I did. Did I explain why and offer alternatives? I also did. Does there seem to be any reason this next test of yours would require labgrid? No, there does not.

Quoted 6 lines

We can't 'require' Labgrid. There are too many loose strawmans being thrown around here. But I want to use it in my lab and I want a test which boots Ubuntu etc. in my lab using Labgrid. I explained that I want to be able to interactively run the target ('ub-int qemu-86') as well as run pytests ('ub-pyt qemu-x86 pxe') and in gitlab CI. That all works today and all you need to do is not reject the patch.

Quoted 3 lines

And I found it both hugely disappointing that you wrote something so specific to your lab and non-replicable elsewhere and also "yes and" to the patch. Perhaps that got missed along the way.

I know it is disappointing, but don't imagine that I lack for disappointments. It solves the problem of testing a distro boot for me, while letting me run it locally. I can build on it easily enough.

Quoted 5 lines
Quoted 2 lines

If you apply the series and I do come back to this, I would like to figure out how to make the lab Python files easier to work with.

I already said a number of times that I would apply it, in time, if against upstream. If you did your part, I will do mine.

OK.

Quoted 42 lines
Quoted 16 lines
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 4 lines

Again, it isn't a strange and unexplained force. It is just a consequence of your decisions here. If you were more flexible, I would have been able to continue as we were.

The only way I could be more flexible here is to apply everything you post without question.

Quoted 7 lines
Quoted 3 lines

That's the part of your thinking which I really struggle with. There is a large amount of space in between that (which as you know I've never even suggested) and what I am looking for.

And I keep struggling with how you don't see it. You want changes that have been rejected for various valid technical reasons to be applied over the objection of the custodian.

Quoted 7 lines

That would be great, but I would settle for not blocking my patches, e.g. providing feedback on what to change.

In any case, I thought I was devicetree custodian but my objections were ignored with Linaro patches. Same for bloblist. I started the EFI effort but can't get anything into that subsystem anymore, etc. I'm not complaining, just explaining why we are where we are.

Yes, I've overruled you when you've had things wrong. If you want the final say on stuff, please just go fork the project. We will survive.

Quoted 14 lines
Quoted 7 lines
Quoted 1 line

The ANSI patch is an example of gratuitous rejection for no useful reason.

It wasn't tho? Heinrich explained in another part of the thread where there is a good spec required reason we're doing the sequences we're doing. You either missed it or forgot it, I don't know which. But it wasn't "gratuitous". It's a tricky part of the spec where we need to come up with some clever solution for the case Michal hits.

No it just seems wrong to me, sorry. Of course we can do those sequences, We just need a way to disable them when we know they are not required. There is no need for a 'clever solution'. Just design it properly. If we carried on like that (emitting random junk and writing loads of work-arounds elsewhere in U-Boot to ignore the junk) the codebase would eventually become a steaming pile of manure.

Quoted 4 lines
Quoted 2 lines

Again, it looks like you're ignoring the facts in favor of your opinions.

Or it could be that I'm right? It has happened before, sometimes.

Again, it's a matter of facts and not opinion here. It's the "how big is the terminal" ANSI sequence. It must be done. There's perhaps some compromise option that spells out we're breaking the spec a tiny bit for some use case, which your patch was not.

Quoted 48 lines
Quoted 25 lines
Quoted 9 lines
Quoted 4 lines
Quoted 2 lines

Given the number of emails I'm genuinely surprised at the lack of progress we have made here.

I'm not surprised because I keep having to repeat myself.

You don't have to repeat yourself. It isn't that I can't hear you, it's that I disagree. People can have different opinions on things and still work together on shared goals. But there needs to be give and take.

There has been give and take. And you may leave, if you can't accept No.

Quoted 2 lines

Really, you could just change your mind on some of these things and it would make a difference.

I'll re-evaluate things, sure. But I won't just change my mind when you're wrong.

Quoted 7 lines
Quoted 6 lines
Quoted 3 lines

Again, your decisions and position have produced the situation we are in now. Much is in your control. If you are interested in changing anything, even a little, I'm sure it would help.

OK. What's one request you have of me that should be clear and un-objectionable?

Quoted 6 lines
Quoted 4 lines

I should really leave that to you to decide. Some things that are top of mind are:

a) sunxi, which has blocked all future bootstd migration

Hard no. See my detailed explanation already.

OK.

Quoted 6 lines
Quoted 3 lines

b) PXE, blocked on doing lwip work which I am not willing to do until my series is applied

Then you can wait for Jerome to have time? It looks like he started on part of that recently.

OK.

Quoted 5 lines
Quoted 4 lines

c) ANSI:

https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

Quoted 8 lines
Quoted 3 lines

Hard no. The custodian has already explained that it's done for a reason and not on a whim. Whatever solution Heinrich is happy with to the actual problem Michal reported is what we'll go with.

OK.

If there is any small thing in which you would be willing to be flexible, it would be good to hear it.

Given that VBE is in-tree at all I've been quite flexible.

Quoted 58 lines
Quoted 58 lines
Quoted 58 lines
Quoted 57 lines
Quoted 41 lines
Quoted 41 lines
Quoted 40 lines
Quoted 28 lines
Quoted 20 lines
Quoted 20 lines
Quoted 19 lines
Quoted 13 lines
Quoted 3 lines

At the moment your CI seems to be flaky as well:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/1038174

[aside, I think you meant to link to the pipeline itself, which also passed, but had some retries]

Funny story. Ilias needed to tweak the fast arm64 hosts and also wanted to explore "What if we have concurrency higher?" and ran in to the problems you also ran in to with respect to git seeing an existing clone in progress and bailing. Followed by the problem of multiple non-trivial jobs running concurrently.

Quoted 3 lines

All of which is why I keep trying to tell you that while "single" and concurrent runners work fine for you on a single user instance it will not scale.

Yes, but I solved that with the patch I sent and it seems to be 100% reliable now.

Quoted 7 lines
Quoted 3 lines

Yes, you eventually solved it with 3 patches, which I asked you to rebase and squash to two patches (because #3 just fixes that #2 wasn't sufficient) and you declined.

In general, why not just be more open to my ideas, even just try it for a year? Given the tools I'm confident I can speed up your CI as well.

Quoted 5 lines

I've never not been open to applying patches to mainline that are against mainline. I am not going to rebase your work for you however. And I think it's terrible for the project as a whole when you post changes against your tree and people expect to be able to review them and then can't because it's against your downstream fork.

I've started mentioning the base commit in patman and I think I'll update it to show the source tree as well. I understand the rebasing is a pain and I am certainly happy to shoulder some of that load. E.g. I can send a PR for each series when you are ready to accept it. If you like. Perhaps we can set a timeline for that (e.g. no comments for a week?)

Quoted 8 lines
Quoted 5 lines

You are subject to the same general timelines as everyone else. When your patches apply to mainline and aren't rejected. Which is "about two weeks" and has been for about 15 years now. Sometimes I will pull things in sooner when they're smaller / clearer, but that typically doesn't apply to your very large series with multiple changes in it.

OK, well again I'm happy to send a PR for things that haven't been rejected for your tree.

OK. So looking at:
https://patchwork.ozlabs.org/project/uboot/list/?series=&submitter=&state=&q=&archive=&delegate=3184
Right now, there's patches for you lab that need to be rebased to next (and feedback addressed, or set aside the i.MX target for now / make a new thread about the general problem there). A patch from Heinrich. A series from Caleb. The last two certainly, and whatever of the lab stuff applies, could be in a PR for next whenever you're ready.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Looking at it now there is an ACPI series from Heinrich which should go in after my qemu-x86 series. There's another ACPI series from Linaro which looks fine. I've assigned both to you.

And this is why I don't think you want to work in mainline anyhow.

It's not for want of trying, believe me.

If you don't want to work in mainline, you should just give the community the domain and move on. What you're doing is not helping the community.

Quoted 4 lines

I think this thread can be parked as it has come to a logical end.

Regards,
Simon

Signature · 1 line
Tom