Posts

Showing posts from July, 2016

Woman in Tech [Fedora Campus Presence]

Image
Today, we kicked off an initiative for engaging more woman contributors. Kanika Murarka , who joined Red Hat as Fedora QA Intern helped me organize this hangout call. The purpose was to bring in more woman contributors and help them be industry ready. As the buzzwords in the industry boom , these meetups are focused to generate the awareness in the first few rounds and then address the fields like IoT , ML, Mobile App Dev to mention a few.

All of these are done keeping in mind , that we use the bleeding edge open sourced linux based Fedora , which is also the bleeding edge for RHEL . In the first few mins, we discussed about the FOSS and the participants exposure with the industry. After a bit in-depth discussion , it was figured out that less or almost zero guidance is one of the major barrier when the participants wanted to contribute to any FOSS project.Also, lack of on-boarding guides are also one major barrier for not being able to contribute to FOSS projects which participants …

[Mozilla Punjab]MozillaIn Meetup Planning and Community Activity Followups

Image
It was sometime since, I haven't had to chance to speak to the awesome people of  Mozilla Punjab community . Mrinal and me decided to schedule an hangout call and have a follow up session about the activities as well as to spread the word about the upcoming Mozilla India community meetup. We started at 9:30pm on Tuesday 2016-07-26 where we gave a heads up about the update about Mozilla India and the new functional groups.



This was a successful meet with all the FSA taking active participation and ended on the note that they will be submitting ideas of a more scale-able community and more aligned to the new functional areas viz MLN, connected devices and QRS.


Taskotron - Automated testing Framework

Image
This post will be about how one can use Taskotron for Automated Testing in Fedora QA .

** It's recommended to use VM than any production system for testing.


Let's run through the setting up of Taskotron!
Making sure that you have the root permission , you can start off by executing the commands

   sudo curl https://copr.fedorainfracloud.org/coprs/tflink/taskotron/repo/fedora-23/tflink-taskotron-fedora-23.repo \




Once you are done enabling the repo , you can start off by installing taskotron "sudo dnf -y install libtaskotron"

Since the runtask command writes into system-wide locations on the filesystem, any user who runs it will need to be added to the taskotron group with the command

"sudo usermod -aG taskotron <user>"


Let's try a simple task of RPM lint and see how it Taskotron automates the testing process.


Let's start by cloning RPM lint repo https://bitbucket.org/fedoraqa/task-rpmlint

      After you are done cloning the repo , you can in…

Workers and Jobs in Fedora OpenQA

Image
As my first post talked about how you can set up openqa , this part will talk about how you can start initiating workers, give them tasks and set up your machine for testing the images.

Assuming that your config files are set up properly, you can run the following commands sequentially
sudo setsebool httpd_can_network_connect1(if SElinux is creating issues)
sudo systemctl start openqa-scheduler
sudo systemctl start openqa-gru 
sudo systemctl start openqa-websockets
sudo systemctl start openqa-webui
sudo systemctl start httpd

Start the workers: sudo systemctl start openqa-worker@1
 or by sudo -u _openqa-worker /usr/share/openqa/script/worker --instance X --apikey "1234567890ABCDEF" --apisecret="1234567890ABCDEF"
This should get the work done, verify by visiting http://localhost

To start more workers change the value of @ or the value in the instances Xs

Once done, you can go ahead with the rest of setup.

  cd /var/lib/openqa/tests/
  git clone https://bitbucket.org/rajcze/o…

Setting up Open QA for Fedora QA [Automated Testing] Part 1

Image
This post is going to talk about Automated testing and how you can use it and do automated testing. In the last few post I've talked about how one can start contributing to Fedora QA by doing Release validation testing and Update testing in Bodhi and Fedora easy karma.

At times, you might feel the necessity to automate the testing . That's Open QA comes into picture. OpenQA is one of the automated testing framework which we generally use to test for Release Validation of the OS images.

Basic Requirements remains the same , A minimum of FAS account and a machine with root privileges.

Let's start with setting up of OpenQA( I will be working with Fedora 24 1.2 RC )

Note: I am using a VM , you can do it in your bare metal too.

Grab your latest Fedora 24 workstation from here.

Once you are done, use virtual machine manager  ( I am using Virtual Machine Manager) ; assign some number of cores and RAM ( I have given 2 cores and 2048 MB of RAM ) . I have assigned it the default 20GB H…

Best Practices for testing Bodhi Packages in Fedora QA

Image
When one attempts to do update-testing in Bodhi , there are few stuffs you check for.

**This one is mostly important for the people who are new.

I will take the example of two packages for F24 and explain the things one should look for.

Firstly, whenever you open up a Bodhi update please try looking for a test cases . The test case will generally give the tester a better idea of what the developer has built and wants to gets tested as an enhancement to the existing package or a totally new package.

Here is very good example(s)



Now, if you are lucky enough to get the test cases , you can get inside the test cases , have a look at the "Setup" - which will tell you how to set up the system for testing , "How to test" - will help the tester with the steps to test it. "Expected Results" - will help testers with what are the things they are supposed to look for in order to give the package +1/-1 karma while they are executing the "How to test" instr…

Fedora QA Global Onboarding Call & Fedora QA sprint

Image
This was the first time, we pulled  (voice/video+text) onboarding session for Fedora QA . In the last couple of months,we have had a lots of news contributors who were sending out mails at "test" list. As the cog wheel of time rotated , we planned for a onboarding session . Contributors joined us from 6 countries with the sheer intention of making Fedora better. Thanks a ton Adamw and all the senior members , for dropping by and helping me host the Onboarding session.As we moved ahead with the sessions, we covered Release Validation , Update testing . Adam talked and showed us demo of how the audience can use easy-karma for Update testing. He also talked about Taskatron and Open QA in depth which helped the contributors have an understanding of "Automated Testing" .

Feed backs ranged from awesome to informative. The only thing , which needs working on is the limitation of Google Hangouts participants. We do need to find an hassle-free open source alternative which …

Fedora 24 Release Party [Post Event Report]

Image
Furthering to our efforts of writing tests; organizing a few sessions [http://sumantrom.blogspot.in/2016/03/getting-started-with-fedora-qa-series-1.html] where one can learn about testing and we can do things together etc. All this while, it has been fun - I’ve met new people, learned things and also realized that sharing even small pieces of knowledge and experiences makes it easier for newcomers to feel welcome.
So, at one point when Fedora 24 was released, it was exciting as we were closely involved with Fedora Release validation testing [https://fedoramagazine.org/release-validation-testing-fedora/]and so wanted to put together a release party. All open source projects encourage their communities to celebrate software release and similar milestones. Ours was a simple plan - we were having a really good time learning together and we wanted to get more people to know that there is a better way to gain knowledge - by sharing and working together.
We put together a page on the Fedora wi…

Fedora QA - Onboarding Session ON Fri 8/7/16 1700-1900hrs UTC

I started working with Fedora QA and very soon started realizing that there is huge scope for the new comers to join us. When it dawned upon me, I started off by writing a series of "Getting started with Fedora QA" for bunch of technical sites and my blog. Needless to say , It took effort and cooperation from the whole Fedora QA team ; within a span of a few months we started having new members coming up and introducing themselves on our "Test Mailing List" which  made me believe , that we can always have a voice/video session on Hangouts (will be recorded for later usage and will be hosted on youtube under CC-SA) . This session will empower the new contributors to begin their contribution and also encourage more participation and engagement in the Fedora QA project.

As the cog wheel of time rotated, I set up a doodle ,got the votes in and hereby I am announcing an Global Onboarding Session which will be covering this agenda.