summaryrefslogtreecommitdiffstats
path: root/.github/workflows/run_quic_interop_server.yml
blob: fc69cbbdb0a9a9c98f1355aff85f15558b33128a (plain)
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
name: "Run openssl quic interop testing"

on:
  workflow_run:
    workflows: ["Build openssl interop container from quic-server"]
    types: [completed]
  workflow_dispatch:

jobs:
  run_quic_interop_openssl_client:
    strategy:
      matrix:
        tests: [http3, transfer, handshake, retry, chacha20, resumption, multiplexing]
        servers: [quic-go, ngtcp2, mvfst, quiche, nginx, msquic, haproxy]
      fail-fast: false
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
         repository: 'quic-interop/quic-interop-runner'
         fetch-depth: 0
      - name: Install dependencies
        run: |
          pip install -r requirements.txt
          sudo add-apt-repository ppa:wireshark-dev/stable
          sudo apt-get update
          sudo apt-get install -y tshark
      - name: Patch implementations file
        run: |
          jq '.openssl = { image: "quay.io/openssl-ci/openssl-quic-interop-server"
                         , url: "https://github.com/openssl/openssl"
                         , role: "both"
                         }' ./implementations.json > ./implementations.tmp
          mv ./implementations.tmp implementations.json
      - name: "run interop with openssl client"
        run: |
          python3 ./run.py -c openssl -t ${{ matrix.tests }} -s ${{ matrix.servers }} --log-dir ./logs-client -d
  run_quic_interop_openssl_server:
    strategy:
      matrix:
        tests: [http3, transfer, handshake, retry, chacha20, resumption, amplificationlimit]
        clients: [quic-go, ngtcp2, mvfst, quiche, msquic, openssl]
        exclude:
          - clients: mvfst
            tests: amplificationlimit
      fail-fast: false
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
         repository: 'quic-interop/quic-interop-runner'
         fetch-depth: 0
      - name: Install dependencies
        run: |
          pip install -r requirements.txt
          sudo add-apt-repository ppa:wireshark-dev/stable
          sudo apt-get update
          sudo apt-get install -y tshark
      - name: Patch implementations file
        run: |
          jq '.openssl = { image: "quay.io/openssl-ci/openssl-quic-interop-server"
                         , url: "https://github.com/openssl/openssl"
                         , role: "both"
                         }' ./implementations.json > ./implementations.tmp
          mv ./implementations.tmp implementations.json
      - name: "run interop with openssl server"
        run: |
          python3 ./run.py -s openssl -t ${{ matrix.tests }} -c ${{ matrix.clients }} --log-dir ./logs-server -d