From vavuthu at redhat.com Mon Apr 1 05:55:49 2019 From: vavuthu at redhat.com (Vijay Bhaskar Reddy Avuthu) Date: Mon, 1 Apr 2019 11:25:49 +0530 Subject: [automated-testing] What is the current state of the Glusto test framework in upstream? In-Reply-To: References: Message-ID: On Sun, Mar 31, 2019 at 6:30 PM Yaniv Kaul wrote: > > > On Wed, Mar 13, 2019 at 4:14 PM Jonathan Holloway > wrote: > >> >> >> On Wed, Mar 13, 2019 at 5:08 AM Sankarshan Mukhopadhyay < >> sankarshan.mukhopadhyay at gmail.com> wrote: >> >>> On Wed, Mar 13, 2019 at 3:03 PM Yaniv Kaul wrote: >>> > On Wed, Mar 13, 2019, 3:53 AM Sankarshan Mukhopadhyay < >>> sankarshan.mukhopadhyay at gmail.com> wrote: >>> >> >>> >> What I am essentially looking to understand is whether there are >>> >> regular Glusto runs and whether the tests receive refreshes. However, >>> >> if there is no available Glusto service running upstream - that is a >>> >> whole new conversation. >>> > >>> > >>> > I'm* still trying to get it running properly on my simple >>> Vagrant+Ansible setup[1]. >>> > Right now I'm installing Gluster + Glusto + creating bricks, pool and >>> a volume in ~3m on my latop. >>> > >>> >>> This is good. I think my original question was to the maintainer(s) of >>> Glusto along with the individuals involved in the automated testing >>> part of Gluster to understand the challenges in deploying this for the >>> project. >>> >>> > Once I do get it fully working, we'll get to make it work faster, >>> clean it up and and see how can we get code coverage. >>> > >>> > Unless there's an alternative to the whole framework that I'm not >>> aware of? >>> >>> I haven't read anything to this effect on any list. >>> >>> >> This is cool. I haven't had a chance to give it a run on my laptop, but >> it looked good. >> Are you running into issues with Glusto, glusterlibs, and/or Glusto-tests? >> > > All of the above. > - The client consumes at times 100% CPU, not sure why. > - There are missing deps which I'm reverse engineering from Gluster CI > (which by itself has some strange deps - why do we need python-docx ?) > - I'm failing with the cvt test, with > test_shrinking_volume_when_io_in_progress with the error: > AssertionError: IO failed on some of the clients > > I had hoped it could give me a bit more hint: > - which clients? (I happen to have one, so that's easy) > - What IO workload? > - What error? > > - I hope there's a mode that does NOT perform cleanup/teardown, so it's > easier to look at the issue at hand. > python-docx needs to be installed as part of "glusto-tests dependencies". file_dir_ops.py supports writing docx files. IO failed on the client: 192.168.250.10. and it trying to write deep directories with files. Need to comment "tearDown" section if we want leave the cluster as it is in the failed state. > - From glustomain.log, I can see: > 2019-03-31 12:56:00,627 INFO (validate_io_procs) Validating IO on > 192.168.250.10:/mnt/testvol_distributed-replicated_cifs > 2019-03-31 12:56:00,627 INFO (_log_results) ESC[34;1mRETCODE ( > root at 192.168.250.10): 1ESC[0m > 2019-03-31 12:56:00,628 INFO (_log_results) ESC[47;30;1mSTDOUT ( > root at 192.168.250.10)... > Starting File/Dir Ops: 12:55:27:PM:Mar_31_2019 > Unable to create dir '/mnt/testvol_distributed-replicated_cifs/user6' : > Invalid argument > Unable to create dir '/mnt/testvol_distributed-replicated_cifs/user6/dir0' > : Invalid argument > Unable to create dir > '/mnt/testvol_distributed-replicated_cifs/user6/dir0/dir0' : Invalid > argument > Unable to create dir > '/mnt/testvol_distributed-replicated_cifs/user6/dir0/dir1' : Invalid > argument > Unable to create dir '/mnt/testvol_distributed-replicated_cifs/user6/dir1' > : Invalid argument > Unable to create dir > '/mnt/testvol_distributed-replicated_cifs/user6/dir1/dir0' : Invalid > argument > > I'm right now assuming something's wrong on my setup. Unclear what, yet. > + vivek ; for the inputs regarding cifs issue I had a conversation with vivek regarding the "Invalid argument" long time back. > >> I was using the glusto-tests container to run tests locally and for BVT >> in the lab. >> I was running against lab VMs, so looking forward to giving the vagrant >> piece a go. >> >> By upstream service are we talking about the Jenkins in the CentOS >> environment, etc? >> > > Yes. > Y. > > @Vijay Bhaskar Reddy Avuthu @Akarsha Rai >> any insight? >> >> Cheers, >> Jonathan >> >> > Surely for most of the positive paths, we can (and perhaps should) use >>> the the Gluster Ansible modules. >>> > Y. >>> > >>> > [1] https://github.com/mykaul/vg >>> > * with an intern's help. >>> _______________________________________________ >>> automated-testing mailing list >>> automated-testing at gluster.org >>> https://lists.gluster.org/mailman/listinfo/automated-testing >>> >> _______________________________________________ >> automated-testing mailing list >> automated-testing at gluster.org >> https://lists.gluster.org/mailman/listinfo/automated-testing >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ykaul at redhat.com Mon Apr 1 06:19:52 2019 From: ykaul at redhat.com (Yaniv Kaul) Date: Mon, 1 Apr 2019 09:19:52 +0300 Subject: [automated-testing] What is the current state of the Glusto test framework in upstream? In-Reply-To: References: Message-ID: On Mon, Apr 1, 2019 at 8:56 AM Vijay Bhaskar Reddy Avuthu < vavuthu at redhat.com> wrote: > > > On Sun, Mar 31, 2019 at 6:30 PM Yaniv Kaul wrote: > >> >> >> On Wed, Mar 13, 2019 at 4:14 PM Jonathan Holloway >> wrote: >> >>> >>> >>> On Wed, Mar 13, 2019 at 5:08 AM Sankarshan Mukhopadhyay < >>> sankarshan.mukhopadhyay at gmail.com> wrote: >>> >>>> On Wed, Mar 13, 2019 at 3:03 PM Yaniv Kaul wrote: >>>> > On Wed, Mar 13, 2019, 3:53 AM Sankarshan Mukhopadhyay < >>>> sankarshan.mukhopadhyay at gmail.com> wrote: >>>> >> >>>> >> What I am essentially looking to understand is whether there are >>>> >> regular Glusto runs and whether the tests receive refreshes. However, >>>> >> if there is no available Glusto service running upstream - that is a >>>> >> whole new conversation. >>>> > >>>> > >>>> > I'm* still trying to get it running properly on my simple >>>> Vagrant+Ansible setup[1]. >>>> > Right now I'm installing Gluster + Glusto + creating bricks, pool and >>>> a volume in ~3m on my latop. >>>> > >>>> >>>> This is good. I think my original question was to the maintainer(s) of >>>> Glusto along with the individuals involved in the automated testing >>>> part of Gluster to understand the challenges in deploying this for the >>>> project. >>>> >>>> > Once I do get it fully working, we'll get to make it work faster, >>>> clean it up and and see how can we get code coverage. >>>> > >>>> > Unless there's an alternative to the whole framework that I'm not >>>> aware of? >>>> >>>> I haven't read anything to this effect on any list. >>>> >>>> >>> This is cool. I haven't had a chance to give it a run on my laptop, but >>> it looked good. >>> Are you running into issues with Glusto, glusterlibs, and/or >>> Glusto-tests? >>> >> >> All of the above. >> - The client consumes at times 100% CPU, not sure why. >> - There are missing deps which I'm reverse engineering from Gluster CI >> (which by itself has some strange deps - why do we need python-docx ?) >> - I'm failing with the cvt test, with >> test_shrinking_volume_when_io_in_progress with the error: >> AssertionError: IO failed on some of the clients >> >> I had hoped it could give me a bit more hint: >> - which clients? (I happen to have one, so that's easy) >> - What IO workload? >> - What error? >> >> - I hope there's a mode that does NOT perform cleanup/teardown, so it's >> easier to look at the issue at hand. >> > > python-docx needs to be installed as part of "glusto-tests dependencies". > file_dir_ops.py supports writing docx files. > Anything special about docx files that we need to test with it? Have we ever had some corruption specifically there? I'd understand (sort-of) if we were running some application on top. Anyway, this is not it - I have it installed already. > IO failed on the client: 192.168.250.10. and it trying to write deep > directories with files. > Need to comment "tearDown" section if we want leave the cluster as it is > in the failed state. > I would say that in CI, we probably want to continue, and elsewhere, we probably want to stop. > > >> > - From glustomain.log, I can see: >> 2019-03-31 12:56:00,627 INFO (validate_io_procs) Validating IO on >> 192.168.250.10:/mnt/testvol_distributed-replicated_cifs >> 2019-03-31 12:56:00,627 INFO (_log_results) ESC[34;1mRETCODE ( >> root at 192.168.250.10): 1ESC[0m >> 2019-03-31 12:56:00,628 INFO (_log_results) ESC[47;30;1mSTDOUT ( >> root at 192.168.250.10)... >> Starting File/Dir Ops: 12:55:27:PM:Mar_31_2019 >> Unable to create dir '/mnt/testvol_distributed-replicated_cifs/user6' : >> Invalid argument >> Unable to create dir >> '/mnt/testvol_distributed-replicated_cifs/user6/dir0' : Invalid argument >> Unable to create dir >> '/mnt/testvol_distributed-replicated_cifs/user6/dir0/dir0' : Invalid >> argument >> Unable to create dir >> '/mnt/testvol_distributed-replicated_cifs/user6/dir0/dir1' : Invalid >> argument >> Unable to create dir >> '/mnt/testvol_distributed-replicated_cifs/user6/dir1' : Invalid argument >> Unable to create dir >> '/mnt/testvol_distributed-replicated_cifs/user6/dir1/dir0' : Invalid >> argument >> >> I'm right now assuming something's wrong on my setup. Unclear what, yet. >> > > + vivek ; for the inputs regarding cifs issue > > I had a conversation with vivek regarding the "Invalid argument" long time > back. > > >> >>> I was using the glusto-tests container to run tests locally and for BVT >>> in the lab. >>> I was running against lab VMs, so looking forward to giving the vagrant >>> piece a go. >>> >>> By upstream service are we talking about the Jenkins in the CentOS >>> environment, etc? >>> >> >> Yes. >> Y. >> >> @Vijay Bhaskar Reddy Avuthu @Akarsha Rai >>> any insight? >>> >>> Cheers, >>> Jonathan >>> >>> > Surely for most of the positive paths, we can (and perhaps should) use >>>> the the Gluster Ansible modules. >>>> > Y. >>>> > >>>> > [1] https://github.com/mykaul/vg >>>> > * with an intern's help. >>>> _______________________________________________ >>>> automated-testing mailing list >>>> automated-testing at gluster.org >>>> https://lists.gluster.org/mailman/listinfo/automated-testing >>>> >>> _______________________________________________ >>> automated-testing mailing list >>> automated-testing at gluster.org >>> https://lists.gluster.org/mailman/listinfo/automated-testing >>> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From vavuthu at redhat.com Mon Apr 1 06:38:47 2019 From: vavuthu at redhat.com (Vijay Bhaskar Reddy Avuthu) Date: Mon, 1 Apr 2019 12:08:47 +0530 Subject: [automated-testing] What is the current state of the Glusto test framework in upstream? In-Reply-To: References: Message-ID: I an not aware of any corruption issues with docx and nowhere in test cases docx is used. I think it was there as an option to use. The only place where it used is "file_dir_ops.py". Regards, Vijay A On Mon, Apr 1, 2019 at 11:50 AM Yaniv Kaul wrote: > > > On Mon, Apr 1, 2019 at 8:56 AM Vijay Bhaskar Reddy Avuthu < > vavuthu at redhat.com> wrote: > >> >> >> On Sun, Mar 31, 2019 at 6:30 PM Yaniv Kaul wrote: >> >>> >>> >>> On Wed, Mar 13, 2019 at 4:14 PM Jonathan Holloway >>> wrote: >>> >>>> >>>> >>>> On Wed, Mar 13, 2019 at 5:08 AM Sankarshan Mukhopadhyay < >>>> sankarshan.mukhopadhyay at gmail.com> wrote: >>>> >>>>> On Wed, Mar 13, 2019 at 3:03 PM Yaniv Kaul wrote: >>>>> > On Wed, Mar 13, 2019, 3:53 AM Sankarshan Mukhopadhyay < >>>>> sankarshan.mukhopadhyay at gmail.com> wrote: >>>>> >> >>>>> >> What I am essentially looking to understand is whether there are >>>>> >> regular Glusto runs and whether the tests receive refreshes. >>>>> However, >>>>> >> if there is no available Glusto service running upstream - that is a >>>>> >> whole new conversation. >>>>> > >>>>> > >>>>> > I'm* still trying to get it running properly on my simple >>>>> Vagrant+Ansible setup[1]. >>>>> > Right now I'm installing Gluster + Glusto + creating bricks, pool >>>>> and a volume in ~3m on my latop. >>>>> > >>>>> >>>>> This is good. I think my original question was to the maintainer(s) of >>>>> Glusto along with the individuals involved in the automated testing >>>>> part of Gluster to understand the challenges in deploying this for the >>>>> project. >>>>> >>>>> > Once I do get it fully working, we'll get to make it work faster, >>>>> clean it up and and see how can we get code coverage. >>>>> > >>>>> > Unless there's an alternative to the whole framework that I'm not >>>>> aware of? >>>>> >>>>> I haven't read anything to this effect on any list. >>>>> >>>>> >>>> This is cool. I haven't had a chance to give it a run on my laptop, but >>>> it looked good. >>>> Are you running into issues with Glusto, glusterlibs, and/or >>>> Glusto-tests? >>>> >>> >>> All of the above. >>> - The client consumes at times 100% CPU, not sure why. >>> - There are missing deps which I'm reverse engineering from Gluster CI >>> (which by itself has some strange deps - why do we need python-docx ?) >>> - I'm failing with the cvt test, with >>> test_shrinking_volume_when_io_in_progress with the error: >>> AssertionError: IO failed on some of the clients >>> >>> I had hoped it could give me a bit more hint: >>> - which clients? (I happen to have one, so that's easy) >>> - What IO workload? >>> - What error? >>> >>> - I hope there's a mode that does NOT perform cleanup/teardown, so it's >>> easier to look at the issue at hand. >>> >> >> python-docx needs to be installed as part of "glusto-tests dependencies". >> file_dir_ops.py supports writing docx files. >> > > Anything special about docx files that we need to test with it? Have we > ever had some corruption specifically there? I'd understand (sort-of) if we > were running some application on top. > Anyway, this is not it - I have it installed already. > >> IO failed on the client: 192.168.250.10. and it trying to write deep >> directories with files. >> Need to comment "tearDown" section if we want leave the cluster as it is >> in the failed state. >> > > I would say that in CI, we probably want to continue, and elsewhere, we > probably want to stop. > >> >> >>> >> - From glustomain.log, I can see: >>> 2019-03-31 12:56:00,627 INFO (validate_io_procs) Validating IO on >>> 192.168.250.10:/mnt/testvol_distributed-replicated_cifs >>> 2019-03-31 12:56:00,627 INFO (_log_results) ESC[34;1mRETCODE ( >>> root at 192.168.250.10): 1ESC[0m >>> 2019-03-31 12:56:00,628 INFO (_log_results) ESC[47;30;1mSTDOUT ( >>> root at 192.168.250.10)... >>> Starting File/Dir Ops: 12:55:27:PM:Mar_31_2019 >>> Unable to create dir '/mnt/testvol_distributed-replicated_cifs/user6' : >>> Invalid argument >>> Unable to create dir >>> '/mnt/testvol_distributed-replicated_cifs/user6/dir0' : Invalid argument >>> Unable to create dir >>> '/mnt/testvol_distributed-replicated_cifs/user6/dir0/dir0' : Invalid >>> argument >>> Unable to create dir >>> '/mnt/testvol_distributed-replicated_cifs/user6/dir0/dir1' : Invalid >>> argument >>> Unable to create dir >>> '/mnt/testvol_distributed-replicated_cifs/user6/dir1' : Invalid argument >>> Unable to create dir >>> '/mnt/testvol_distributed-replicated_cifs/user6/dir1/dir0' : Invalid >>> argument >>> >>> I'm right now assuming something's wrong on my setup. Unclear what, yet. >>> >> >> + vivek ; for the inputs regarding cifs issue >> >> I had a conversation with vivek regarding the "Invalid argument" long >> time back. >> >> >>> >>>> I was using the glusto-tests container to run tests locally and for BVT >>>> in the lab. >>>> I was running against lab VMs, so looking forward to giving the vagrant >>>> piece a go. >>>> >>>> By upstream service are we talking about the Jenkins in the CentOS >>>> environment, etc? >>>> >>> >>> Yes. >>> Y. >>> >>> @Vijay Bhaskar Reddy Avuthu @Akarsha Rai >>>> any insight? >>>> >>>> Cheers, >>>> Jonathan >>>> >>>> > Surely for most of the positive paths, we can (and perhaps should) >>>>> use the the Gluster Ansible modules. >>>>> > Y. >>>>> > >>>>> > [1] https://github.com/mykaul/vg >>>>> > * with an intern's help. >>>>> _______________________________________________ >>>>> automated-testing mailing list >>>>> automated-testing at gluster.org >>>>> https://lists.gluster.org/mailman/listinfo/automated-testing >>>>> >>>> _______________________________________________ >>>> automated-testing mailing list >>>> automated-testing at gluster.org >>>> https://lists.gluster.org/mailman/listinfo/automated-testing >>>> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From ykaul at redhat.com Mon Apr 1 08:04:54 2019 From: ykaul at redhat.com (Yaniv Kaul) Date: Mon, 1 Apr 2019 11:04:54 +0300 Subject: [automated-testing] What is the current state of the Glusto test framework in upstream? In-Reply-To: References: Message-ID: On Mon, Apr 1, 2019 at 9:20 AM Vivek Das wrote: > Comments inline > > On Mon, Apr 1, 2019 at 11:26 AM Vijay Bhaskar Reddy Avuthu < > vavuthu at redhat.com> wrote: > >> >> >> On Sun, Mar 31, 2019 at 6:30 PM Yaniv Kaul wrote: >> >>> >>> >>> On Wed, Mar 13, 2019 at 4:14 PM Jonathan Holloway >>> wrote: >>> >>>> >>>> >>>> On Wed, Mar 13, 2019 at 5:08 AM Sankarshan Mukhopadhyay < >>>> sankarshan.mukhopadhyay at gmail.com> wrote: >>>> >>>>> On Wed, Mar 13, 2019 at 3:03 PM Yaniv Kaul wrote: >>>>> > On Wed, Mar 13, 2019, 3:53 AM Sankarshan Mukhopadhyay < >>>>> sankarshan.mukhopadhyay at gmail.com> wrote: >>>>> >> >>>>> >> What I am essentially looking to understand is whether there are >>>>> >> regular Glusto runs and whether the tests receive refreshes. >>>>> However, >>>>> >> if there is no available Glusto service running upstream - that is a >>>>> >> whole new conversation. >>>>> > >>>>> > >>>>> > I'm* still trying to get it running properly on my simple >>>>> Vagrant+Ansible setup[1]. >>>>> > Right now I'm installing Gluster + Glusto + creating bricks, pool >>>>> and a volume in ~3m on my latop. >>>>> > >>>>> >>>>> This is good. I think my original question was to the maintainer(s) of >>>>> Glusto along with the individuals involved in the automated testing >>>>> part of Gluster to understand the challenges in deploying this for the >>>>> project. >>>>> >>>>> > Once I do get it fully working, we'll get to make it work faster, >>>>> clean it up and and see how can we get code coverage. >>>>> > >>>>> > Unless there's an alternative to the whole framework that I'm not >>>>> aware of? >>>>> >>>>> I haven't read anything to this effect on any list. >>>>> >>>>> >>>> This is cool. I haven't had a chance to give it a run on my laptop, but >>>> it looked good. >>>> Are you running into issues with Glusto, glusterlibs, and/or >>>> Glusto-tests? >>>> >>> >>> All of the above. >>> - The client consumes at times 100% CPU, not sure why. >>> - There are missing deps which I'm reverse engineering from Gluster CI >>> (which by itself has some strange deps - why do we need python-docx ?) >>> - I'm failing with the cvt test, with >>> test_shrinking_volume_when_io_in_progress with the error: >>> AssertionError: IO failed on some of the clients >>> >>> I had hoped it could give me a bit more hint: >>> - which clients? (I happen to have one, so that's easy) >>> - What IO workload? >>> - What error? >>> >>> - I hope there's a mode that does NOT perform cleanup/teardown, so it's >>> easier to look at the issue at hand. >>> >> >> python-docx needs to be installed as part of "glusto-tests dependencies". >> file_dir_ops.py supports writing docx files. >> IO failed on the client: 192.168.250.10. and it trying to write deep >> directories with files. >> Need to comment "tearDown" section if we want leave the cluster as it is >> in the failed state. >> >> >>> >> - From glustomain.log, I can see: >>> 2019-03-31 12:56:00,627 INFO (validate_io_procs) Validating IO on >>> 192.168.250.10:/mnt/testvol_distributed-replicated_cifs >>> 2019-03-31 12:56:00,627 INFO (_log_results) ESC[34;1mRETCODE ( >>> root at 192.168.250.10): 1ESC[0m >>> 2019-03-31 12:56:00,628 INFO (_log_results) ESC[47;30;1mSTDOUT ( >>> root at 192.168.250.10)... >>> Starting File/Dir Ops: 12:55:27:PM:Mar_31_2019 >>> Unable to create dir '/mnt/testvol_distributed-replicated_cifs/user6' : >>> Invalid argument >>> Unable to create dir >>> '/mnt/testvol_distributed-replicated_cifs/user6/dir0' : Invalid argument >>> Unable to create dir >>> '/mnt/testvol_distributed-replicated_cifs/user6/dir0/dir0' : Invalid >>> argument >>> Unable to create dir >>> '/mnt/testvol_distributed-replicated_cifs/user6/dir0/dir1' : Invalid >>> argument >>> Unable to create dir >>> '/mnt/testvol_distributed-replicated_cifs/user6/dir1' : Invalid argument >>> Unable to create dir >>> '/mnt/testvol_distributed-replicated_cifs/user6/dir1/dir0' : Invalid >>> argument >>> >>> I'm right now assuming something's wrong on my setup. Unclear what, yet. >>> >> >> + vivek ; for the inputs regarding cifs issue >> > > A subsequent bug was raised for the above issue. > https://bugzilla.redhat.com/show_bug.cgi?id=1664618 > - The bug is lacking severity classification. - The bug is lacking AutomationBlocker keyword. - Is it a regression? - Why hasn't anyone from engineering looked at it? - How does it pass in CI? Y. > > > >> >> I had a conversation with vivek regarding the "Invalid argument" long >> time back. >> >> >>> >>>> I was using the glusto-tests container to run tests locally and for BVT >>>> in the lab. >>>> I was running against lab VMs, so looking forward to giving the vagrant >>>> piece a go. >>>> >>>> By upstream service are we talking about the Jenkins in the CentOS >>>> environment, etc? >>>> >>> >>> Yes. >>> Y. >>> >>> @Vijay Bhaskar Reddy Avuthu @Akarsha Rai >>>> any insight? >>>> >>>> Cheers, >>>> Jonathan >>>> >>>> > Surely for most of the positive paths, we can (and perhaps should) >>>>> use the the Gluster Ansible modules. >>>>> > Y. >>>>> > >>>>> > [1] https://github.com/mykaul/vg >>>>> > * with an intern's help. >>>>> _______________________________________________ >>>>> automated-testing mailing list >>>>> automated-testing at gluster.org >>>>> https://lists.gluster.org/mailman/listinfo/automated-testing >>>>> >>>> _______________________________________________ >>>> automated-testing mailing list >>>> automated-testing at gluster.org >>>> https://lists.gluster.org/mailman/listinfo/automated-testing >>>> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From kiyer at redhat.com Fri Apr 5 12:16:37 2019 From: kiyer at redhat.com (Kshithij Iyer) Date: Fri, 5 Apr 2019 17:46:37 +0530 Subject: [automated-testing] CentOS-CI failing in initialization Message-ID: Hello, I was trying to verify my patch[1] with CentOS-CI and have observed that the machines are not reachable and I am getting the below given error: *17:38:14* + RETURN_CODE=0*17:38:14* + '[' 0 -eq 0 ']'*17:38:14* + break*17:38:14* + '[' -z '' ']'*17:38:14* + scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no jobs/scripts/glusto/run-glusto.sh root at 172.19.2.48:run-glusto.sh*17:38:14* Warning: Permanently added '172.19.2.48' (ECDSA) to the list of known hosts.*17:38:14* + ssh -t -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root at 172.19.2.48 EXIT_ON_FAIL= ./run-glusto.sh -m ''*17:38:14* Pseudo-terminal will not be allocated because stdin is not a terminal.*17:38:14* Warning: Permanently added '172.19.2.48' (ECDSA) to the list of known hosts. can someone please fix this? [1] https://review.gluster.org/#/c/glusto-tests/+/22518/ Thanks, Kshithij Iyer ASSOCIATE QUALITY ENGINEER Red Hat India kiyer at redhat.com IM: kiyer TRIED. TESTED. TRUSTED. @redhatjobs redhatjobs @redhatjobs -------------- next part -------------- An HTML attachment was scrubbed... URL: From saraut at redhat.com Tue Apr 9 07:38:24 2019 From: saraut at redhat.com (Sayalee Raut) Date: Tue, 9 Apr 2019 13:08:24 +0530 Subject: [automated-testing] CentOS-CI failing in initialization In-Reply-To: References: Message-ID: Hello, Even I am facing similar issues; for my patch [1], while verifying it with CentOS CI; below are errors: *17:05:11* + RETURN_CODE=0*17:05:11* + '[' 0 -eq 0 ']'*17:05:11* + break*17:05:11* + '[' -z functional/dht/test_rename_directory.py ']'*17:05:11* + scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no jobs/scripts/glusto/run-glusto-patch.sh root at 172.19.2.119:run-glusto-patch.sh*17:05:11* Warning: Permanently added '172.19.2.119' (ECDSA) to the list of known hosts.*17:05:11* + ssh -t -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root at 172.19.2.119 EXIT_ON_FAIL=True ./run-glusto-patch.sh -p functional/dht/test_rename_directory.py*17:05:11* Pseudo-terminal will not be allocated because stdin is not a terminal.*17:05:11* Warning: Permanently added '172.19.2.119' (ECDSA) to the list of known hosts. [1] https://review.gluster.org/#/c/glusto-tests/+/22140/ Thanks & Regards, sayalee raut ASSOCIATE QUALITY ENGINEER Red Hat India saraut at redhat.com TRIED. TESTED. TRUSTED. @redhatjobs redhatjobs @redhatjobs On Fri, Apr 5, 2019 at 5:54 PM Kshithij Iyer wrote: > Hello, > I was trying to verify my patch[1] with CentOS-CI and have observed that > the machines are not reachable and I am getting the below given error: > > *17:38:14* + RETURN_CODE=0*17:38:14* + '[' 0 -eq 0 ']'*17:38:14* + break*17:38:14* + '[' -z '' ']'*17:38:14* + scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no jobs/scripts/glusto/run-glusto.sh root at 172.19.2.48:run-glusto.sh*17:38:14* Warning: Permanently added '172.19.2.48' (ECDSA) to the list of known hosts.*17:38:14* + ssh -t -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root at 172.19.2.48 EXIT_ON_FAIL= ./run-glusto.sh -m ''*17:38:14* Pseudo-terminal will not be allocated because stdin is not a terminal.*17:38:14* Warning: Permanently added '172.19.2.48' (ECDSA) to the list of known hosts. > > can someone please fix this? > > [1] https://review.gluster.org/#/c/glusto-tests/+/22518/ > > Thanks, > > Kshithij Iyer > > ASSOCIATE QUALITY ENGINEER > > Red Hat India > > kiyer at redhat.com IM: kiyer > > TRIED. TESTED. TRUSTED. > @redhatjobs redhatjobs > @redhatjobs > > > > _______________________________________________ > automated-testing mailing list > automated-testing at gluster.org > https://lists.gluster.org/mailman/listinfo/automated-testing > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sankarshan.mukhopadhyay at gmail.com Mon Apr 29 05:13:41 2019 From: sankarshan.mukhopadhyay at gmail.com (Sankarshan Mukhopadhyay) Date: Mon, 29 Apr 2019 10:43:41 +0530 Subject: [automated-testing] how does glusto based testing handle logging? Message-ID: This is practically a 2 part question: + negative scenarios in Glusto ie. where not-expected behavior happens + handling logging for such negative paths In summary, does setting up Glusto also set up an ELK (or, similar stack) for centralized logging? From jholloway at redhat.com Mon Apr 29 15:34:51 2019 From: jholloway at redhat.com (Jonathan Holloway) Date: Mon, 29 Apr 2019 10:34:51 -0500 Subject: [automated-testing] how does glusto based testing handle logging? In-Reply-To: References: Message-ID: Hi Sankarshan, In a nutshell, no. Glusto itself only sets up a main Python logger for the Glusto library to write to, typically when a test is run via /usr/bin/glusto. Above that, the gluster libraries either write to the main Glusto log or create their own logger for the tests themselves. For collection of those and logs at the system layer (syslog, Gluster, etc), the automation is handled at the Jenkins level. A centralized solution for test and log analysis is on the CCIT roadmap in QE, and I'm working with Data Hub for the Log File Analysis aspect using their Elastic. Framework (PyTest, Glusto, etc.) and test logs generated by the gluster-specific libraries would be included in logs collected by the system, but setup for collation of that log data would be a level higher. Someone can correct me, but I think the closest we have right now is the sosreport generated and stored after the test downstream. Cheers, Jonathan On Mon, Apr 29, 2019 at 12:20 AM Sankarshan Mukhopadhyay < sankarshan.mukhopadhyay at gmail.com> wrote: > This is practically a 2 part question: > > + negative scenarios in Glusto ie. where not-expected behavior happens > + handling logging for such negative paths > > In summary, does setting up Glusto also set up an ELK (or, similar > stack) for centralized logging? > _______________________________________________ > automated-testing mailing list > automated-testing at gluster.org > https://lists.gluster.org/mailman/listinfo/automated-testing > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sankarshan.mukhopadhyay at gmail.com Mon Apr 29 16:16:47 2019 From: sankarshan.mukhopadhyay at gmail.com (Sankarshan Mukhopadhyay) Date: Mon, 29 Apr 2019 21:46:47 +0530 Subject: [automated-testing] how does glusto based testing handle logging? In-Reply-To: References: Message-ID: On Mon, Apr 29, 2019 at 9:05 PM Jonathan Holloway wrote: > In a nutshell, no. Glusto itself only sets up a main Python logger for the Glusto library to write to, typically when a test is run via /usr/bin/glusto. > Above that, the gluster libraries either write to the main Glusto log or create their own logger for the tests themselves. > For collection of those and logs at the system layer (syslog, Gluster, etc), the automation is handled at the Jenkins level. > I think this leads to a design decision around how a Glusto instance for Gluster would need to have a centralized logging or, at the very least, rsyslog configured. Logs resulting from failed tests are a good place to start for patterns and identify remedial approaches. > A centralized solution for test and log analysis is on the CCIT roadmap in QE, and I'm working with Data Hub for the Log File Analysis aspect using their Elastic. > Framework (PyTest, Glusto, etc.) and test logs generated by the gluster-specific libraries would be included in logs collected by the system, but setup for collation of that log data would be a level higher. > > Someone can correct me, but I think the closest we have right now is the sosreport generated and stored after the test downstream. I'm not sure who can respond to this. From ykaul at redhat.com Mon Apr 29 16:39:45 2019 From: ykaul at redhat.com (Yaniv Kaul) Date: Mon, 29 Apr 2019 19:39:45 +0300 Subject: [automated-testing] how does glusto based testing handle logging? In-Reply-To: References: Message-ID: On Mon, Apr 29, 2019 at 7:17 PM Sankarshan Mukhopadhyay < sankarshan.mukhopadhyay at gmail.com> wrote: > On Mon, Apr 29, 2019 at 9:05 PM Jonathan Holloway > wrote: > > > In a nutshell, no. Glusto itself only sets up a main Python logger for > the Glusto library to write to, typically when a test is run via > /usr/bin/glusto. > > Above that, the gluster libraries either write to the main Glusto log or > create their own logger for the tests themselves. > > For collection of those and logs at the system layer (syslog, Gluster, > etc), the automation is handled at the Jenkins level. > > > > I think this leads to a design decision around how a Glusto instance > for Gluster would need to have a centralized logging or, at the very > least, rsyslog configured. Logs resulting from failed tests are a good > place to start for patterns and identify remedial approaches. > Is the question about Gluso logging or Gluster? I thought the latter... It's also a feature of Gluster, to log to syslog, so would be good to add the capability to test that. I believe it should be easy(TM) to add to the client (1st client) such configuration. I'll add it to the queue. > > > A centralized solution for test and log analysis is on the CCIT roadmap > in QE, and I'm working with Data Hub for the Log File Analysis aspect using > their Elastic. > > Framework (PyTest, Glusto, etc.) and test logs generated by the > gluster-specific libraries would be included in logs collected by the > system, but setup for collation of that log data would be a level higher. > > > > Someone can correct me, but I think the closest we have right now is the > sosreport generated and stored after the test downstream. > > I'm not sure who can respond to this. > _______________________________________________ > automated-testing mailing list > automated-testing at gluster.org > https://lists.gluster.org/mailman/listinfo/automated-testing > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vdas at redhat.com Mon Apr 1 06:20:23 2019 From: vdas at redhat.com (Vivek Das) Date: Mon, 01 Apr 2019 06:20:23 -0000 Subject: [automated-testing] What is the current state of the Glusto test framework in upstream? In-Reply-To: References: Message-ID: Comments inline On Mon, Apr 1, 2019 at 11:26 AM Vijay Bhaskar Reddy Avuthu < vavuthu at redhat.com> wrote: > > > On Sun, Mar 31, 2019 at 6:30 PM Yaniv Kaul wrote: > >> >> >> On Wed, Mar 13, 2019 at 4:14 PM Jonathan Holloway >> wrote: >> >>> >>> >>> On Wed, Mar 13, 2019 at 5:08 AM Sankarshan Mukhopadhyay < >>> sankarshan.mukhopadhyay at gmail.com> wrote: >>> >>>> On Wed, Mar 13, 2019 at 3:03 PM Yaniv Kaul wrote: >>>> > On Wed, Mar 13, 2019, 3:53 AM Sankarshan Mukhopadhyay < >>>> sankarshan.mukhopadhyay at gmail.com> wrote: >>>> >> >>>> >> What I am essentially looking to understand is whether there are >>>> >> regular Glusto runs and whether the tests receive refreshes. However, >>>> >> if there is no available Glusto service running upstream - that is a >>>> >> whole new conversation. >>>> > >>>> > >>>> > I'm* still trying to get it running properly on my simple >>>> Vagrant+Ansible setup[1]. >>>> > Right now I'm installing Gluster + Glusto + creating bricks, pool and >>>> a volume in ~3m on my latop. >>>> > >>>> >>>> This is good. I think my original question was to the maintainer(s) of >>>> Glusto along with the individuals involved in the automated testing >>>> part of Gluster to understand the challenges in deploying this for the >>>> project. >>>> >>>> > Once I do get it fully working, we'll get to make it work faster, >>>> clean it up and and see how can we get code coverage. >>>> > >>>> > Unless there's an alternative to the whole framework that I'm not >>>> aware of? >>>> >>>> I haven't read anything to this effect on any list. >>>> >>>> >>> This is cool. I haven't had a chance to give it a run on my laptop, but >>> it looked good. >>> Are you running into issues with Glusto, glusterlibs, and/or >>> Glusto-tests? >>> >> >> All of the above. >> - The client consumes at times 100% CPU, not sure why. >> - There are missing deps which I'm reverse engineering from Gluster CI >> (which by itself has some strange deps - why do we need python-docx ?) >> - I'm failing with the cvt test, with >> test_shrinking_volume_when_io_in_progress with the error: >> AssertionError: IO failed on some of the clients >> >> I had hoped it could give me a bit more hint: >> - which clients? (I happen to have one, so that's easy) >> - What IO workload? >> - What error? >> >> - I hope there's a mode that does NOT perform cleanup/teardown, so it's >> easier to look at the issue at hand. >> > > python-docx needs to be installed as part of "glusto-tests dependencies". > file_dir_ops.py supports writing docx files. > IO failed on the client: 192.168.250.10. and it trying to write deep > directories with files. > Need to comment "tearDown" section if we want leave the cluster as it is > in the failed state. > > >> > - From glustomain.log, I can see: >> 2019-03-31 12:56:00,627 INFO (validate_io_procs) Validating IO on >> 192.168.250.10:/mnt/testvol_distributed-replicated_cifs >> 2019-03-31 12:56:00,627 INFO (_log_results) ESC[34;1mRETCODE ( >> root at 192.168.250.10): 1ESC[0m >> 2019-03-31 12:56:00,628 INFO (_log_results) ESC[47;30;1mSTDOUT ( >> root at 192.168.250.10)... >> Starting File/Dir Ops: 12:55:27:PM:Mar_31_2019 >> Unable to create dir '/mnt/testvol_distributed-replicated_cifs/user6' : >> Invalid argument >> Unable to create dir >> '/mnt/testvol_distributed-replicated_cifs/user6/dir0' : Invalid argument >> Unable to create dir >> '/mnt/testvol_distributed-replicated_cifs/user6/dir0/dir0' : Invalid >> argument >> Unable to create dir >> '/mnt/testvol_distributed-replicated_cifs/user6/dir0/dir1' : Invalid >> argument >> Unable to create dir >> '/mnt/testvol_distributed-replicated_cifs/user6/dir1' : Invalid argument >> Unable to create dir >> '/mnt/testvol_distributed-replicated_cifs/user6/dir1/dir0' : Invalid >> argument >> >> I'm right now assuming something's wrong on my setup. Unclear what, yet. >> > > + vivek ; for the inputs regarding cifs issue > A subsequent bug was raised for the above issue. https://bugzilla.redhat.com/show_bug.cgi?id=1664618 > > I had a conversation with vivek regarding the "Invalid argument" long time > back. > > >> >>> I was using the glusto-tests container to run tests locally and for BVT >>> in the lab. >>> I was running against lab VMs, so looking forward to giving the vagrant >>> piece a go. >>> >>> By upstream service are we talking about the Jenkins in the CentOS >>> environment, etc? >>> >> >> Yes. >> Y. >> >> @Vijay Bhaskar Reddy Avuthu @Akarsha Rai >>> any insight? >>> >>> Cheers, >>> Jonathan >>> >>> > Surely for most of the positive paths, we can (and perhaps should) use >>>> the the Gluster Ansible modules. >>>> > Y. >>>> > >>>> > [1] https://github.com/mykaul/vg >>>> > * with an intern's help. >>>> _______________________________________________ >>>> automated-testing mailing list >>>> automated-testing at gluster.org >>>> https://lists.gluster.org/mailman/listinfo/automated-testing >>>> >>> _______________________________________________ >>> automated-testing mailing list >>> automated-testing at gluster.org >>> https://lists.gluster.org/mailman/listinfo/automated-testing >>> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: