Loading…
DevConf.CZ 2020 has ended
Quality / Testing [clear filter]
Friday, January 24
 

3:30pm CET

7 Ways to Make Kernel Developers Like Cookies
Testing linux kernel code is challenging because of the speed and the diversity of the changes. Many companies are
attempting to tackle this through the use of automation and CI (continuous integration).

Red Hat contributes to stabilizing the upstream linux kernel using its Enterprise class hardware.
The Continuous Kernel Integration ("cookie") team has had successes in various ways; e.g. in being able
to scale, adding multiple kernel trees to testing and uncovering kernel bugs.

Over time, more people are starting to view CI for kernel in a bit more positive light.
More cooperation with various companies and individuals could help to make a real difference.

This talk will discuss what Red Hat has done in this space, how it is trying to cooperate with others
and what issues we're seeing in trying to take our work into the next level.

We encourage you to share and invite people who might be interested; this talk
is suitable for anyone in kernel testing/tools, CI and related topics.

Speakers
JR

Jakub Racek

Software Engineer, Red Hat
Red Hat software engineer, former kernel maintainer
avatar for Iñaki Malerba

Iñaki Malerba

Senior Software Engineer, Red Hat



Friday January 24, 2020 3:30pm - 4:25pm CET
E105 Faculty of Information Technology Brno University of Technology, Božetěchova, Brno-Královo Pole, Czechia

4:30pm CET

API testing 101’s: Quick and Easy
In this talk, the attendees will learn how to get started with API testing. Considering the testing pyramid, it is important to have more API tests than UI tests. I will be covering topics including the basics of REST API, why do we need API tests, getting started with API tests, the testing frameworks and libraries to use(pytest, lemoncheesecake, unittest, requests, etc.) and test reporting.

Outline:
- Brief introduction to REST API
- Getting started with API testing
- Which testing frameworks and libraries to use in Python.
- Making API requests, Assertions and Response JSON parsing.
- Using framework: lemoncheesecake to write your API tests
- Understanding the Matchers provided by the framework to assert the API responses
- Live demo(running the API test suite that we created using lemoncheesecake)
- Generating test reports and logging assertions
Slides available at -> https://anarang.github.io/api101s_devconf2020/#slide=1

Speakers
avatar for Anisha Narang

Anisha Narang

Senior Quality Engineer, Red Hat
Senior Quality Engineer



Friday January 24, 2020 4:30pm - 4:55pm CET
E105 Faculty of Information Technology Brno University of Technology, Božetěchova, Brno-Královo Pole, Czechia

5:00pm CET

Auto-Detection of Copied Code from StackOverflow
StackOversight is a novel approach to address the ever-growing concern of copied code within applications. Instead of the traditional route of searching for intra-application code-clones, StackOversight finds code that is copied from online sources, like StackOverflow. Code that is found online is oftentimes unverified and riddled with code-smells and bugs. Utilizing online code too much can lower the quality of code overall and create a nightmare for quality assurance. This session will cover the basics of code-clones and the ways of detecting them so no background knowledge is needed by attendees. StackOversight is a working open-source prototype with initial tests proving successful, as over 500 high-severity clones were found in the Spring Framework enterprise application. StackOversight was developed during a summer internship program as a combined effort of NSF IRES researchers from Baylor University and interns from Red Hat in Brno.

Speakers
avatar for Andrew Walker

Andrew Walker

Researcher, Baylor University
Software Consultant at Credera. Graduate of Baylor University.



Friday January 24, 2020 5:00pm - 5:25pm CET
E105 Faculty of Information Technology Brno University of Technology, Božetěchova, Brno-Královo Pole, Czechia

5:30pm CET

