-
Notifications
You must be signed in to change notification settings - Fork 99
158 lines (140 loc) · 4.57 KB
/
tquic-interop-all.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
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
153
154
155
156
157
158
name: InteropAll
on:
schedule:
- cron: '30 3 * * *'
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
tquic_interop_testing:
name: Interop testing
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- server: tquic
client: tquic
- server: tquic
client: lsquic
- server: tquic
client: quiche
- server: tquic
client: picoquic
- server: tquic
client: ngtcp2
- server: tquic
client: msquic
- server: tquic
client: mvfst
- server: tquic
client: s2n-quic
- server: tquic
client: quinn
- server: tquic
client: neqo
- server: tquic
client: go-x-net
- server: tquic
client: quic-go
- server: tquic
client: kwik
- server: tquic
client: aioquic
- server: tquic
client: chrome
- server: lsquic
client: tquic
- server: quiche
client: tquic
- server: picoquic
client: tquic
- server: ngtcp2
client: tquic
- server: msquic
client: tquic
- server: mvfst
client: tquic
- server: s2n-quic
client: tquic
- server: quinn
client: tquic
- server: neqo
client: tquic
- server: go-x-net
client: tquic
- server: quic-go
client: tquic
- server: kwik
client: tquic
- server: aioquic
client: tquic
- server: nginx
client: tquic
- server: haproxy
client: tquic
# The scheduled workflow only runs for the main repository.
# You can manually trigger it if necessary.
if: ${{ ( github.event_name == 'schedule' && github.repository == 'tencent/tquic' ) || github.event_name == 'workflow_dispatch' }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Build docker image
run: docker build -t tquic_interop:v1 -f interop/Dockerfile .
- name: Install quic-interop-runner
run: |
git clone https://github.com/tquic-group/quic-interop-runner.git
cd quic-interop-runner
pip3 install -r requirements.txt
- name: Install dependencies
run: |
sudo modprobe ip6table_filter
sudo add-apt-repository -y ppa:wireshark-dev/stable
sudo apt install -y tshark
- name: Run the interop tests
run: |
cd quic-interop-runner
python3 run.py -s ${{ matrix.server }} -c ${{ matrix.client }} -t handshake,handshakeloss,handshakecorruption,retry,resumption,zerortt,amplificationlimit,http3,ipv6,chacha20,keyupdate,transfer,multiplexing,longrtt,blackhole,transferloss,transfercorruption,goodput,crosstraffic -d -r tquic=tquic_interop:v1 -l ${{ matrix.server }}-${{ matrix.client }}-logs -j ${{ matrix.server }}-${{ matrix.client }}-logs/interop.json
- name: Dump the interop result
if: ${{ always() }}
run: |
cd quic-interop-runner
python3 -m json.tool ${{ matrix.server }}-${{ matrix.client }}-logs/interop.json
- name: Store interop logs
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.server }}-${{ matrix.client }}
path: |
quic-interop-runner/*logs/*
!quic-interop-runner/*logs/**/crosstraffic/
!quic-interop-runner/*logs/**/goodput/
result:
runs-on: ubuntu-latest
needs: tquic_interop_testing
if: ${{ (( github.event_name == 'schedule' && github.repository == 'tencent/tquic' ) || github.event_name == 'workflow_dispatch') && !cancelled() }}
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v4
- name: Display structure of downloaded files
run: ls -R
- name: Display failed interop tests
run: grep -Ho "{[^{]*failed" */*/*.json
- name: Download plot tools
uses: actions/checkout@v4
with:
path: tools
- name: Install dependencies
run: |
sudo apt install python3-matplotlib
- name: Plot all interop results
run: python3 tools/.github/workflows/plot-interop.py ./
- name: Store all interop results
uses: actions/upload-artifact@v4
with:
name: tquic-interop-all-result
path: |
interop*.png
*/*logs/*
!*/*logs/**/**/sim/