Commit f417ef1
authored
## Summary of changes
- Install v1 docker-compose in the hosted runners used for Windows smoke
tests
- Cleanup the docker networks in the smoke tests
## Reason for change
Microsoft
[recently](https://learn.microsoft.com/en-us/azure/devops/release-notes/2024/pipelines/sprint-240-update#dockercompose0-uses-docker-compose-v2-in-v1-compatibility-mode)
stopped shipping the v1 of docker compose. That broke all our Windows
smoke tests. Unfortunately, for various other reasons, we couldn't just
convert to the v2 format, due to how we're reusing various bits and
pieces.
Additionally, we started getting this on our linux smoke tests:
```
Creating network "ddtrace_20240812_56_default" with the default driver
could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network
```
This is basically because we're creating networks, and never cleaning
them up, and for efficiency reasons we're not destroying the smoke test
VMs after each run.
## Implementation details
- Install Docker-compose v1 in the Windows VMs. A bit hacky, but the
quickest solution right now
- Clean up the docker network after running the snapshot tests
## Test coverage
I did some manual tests to make sure this all works as expected. Also
killed and restored the smoke tests machines which solved the docker
network problem temporarily.
## Other details
This is obviously still all kinda horrible. I'd love to replace all this
yaml with just testcontainers. One day.... _stares wistfully into the
distance_
Backport of #5889
1 parent 2b89178 commit f417ef1
File tree
3 files changed
+87
-20
lines changed- .azure-pipelines
- steps
3 files changed
+87
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
59 | | - | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
68 | | - | |
| 72 | + | |
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
73 | 77 | | |
74 | | - | |
| 78 | + | |
75 | 79 | | |
76 | 80 | | |
77 | 81 | | |
78 | | - | |
| 82 | + | |
79 | 83 | | |
80 | 84 | | |
81 | 85 | | |
82 | | - | |
| 86 | + | |
83 | 87 | | |
84 | 88 | | |
85 | | - | |
| 89 | + | |
86 | 90 | | |
87 | 91 | | |
88 | | - | |
| 92 | + | |
89 | 93 | | |
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
96 | | - | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
101 | 105 | | |
102 | 106 | | |
103 | | - | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
107 | 111 | | |
108 | | - | |
| 112 | + | |
109 | 113 | | |
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
115 | | - | |
| 119 | + | |
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
| |||
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
125 | | - | |
| 129 | + | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
| |||
144 | 148 | | |
145 | 149 | | |
146 | 150 | | |
147 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5454 | 5454 | | |
5455 | 5455 | | |
5456 | 5456 | | |
| 5457 | + | |
5457 | 5458 | | |
5458 | 5459 | | |
5459 | 5460 | | |
| |||
5469 | 5470 | | |
5470 | 5471 | | |
5471 | 5472 | | |
| 5473 | + | |
| 5474 | + | |
| 5475 | + | |
| 5476 | + | |
5472 | 5477 | | |
5473 | 5478 | | |
5474 | 5479 | | |
| |||
5492 | 5497 | | |
5493 | 5498 | | |
5494 | 5499 | | |
5495 | | - | |
| 5500 | + | |
5496 | 5501 | | |
5497 | 5502 | | |
5498 | 5503 | | |
| |||
5509 | 5514 | | |
5510 | 5515 | | |
5511 | 5516 | | |
| 5517 | + | |
5512 | 5518 | | |
5513 | 5519 | | |
5514 | | - | |
| 5520 | + | |
5515 | 5521 | | |
5516 | 5522 | | |
5517 | 5523 | | |
| |||
5528 | 5534 | | |
5529 | 5535 | | |
5530 | 5536 | | |
| 5537 | + | |
5531 | 5538 | | |
5532 | 5539 | | |
5533 | 5540 | | |
| |||
5544 | 5551 | | |
5545 | 5552 | | |
5546 | 5553 | | |
| 5554 | + | |
5547 | 5555 | | |
5548 | 5556 | | |
5549 | 5557 | | |
| |||
5559 | 5567 | | |
5560 | 5568 | | |
5561 | 5569 | | |
| 5570 | + | |
| 5571 | + | |
| 5572 | + | |
| 5573 | + | |
5562 | 5574 | | |
5563 | 5575 | | |
5564 | 5576 | | |
| |||
5579 | 5591 | | |
5580 | 5592 | | |
5581 | 5593 | | |
5582 | | - | |
| 5594 | + | |
5583 | 5595 | | |
5584 | 5596 | | |
5585 | 5597 | | |
| |||
5595 | 5607 | | |
5596 | 5608 | | |
5597 | 5609 | | |
| 5610 | + | |
5598 | 5611 | | |
5599 | 5612 | | |
5600 | 5613 | | |
| |||
5611 | 5624 | | |
5612 | 5625 | | |
5613 | 5626 | | |
| 5627 | + | |
5614 | 5628 | | |
5615 | 5629 | | |
5616 | 5630 | | |
| |||
5626 | 5640 | | |
5627 | 5641 | | |
5628 | 5642 | | |
| 5643 | + | |
| 5644 | + | |
| 5645 | + | |
| 5646 | + | |
5629 | 5647 | | |
5630 | 5648 | | |
5631 | 5649 | | |
| |||
5646 | 5664 | | |
5647 | 5665 | | |
5648 | 5666 | | |
5649 | | - | |
| 5667 | + | |
5650 | 5668 | | |
5651 | 5669 | | |
5652 | 5670 | | |
| |||
5662 | 5680 | | |
5663 | 5681 | | |
5664 | 5682 | | |
| 5683 | + | |
5665 | 5684 | | |
5666 | 5685 | | |
5667 | 5686 | | |
| |||
5678 | 5697 | | |
5679 | 5698 | | |
5680 | 5699 | | |
| 5700 | + | |
5681 | 5701 | | |
5682 | 5702 | | |
5683 | 5703 | | |
| |||
5694 | 5714 | | |
5695 | 5715 | | |
5696 | 5716 | | |
| 5717 | + | |
| 5718 | + | |
| 5719 | + | |
| 5720 | + | |
5697 | 5721 | | |
5698 | 5722 | | |
5699 | 5723 | | |
| |||
5717 | 5741 | | |
5718 | 5742 | | |
5719 | 5743 | | |
5720 | | - | |
| 5744 | + | |
5721 | 5745 | | |
5722 | 5746 | | |
5723 | 5747 | | |
| |||
5733 | 5757 | | |
5734 | 5758 | | |
5735 | 5759 | | |
| 5760 | + | |
5736 | 5761 | | |
5737 | 5762 | | |
5738 | 5763 | | |
| |||
5749 | 5774 | | |
5750 | 5775 | | |
5751 | 5776 | | |
| 5777 | + | |
5752 | 5778 | | |
5753 | 5779 | | |
5754 | 5780 | | |
| |||
5761 | 5787 | | |
5762 | 5788 | | |
5763 | 5789 | | |
5764 | | - | |
| 5790 | + | |
5765 | 5791 | | |
5766 | 5792 | | |
| 5793 | + | |
| 5794 | + | |
| 5795 | + | |
| 5796 | + | |
5767 | 5797 | | |
5768 | 5798 | | |
5769 | 5799 | | |
| |||
5782 | 5812 | | |
5783 | 5813 | | |
5784 | 5814 | | |
5785 | | - | |
| 5815 | + | |
5786 | 5816 | | |
5787 | 5817 | | |
5788 | 5818 | | |
| |||
5799 | 5829 | | |
5800 | 5830 | | |
5801 | 5831 | | |
| 5832 | + | |
5802 | 5833 | | |
5803 | 5834 | | |
5804 | 5835 | | |
| |||
0 commit comments