Details

    Description

      "Minimal build" builder. All non-mandatory plugins are disabled. Just the compilation and a minimal test run. The goal is to ensure that the code compiles and the binary doesn't crash on startup.

      Attachments

        Issue Links

          Activity

            Thanks Sanja! Yes, the kvm-bintar-xenial-amd64-minimal builder is failing most of its builds at the moment. I need to adjust the cmake line.

            dbart Daniel Bartholomew added a comment - Thanks Sanja! Yes, the kvm-bintar-xenial-amd64-minimal builder is failing most of its builds at the moment. I need to adjust the cmake line.

            why do we need both? bld-starfs-minimal looks good enough. We just need to test a minimal build, not a minimal bintar — the latter is not expected to work

            serg Sergei Golubchik added a comment - why do we need both? bld-starfs-minimal looks good enough. We just need to test a minimal build, not a minimal bintar — the latter is not expected to work

            ok, then I'll remove kvm-bintar-xenial-amd64-minimal and close this issue

            dbart Daniel Bartholomew added a comment - ok, then I'll remove kvm-bintar-xenial-amd64-minimal and close this issue
            danblack Daniel Black added a comment - - edited

            on dbdeployer requirements looking at the minimal build from MySQL

            Default 10.5 is:

            CPackConfig.cmake:set(CPACK_COMPONENTS_ALL
            "Client;ClientPlugins;Common;Development;IniFiles;ManPagesClient;ManPagesDevelopment;ManPagesServer;ManPagesTest;Mytop;Readme;Server;Server_Scripts;SharedLibraries;SqlBench;SupportFiles;Test;backup;cracklib-password-check;gssapi-server;oqgraph-engine;rocksdb-engine;s3-engine")

            Of which I think to match the MySQL minimal is removing:

            • Development
            • ManPagesDevelopment
            • ManpagesTest
            • Mytop
            • Server_Scripts (doesn't include mysql_install_db)
            • SqlBench
            • SupportFiles
            • Test
              + checking the mysqld embedded version isn't there

            If a cpack -G TXZ command could pack that minimal list it might be achievable.

            https://buildbot.mariadb.org/#/builders/124 has the largest step as fetching the tarball built so a secondary requirement is using it there.

            danblack Daniel Black added a comment - - edited on dbdeployer requirements looking at the minimal build from MySQL Default 10.5 is: CPackConfig.cmake:set(CPACK_COMPONENTS_ALL "Client;ClientPlugins;Common;Development;IniFiles;ManPagesClient;ManPagesDevelopment;ManPagesServer;ManPagesTest;Mytop;Readme;Server;Server_Scripts;SharedLibraries;SqlBench;SupportFiles;Test;backup;cracklib-password-check;gssapi-server;oqgraph-engine;rocksdb-engine;s3-engine") Of which I think to match the MySQL minimal is removing: Development ManPagesDevelopment ManpagesTest Mytop Server_Scripts (doesn't include mysql_install_db) SqlBench SupportFiles Test + checking the mysqld embedded version isn't there If a cpack -G TXZ command could pack that minimal list it might be achievable. https://buildbot.mariadb.org/#/builders/124 has the largest step as fetching the tarball built so a secondary requirement is using it there.
            danblack Daniel Black added a comment - - edited

            Separate tar files can be generated:

            $ cmake -DCPACK_ARCHIVE_COMPONENT_INSTALL=ON   -DCPACK_GENERATOR=TXZ -DCPACK_COMPONENTS_ALL="Client;ClientPlugins;Common;DataFiles;IniFiles;ManPagesClient;ManPagesServer;Readme;SharedLibraries;SupportFiles;backup;connect-engine;cracklib-password-check;gssapi-server;oqgraph-engine;rocksdb-engine"  .
             
            $ cmake --build . --target package
            [8/9] Run CPack packaging tool...
            CPack: Create package using TXZ
            CPack: Install projects
            CPack: - Install project: MySQL []
            CPack: -   Install component: Client
            CPack: -   Install component: ClientPlugins
            CPack: -   Install component: Common
            CPack: -   Install component: DataFiles
            CPack: -   Install component: IniFiles
            CPack: -   Install component: ManPagesClient
            CPack: -   Install component: ManPagesServer
            CPack: -   Install component: Readme
            CPack: -   Install component: SharedLibraries
            CPack: -   Install component: SupportFiles
            CPack: -   Install component: backup
            CPack: -   Install component: connect-engine
            CPack: -   Install component: cracklib-password-check
            CPack: -   Install component: gssapi-server
            CPack: -   Install component: oqgraph-engine
            CPack: -   Install component: rocksdb-engine
            CPack: Create package
            CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-Client.tar.xz generated.
            CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-ClientPlugins.tar.xz generated.
            CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-Common.tar.xz generated.
            CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-DataFiles.tar.xz generated.
            CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-IniFiles.tar.xz generated.
            CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-ManPagesClient.tar.xz generated.
            CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-ManPagesServer.tar.xz generated.
            CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-Readme.tar.xz generated.
            CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-SharedLibraries.tar.xz generated.
            CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-SupportFiles.tar.xz generated.
            CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-backup.tar.xz generated.
            CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-connect-engine.tar.xz generated.
            CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-cracklib-password-check.tar.xz generated.
            CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-gssapi-server.tar.xz generated.
            CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-oqgraph-engine.tar.xz generated.
            CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-rocksdb-engine.tar.xz generated.
            

            danblack Daniel Black added a comment - - edited Separate tar files can be generated: $ cmake -DCPACK_ARCHIVE_COMPONENT_INSTALL=ON -DCPACK_GENERATOR=TXZ -DCPACK_COMPONENTS_ALL="Client;ClientPlugins;Common;DataFiles;IniFiles;ManPagesClient;ManPagesServer;Readme;SharedLibraries;SupportFiles;backup;connect-engine;cracklib-password-check;gssapi-server;oqgraph-engine;rocksdb-engine" .   $ cmake --build . --target package [8/9] Run CPack packaging tool... CPack: Create package using TXZ CPack: Install projects CPack: - Install project: MySQL [] CPack: - Install component: Client CPack: - Install component: ClientPlugins CPack: - Install component: Common CPack: - Install component: DataFiles CPack: - Install component: IniFiles CPack: - Install component: ManPagesClient CPack: - Install component: ManPagesServer CPack: - Install component: Readme CPack: - Install component: SharedLibraries CPack: - Install component: SupportFiles CPack: - Install component: backup CPack: - Install component: connect-engine CPack: - Install component: cracklib-password-check CPack: - Install component: gssapi-server CPack: - Install component: oqgraph-engine CPack: - Install component: rocksdb-engine CPack: Create package CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-Client.tar.xz generated. CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-ClientPlugins.tar.xz generated. CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-Common.tar.xz generated. CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-DataFiles.tar.xz generated. CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-IniFiles.tar.xz generated. CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-ManPagesClient.tar.xz generated. CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-ManPagesServer.tar.xz generated. CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-Readme.tar.xz generated. CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-SharedLibraries.tar.xz generated. CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-SupportFiles.tar.xz generated. CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-backup.tar.xz generated. CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-connect-engine.tar.xz generated. CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-cracklib-password-check.tar.xz generated. CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-gssapi-server.tar.xz generated. CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-oqgraph-engine.tar.xz generated. CPack: - package: /home/dan/repos/build-mariadb-server-10.3/mariadb-10.3.37-linux-x86_64-rocksdb-engine.tar.xz generated.

            People

              dbart Daniel Bartholomew
              serg Sergei Golubchik
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.