# QA and Testing in CERNBOX: the cornerstone of service development and operation

- Institution: CERN
- Department: Conferences
- Speaker: Jakub MOSCICKI
- Year: 2015
- Language: English
- Source: [CERN](https://videos.cern.ch/record/3014089)
- Licence: [CERN](http://copyright.web.cern.ch)
- Who can watch: Teens profiles and older (sources give no ratings; placed by Invisible Network from the source's own words)

QA and Testing in CERNBOX (https://cernbox.cern.ch) presents a serious challenge and is critically important:

- the service deals with user data directly on their local computers (synchronization clients), at present ~1000 clients connecting daily - the very nature of synchronization is to propagate changes across computers which also means propagating problems if they occur - there is a wide range of supported platforms (MacOSX, Windows, major Linux distributions, mobile platforms) - OS semantics are often incompatible or conflicting: for example HFS is case preserving, NTFS supports the legacy of 8.3 DOS file format, etc. - the operational environment varies enormously, for example: from fast, reliable network inside computing center to unreliable, high-latency, ad-hoc connections from airports - etc.

From service development perspective, CERNBOX integrates several complex components which development cycles are disjoint and geographically distributed:

- PB-range storage backend (EOS) developed and operated in-house - synchronization clients and web-access layer (ownCloud) developed externally

To handle some of the development, integration and operational challenges we have developed a testing framework called Smashbox. In this presentation I will summarize how we use Smashbox for QA and Testing of critical data handling paths of CERNBOX with some real-life examples.

References:

- Source code: https://github.com/cernbox/smashbox - Mysteries of Dropbox: https://indico.cern.ch/event/336753/session/1/contribution/28 - Smashbox in action: https://owncloud.org/blog/smashbox-in-action.

0:00:00 Slide 1

0:00:27 Slide 2

0:01:08 Slide 3

0:02:04 Slide 4

0:03:16 Slide 5

0:04:50 Slide 6

0:06:15 Slide 7

0:07:26 Slide 8

0:08:54 Slide 9

0:10:55 Slide 10

0:12:38 Slide 11

0:12:59 Slide 12

0:14:31 Slide 13

0:15:50 Slide 14

0:16:46 Slide 15

0:17:10 Slide 16

0:18:31 Slide 17

0:19:49 Slide 18

0:21:45 Slide 19

0:22:54 Slide 20

0:23:00 Slide 21

## Lectures

1. [QA and Testing in CERNBOX: the cornerstone of service development and operation](https://invisiblenetwork.ai/learn/cern/3014089/5a5b3db07946), 28 min (CERN's player)