Testing Github PRs on Fedora/Centos with Packit
Packit (https://packit.dev) is working on making the packaging of your Fedora and RHEL packages automated from upstream git. Testing Farm (https://packit.dev/testing-farm) is Packit's main testing system. Let's look how to integrate FMF (https://pagure.io/fedora-ci/metadata) based tests with your upstream project. The presentation will include a demo showing a pull request of a GitHub project which will be automatically built for Centos Stream and all Fedora releases, tested on VMs from a community provided cloud, and the results of the testing linked directly to the Github PR. We will also show how you can use the same tests for testing and gating in Fedora and RHEL.

Speakers
avatar for Miroslav Vadkerti

Miroslav Vadkerti

Senior Prinicipal Quality Engineer, Red Hat
I work on Continuous Integration for RHEL. I am the co-author of https://github.com/gluetool/gluetool and Testing Farm.



Friday January 24, 2020 5:30pm - 5:55pm CET
E105 Faculty of Information Technology Brno University of Technology, Božetěchova, Brno-Královo Pole, Czechia
 
Sunday, January 26
 

9:30am CET

Greenwave: how gating works in Red Hat and Fedora
How can we decide if a software artifact can pass certain
gating points in a software delivery pipeline? We need to make sure
that all tests are satisfied, but doing it manually might introduce
days of delays, which is not ideal today. Greenwave, WaiverDB and
ResultsDB are the key elements in Fedora and Red Hat to automate the
gating process. We're going to show you what they are, how they work,
and why they are fundamental for an automated and efficient release
pipeline.

Speakers
avatar for Giulia Naponiello

Giulia Naponiello

Software engineer, Red Hat
I'm an Italian girl and a software engineer at Red Hat. I'm in the DevOps team and I work on a project called Factory 2.0, that has the purpose of automate and improve the release pipeline. I love open source... that's why I also love Red Hat. Sharing knowledge always made us better... Read More →
LH

Lukas Holecek

Senior Software Engineer, Red Hat
Originally a C++ developer. Two years at Red Hat as Python developer. Love coffee, beer, bodyweight fitness.



Sunday January 26, 2020 9:30am - 9:55am CET
A112 Faculty of Information Technology Brno University of Technology, Božetěchova, Brno-Královo Pole, Czechia

10:00am CET

Continuous Fuzzing Best Practices
Fuzzing or fuzz testing is an automated software testing technique that involves providing semi-random data as input to test programs. Fuzzing helps with security, stability and performance.
Integrating fuzz testing into the development workflow and CI is a great addition to code quality but also involves new challenges due the special nature of fuzzing.
We will share our experience of running continuous fuzzing for both open-source and close-source C/C++/Golang and Rust projects (systemd between theme). We will discuss challenges, possible solutions and other best-practices in continuous fuzzing.

Agenda
* What is fuzzing? (quick)
* libFuzzer introduction + demo.
* What is continuous fuzzing?
* Current state of continuous fuzzing.
* Challenges of continuous fuzzing.
* What fuzzing is not?
* Current State of C/C++ OSS projects.
* Case studies

Speakers
YP

Yevgeny Pats

CEO, Fuzzit
Security enthusiast. Israeli cyber-security intelligence veteran. Polyglot (Computer) & Serial entrepreneur. Apart from that love extreme sports - snowboarding/surfing/wind-surfing/kite-surfing/mtb


Sunday January 26, 2020 10:00am - 10:25am CET
A112 Faculty of Information Technology Brno University of Technology, Božetěchova, Brno-Královo Pole, Czechia

10:30am CET

Unit testing and mocking with cmocka
cmocka is an elegant unit testing framework for C with support for mock objects. The talk will dive into the features of cmocka with a special focus on mocking. Mocking is a technique to have a test instruct an object how to behave. It allows to do unit testing of functions which you were not able to do before.

Speakers
avatar for Andreas Schneider

Andreas Schneider

Principal Software Engineer, Red Hat
Source Code Artist. Andreas works on several FOSS projects including Samba, libssh, cmocka, cwrap, darktable, KDE and LineageOS.



Sunday January 26, 2020 10:30am - 11:25am CET
A112 Faculty of Information Technology Brno University of Technology, Božetěchova, Brno-Královo Pole, Czechia

11:30am CET

Identifying performance bottlenecks in a cloud
In today's competitive environment, performance is the key to the success of a product. While making choices from a set of similar products one of the key considerations is performance. The success story of containers technology can also be attributed to the fact that its performance is better compared to virtual machine.
In this session you will know the different tools that can be used for performance benchmarking.
You will be able to analyse bottlenecks using tools like tcpdump, perf, sar. You will know how to categorize different types of performance bugs. You will know what are the quick tricks to fix some kinds of performance bugs.

Speakers
RK

Rinku Kothiya

Senior Software Engineer, RedHat
I am a Senior Software Engineer for Gluster filesystem within Red Hat. I have also worked as a SME for NFS filesystem in RedHat and as a Developer for AFS Gateway filesystem at IBM.



Sunday January 26, 2020 11:30am - 11:55am CET
A112 Faculty of Information Technology Brno University of Technology, Božetěchova, Brno-Královo Pole, Czechia

12:00pm CET

Benchmark Your Cloud-Native Database
Sure you CAN host a database on Openshift/Kubernetes, but SHOULD you? What kind of performance do you see on various storage configurations? Is it fast, is it slow, or is it something in between?

For the last year, both speakers have been testing PostgreSQL and other databases running in Openshift and Kubernetes clusters in order to see what overhead, throughput and response times are like. They've tested in the cloud and on bare metal, with various benchmarks and storage types including local volumes, cloud storage, and the Rook/Ceph Operator. Find out their findings on where cloud native database hosting shines -- and where it doesn't.

Attendees will learn how to evaluate when Openshift or Kubernetes are an appropriate location for their databases, as well as testing methods and configuration tips for best performance.

Speakers
avatar for Josh Berkus

Josh Berkus

Kubernetes Community Architect, Red Hat
Josh Berkus is the Kubernetes Community Manager for Red Hat. He contributes to Kubernetes, Etcd, Elekto, and a few other projects. Josh is a TAG Contributor Strategy co-chair, and recently retired from being a Kubernetes SIG lead. He also still dabbles in databases, despite being... Read More →
avatar for Sagy Volkov

Sagy Volkov

Storage Performance Architect, Red Hat
Sagy Volkov is a former performance engineer in ScaleIO (initiated the performance engineering group and the ScaleIO enterprise advocates group) and architected the ScaleIO storage appliance reporting to the CTO/founder of ScaleIO. He is now with Red Hat as a storage performance instigator... Read More →


Sunday January 26, 2020 12:00pm - 12:55pm CET
A112 Faculty of Information Technology Brno University of Technology, Božetěchova, Brno-Královo Pole, Czechia

1:00pm CET

Are your legacy selenium tests ready for Selenium4
With the upcoming release of Selenium 4, the Selenium project is moving from a JSON Wire protocol to a W3C protocol for selenium- browser communication and eventually all browser vendors will stop supporting the old protocol for their latest browsers. Therefore if your application’s browser policy states a support to latest versions of modern browsers then you will **have** to migrate your existing tests to Selenium 4 (W3C) when it comes out officially in few months.
This project is right now in Alpha 4 stage and available for testing via a maven repo. In this talk we will walk you through what to expect from Selenium 4 and how to be prepared for this migration.
We will also show code snippets and examples with alpha 4 and its new features like ‘relative locators’ .
The point which we are trying to make through this talk is that unlike the earlier Selenium releases Selenium 4 has a major architectural change and migrating legacy selenium tests is not going to be optional .

Speakers
avatar for Kanchan Katare

Kanchan Katare

Quality Engineer, Red Hat
QE



Sunday January 26, 2020 1:00pm - 1:55pm CET
A112 Faculty of Information Technology Brno University of Technology, Božetěchova, Brno-Královo Pole, Czechia

2:00pm CET

Reducing cpu jitter for deterministic performance
Do you rerun your performance tests multiple times because of run-to-run variation?
Are cpu jitter spikes causing your low-latency application to miss important network packets?

Tuning your system for low latency used to be tedious and often error prone. Fortunately the cpu-partitioning tuned profile simplifies that considerably.
And learn how eBPF can help you find where your cpu latencies are coming from.

Come learn what the cpu-partitioning profile is about, how it helps to deliver repeatable performance test results, and see an example where it helped to deliver impressive low-latency results.

Speakers
avatar for Joe Mario

Joe Mario

Red Hat
Long time performance engineer.



Sunday January 26, 2020 2:00pm - 2:55pm CET
A112 Faculty of Information Technology Brno University of Technology, Božetěchova, Brno-Královo Pole, Czechia

3:00pm CET

Requre: Simplify your Integration&E2E tests
This talk is about easy testing the code that needs remote services.

We will show you the approach that helps in situations where you are not able/don’t want to store secrets like auth tokens in CI’s as well as when the communication takes a lot of time. No mocking, no complicated tests.

We will present Requre, our implementation in Python, that helps us to test our projects, that works with services like Github, Gitlab, Pagure, Koji, Copr or git library.

Do you want to know more?
- How to record your session and then replay it to your test code?
- Why is this approach better than mocking?
- How to write simple tests?

Speakers
avatar for Jan Ščotka

Jan Ščotka

principal Quality assurance, Redhat Czech s.r.o.
Started to work in Redhat 10 years ago. working on cockpit project and in packit organization
avatar for František Lachman

František Lachman

Senior Software Engineer, Packit PO, Red Hat
Python developer, Red-Hatter, teacher at FI MU, scout and climber.



Sunday January 26, 2020 3:00pm - 3:25pm CET
E104 Faculty of Information Technology Brno University of Technology, Božetěchova, Brno-Královo Pole, Czechia
 
Filter sessions
Apply filters to sessions.