From nobody Tue May 27 16:23:37 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4b6Hxk0whCz5xcbg; Tue, 27 May 2025 16:23:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b6Hxj6zCxz3kSj; Tue, 27 May 2025 16:23:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748363018; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lTLs8Mli9VR3k4sOcxPfjr6YaFqp+Dj6j/1UWiaFkFc=; b=K0jPbG3HRYsifbX/wvSXDnGPbAHo2vZcCzF0YdkK2MUHmGIcfaZixCouAjJ3Bwtc6iqhBh yVhiMNBZX8xTnJr8iE+44KgJO+l6SFpJBikVmrbckjfSdPqhhB6dKKbLEJS3pYJ4imj4MM uk95X7E0i6WpuTJEvElcetA36K8mhxtQshheovp2cOxrV9l0jGEnORD4j5Pw295n6zbh2A 0v43QDlVRCHkckpe18pZuWjZ7d1ZYPhV2zWGAsmz14dzrdVylpM/RNfo1XpHtFtOn4OQLS sVVhHUuYp0YTJSZxhKC9Cw6opt25iTpoYxVK4QLmn5KGgzcN0gKnzbqGPHPw7g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1748363018; a=rsa-sha256; cv=none; b=PYWDjyt6FWcnU7iiFG851bKkOV/5YZtnhnzhQxHenBlW+wllv8h6WZPpwsyR3C+c773PaT v5sL6BUX7nVJomBSI7FrCSNtUKBPy3eaxc3WcfTWJo2uSAQYNO6ooRhTDnd/+0/3bkqOld s6trjfs3kY70XxSBgMqZrE42wPbtJKVpnSTEdMnRUVqNSbXxCxV4XNIYAJB856cCFl21EV Fzaxbw2y//rtd55WI+9oc5bHEDL9fz3yCE9Cltj8DTF7kXJRTSes8DxrtubRV/CNlrMJEM +VGi2EWAM4zp7cQJndYQEttCP+RwNkdw5e+NsYYzpyG7t/P3y/eyCJjFqDxZBA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748363018; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lTLs8Mli9VR3k4sOcxPfjr6YaFqp+Dj6j/1UWiaFkFc=; b=TFM03HZBRpxAWQlONQdx7+LGc6tFcQUEXwnpS7lcgyTa8+IC1R9H8UElTx4jVrxJVmAUBd lVNa94KiH/+B9FD/K+fZ6s6THTMZqUlOaNS2qREqQEOnRbPAKZAfXdOrxNUvl9PbgyPUqb 3YVP6zytsgBlzJrLO7SGWy3sw7y8E4qNYjU440RYkMHOYBu840HG5xm+j/NCZol/RNOt3L U/unfPt9tCmmf4czEOo67+XaFcDhoMiNVr1usDDatQFwU8pOMwYqlvd0Z1TUCdkL4lIggt ++hUS5ZsBz+oHY9xXUuUtCQCALrY3YlgMiWDTzxa0zlhp/Pl7tH9A0ANKGMHvA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4b6Hxj6QQzz10j6; Tue, 27 May 2025 16:23:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 54RGNbVS034312; Tue, 27 May 2025 16:23:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 54RGNbha034309; Tue, 27 May 2025 16:23:37 GMT (envelope-from git) Date: Tue, 27 May 2025 16:23:37 GMT Message-Id: <202505271623.54RGNbha034309@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 539f84db949a - main - tests/ci: Pre-commit CI with CIRRUS-CI List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 539f84db949a1d66ac7b9d001481b44f0b10abf0 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/src/commit/?id=539f84db949a1d66ac7b9d001481b44f0b10abf0 commit 539f84db949a1d66ac7b9d001481b44f0b10abf0 Author: Muhammad Moinur Rahman AuthorDate: 2025-05-27 16:16:38 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2025-05-27 16:22:58 +0000 tests/ci: Pre-commit CI with CIRRUS-CI Currently we do not have pre-commit testing mechanism for our src tree. We have merged the CI test scripts into base(HEAD only). The plan is to replace the entire Jenkins scripts with the one from the base system. Limitations of the scripts: - Full test does not work as intended like in a local environment. Our amd64/aarch64/arm64 test requires somewhere near 4+ hours which is not supported by CIRRUS-CI hosted systems yet as the hard limitation is 120m. But in future we can try to do this using hosted system with various cloud providers. - Currently only works with main branch, stable/13 and stable/14 has not yet been processed. As the scripts are different. Approved by: lwhsu Differential Revision: https://reviews.freebsd.org/D36257 --- .cirrus.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 472fab9423a8..d6c4df7a9776 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -189,3 +189,30 @@ task: post_script: - df -m - du -m -s /usr/obj + +precommit_task: + matrix: + - name: amd64 smoke test using internal ci systems + only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src' || $CIRRUS_BRANCH =~ 'pull/.*' + env: + TARGET: amd64 + TARGET_ARCH: amd64 + - name: aarch64 smoke test using internal ci systems + only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src' || $CIRRUS_BRANCH =~ 'pull/.*' + env: + TARGET: arm64 + TARGET_ARCH: aarch64 + timeout_in: 120m + + setup_script: + - uname -a + - gpart show + - df -m + - pkg --version + + ci_script: + - make -C tests/ci TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} CITYPE=smoke ci + + post_script: + - df -m + - du -m -s /usr/obj