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

build_workloads.sh is now failing #271

Closed
jdesfossez opened this issue Feb 25, 2019 · 5 comments
Closed

build_workloads.sh is now failing #271

jdesfossez opened this issue Feb 25, 2019 · 5 comments

Comments

@jdesfossez
Copy link
Collaborator

After commit d509976, it looks like build_workload.sh is not working anymore (or not the same way as before):

root@jdesfossez-cbrunner:~/src/cbtool2/docker# pwd
/root/src/cbtool2/docker
root@jdesfossez-cbrunner:~/src/cbtool2/docker# ./build_workloads.sh -w tpcc
##### Testing rsync server on 172.17.0.1:25001/root_cb...
Error while testing rsync server
cat /root/private_rsync/root_rsync.conf
port=25001
lock file=/root/private_rsync/root_rsync.lock
log file=/var/log/root_rsyncd.log
pid file=/root/private_rsync/root_rsyncd.pid
[root_cb]
    path=/root/src/cbtool2/docker/..
    uid=root
    gid=root
    read only=no
    list=yes
# rsync -a 'rsync://172.17.0.1:25001/root_cb/3rd_party/pypureomapi*tar.gz'
rsync: change_dir "/3rd_party" (in root_cb) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1655) [Receiver=3.1.1]
rsync: read error: Connection reset by peer (104)

I think the 3rd_party directory is missing, am I missing something ?

@maugustosilva
Copy link
Collaborator

Hmmm... I can confirm that I see the same error... will push a fix soon.

maugustosilva pushed a commit to maugustosilva/cbtool that referenced this issue Feb 26, 2019
@maugustosilva
Copy link
Collaborator

PR submitted.

@jdesfossez
Copy link
Collaborator Author

Fix confirmed.
But I now see another problem:

########## Building image ibmcb/phusion_cb_nullworkload by executing the command "sudo docker build -t ibmcb/phusion_cb_nullworkload:master -q  ." ...
Sending build context to Docker daemon  86.53kB
Step 1/41 : FROM REPLACE_BASE_PHUSION
invalid reference format: repository name must be lowercase
############## ERROR: Image "ibmcb/phusion_cb_nullworkload" failed while executing command "sudo docker build -t ibmcb/phusion_cb_nullworkload:master -q  ."

maugustosilva pushed a commit to maugustosilva/cbtool that referenced this issue Feb 26, 2019
@maugustosilva
Copy link
Collaborator

Ok, now it should be fixed :-). I just cloned directly in an empty node, and was able to run successfully ./docker/build_workloads.sh -w nullworkload

@jdesfossez
Copy link
Collaborator Author

Confirmed, thanks !

mraygalaxy pushed a commit that referenced this issue Mar 26, 2019
jdesfossez pushed a commit that referenced this issue Apr 24, 2019
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

No branches or pull requests

2 participants