Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement for HammerDB doc generation/indexing #120

Merged
merged 14 commits into from
Jan 28, 2020
Merged

Enhancement for HammerDB doc generation/indexing #120

merged 14 commits into from
Jan 28, 2020

Conversation

mkarg75
Copy link
Contributor

@mkarg75 mkarg75 commented Jan 15, 2020

hopefully the last one

@dry923 dry923 added the ok to test Kick off our CI framework label Jan 15, 2020
@dry923
Copy link
Member

dry923 commented Jan 15, 2020

/rerun all

@dry923 dry923 self-requested a review January 15, 2020 14:02
@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime

@dry923
Copy link
Member

dry923 commented Jan 15, 2020

/rerun all

@dry923
Copy link
Member

dry923 commented Jan 15, 2020

/rerun all

@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime
fio_wrapper PASS 00:06:48
fs_drift_wrapper PASS 00:07:30
hammerdb FAIL 00:04:38

@dry923
Copy link
Member

dry923 commented Jan 15, 2020

/rerun all

@bengland2
Copy link
Contributor

@mkarg75 , I'm concerned that the results you get from minishift might not match the results other people get from OCP4 or from minikube. Does that make sense? If so, any chance you can try this with version of minikube recommended by Russ or whoever in outcome of ripsaw issue 272 ?

@bengland2
Copy link
Contributor

also would like to see this patch in snafu/hammerdb/hammerd_wrapper.py:

@@ -170,6 +170,8 @@ def main():
     if es_server != "" :
         if len(documents) > 0 :
             _index_result("ripsaw-hammerdb-results", es_server, es_port, documents)
+        else:
+            raise Exception('failed to produce hammerdb results document')

or something equivalent to it, where benchmark doesn't just silently fail.

@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime
fio_wrapper PASS 00:06:54
fs_drift_wrapper PASS 00:07:39
hammerdb FAIL 00:04:22
iperf PASS 00:06:04
pgbench-wrapper PASS 00:07:44

@dry923
Copy link
Member

dry923 commented Jan 15, 2020

/rerun all

@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime
fio_wrapper PASS 00:06:54
fs_drift_wrapper PASS 00:07:42
hammerdb FAIL 00:04:28
iperf PASS 00:06:16
pgbench-wrapper PASS 00:07:27
smallfile_wrapper PASS 00:06:47
sysbench PASS 00:05:48
uperf-wrapper PASS 00:07:29
ycsb-wrapper PASS 00:05:55

@aakarshg
Copy link
Contributor

/rerun all

@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime

COPY . /opt/snafu
# clone the snafu repo
#RUN cd /opt/; git clone https://github.com/mkarg75/snafu.git
RUN cd /opt/; git clone https://github.com/cloud-bulldozer/snafu.git
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is not required, as snafu is in the build context of the image.

@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime

@dry923
Copy link
Member

dry923 commented Jan 16, 2020

/rerun all

@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime

@aakarshg
Copy link
Contributor

/rerun all

@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime
hammerd FAIL 00:12:39

@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime
hammerd FAIL 00:01:28

@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime
hammerd FAIL 00:09:06

@aakarshg
Copy link
Contributor

/rerun all

@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime
hammerd FAIL 00:08:33

@dry923
Copy link
Member

dry923 commented Jan 16, 2020

@mkarg75 looks like hammer was successful however it failed ci because it couldn't find any results in ES.

++ kubectl logs hammerdb-workload-723e8b18-j89x8 --namespace my-ripsaw
++ grep 'SEQUENCE COMPLETE'
++ echo 'Hammerdb test: Success'
Hammerdb test: Success
...
+ python3 ci/check_es.py -s marquez.perf.lab.eng.rdu2.redhat.com -p 9200 -u 723e8b18-644f-5352-aafe-c18c679ca138 -i ripsaw-hammerdb-results
No result found in ES

@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime
hammerd FAIL 00:08:50

@dry923
Copy link
Member

dry923 commented Jan 17, 2020

@mkarg75 why the revert from the ubi8 Dockerfile?

@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime
hammerd FAIL 00:07:34

@dry923
Copy link
Member

dry923 commented Jan 20, 2020

/rerun all

@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime
hammerd FAIL 00:01:52

@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime
hammerd PASS 00:15:19

@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime
hammerd PASS 00:15:23

Copy link
Contributor

@aakarshg aakarshg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a bunch of tcl files that are also added but I don't see them being used in the dockerfile (and no change to ripsaw was merged yet) ? So are they really required @mkarg75 ? If they're not can only the files/changes required be in this PR?

@@ -0,0 +1,7 @@
#!/bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please remove this file?

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this file make uid_entrypoint file redundant ? in that case can we remove one from the other ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this added to the dockerfile as well?

@rht-perf-ci
Copy link

Results for SNAFU CI Test

Test Result Runtime
hammerd PASS 00:12:44

@aakarshg aakarshg changed the title stuff added. and things Enhancement for HammerDB doc generation/indexing Jan 28, 2020
Copy link
Contributor

@aakarshg aakarshg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Member

@dry923 dry923 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aakarshg aakarshg merged commit ea6f81b into cloud-bulldozer:master Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok to test Kick off our CI framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants