Skip to content

Conversation

@ekuric
Copy link
Contributor

@ekuric ekuric commented Nov 20, 2015

Default fio value for numjobs is 1. pbench_fio inherits this value too without possibility to change it. This patch enables pbench_fio to accept numjobs parameter to have desired value if necessary.
If not specified, then pbench_fio will use default of
numjobs=1
It is desired when running i/o tests sometimes to have more than 1 job (numjobs)

Signed-off-by: Elvir Kuric elvirkuric@gmail.com

@ndokos @atheurer @portante please review and ack/nack. Thank you

this value too without possibility to change it. This patch enables
pbench_fio to accept numjobs parameter to have desired value if necessary.
If not specified, then pbench_fio will use default of
numjobs=1

Signed-off-by: Elvir Kuric <elvirkuric@gmail.com>

updated pbench_fio, removed typo (,) from it

Signed-off-by: Elvir Kuric <elvirkuric@gmail.com>
ndokos added a commit that referenced this pull request Nov 23, 2015
enable pbench_fio to accept numjobs parameter
@ndokos ndokos merged commit 1e1ded0 into distributed-system-analysis:master Nov 23, 2015
portante pushed a commit that referenced this pull request Oct 16, 2021
Starting with the 30 September 2021 build ([#110](http://jenkins.perf.lab.eng.bos.redhat.com/job/pbench-ci-multi/job/main/110/)), Mr. Jenkins is no longer finding the Cobertura coverage report which the PyTest run creates.  (This corresponds to Git hash a53ddeb, which I believe is PR #2349.)  What's more, while the file seems to be created properly by the PyTest run in the container, when the `post` section of the pipeline is executed, the file is gone!

The previously-merged PR #2424 made changes which are relevant to this functionality.  (Its build, [#109](http://jenkins.perf.lab.eng.bos.redhat.com/job/pbench-ci-multi/job/main/109/), _failed_ due to non-deterministic behavior of one of the tests; otherwise, I believe it would have shown this behavior as well.)

The answer turns out to be that, while the file is created inside the container, the execution of  the `post` section is outside the container, and so the file systems are different, and the file exists but is not where we expect to find it.  Prior to PR #2424, `jenkins/run` was mapping the Jenkins temporary directory into the container as `/tmp`, which allowed the `post` section to find the file.  PR #2424 simplified the invocation of the container, and this detail was lost.

This commit changes the location of the coverage report to place it back into a mapped file system, and it puts it in a location which is easily accessible both inside and outside the container...and now things work again.  (And, it replaces the slightly confusing comment in the `Pipeline.gy` file with a new slightly less confusing comment.)
@portante portante self-assigned this May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants