README.infrastructure 5.95 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
About the nodes used for jenkins.debian.net
===========================================
:Author:           Holger Levsen
:Authorinitials:   holger
:EMail:            holger@layer-acht.org
:Status:           working, in progress
:lang:             en
:Doctype:          article
:License:          GPLv2

== Scope

13
14
15
16
This README is about all the nodes used for jenkins.debian.net and tests.reproducible-builds.org.

All nodes run Debian stable, except for the amd64 moonshot nodes, which run Ubuntu 16.04.

17
18
Mattia and Holger have root access to all nodes, including jenkins. Additionally Vagrant has
root access to all armhf nodes.
19

20
21
22
23
24
25
=== jenkins / trbo shell monitor

Run `/srv/jenkins/bin/jenkins-shell-monitor.sh` as jenkins on jenkins to get an
overview of how jenkins.debian.net & tests.reproducible-builds.org (trbo) are
doing.

26
27
28
29
30
The shell monitor both includes information from 
https://tests.reproducible-builds.org/trbo.status.html as well as lacks some
other, so it is advised to monitor both the shell script as well as that URL
- and act on it.

31
32
=== amd64 and i386 nodes

33
amd64 and i386 nodes run as VMs in the IONOS cloud. Mattia and Holger have "physical"
34
35
access including remote console and BIOS access.

36
The VMs for jenkins.d.n and rb-mail1.r-b.o have a statically allocated IP addresses, as well
37
38
39
40
as PTR records for them.  IONOS asked us to inform them (support@cloud.ionos.com) in case
at some point we will decommission them and the reserved IPs won't be needed anymore, so they
can remove the PTR records and unblock the IP addresses.

41
42
43
44
45
==== nodes at osuosl.org

We now also have 8 nodes running at osuosl.org. Contact via #osuosl on freenode or mail to 
support@osuosl.org mentioning the machine name in the subject.

46
47
The nodes are used for these jobs:

48
* osuosl167: debian-janitor, mmdebstrap-jenkins jobs and openqa
49
* osuosl168: fdroid
Holger Levsen's avatar
Holger Levsen committed
50
* osuosl170: archlinux (future), alpine
51
52
53
* osuosl171: openwrt, coreboot, netbsd
** is constantly online (in jenkins) now, which is not how we like it and still doesnt solve the netbsd job probs
* osuosl172: openwrt, coreboot (future)
54
* osuosl173: debian/archlinux rebuilder#1 / live-builds
55
* osuosl174: bwiedemann: opensuse tests, vagrant: ocasional manual tests
Holger Levsen's avatar
Holger Levsen committed
56
* osuosl184: archlinux, alpine
57

Holger Levsen's avatar
Holger Levsen committed
58
Please note that the machines are called gccXXX at osuosl.org, though usually
59
they are just refered to by their numbers.
60

61
62
63
=== arm64 nodes

We have 8 arm64 nodes running on moonshot hardware kindly given access to us by Codethink.
64
65
Holger and Mattia have access to a 9th node acting as console server, reachable as
jumpserv.colo.codethink.co.uk.
66

67
68
69
The process of setting up 8 LeMaker HiKey960 boards is currently stalled, because the setup 
turned out to be more complicated than expected. These boards 
(http://www.96boards.org/product/hikey960/) were sponsored by Hewlett Packard Enterprise
70
71
(https://www.hpe.com/) and will be hosted by the students association
SOSETH (https://sos.ethz.ch/) at ETH Zurich (https://www.ethz.ch/).
72
Currently the are located with Axel Beckert.
73

74
75
76
=== armhf nodes

Vagrant hosts a fantastic zoo of over 23 armhf boards in his basement, to which besides him also
77
Mattia and Holger have access via a console server. (Technically some of these armhf nodes are also arm64 systems.)
78

Holger Levsen's avatar
Holger Levsen committed
79
There's a script to trigger the power on/off/cycle if needed, from hbi1 on Vagrant's local network:
80
81
82
83
84
85
86

  localhost$ ssh -p 2227 hbi1.dyn.aikidev.net
	# ssh key fingerprints:
	# 2048 f5:03:59:fa:a9:f6:97:b0:80:9c:0c:3c:dc:9e:38:59 /etc/ssh/ssh_host_rsa_key.pub (RSA)
	# 256 38:e8:16:bb:13:d1:5b:28:39:85:73:11:f2:1f:29:81 /etc/ssh/ssh_host_ecdsa_key.pub (ECDSA)
	# 256 16:cc:1f:0e:39:80:37:64:f7:23:dc:18:3f:58:d3:52 /etc/ssh/ssh_host_ed25519_key.pub (ED25519)
	# It's advertising an ipv6 address, but it's actually only ipv4 for the
Edward Betts's avatar
Edward Betts committed
87
	# foreseeable future and I just need to fix DNS.
88

89
  hbi1$ cd /srv/rb/remote-power ; ./remote-power NAME on|off|ccl
90
91
	# ccl means powercycling…

92
There are at least three machines, jtx1a, jtx1b and jtx1c that don't tend to
93
94
95
96
97
come up after power cycling, but sometimes even those work too, so it's
worth a try.

A small number of the names listed in cereal differ slightly from
the names used natively... partly due to bugs in cereal. They should be
98
fairly obvious (e.g. bpi0a vs. bpi0, hb0a vs. hb0).
99
100
101
102
103
104

The serial console access is still read-only, not actually interacting
with the console; think this is a limitation of the way "cereal"
interacts with screen. "cereal l" lists the available systems, and
"cereal f XXX" would connect to "XXX" and tail it's console logs.

105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152

There are now some virtual machine host servers running running armhf
nodes as virtual machines. Vagrant, Holger and Mattia have access to
the host server.

virt*a hosted on:

 $ ssh -p 2270 mst00-armhf-rb.debian.net cat /etc/ssh/ssh_host_ed25519_key.pub
 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID36orreKmE4taJMnxkVeRMUsCKtkD53hlxngUM6eA5e root@mst00t

virt*b hosted on:

 $ ssh -p 2271 mst01-armhf-rb.debian.net cat /etc/ssh/ssh_host_ed25519_key.pub
 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF55EBPXG2gMM7fveuFK8lcBwDE/PBsiuEEtgrQELT0h root@mst01

virt*c hosted on:

 $ ssh -p 2276 mst02-armhf-rb.debian.net cat /etc/ssh/ssh_host_ed25519_key.pub
 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFJtD97OeFQzLc0GZ4HzKFp6oaddLwUX6GjgZhKfbE1r root@mst02

The virsh commands can be used to list, start and shutdown virtual
machines:

 $ sudo virsh list
 Id   Name      State
 -------------------------
  1    virt64a   running
  2    virt32a   running

 $ sudo virsh shutdown virt32a
 ...
 $ sudo virsh start virt32a
 ...

Alternately, you can connect using the virt-manager GUI. You need to
be in the "libvirt" group on the host server. Set up a connection for
each of the servers:

  File -> Add Connection
  Check "Connect to remote hostover SSH"
  Username $your_username
  Hostname mst00-armhf-rb.debian.net:2270
  Click "Connect"

The nodes should appear in a sidebar. You can click on them and
things.


153
There's a pad too, where we maintain notes about the status of the nodes. The URL
154
for this pad is available upon request.
155

156
// vim: set filetype=asciidoc: