Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More automated testing on real hardware or QEMU for gluon #1734

Open
SmithChart opened this issue Jun 1, 2019 · 4 comments
Open

More automated testing on real hardware or QEMU for gluon #1734

SmithChart opened this issue Jun 1, 2019 · 4 comments
Labels
0. type: enhancement The changeset is an enhancement

Comments

@SmithChart
Copy link
Contributor

SmithChart commented Jun 1, 2019

During the Freifunk Meetup during GPN19 [0] we talked about automated testing of gluon on real hardware or QEMU.

I have briefly introduced my CI system. Here are some follow ups on this.

  • Blog [1] [2]
  • Test repo [3] (Tests are here [3a])
  • Hardware is abstracted using labgrid [4]

Currently this setup runs using a TL-WR 841 under my desk and is currently not publicly available. I would happily share my work and knowledge.

In the discussion we agreed that we would like to continue this discussion and that it would be great to have such an infrastructure for gluon development and or other communities.

For the linux kernel there is a distributed testing infrastructure: Kernel-Ci [5].
Maybe we can learn from their system and adapt this to gluon.

This issue is meant to start a discussion on this topic.
I can suggest that we may have a meeting during the Chaos Communication Camp this summer or maybe have a meeting in mumble.

Cheers
Chrissi^

@rotanid
Copy link
Member

rotanid commented Jun 1, 2019

Hi,
thanks four your ideas and work on this topic!
maybe related issues: #1680 #1569

Regarding meetings i'd like to remind everyone that we agreed last year to not have Gluon meetings at events, as these meetings are not inclusive (time, distance, money).
There's a planned Gluon Developer meeting in mumble in the next weeks.
Regards

@rotanid rotanid added the 0. type: enhancement The changeset is an enhancement label Jun 1, 2019
@mweinelt
Copy link
Contributor

mweinelt commented Jun 7, 2019

@lemoer is currently in process of setting up a ci pipeline using jenkins.

A docker build environment is being prepared in #1738.

@CodeFetch
Copy link
Contributor

There is also a test suite from Qualcomm somewhere to use real hardware, but I think as Gluon focuses on the software development and not e.g. debugging WiFi drivers, lemoer's approach is the right way to start.

@mweinelt
Copy link
Contributor

mweinelt commented Mar 26, 2022

I have written a QEmu test driver based on what NixOS was using like a year ago. It does work, but the test harness around it would need to be written. A way to define test scripts, start one test after another.

https://github.com/freifunk-gluon/gluon/blob/qemu-serial-testdriver/tests/driver.py

Looking for volunteers. This is especially interesting since we don't currently know if a build actually works beyond having been built.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. type: enhancement The changeset is an enhancement
Projects
None yet
Development

No branches or pull requests

4 participants