Status: Needs specification
Sprint 77 (Jun 2021), Sprint 78 (Jul 2021), Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021), Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022), Sprint 90 (Jul 2022), Sprint 91 (Aug 2022), Sprint 92 (Sep 2022)
Steps to reproduce:
- Upload the sources of Zabbix to the server/pc without access to the Internet
- ./configure --enable-agent2
- make install
go: github.com/BurntSushi/[email protected]: Get "https://proxy.golang.org/github.com/%21burnt%21sushi/locker/@v/v0.0.0-20171006230638-a6e239ea1c69.mod": dial tcp: lookup proxy.golang.org on ...:53: server misbehaving
As the server doesn't have access to the Internet, Agent2 cannot be built from the sources as it tries to fetch Go modules from the Internet.
The build should be reproducible in any environment.
There could be no Internet or could be some Internet problems, there could be issues with the availability of github.com or gopkg.in. Or even the needed version of some Go module or the module itself could be deleted, and you will have a broken build.
Go modules should be vendored within the source code of Zabbix to be sure to avoid described issues.