Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-19496

Agent2 build should be reproducible

    XMLWordPrintable

Details

    • Team B
    • 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)

    Description

      Steps to reproduce:

      1. Upload the sources of Zabbix to the server/pc without access to the Internet
      2. ./configure --enable-agent2
      3. make install

      Result:
      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.

      Expected:
      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.

      Attachments

        Issue Links

          Activity

            People

              yurii Jurijs Klopovskis
              nooneon Sergey
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: