Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1664398

Summary: ./tests/00-geo-rep/00-georep-verify-setup.t does not work with ./run-tests-in-vagrant.sh
Product: [Community] GlusterFS Reporter: Niels de Vos <ndevos>
Component: testsAssignee: hari gowtham <hgowtham>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: bugs, khiremat, sacharya, sunkumar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-12 12:44:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Niels de Vos 2019-01-08 16:45:46 UTC
Description of problem:
When running local tests, ./tests/00-geo-rep/00-georep-verify-setup.t always fails.

Version-Release number of selected component (if applicable):
current master branch

How reproducible:
100%

Steps to Reproduce:
1. git clone the repository
2. run ./run-tests-in-vagrant.sh

Actual results:
The 1st test fails.

Expected results:
All tests pass.

Additional info:

$ ./run-tests-in-vagrant.sh 

Copying tests/vagrant/vagrant-template-fedora dir to tests/vagrant/bug/789278 ....
Doing vagrant up....
Copying source code from host machine to VM....
Source compile and install Gluster....
Connection to 192.168.121.65 closed.
Connection to 192.168.121.65 closed.
Connection to 192.168.121.65 closed.
Connection to 192.168.121.65 closed.
Connection to 192.168.121.65 closed.

... GlusterFS Test Framework ...

/home/vagrant/glusterfs /home/vagrant/glusterfs
/home/vagrant/glusterfs
testing 'timeout' command

================================================================================
[16:38:13] Running tests in file ./tests/00-geo-rep/00-georep-verify-setup.t
Timeout set is 300, default 200
./tests/00-geo-rep/00-georep-verify-setup.t .. 
1..27
ok 1, LINENUM:12
ok 2, LINENUM:13
ok 3, LINENUM:31
ok 4, LINENUM:32
ok 5, LINENUM:35
ok 6, LINENUM:36
ok 7, LINENUM:39
ok 8, LINENUM:40
ok 9, LINENUM:41
ok 10, LINENUM:42
ok 11, LINENUM:45
ok 12, LINENUM:48
Passwordless ssh login has not been setup with 127.0.0.1 for user root.
ok 13, LINENUM:55
Geo-replication session between master and 127.0.0.1::slave does not exist.
not ok 14 , LINENUM:58
FAILED COMMAND: gluster --mode=script --wignore volume geo-replication master 127.0.0.1::slave config gluster-command-dir /usr/sbin
Geo-replication session between master and 127.0.0.1::slave does not exist.
not ok 15 , LINENUM:61
FAILED COMMAND: gluster --mode=script --wignore volume geo-replication master 127.0.0.1::slave config slave-gluster-command-dir /usr/sbin
Geo-replication session between master and 127.0.0.1::slave does not exist.
not ok 16 , LINENUM:64
FAILED COMMAND: gluster --mode=script --wignore volume geo-replication master 127.0.0.1::slave config use_meta_volume true
stat: cannot stat ‘/var/lib/glusterd/geo-replication/master_slave_common_secret.pem.pub’: No such file or directory

... and a few more errors.

Comment 1 Yaniv Kaul 2019-04-18 09:42:26 UTC
I can't even get vagrant running...
[ykaul@ykaul vagrant-template-fedora]$ vagrant up
Bringing machine 'vagrant-testVM' up with 'libvirt' provider...
==> vagrant-testVM: Box 'gluster-dev-fedora' could not be found. Attempting to find and install...
    vagrant-testVM: Box Provider: libvirt
    vagrant-testVM: Box Version: >= 0
==> vagrant-testVM: Loading metadata for box 'http://download.gluster.org/pub/gluster/glusterfs/vagrant/gluster-dev-fedora/boxes/gluster-dev-fedora.json'
    vagrant-testVM: URL: http://download.gluster.org/pub/gluster/glusterfs/vagrant/gluster-dev-fedora/boxes/gluster-dev-fedora.json
==> vagrant-testVM: Adding box 'gluster-dev-fedora' (v0.3.0) for provider: libvirt
    vagrant-testVM: Downloading: http://download.gluster.org/pub/gluster/glusterfs/vagrant/gluster-dev-fedora/boxes/gluster-dev-fedora_0.3.box
==> vagrant-testVM: Box download is resuming from prior download progress
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

transfer closed with 1039582069 bytes remaining to read

Comment 2 Worker Ant 2020-03-12 12:44:34 UTC
This bug is moved to https://github.com/gluster/glusterfs/issues/935, and will be tracked there from now on. Visit GitHub issues URL for further details