Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • eclipse/oniro-core/oniro
  • landgraf/oniro
  • zyga/oniro
  • mrybczyn/oniro
  • agherzan/oniro
  • pcoval/oniro
  • tony3oo3/oniro
  • stefanschmidt/oniro
  • waykovalenko/oniro
  • bero/oniro
  • esben/oniro
  • robertd/oniro
  • pidge/oniro
  • shettygururaj/oniro
  • thierrye/oniro
  • sradakovi/oniro
  • dricci783/oniro
  • ektor5/oniro
  • fldn/oniro
  • lucafavaretto/oniro
  • lucazizolfi/oniro
  • artemkondratiuk/oniro
  • lucaseri/oniro
  • gwozdzcfs/oniro
  • kristis/oniro
  • brgl/oniro
  • heurtemattes/oniro
  • idlethread/oniro
  • lquach/oniro
  • ghassaneben/oniro
  • heurtemattes/oniro-bitbake
  • kzarka/oniro
  • heurtemattes/oniro-migration
  • pastanki/oniro
  • malowe/oniro
  • chaseqi/oniro
  • mrfrank/oniro
37 results
Show changes
Commits on Source (55)
  • Chase Qi's avatar
    .oniro-ci: add nitrogen twister build job · 7d2ba2e0
    Chase Qi authored and Stevan Radaković's avatar Stevan Radaković committed
    
    Signed-off-by: default avatarChase Qi <chase.qi@linaro.org>
    7d2ba2e0
  • Chase Qi's avatar
    ci: enable twister testing on nitrogen in LAVA · 9ce56263
    Chase Qi authored and Stevan Radaković's avatar Stevan Radaković committed
    
    Signed-off-by: default avatarChase Qi <chase.qi@linaro.org>
    9ce56263
  • Zygmunt Krynicki's avatar
    .gitlab-ci.yml: share rules among build, bundle, publish jobs · 42fe227c
    Zygmunt Krynicki authored
    When looking at pipeline [1] we have realized that the newly introduced
    bundle build and publishing jobs pose a problem for unrelated updates
    of the tree, as depending on which exact files are modified by the
    incoming pull request, the build jobs may not spawn, causing a
    dependency error on the bundle and publishing jobs.
    
    When initially introduced, it was overlooked that the jobs both have a
    dependency on one another (build->bundle->publish) *and* come with a
    distinct set of rules that govern if a specific job is created in a
    given pipeline.
    
    To resolve the problem move the rules to a new dot-job, called
    .workspace-rules, and inject the dependency on .workspace-rules to all
    the jobs that share the dependency chain.
    
    [1] https://gitlab.eclipse.org/eclipse/oniro-core/oniro/-/pipelines/4285
    
    
    
    Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
    42fe227c
  • Chase Qi's avatar
    .oniro-ci: fix zephyr test job submission · b8ee1bc4
    Chase Qi authored
    
    Signed-off-by: default avatarChase Qi <chase.qi@linaro.org>
    b8ee1bc4
  • Marta Rybczynska's avatar
    manifest: update kirkstone references · 9a7ce141
    Marta Rybczynska authored
    
    Update bitbake, oe-core, meta-oe, meta-intel, meta-freescale and meta-arm.
    Also remove a .bbappend with a fix included in the current update:
        kmod: Enable xz support by default
    
    Bitbake update includes the following commits:
    59c16ae6 fetch/git : Use cat as pager
    e14ed7dd cache: correctly handle file names containing colons
    7eb0ef75 runqueue: Fix sig file location when using multiconfig
    3969786a fetch2/ssh.py: decode path back for ssh
    73fbb743 fetch2/osc: Add missing parameter
    97e15055 buildinfohelper: Drop unused variables
    dcf78788 runqueue: Drop pointless variable assignment
    1e5c5efa persist_data: Use a valid exception for missing implementation
    00f10fe9 ui/knotty: Drop pointless pass statement
    f9b563dc siggen: Drop pointless break statement
    43bb92a2 fetch2/crate: Drop unused import
    d739799a buildinfohelper: Drop unused function
    609d50a6 msg: Drop unused local variable
    c6df0e68 cooker: Drop unused loop
    bf221631 ui/buildinfohelper: Drop unused import
    65413c1c server/process: Drop unused import
    38842a81 tests/parse: Fix one test overwriting another
    69d3b864 providers: use local variable for packages_dynamic pattern
    
    OE-core update includes the following commits:
    4eb0b74683 tiff: mark CVE-2022-1622 and CVE-2022-1623 as invalid
    72aa42425e license_image.bbclass: Make QA errors fail the build
    c762a5c97b sqlite3: upgrade 3.38.3 -> 3.38.5
    bbfce5f1c2 mobile-broadband-provider-info: upgrade 20220315 -> 20220511
    4bd58b5131 mesa: upgrade 22.0.2 -> 22.0.3
    6588c45d6c libcgroup: upgrade 2.0.1 -> 2.0.2
    5b2f2ff633 gstreamer1.0-vaapi: upgrade 1.20.1 -> 1.20.2
    e779fb1773 gstreamer1.0: upgrade 1.20.1 -> 1.20.2
    cdafe69411 gstreamer1.0-rtsp-server: upgrade 1.20.1 -> 1.20.2
    5ce15470ae gstreamer1.0-python: upgrade 1.20.1 -> 1.20.2
    038cbfa1ae gstreamer1.0-plugins-ugly: upgrade 1.20.1 -> 1.20.2
    9472f0fe64 gstreamer1.0-plugins-good: upgrade 1.20.1 -> 1.20.2
    19e9c0b2ac gstreamer1.0-plugins-base: upgrade 1.20.1 -> 1.20.2
    8dca7bae0b gstreamer1.0-plugins-bad: upgrade 1.20.1 -> 1.20.2
    2f8bf9e800 gstreamer1.0-omx: upgrade 1.20.1 -> 1.20.2
    b796e337ac gstreamer1.0-libav: upgrade 1.20.1 -> 1.20.2
    a16fd1683d gst-devtools: upgrade 1.20.1 -> 1.20.2
    bcbfff47e2 go: upgrade 1.17.8 -> 1.17.10
    61e8e3c7f0 oeqa/selftest/cve_check: add tests for recipe and image reports
    fb6c980105 pcre2: CVE-2022-1586 Out-of-bounds read
    d3beac2335 selftest/imagefeatures/overlayfs: Always append to DISTRO_FEATURES
    927837e29a staging: Fix rare sysroot corruption issue
    34b6d6b5f0 classes: rootfs-postcommands: add skip option to overlayfs_qa_check
    cefc456255 binutils: Bump to latest 2.38 release branch
    cd16ecd441 librepo: upgrade 1.14.2 -> 1.14.3
    a0f25374ea mmc-utils: upgrade to latest revision
    00b62965bd python3: fix reproducibility issue with python3-core
    2fcc696e27 cve-check: Fix report generation
    b83c7ae43c curl: Backport CVE fixes
    ec9e949773 base-passwd: Disable shell for default users
    c20a5f83e9 strace: Don't run ptest as "nobody"
    175001feb3 sed: Specify shell for "nobody" user in run-ptest
    eeba7fdc28 sanity: Don't warn about make 4.2.1 for mint
    4caf244256 image.bbclass: allow overriding dependency on virtual/kernel:do_deploy
    4611cbab3e overlayfs: add docs about skipping QA check & service dependencies
    9f2d85b383 e2fsprogs: update upstream status
    a5406116ef wic/plugins/rootfs: Fix permissions when splitting rootfs folders across partitions
    80a1de36bc pypi.bbclass: Set CVE_PRODUCT to PYPI_PACKAGE
    a27a0c3bce cairo: Add missing GPLv3 license checksum entry
    9002274362 linux-firmware: upgrade 20220411 -> 20220509
    e16b9768a2 linux-firmware: replace mkdir by install
    d1c0db3238 vim: Upgrade 8.2.4681 -> 8.2.4912
    393b81058f libxml2: Upgrade 2.9.13 -> 2.9.14
    8b8f53ebf6 xwayland: upgrade 22.1.0 -> 22.1.1
    cf336712af webkitgtk: upgrade 2.36.0 -> 2.36.1
    c78ac7ef2d sqlite3: upgrade 3.38.2 -> 3.38.3
    25b4ce85da libinput: upgrade 1.19.3 -> 1.19.4
    e42ff3c562 fribidi: upgrade 1.0.11 -> 1.0.12
    ccb87ec2f1 ffmpeg: upgrade 5.0 -> 5.0.1
    75ade4ee2c epiphany: upgrade 42.0 -> 42.2
    251a5ec8d9 cronie: upgrade 1.6.0 -> 1.6.1
    2972157356 bind: upgrade 9.18.1 -> 9.18.2
    34f6d4763f mesa: upgrade 22.0.0 -> 22.0.2
    53b7b68a7b systemd: Fix build regression with latest update
    43e2cd2112 systemd: upgrade 250.4 -> 250.5
    4150733448 qemu: backport patch for CVE-2021-4207
    0e684c12a7 qemu: backport patch for CVE-2021-4206
    2c1df19405 freetype: backport patch for CVE-2022-27406
    6ec1c92378 freetype: backport patch for CVE-2022-27405
    af45711f0a freetype: backport patch for CVE-2022-27404
    cb8647c089 build-appliance-image: Update to kirkstone head revision
    62bc43a8ca openssl: minor security upgrade 3.0.2 -> 3.0.3
    66622dac0e virgl: skip headless test on alma 8.6
    70ad00a6e8 qemuarmv5: use arm-versatile-926ejs KMACHINE
    69f2d08224 abi_version/sstate: Bump hashequiv and sstate versions due to git changes
    4c2f429d68 package: Ensure we track whether PRSERV was active or not
    73087e3c4b Revert "bitbake.conf: mark all directories as safe for git to read"
    b9dcaa76b3 scripts/git: Ensure we don't have circular references
    07f282fb94 scripts: Make git intercept global
    9f4acb8d8b base: Avoid circular references to our own scripts
    3fafd22233 oeqa/selftest: add test for git working correctly inside pseudo
    e69a1533df rootfs-postcommands: fix symlinks where link and output path are equal
    2fd7f3b7dc cve-check: fix symlinks where link and output path are equal
    8a79c47670 cve-check: add JSON format to summary output
    0007dd0edb cve-update-db-native: let the user to drive the update interval
    27b1cb83ec cve-update-db-native: update the CVE database once a day only
    a76b642736 cve-check: no need to depend on the fetch task
    0268bc1ed0 strace: fix ptest failure in landlock
    ccd27ea8b8 linux-yocto/5.15: fix qemuarm graphical boot
    fea79d1880 linux-yocto: Enable powerpc-debug fragment for ppc64 LE
    f967efa7f2 linux-yocto/5.15: update to v5.15.36
    f648a6b4a4 linux-yocto/5.15: fix -standard kernel build issue
    b52d50e00d linux-yocto: enable powerpc debug fragment
    f900829f96 linux-yocto/5.15: Fix CVE-2022-28796
    2104966bb0 linux-yocto/5.15: update to v5.15.35
    abf7178c03 linux-yocto/5.15: netfilter: conntrack: avoid useless indirection during conntrack destruction
    99d112f2d8 linux-yocto/5.15: fix ppc boot
    65126f10d8 linux-yocto/5.15: kasan: fix BUG: sleeping function called from invalid context
    0b6d826557 linux-yocto/5.15: base: enable kernel crypto userspace API
    79790e0aa5 linux-yocto/5.15: update to v5.15.33
    74f2af2010 linux-yocto/5.15: arm: poky-tiny cleanup and fixes
    617e13b1af poky-tiny: enable qemuarmv5/qemuarm64 and cleanups
    cfea7f69f7 linux-yocto/5.10: update to v5.10.112
    372ee7fac3 linux-yocto/5.10: base: enable kernel crypto userspace API
    ce4b828837 linux-yocto/5.10: update to v5.10.110
    2f97e2d929 qemu: Add packageconfig for libbpf support
    76ccd9914c powerpc: Remove invalid GLIBC_EXTRA_OECONF
    371a8e2b0b volatile-binds: Change DefaultDependencies from false to no
    1063525be9 scripts/contrib/oe-build-perf-report-email.py: remove obsolete check for phantomjs and optipng
    2b5c773637 go-helloworld: remove unused GO_WORKDIR
    3230134c0e lib/sstatesig: Fix find_siginfo to match sstate filename generation
    4c8be44351 kmod: Enable xz support by default
    1800c06e25 pulseaudio: conditionally depend on alsa-plugins-pulseaudio-conf
    f44368f586 openssl: extract legacy provider module to a separate package
    
    Meta-openembedded update includes the following commits:
    5357c7a40 boinc-client: Make script install not depend on host install paths
    e7b312de5 pipewire: Upgrade to version 0.3.50
    775b1ebee pangomm: Allow building with wayland
    ad5424492 atkmm: Allow build with wayland
    66866c48e lirc: Delete systemd unit files on non systemd distros
    cbd06deb9 gparted: Allow wayland or x11 distro features
    2c361302e gtkmm3: Allow wayland or x11 in distro features
    4efe181cd gtksourceview5: Allow wayland or x11
    198e34311 absil-cpp: Update SRC_URI to to the latest google internal sync
    f18762a6d fluentbit: Disable systemd support when systemd distro feature is disabled
    29a3311dc lirc: install systemd units only when using systemd distro feature
    9b7cbd177 makedumpfile: Upgrade to 1.7.1
    cac98ae0a libtest-harness-perl: upgrade 3.42 -> 3.44
    418bd5184 libextutils-cppguess-perl: upgrade 0.23 -> 0.26
    44affc28f libencode-perl: upgrade 3.16 -> 3.17
    02a62c791 lsscsi: upgrade 0.31 -> 0.32
    af3643de4 hexedit: upgrade 1.5 -> 1.6
    f9e26e296 htpdate: upgrade 1.3.3 -> 1.3.4
    dc8106d87 nautilus: upgrade 42.0 -> 42.1.1
    0e49269ea libadwaita: upgrade 1.1.0 -> 1.1.1
    c6efbc40d gtksourceview5: upgrade 5.4.0 -> 5.4.1
    7d8535aa3 gspell: upgrade 1.9.1 -> 1.10.0
    828ff23e0 evince: upgrade 42.1 -> 42.2
    1582f8180 fwupd: Enable build with musl
    0d5b77f98 pam-ssh-agent-auth: Use specific versions of BSD licenses
    0105be9ed boinc-client: Do not overwrite same file when using usrmerge
    00b970a87 mozjs: Use vendored icu on ppc/clang
    ecaa90571 klibc: Recognise --dyld-prefix clang option
    99bf17042 libldb: Fix installed-vs-shipped and rebuild error
    84560ca1c ufw: Fix build with usrmerge distro feature
    594d95b22 linux-atm: Add knob to root prefix
    f9164cfdd dietsplash: specify install rootdir
    d2b014de5 tomoyo-tools: Drop md5sum
    6ac64c037 tomoyo-tools: Define SBINDIR
    33e7b9608 fluentbit: Fix build with usrmerge distro feature
    9d811bf27 arno-iptables-firewall: Do not use bitbake variable inside S
    0af5a2885 tcsh: Do not install symlinks into /bin with usrmerge
    2acf451b1 crash: Fix build for mips target
    2cd60a500 crash: Upgrade to 8.0.0
    bb2b5b31a meta-openemnedded: Add myself as kirkstone maintainer
    64156a6f8 gpsd: Correct the creation of the gps-utils-python package
    ec6d07351 sdbus-c++-libsystemd: bugfix dev package is not installed
    b932a20f2 drbd-utils: fix for usrmerge
    35f0d19d4 python3-imageio: upgrade 2.16.1 -> 2.17.0
    bc92c3e71 python3-django: upgrade 2.2.27 -> 2.2.28
    0f00037a2 python3-cmd2: upgrade 2.4.0 -> 2.4.1
    c6022c3ff python3-aws-iot-device-sdk-python: upgrade 1.5.1 -> 1.5.2
    a2683269d python3-aenum: upgrade 3.1.8 -> 3.1.11
    a1b80175b python3-marshmallow: Upgrade 3.14.1 -> 3.15.0
    9881151e8 python3-bitstruct: Upgrade 8.13.0 -> 8.14.0
    674306a42 python3-blivetgui: use symbolic list-add and edit- icons
    b3be90be2 python3-cppy: upgrade 1.2.0 -> 1.2.1
    12058113c sysprof: Remove libunwind on rv32
    a4e7ad456 mozjs-91: Add option to use system ICU
    cc8efa1fe mozjs-91: Disable strip
    667219409 gpsd: split python utils from gps-utils
    4c6b0afe5 netdata: version bump 1.33.1 -> 1.34.1
    5fa0188b8 poppler: Support building for native
    fa5922c1c opencv: Fix build with gcc-12 on ppc64
    89bc6331f ltrace: Fix build on ppc64 with gcc12
    cf260fb4e gpsd: Only copy the Python files if they are created
    1d7385bba grpc: Fix build with rv32/rv64
    62a60f91a dlt-daemon: Fix build on rv32/rv64
    47d2307ae ot-br-posix: Fix build with gcc
    5a52bffde nodejs: Upgrade to 16.14.2
    26222766b mozjs-78: Switch to system libicu
    317d74079 mozjs-91: Upgrade to 91.8.0
    0bb3d4b6a gnuplot: inherit pkgconfig
    f4e628c81 gimp: Disable vector icons on 32bit systems
    e50dd7da2 poco: upgrade 1.11.1 -> 1.11.2
    04b707ed5 wpantund: Add missing dependency on boost
    33f4142df libcereal: Link libatomics with gcc as well
    6ece0f38b gnome-shell-extensions: Stop copying gnome-classic session to wayland
    74e6d15ad mosh: Drop perl dependencies from server
    c2bb39f43 audit: Upgrade 3.0.6 -> 3.0.7
    55ba2545a libconfig-general-perl: move from meta-openstack
    c1b69601f tgt: move from meta-openstack
    159fd2819 gjs: Add cairo to DEPENDS unconditionally
    9864902a1 libgweather4: Fix introspection build
    
    Meta-intel update includes the following commits:
    fb23bc3e onednn: upgrade 2.5.3 -> 2.6
    3b77e98c ipmctl: upgrade 03.00.00.0432 -> 03.00.00.0438
    bb9aa0cf intel-microcode: upgrade 20220207 -> 20220419
    3cb7b56c metee: upgrade 3.1.2 -> 3.1.3
    33421d8a linux-intel-rt/5.10: update to v5.10.100
    5d1ff911 linux-intel/5.10: update to v5.10.100
    c7172add linux-intel-rt/5.15: update to v5.15.31
    bec31f3f linux-intel/5.15: update to v5.15.31
    4d19fc59 ispc: disable build for Windows, android and other targets
    00859b2b intel-oneapi-compiler: use ocl-icd instead of opencl-icd-loader
    
    Meta-freescale update includes the following commits:
    6f27a6fb Merge pull request #1086 from Freescale/backport-1085-to-kirkstone
    5b110699 optee-test: Upgrade to NXP 5.15.5-1.0.0
    21da2f0b optee-client: Update branch, same SRCREV
    d537a75c optee-os: Upgrade to NXP 5.15.5-1.0.0
    804916e7 Merge pull request #1083 from Freescale/backport-1080-to-kirkstone
    163dfbf7 xwayland: Add patch to fix fbo pixmap on glamor
    3b96ac30 xwayland: Add patch to prefer GLES2 for glamor EGL
    b4fbbf15 xwayland: Drop GLX for i.MX GPU
    f1abf371 xwayland: Rework i.MX GPU configuration variables
    51a970f1 weston: Upgrade to NXP 5.15.5-1.0.0
    f77bf2df Merge pull request #1079 from Freescale/backport-1078-to-kirkstone
    67d41313 imx-g2d-samples: Upgrade 1.0.0 -> 2.0.0
    58184f4e imx-dpu-g2d: Upgrade 1.9.4 -> 2.0.0
    075189e8 imx-gpu-g2d: Fix install for multilib
    f981ad90 imx-gpu-g2d: Upgrade 6.4.3.p2.4 -> 6.4.3.p4.0
    2009db0e kernel-module-imx-gpu-viv: Upgrade to 6.4.3.p4.0
    9e513c3b imx-gpu-viv: Upgrade to 6.4.3.p4.0
    24c2e03a Merge pull request #1077 from Freescale/backport-1075-to-kirkstone
    49aabec8 imx8m: Set LPDDR4 machines to use IMX BSP only
    dc2173bb Merge pull request #1074 from dv1/kirkstone
    fb06b946 gstreamer1.0-plugins-imx: Upgrade to version 2.1.0
    bcc78aa4 libimxvpuapi2: Upgrade to version 2.2.1
    09b657d8 Merge pull request #1073 from Freescale/backport-1070-to-kirkstone
    bd64751a imx-vpu-hantro-vc: Upgrade 1.6.0 -> 1.7.0
    e2a829cc imx-vpu-hantro-daemon: Upgrade 1.1.1 -> 1.1.2
    eb867a0e imx-vpu-hantro: Upgrade 1.24.0 -> 1.25.0
    c93841dd imx-test: Update for NXP release 5.15.5-1.0.0
    1ca79c1a imx-seco-libs: Update for NXP release 5.15.5-1.0.0
    15c484d1 imx-seco: Upgrade 3.8.4 -> 3.8.5
    de48b4e1 imx-sc-firmware: Upgrade 1.11.0 -> 1.12.1
    473bfe5a imx-atf: Update for NXP release 5.15.5-1.0.0
    01fa82ef imx-mkimage: Update for NXP release 5.15.5-1.0.0
    7b002731 firmware-imx: Upgrade 8.14 -> 8.15
    11dd2c5f EULA,SCR: Update for NXP release 5.15.5-1.0.0
    75f022e5 Merge pull request #1072 from Freescale/backport-1071-to-kirkstone
    dfa2e024 imx8mp-lpddr4-evk: Add uboot config ndm
    31de9bd9 imx8mn-ddr4-evk: Add uboot config nom
    769972d1 imx8mn-evk: Add uboot config ld
    3fa1e758 imx8dxl-lpddr4-evk: Cleanup BOARD_TYPE assignment
    5ba85f02 imx8dxl-lpddr4-evk: Add uboot config lcd
    4b56437e imx8dxl-ddr3l-evk: Add uboot config fspi
    2ad6396d imx8dx-mek: Fix name and description
    17d95ff2 Merge pull request #1069 from dv1/kirkstone
    256ce3c4 libimxdmabuffer: Upgrade to version 1.1.2
    b2d0817d Merge pull request #1067 from Freescale/backport-1066-to-kirkstone
    ec1198df u-boot-imx-common: Upgrade to NXP 5.15.5-1.0.0 release
    a3893814 linux-imx-headers: Fix do_install
    61bae390 linux-imx-headers: Upgrade to 5.15
    7d4566f9 linux-imx: Upgrade to 5.15.5
    2fb1ce36 Merge pull request #1065 from rafluan/topic/fix-readme
    9ce91860 README: Fix readme to refers kirkstone release
    68e60d69 Merge pull request #1064 from tprrt/tprrt/imx-mkimage-fix-mission-bl31
    31108d33 imx-mkimage: Fix a BL32 missing overriding in mkimage_fit_atf.sh
    f78603fc Merge pull request #1063 from MaxKrummenacher/master
    ec60b440 imx-mkimage: fix patch
    82a05904 Merge pull request #1059 from MaxKrummenacher/master
    164b7360 Merge pull request #1061 from tprrt/tprrt/imx-mkimage-fix-typo
    6ae05639 imx-imkimage: fix a typo in a patch for print_fit_hab.sh
    96a0904c Merge pull request #1060 from tprrt/tprrt/imx-mkimage-hab
    daf1f290 imx-imkimage: install print_fit_hab.sh
    1f457754 Merge pull request #1058 from limeng-linux/master
    2065d869 imx-boot-container-bootpart: drop wks file
    1f938bda imx-boot-container: resurrect imx-boot symlink
    cceaf0bb fmlib: set precise BSD license
    3a4927ef imx-boot: don't restrict to the nxp bsp only
    67ed87ea Merge pull request #1056 from YoeDistro/yoe/mut
    31485605 Merge pull request #1057 from junzhuimx/master
    369ca1c4 ls1028ardb/ls1088ardb/ls1088ardb-pb: Correct MACHINEOVERRIDES
    5135dc34 eth-config: Be specific about BSD license
    c3c5a75c qoriq-atf: Fix BSD license to be specific
    564148f7 flib: Use specific BSD license
    1703c295 cst: Correctly specify BSD variant for license
    
    Meta-arm update includes the following commits:
    b838d40 CI: use kirkstone branches for meta-clang and meta-virtualization
    2627002 arm-bsp/trusted-firmware-m: corstone1000: remove unused patches
    25e08f2 arm-bsp/trusted-firmware-a: corstone1000: remove unused patch files
    5f5a93a tatus: remove file that shouldn't have been committed
    50b34c5 external-arm-toolchain: Add support for Arm GCC 11.2 binary release
    68adfe2 external-arm-toolchain-versions: Use ldd to get libc version
    2f9a15b arm-bsp/tc: CI-700 driver enablement in kernel.
    84abf1d CI: use kirkstone branch, not master
    4348abb arm-bsp/trusted-services: corstone1000: add sysroot tasks dependency
    74ddd6d kas/fvp-baser-aemv8r64: Install ssh-pregen-hostkeys
    6a105f4 optee-ftpm: Install artifacts into nonarch_base_libdir
    
    Signed-off-by: default avatarMarta Rybczynska <marta.rybczynska@huawei.com>
    9a7ce141
  • Marta Rybczynska's avatar
    recipes-connectivity: bind: follow version bump · 0083287f
    Marta Rybczynska authored
    
    The recent kirkstone update has brought more up-to-date version
    of bind, update the bbappend accordingly.
    
    Signed-off-by: default avatarMarta Rybczynska <marta.rybczynska@huawei.com>
    0083287f
  • Stevan Radaković's avatar
    Submit jobs to squad instead of to LAVA directly · ca1f5651
    Stevan Radaković authored
    
    This is a first patch to introduce squad as a middleman in handling
    LAVA job. SQUAD provides a DB to store test results in a scalable manner,
    while also providing a good comparison engine for quick discovery of
    regressions. Any visualization tool will make good use of SQUAD db and API.
    
    Signed-off-by: default avatarStevan Radaković <stevan.radakovic@linaro.org>
    ca1f5651
  • Chase Qi's avatar
    7a1f6655
  • Pavel Zhukov's avatar
    default.xml: Bump bitbake revision · 7175297f
    Pavel Zhukov authored
    
    Bump bitbake revision to include bb.build.clean_stamps() which is needed
    by oe_core staging.bbclass
    
    * 494fcfcb (HEAD -> 2.0, origin/2.0) build: Add clean_stamp API function to allow removal of task stamps - Richard Purdie
    * 943701ee data: Do not depend on vardepvalueexclude flag - Tomasz Dziendzielski
    * 8ac6e094 fetch2/osc: Small fixes for osc fetcher - Gunjan Gupta
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    7175297f
  • Zygmunt Krynicki's avatar
    .oniro-ci: remove rules from .bitbake-workspace · aa5d3288
    Zygmunt Krynicki authored
    Apparently those rules clash with the rules defined in the
    .gitlab-ci.yml .workspace-rules, due to the order of evaluation inside
    GitLab.
    
    The set of rules on .bitbake-workspace is entirely redundant, and should
    be defined by the workflow. The rules on .workspace-rules have a
    different purpose, namely to inject specific variables into certian
    types of pipelines.
    
    Fixes: #613
    
    
    
    Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
    aa5d3288
  • Stevan Radaković's avatar
    test-generic.yaml: Utilize SQUAD API in CI jobs · ee7aa66c
    Stevan Radaković authored
    
    Use SQUAD callback to trigger the lava-report pipeline job and
    simplify lava-badge calculation by using SQUAD API.
    SQUAD build ID is now implemented to be the same as pipeline ID.
    
    Signed-off-by: default avatarStevan Radaković <stevan.radakovic@linaro.org>
    ee7aa66c
  • Pavel Zhukov's avatar
    Bump release to version 2.0.0-alpha · 3693cae2
    Pavel Zhukov authored
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    3693cae2
  • Pavel Zhukov's avatar
  • Davide Gardenal's avatar
    oniro-image-base-dev: add ROOTFS_PARTITION_SIZE · 5f2122e5
    Davide Gardenal authored
    
    Add ROOTFS_PARTITION_SIZE and set it to 2G to fix an error in
    do_image_wic where the rootfs "/" size is greater than it's limit.
    
    Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
    Verified
    5f2122e5
  • Davide Gardenal's avatar
    oniro-image-extra-dev: bump rootfs size · d9e2dfb1
    Davide Gardenal authored
    
    When building oniro-image-extra-dev the task do_image_wic returns an error
    because the size of "/" is over the fixed size. This solves the issue.
    
    Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
    Verified
    d9e2dfb1
  • Stevan Radaković's avatar
    test-generic.yaml: Fix callback update URL · 57ddacdd
    Stevan Radaković authored
    
    Add the SQUAD_INSTANCE variable to the update callback URL
    
    Signed-off-by: default avatarStevan Radaković <stevan.radakovic@linaro.org>
    57ddacdd
  • Davide Gardenal's avatar
    oniro-wic: bump seco-intel-b68 rootfs size to 3G · 17010482
    Davide Gardenal authored
    
    This fixes oniro-image-[base, extra]-dev do_image_wic task.
    
    Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
    17010482
  • Pavel Zhukov's avatar
    47c36bec
  • Pavel Zhukov's avatar
  • Davide Gardenal's avatar
    build-generic: disable cve-check manifest for freeRTOS · 23987705
    Davide Gardenal authored and Pavel Zhukov's avatar Pavel Zhukov committed
    
    With oe-core/65498411d73e8008d5550c2d0a1148f990717587
    creating the image manifest for FreeRTOS raises an
    exception. FreeRTOS support is experimental and there
    is an issue in rootfs generation, so we disable the option
    for now.
    
    Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
    23987705
  • Davide Gardenal's avatar
    default.xml: update upstream revisions and delete ovmf patches · 69cba9e1
    Davide Gardenal authored and Pavel Zhukov's avatar Pavel Zhukov committed
    
    The following patches are now in oe-core so we can delete them:
     - ovmf/0001-edk2-BaseTools-gcc12.patch
     - ovmf/0002-edk2-LZMA-gcc12.patch
    
    openembedded-core update includes:
    e63013cc38 gcc: Upgrade to 11.3 release
    1887a69a17 rust-common: Fix native signature dependency issues
    cf7c1cde3a rust-common: Drop LLVM_TARGET and simplify
    a4886f02df rust-common: Fix for target definitions returning 'NoneType' for arm
    84e891d812 rust-common: Ensure sstate signatures have correct dependencues for do_rust_gen_targets
    424b81ae68 rust-common: Fix sstate signatures between arm hf and non-hf
    d28d84c5b4 ovmf: Fix native build with gcc-12
    bbb7dcb461 pciutils: avoid lspci conflict with busybox
    d96022a389 insane.bbclass: make sure to close .patch files
    b34aaa9acb libseccomp: Add missing files for ptests
    bd72b15e9a staging.bbclass: process direct dependencies in deterministic order
    8d5f5823b3 mesa.inc: package 00-radv-defaults.conf
    862c1b109c ncurses: update to patchlevel 20220423
    9cf49b4f07 libpcre2: upgrade 10.39 -> 10.40
    02982668ac linux-yocto/5.10: update to v5.10.114
    7d734c95ba linux-yocto/5.15: update to v5.15.38
    96ed22ed1e linux-yocto/5.10: update to v5.10.113
    90628b9bbc linux-yocto/5.15: update to v5.15.37
    8fd6a9f521 cve-check: Allow warnings to be disabled
    726ce5bf1e cve-extra-exclusions: Add kernel CVEs
    65498411d7 cve-check: Only include installed packages for rootfs manifest
    af227e0c62 cve-check: Add helper for symlink handling
    637d6ff44b cve-check.bbclass: Added do_populate_sdk[recrdeptask].
    82f4186ec0 libxslt: Mark CVE-2022-29824 as not applying
    95f1c5d0bb tiff: Add jbig PACKAGECONFIG and clarify CVE-2022-1210
    c703b970f6 vim: Upgrade 8.2.4912 -> 8.2.5034 to fix 9 CVEs
    
    meta-openembedded update includes:
    fcc7d7eae python3-matplotlib: add missing dependency
    4e66373fe devmem2: the source and patches moved to github repo
    17da928a8 python3-speedtest-cli: fix RDEPENDS
    18a923d20 sdbus-c++-libsystemd: Fix patch fuzz
    99496d2b3 sdbus-c++: Link with libatomic for rv32
    9a2029553 sdbus-c++: Link with libatomic on mips/ppc32
    16f08eb5a conntrack-tools: fix postinst script
    db3a802f8 graphviz: rrecommends on liberation-fonts
    79e28d1c8 libportal: add distro features check
    442af705f unattended-upgrades: Disable auto-detecting modules
    4895c4d65 mariadb: Fix i386 Clang builds
    367e8927b mariadb: update to 10.7.4
    ff3a018b2 libmtp: Add doxygen-native dependency in case documentation build is enabled in PACKAGECONFIG. This fixes a FTBFS due to missing dependency.
    b23cd1031 sdbus-c++-libsystemd: Bump SRCREV to last commit of 250-stable branch
    133d2c200 postgresql: upgrade 14.2 -> 14.3
    71613a9fa php: upgrade 8.1.5 -> 8.1.6
    7566c789d php: upgrade 8.1.4 -> 8.1.5
    a104444d2 python3-wxgtk4: backport patch to fix svg issue
    2c051c65a jq: Fix typo OE_EXTRACONF -> EXTRA_OECONF
    6104aead9 libcamera: fix packaging
    0b7836265 bats: upgrade 1.6.0 -> 1.6.1
    3a76ff41a conntrack-tools: fix postinst script
    8c0dca405 ostree: prevent ostree-native depending on target virtual/kernel to provide kernel-module-overlay
    797684d24 bats: Add patch to fix false-negatives caused by teardown code
    ab1e20941 imlib2: update SRC_URI
    166ef8dbb minidlna: fix obsolete license warning
    91bcdd0a7 vboxguestdrivers: upgrade 6.1.32 -> 6.1.34
    122685c98 devmem2: update SRC_URI according to redirect
    b095a248c devmem2: add support for different page sizes
    c8f5b7a27 devmem2: reinstate previous patches, removed by mistake
    a6556526d s-nail: Set VAL_MTA
    fe57c67d2 openldap: Upgrade 2.5.9 -> 2.5.12
    6c63579af openldap: Remove libgcrypt dependency
    f2f81539d networkmanager: fix parallel build failure
    26f6e6968 meta-gnome: fix layer depends.
    94ca14269 python3-wxgtk4: Needs x11 for sip module
    204fd35a3 meta-python-image: Fix build depends
    aebfc98d8 python3-astroid: upgrade 2.11.2 -> 2.11.3
    947ff549c evolution-data-server: Do not pass --library-path to gir compiler
    9f4bdefa4 evince: Add dbus to depnedencies on non-x11 builds
    35b74d369 makedumpfile: Use right TARGET for ppc32
    802b41d21 mimic: Use special rateconv.c license
    353934eb6 libcereal: Enable for glibc/ppc
    3a34f2f64 ufw: Fix packaging errors found with ppc64
    21b475078 conntrack-tools: Fix missing capability
    49a170035 frr: inherit autotools-brokensep instead of autotools
    99ae5037e meta-oe-image: fix build depends
    
    meta-intel update includes:
    8e472da7 openvino-inference-engine: change branch name master -> main
    c2e2f371 level-zero: remove devtool comments
    db17ad72 onevpl-intel-gpu: remove patch
    0683aea4 onevpl-intel-gpu: upgrade 22.1.0 -> 22.3.2
    6bd8a1f4 intel-mediasdk: upgrade 22.1.0 -> 22.3.0
    0487f539 intel-media-driver: upgrade 22.1.1 -> 22.3.1
    dedf1093 libva-intel-utils: upgrade 2.13.0 -> 2.14.0
    3936e566 libva-intel: upgrade 2.13.0 -> 2.14.0
    dd16e1bf gmmlib: upgrade 22.0.3 -> 22.1.2
    bc8899d6 intel-microcode: upgrade 20220419 -> 20220510
    f72ea519 maintainers.inc: add missing entry for vc-intrinsics
    e533acc2 ipp-crypto-mb: update to latest
    97f52272 intel-graphics-compiler: define SRCREV_FORMAT
    
    meta-freescale update includes:
    92df6b76 Merge pull request #1097 from Freescale/backport-1096-to-kirkstone
    c3bc5edf layer wide: remove lzop dependency dropped upstream
    
    meta-security update includes:
    d3d8e62 lib-perl: prefix man pages to avoid conflicting with base perl
    b874791 Parsec-service: Update installation procedure
    0325071 oeqa/cases/tpm2: fix and enhance test suite
    4270d36 tpm2-tools: Add missing rdepends
    2f91f34 tpm2-pkcs11: tpm2-pkcs11 module missing
    ed75b88 aide: Update 01.17.4
    8727b7c aide: Add depend on audit when audit is enabled.
    9301e39 fscrypt: add distro_check on pam
    
    meta-arm update includes:
    93cf02a kas: corstone1000: drop the use of the FVP script
    207f298 kas: corstone1000: set HEADs to kirkstone and drop use of meta-arm-image
    fc09cc0 CI: use external-arm-toolchain 10.3
    b3c3f77 arm/linux-yocto: fix boot failure in qemuarm64-secureboot
    43224b6 arm-bsp/tf-a-tests: Add recipe to build and install TFTF
    
    Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
    69cba9e1
  • Ettore Chimenti's avatar
    grub: add rootwait in cmdline · 26ae356e
    Ettore Chimenti authored and Stevan Radaković's avatar Stevan Radaković committed
    
    In some configuration in SECO-B68 (using a USB drive or sata),
    it can happen that boot devices do not show up. It needs 'rootwait'
    to prevent panic.
    
    Signed-off-by: Ettore Chimenti's avatarEttore Chimenti <ettore.chimenti@seco.com>
    26ae356e
  • Stevan Radaković's avatar
    .gitlab-ci.yaml: Add jobs for publishing .rauc for qemu both variants · 45c52fbe
    Stevan Radaković authored
    
    Add jobs to build and publish update bundles for qemu - both x86 and
    x86_64
    
    Signed-off-by: default avatarStevan Radaković <stevan.radakovic@linaro.org>
    45c52fbe
  • Pavel Zhukov's avatar
    gitlab-ci.yaml: Build jobs for all changes in MR · 6fcfe401
    Pavel Zhukov authored
    This is workaround for eclipse/oniro-core/oniro#574
    
    
    Currently changes which are not covered by this condition triggers
    invalid yaml . We will optimize it later
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    6fcfe401
  • Davide Ricci's avatar
    default.xml: adding pointer to IRC channel · 6aa8a346
    Davide Ricci authored and Pavel Zhukov's avatar Pavel Zhukov committed
    
    Signed-off-by: default avatarDavide Ricci <davide.ricci@huawei.com>
    6aa8a346
  • Pavel Zhukov's avatar
    ovmf: Drop downstream patch · c0440a35
    Pavel Zhukov authored and Stefan Schmidt's avatar Stefan Schmidt committed
    
    The change has been implemented upstream in d28d84c5b43ffcc312808af085d949e403805aca
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    c0440a35
  • philippe coval's avatar
    CONTRIBUTING.md: Add Eclipse ECA chapter · 92b0608c
    philippe coval authored
    This chapter was copied from jakarta project with minor fix
    
    Relate-to: docs#96
    Forwarded: !105
    
    
    Signed-off-by: default avatarPhilippe Coval <philippe.coval.ext@huawei.com>
    92b0608c
  • Davide Gardenal's avatar
    default.xml: update upstream revisions · 3f48a0b0
    Davide Gardenal authored
    
    oe-core update includes:
    6ade2bfdd9 rootfs.py: find .ko.zst kernel modules
    3001199ca8 license.bbclass: Bound beginline and endline in copy_license_files()
    f9f1e7fa6b libseccomp: Correct LIC_FILES_CHKSUM
    daa6eb4dee alsa-plugins: fix libavtp vs. avtp packageconfig
    45b4597db3 kernel-yocto.bbclass: Reset to exiting on non-zero return code at end of task
    4eb85dbace perl: Fix build with gcc-12
    be70f51806 gcc-cross-canadian: Add nativesdk-zstd dependency
    0efcba381d gcc: depend on zstd-native
    c3b7f7a918 openssl: Backport fix for ptest cert expiry
    5323f09519 patch.py: make sure that patches/series file exists before quilt pop
    324e4f598c linux-firmware: split ath3k firmware
    99c0d4b8f9 linux-firmware: package new Qualcomm firmware
    4e5437696e webkitgtk: upgrade 2.36.1 -> 2.36.3
    daf12b551c gtk+3: upgrade 3.24.33 -> 3.24.34
    9311e79843 libxkbcommon: upgrade 1.4.0 -> 1.4.1
    a471cc829c glib-2.0: upgrade 2.72.1 -> 2.72.2
    190457be2e logrotate: upgrade 3.19.0 -> 3.20.1
    af7048c4b7 cups: upgrade 2.4.1 -> 2.4.2
    ac6b4900bc cve-update-db-native: make it possible to disable database updates
    2fc716ad75 cve-check: fix return type in check_cves
    79c02facd3 cve-check: write empty fragment files in the text mode
    66bf08f2df cve-check: move update_symlinks to a library
    27815774c9 lzo: Add further info to a patch and mark as Inactive-Upstream
    0c63c7aaab zip/unzip: mark all submittable patches as Inactive-Upstream
    ce83aed545 makedevs: Don't use COPYING.patch just to add license file into ${S}
    70ce538164 valgrind: submit arm patches upstream
    b2ad59506c bash: submit patch upstream
    4851c83652 systemd: Correct path returned in sd_path_lookup()
    80980314ec systemd: Drop 0002-don-t-use-glibc-specific-qsort_r.patch
    2b09a56711 systemd: Remove __compare_fn_t type in musl-specific patch
    752f51e0a5 systemd: Drop 0001-test-parse-argument-Include-signal.h.patch
    06c8bdec05 systemd: Update patch status
    afedd8aad2 systemd: Drop 0016-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch
    d95e9e144b systemd: Document future actions needed for set of musl patches
    5420919e3e systemd: Drop redundant musl patches
    
    meta-arm update includes:
    a8cb33d arm-bsp/conf: fvp-baser-aemv8r64 model parameter update
    dd8b6c1 arm-bsp/u-boot: fvp-baser-aemv8r64 cache_state_modelled fixes
    
    Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
    3f48a0b0
  • Pavel Zhukov's avatar
    issue_templates: Update labels for new bugs · a018cc52
    Pavel Zhukov authored
    
    New GL instance has Issue::Bug label instead of Bug we had before.
    Updating labels and add default team maintenance for all new bugs to
    improve searching
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    a018cc52
  • Pavel Zhukov's avatar
    Move downstream patches into staging layer · 7043433f
    Pavel Zhukov authored
    
    This helps with rebases on newer oe-core and helps avoiding
    redundant/duplicated patches
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    7043433f
  • Marta Rybczynska's avatar
    scripts: add CVE conversion scripts · 34200c6a
    Marta Rybczynska authored
    
    Add scripts for post-processing the JSON CVE data:
    - cve-json-to-csv.py allows to convert the JSON file to CSV
    - recipes-with-no-cves.py lists CVE status of all recipes
    
    Signed-off-by: default avatarMarta Rybczynska <marta.rybczynska@huawei.com>
    34200c6a
  • Pavel Zhukov's avatar
    70a237c7
  • Pavel Zhukov's avatar
    default.xml: Bump oe-core revision · 765dbf67
    Pavel Zhukov authored
    
    Changes since last update:
    * 0f7a8359ba rootfs.py: close kernel_abi_ver_file - Martin Jansa
    * 9478e53995 buildhistory.bbclass: fix shell syntax when using dash - Martin Jansa
    * 741030ce32 systemd: Correct 0001-pass-correct-parameters-to-getdents64.patch - Jiaqing Zhao
    * 92a5fb9138 lttng-modules: fix shell syntax - Martin Jansa
    * 48aad396d9 lttng-modules: Fix build failure for 5.10.119+ and 5.15.44+ kernel - He Zhe
    * 6c689e1b6f lttng-modules: fix build against 5.18-rc7+ - Bruce Ashfield
    * a4b49bdba4 linux-yocto/5.10: update to v5.10.119 - Bruce Ashfield
    * 87f0b01ea3 linux-yocto/5.15: update to v5.15.44 - Bruce Ashfield
    * 6b82997af3 linux-yocto/5.15: cfg/xen: Move x86 configs to separate file - Bruce Ashfield
    * 10bb8f0309 linux-yocto/5.15: Enable MDIO bus config - Bruce Ashfield
    * 88ce6da03c linux-yocto/5.10: update to v5.10.118 - Bruce Ashfield
    * 3fb0fd6630 linux-yocto/5.15: update to v5.15.43 - Bruce Ashfield
    * 8f04684552 linux-yocto/5.15: bpf: explicitly disable unpriv eBPF by default - Bruce Ashfield
    * 64ac42262d lttng-ust: upgrade 2.13.2 -> 2.13.3 - wangmy
    * c4114d9bfb iso-codes: upgrade 4.9.0 -> 4.10.0 - wangmy
    * fb4672a8b4 baremetal-image: fix broken symlink in do_rootfs - Davide Gardenal
    * e30ef926e4 bitbake.conf: Make TCLIBC and TCMODE lazy assigned - Pavel Zhukov
    * e36a8a22bd glibc: Drop make-native dependency - Richard Purdie
    * 6b1bc1366b perl: Add dependency on make-native to avoid race issues - Richard Purdie
    * 4b694ded86 sanity: Switch to make 4.0 as a minimum version - Richard Purdie
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    765dbf67
  • Pavel Zhukov's avatar
    oniro-linux.conf: Make TCLIBC weak assignment · f78cc866
    Pavel Zhukov authored
    
    Re-allow overriding of TCLIBC via local.conf/shell env.
    Upstream part has been merged into kirkstone branch:
    oe-core:e30ef926e440b505e93e404c056034d86364a241
    
    Fixes: #608
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    f78cc866
  • Pavel Zhukov's avatar
    issue_templates/Bug.md: Add quotation for scopped label · 98556536
    Pavel Zhukov authored and Andrei Gherzan's avatar Andrei Gherzan committed
    
    Gitlab doesn't assign scopped labels if they were not properly quoted
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    98556536
  • Pavel Zhukov's avatar
    systemd: Drop systemd-244-musl-1.2.2.patch · 78b04cca
    Pavel Zhukov authored
    
    The FTBFS issue is gone and the patch is not needed anymore
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    78b04cca
  • Pavel Zhukov's avatar
    systemd: Move systemd bbappend into core · 053b1d44
    Pavel Zhukov authored
    
    The change (disable systemd+musl warning)  is distro specific
    and not going to be upstream'ed.
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    053b1d44
  • Stevan Radaković's avatar
    test-generic.yaml: lava-report job now uses new build URL scheme · b0a70194
    Stevan Radaković authored
    
    We switched the build id scheme in SQUAD to use pipeline ID instead
    of short commit SHA. Now lava-report job has to reflect that as well.
    
    Signed-off-by: default avatarStevan Radaković <stevan.radakovic@linaro.org>
    b0a70194
  • Chase Qi's avatar
    .oniro-ci: attach callback url to squad build ID instead of pipeline ID · b30990d1
    Chase Qi authored and Stevan Radaković's avatar Stevan Radaković committed
    
    Pipeline ID is used as squad project level build ID. However, squad
    build ID is the one to use for api calls. It is unique cross the
    instance.
    
    Signed-off-by: default avatarChase Qi <chase.qi@linaro.org>
    b30990d1
  • Pavel Zhukov's avatar
    docs: Recommend slirp option for runqemu · 93960c5f
    Pavel Zhukov authored
    
    With default network settings of runqemu script Oniro images start without
    IP address assigned which may cause inconvenience for some users.
    Using user network allows network access from the Oniro VM and
    enables port forwarding for ssh access.
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    93960c5f
  • Pavel Zhukov's avatar
    sysota: force external linking with clang · 6b4d14bf
    Pavel Zhukov authored
    When sysota is built with toolchain-clang broken dynamicaly linked
    binary file is produced [1] if shared linking (GO_DYNLINK) is disabled.
    As the result strip phase of do_packages fails with [2]
    Sysota is built with disabled shared linking because of another bug [3]
    The problem with stripping can be fixed with specifying external linker
    for clang toolchain (by default Go swutched to internal linker on 64bit
    arches if -pie has been specified since version 1.15 [4] ).
    Limiting this change to clang only to be safe.
    
    [1] **readelf: Error: no .dynamic section in the dynamic segment**
    
    [2] Subprocess output:x86_64-oniro-linux-llvm-strip: error: SHT_STRTAB
            string table section [index 7] is non-null terminated
    
    [3] sysota#7
    
    [4] https://go.dev/doc/go1.15#linker
    
    
    
    Fixes: #624
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    6b4d14bf
  • Pavel Zhukov's avatar
    manifests/default.xml : Bump oe-core revision · 7278313b
    Pavel Zhukov authored
    
    * b2d10487f8 liberror-perl: Update sstate/equiv versions to clean cache - Richard Purdie
    * 7cdaac4a5a systemd: update 0008-add-missing-FTW_-macros-for-musl.patch - Pavel Zhukov
    * 6fa49ffcf2 archiver: don't use machine variables in shared recipes - Jose Quaresma
    * 7211a6fb51 gcc-source: Fix incorrect task dependencies from ${B} - Richard Purdie
    * 025d22e9c9 git: fix override syntax in RDEPENDS - Yi Zhao
    * 6168dbc9b2 popt: fix override syntax in RDEPENDS - Yi Zhao
    * 8876f33f08 e2fsprogs: add alternatives handling of lsattr as well - Rasmus Villemoes
    * 8c74bca4d6 oescripts: change compare logic in OEListPackageconfigTests - Mingli Yu
    * d8e454b370 xxhash: fix build with gcc 12 - Kai Kang
    * d8cb65b2ae archiver: use bb.note instead of echo - Jose Quaresma
    * 3beb0f1d44 meson.bbclass: add cython binary to cross/native toolchain config - Jack Mitchell
    * 5e6f4d0d3d devtool: Fix _copy_file() TypeError - Xiaobing Luo
    * e150443701 selftest/multiconfig: Test that multiconfigs in separate layers works - Richard Purdie
    * ea280917fc uboot-sign: Fix potential index error issues - Richard Purdie
    * b85e29de4b vim: Upgrade 8.2.5034 -> 8.2.5083 - Richard Purdie
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    7278313b
  • Davide Gardenal's avatar
    meta-oniro-core: create oniro-user class · 449029ca
    Davide Gardenal authored
    
    oniro-user is a class that can be inherited in local.conf
    and it adds a user named oniro with default password oniro.
    The class also installs sudo and adds oniro to the suders.
    
    Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
    Verified
    449029ca
  • Davide Gardenal's avatar
    oniro-debug: create config files · c72e3df8
    Davide Gardenal authored
    
    Create bbclass files in meta-oniro-core
    that enable the user to activate the debug mode
    in local.conf.
    
    Activating it is equivalent to build -dev images
    as of this commit.
    
    Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
    Verified
    c72e3df8
  • Natalia Kovalenko's avatar
    default.xml: Update source revision on meta-seco-imx · 952a5aac
    Natalia Kovalenko authored
    
    This revision fixes labels for boot and devdata partitions
    
    Signed-off-by: default avatarNatalia Kovalenko <waykovalenko@gmail.com>
    952a5aac
  • Pavel Zhukov's avatar
    default.xml: Bump oe-core · d2e45454
    Pavel Zhukov authored
    
    * a5919cb8bc mesa: backport a patch to support compositors without zwp_linux_dmabuf_v1 again - Martin Jansa
    * f0770686b3 rootfs-postcommands.bbclass: correct comments - Michael Opdenacker
    * bffe06fca6 gtk-doc: Fix potential shebang overflow on gtkdoc-mkhtml2 - Paulo Neves
    * 8d646cc4ee systemd: systemd-systemctl: Support instance conf files during enable - Nick Potenski
    * a121d2dd5d efivar: add musl libc compatibility - Davide Gardenal
    * 8a86bd88f0 python: Avoid shebang overflow on python-config.py - Paulo Neves
    * cdb6879b49 python3: Ensure stale empty python module directories don't break the build - Richard Purdie
    * 2f93d30fee python3: Remove problematic paths from sysroot files - Richard Purdie
    * 8e34686911 python3: use built-in distutils for ptest, rather than setuptools' 'fork' - Alexander Kanavin
    * bcc5a22cd2 linux-firmware: upgrade 20220509 -> 20220610 - Dmitry Baryshkov
    * 96cd37cff9 linux-firmware: add support for building snapshots - Dmitry Baryshkov
    * feabc35372 oeqa/selftest/cve_check: add tests for Ignored and partial reports - Marta Rybczynska
    * d76957e425 cve-check: add support for Ignored CVEs - Marta Rybczynska
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    d2e45454
  • Pavel Zhukov's avatar
    default.xml: Bump bitbake revision · 772b62ae
    Pavel Zhukov authored
    
    * b8fd6f5d  server/process: Fix logging issues where only the first message was displayed - Richard Purdie
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    772b62ae
  • Pavel Zhukov's avatar
    docs: Specify nographic for running zephyr in Qemu · a3572d8c
    Pavel Zhukov authored
    Zephyr-philosophers doesn't use video output but serial console.
    
    Fixes: #docs#109
    
    
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    a3572d8c
  • Natalia Kovalenko's avatar
    default.xml: Update source revision on meta-seco-imx · 523e797e
    Natalia Kovalenko authored
    
    This revision updates obsolete Licenses
    
    Signed-off-by: default avatarNatalia Kovalenko <waykovalenko@gmail.com>
    523e797e
  • Pavel Zhukov's avatar
    default.xml: Bump rauc/meta-rauc revision · ab683913
    Pavel Zhukov authored
    
    * .github: workflows: meta-rauc: pin to kirkstone : Enrico Jorns
    * rauc: move 'streaming' PACKAGECONFIG option to common includes : Enrico Jorns
    * rauc: update to 1.7 : Enrico Jorns
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    ab683913
  • Pavel Zhukov's avatar
    default.xml: Bump meta-arm revision · 149184b8
    Pavel Zhukov authored
    
    * ci: work around zephyr test issues : Jon Mason
    * arm-bsp/fvp-baser-aemv8r64: Use secure hypervisor physical timer in EL2 : Jiamei Xie
    * arm/fvp-base-r-aem: Upgrade to version 11.18.16 : Peter Hoyes
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    149184b8
  • Zygmunt Krynicki's avatar
    .oniro-ci,.gitlab-ci.yml: add optional clang jobs · 8aa75e80
    Zygmunt Krynicki authored
    
    Unqualified jobs, which rely on the default compiler, are gone.
    Qualified jobs explicitly configure either clang or gcc and use the
    appropriate suffix. Qualified jobs have needs/depends set to empty to
    both avoid waiting for previous stages to start and to avoid pulling in
    artifacts from the previous stage.
    
    Qualified jobs inhabit two new lanes: build-gcc and build-clang, to
    visually break the already long column of "build" jobs.
    
    Job ordering within a lane is not exactly matching, gcc-clang. This is
    noticeable with the jobs using the "extra" suffix. The reason for this
    is unclear.
    
    Some jobs are marked as broken as they do not build with clang. Allow
    them to fail and make them start manually until more patches arrive.
    
    Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
    8aa75e80
  • Chase Qi's avatar
    ci: enable LAVA boot and smoke tests on qemu devices for new MRs · b0793e7d
    Chase Qi authored
    
    Given test scope for new MRs is not defined yet and we only have one
    rpi4, b68 and c61 in the warsaw lab which are occupied mostly by daily
    scheduled pipeline, starting with boot and smoke tests on qemu devices
    should be a good starting point for per MR testing.
    
    Jobs that extend `.lava-test` will be added to MR's pipeline and
    schedueld pipeline.
    
    `.lava-test-scheduled` extends `.lava-test` with new scheduled pipeline
    only rule. Long run jobs like ltp should extends the job so that they
    wouldn't prevent MRs from merging.
    
    Solves #486.
    
    Signed-off-by: default avatarChase Qi <chase.qi@linaro.org>
    b0793e7d
  • Chase Qi's avatar
    .oniro-ci: record callback respond in squad · 4ebca79f
    Chase Qi authored
    
    When the callback not dispatchered correctly, the record can be helpful
    for debugging in squad.
    
    Signed-off-by: default avatarChase Qi <chase.qi@linaro.org>
    4ebca79f
  • Chase Qi's avatar
    .oniro-ci: use testjobs api to check job status · 074402b7
    Chase Qi authored
    
    Signed-off-by: default avatarChase Qi <chase.qi@linaro.org>
    074402b7
Showing
with 428 additions and 236 deletions
......@@ -17,6 +17,8 @@
stages:
- compliance
- build
- build-gcc
- build-clang
- update
- test
- report
......@@ -46,13 +48,17 @@ aggregate-docs:
variables:
CI_ONIRO_GIT_REPO_PATH: oniro
# Customize the .bitbake-workspace job to set the rules governing when a build
# is attempted to: modifications (changes) to the pipeline, meta-layers,
# flavours and assets OR to placement of a tag on a commit OR when a job is
# scheduled. In addition, draft merge requests will no longer start the heavy
# build jobs automatically, giving an option to the developer, to start the
# desired jobs manually.
.bitbake-workspace:
# Anchor job rules, which govern if a job is instantiated in a given pipeline.
# This job is then used as another base to several different jobs, including
# .bitbake-workspace, .build-rauc-bundle and the
# .publish-rauc-bundle-to-hawkbit jobs.
#
# The rules are: modifications (changes) to the pipeline, meta-layers, flavours
# and assets OR to placement of a tag on a commit OR when a job is scheduled.
# In addition, draft merge requests will no longer start the heavy build jobs
# automatically, giving an option to the developer, to start the desired jobs
# manually.
.workspace-rules:
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
variables:
......@@ -65,13 +71,6 @@ aggregate-docs:
CI_ONIRO_MANIFEST_URL: "$CI_MERGE_REQUEST_SOURCE_PROJECT_URL"
CI_ONIRO_MANIFEST_BRANCH: "$CI_COMMIT_REF_NAME"
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
changes:
- assets/**/*
- flavours/**/*
- manifests/*.xml
- meta-*/**/*
- .oniro-ci/*
- .gitlab-ci.yml
# When building a merge request substitute the CI_ONIRO_MANIFEST_URL to point
# to the incoming repository, and CI_ONIRO_MANIFEST_BRANCH, to the right
# branch name. This allows testing the changes coming into project. This
......@@ -82,12 +81,58 @@ aggregate-docs:
- if: '$CI_COMMIT_TAG'
# XXX: This needs CI_ONIRO_MANIFEST_BRANCH as well, most likely.
# The three jobs defined below override the definitions from build-generic.yaml
# to inject .workspace-rules and the rules defined therein. It is important to
# understand that this is based on several separate systems: parsing and
# loading yaml, processing the include rules, and processing extends rules.
#
# This specific trick (ab)uses the fact that yaml-top-level is one big map of
# entities, and we can define an entity multiple times to effectively extend or
# replace specific elements.
#
# The following three jobs are equivalent to copy-pasting the modified extends
# line into the jobs in .oniro-ci/build-generic.yaml, because map/dictionary
# entries compute the union of the defined keys, unlike list entries or scalars
# that replace the previous value.
.bitbake-workspace:
extends: [.workspace, .workspace-rules]
.build-rauc-bundle:
extends: [.build-image, .workspace-rules]
.publish-rauc-bundle-to-hawkbit:
extends: [.workspace-rules]
# Build a RAUC update bundle for qemu x86
bundle-qemu-x86:
extends: .build-rauc-bundle
stage: update
# Depend on the build job to prevent repeating build failures.
needs: [linux-qemu-x86-gcc]
variables:
MACHINE: qemux86
CI_ONIRO_BUILD_FLAVOUR: linux
CI_ONIRO_RECIPE_NAME: oniro-bundle-base
# Build a RAUC update bundle for qemu x86 64
bundle-qemu-x86_64:
extends: .build-rauc-bundle
stage: update
# Depend on the build job to prevent repeating build failures.
needs: [linux-qemu-x86_64-gcc]
variables:
MACHINE: qemux86-64
CI_ONIRO_BUILD_FLAVOUR: linux
CI_ONIRO_RECIPE_NAME: oniro-bundle-base
# Build a RAUC update bundle for Raspberry Pi 4
bundle-raspberrypi4-64:
extends: .build-rauc-bundle
stage: update
# Depend on the build job to prevent repeating build failures.
needs: [linux-raspberrypi4-64]
needs: [linux-raspberrypi4-64-gcc]
variables:
MACHINE: raspberrypi4-64
CI_ONIRO_BUILD_FLAVOUR: linux
......@@ -98,12 +143,32 @@ bundle-seco-intel-b68:
extends: .build-rauc-bundle
stage: update
# Depend on the build job to prevent repeating build failures.
needs: [linux-seco-intel-b68]
needs: [linux-seco-intel-b68-gcc]
variables:
MACHINE: seco-intel-b68
CI_ONIRO_BUILD_FLAVOUR: linux
CI_ONIRO_RECIPE_NAME: oniro-bundle-base
publish-qemu-x86:
extends: .publish-rauc-bundle-to-hawkbit
dependencies: [bundle-qemu-x86]
needs: [bundle-qemu-x86]
variables:
CI_ONIRO_HAWKBIT_SWMOD_NAME: oniro-bundle-base-qemu-x86
CI_ONIRO_HAWKBIT_DS_NAME: oniro-image-base-qemu-x86
CI_ONIRO_RAUC_BUNDLE_NAME: oniro-bundle-base
MACHINE: qemux86
publish-qemu-x86_64:
extends: .publish-rauc-bundle-to-hawkbit
dependencies: [bundle-qemu-x86_64]
needs: [bundle-qemu-x86_64]
variables:
CI_ONIRO_HAWKBIT_SWMOD_NAME: oniro-bundle-base-qemu-x86_64
CI_ONIRO_HAWKBIT_DS_NAME: oniro-image-base-qemu-x86_64
CI_ONIRO_RAUC_BUNDLE_NAME: oniro-bundle-base
MACHINE: qemux86-64
publish-raspberrypi4-64:
extends: .publish-rauc-bundle-to-hawkbit
dependencies: [bundle-raspberrypi4-64]
......@@ -133,258 +198,235 @@ publish-seco-intel-b68:
# Run the build for scheduled pipelines.
- if: '$CI_PIPELINE_SOURCE == "schedule"'
# Mimic the updated rules for lava-test from the bitbake-workspace.
.lava-test:
rules:
- if: '$CI_LAVA_TOKEN == null'
when: never
- if: '$CI_PIPELINE_SOURCE == "schedule"'
# Mimic the updated rules for lava-report from the bitbake-workspace.
.lava-report:
.lava-test-scheduled:
extends: .lava-test
variables:
CI_SQUAD_PROJECT_NAME: "oniro"
rules:
- if: '$CI_LAVA_TOKEN == null'
- if: '$CI_SQUAD_TOKEN == null'
when: never
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: manual
##
## Submit jobs to LAVA
##
lava-qemu-x86:
needs: [linux-qemu-x86]
needs: [linux-qemu-x86-gcc]
stage: test
extends: .lava-test
variables:
MACHINE: qemux86
CI_BUILD_JOB_NAME: linux-qemu-x86
CI_BUILD_JOB_NAME: linux-qemu-x86-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-qemu-x86_64:
needs: [linux-qemu-x86_64]
needs: [linux-qemu-x86_64-gcc]
stage: test
extends: .lava-test
variables:
MACHINE: qemux86-64
CI_BUILD_JOB_NAME: linux-qemu-x86_64
CI_BUILD_JOB_NAME: linux-qemu-x86_64-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86_64.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-raspberrypi4-64:
needs: [linux-raspberrypi4-64]
needs: [linux-raspberrypi4-64-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: raspberrypi4-64
CI_BUILD_JOB_NAME: linux-raspberrypi4-64
CI_BUILD_JOB_NAME: linux-raspberrypi4-64-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/raspberrypi4-64.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-seco-intel-b68:
needs: [linux-seco-intel-b68]
needs: [linux-seco-intel-b68-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: seco-intel-b68
CI_BUILD_JOB_NAME: linux-seco-intel-b68
CI_BUILD_JOB_NAME: linux-seco-intel-b68-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-intel-b68.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-seco-c61:
needs: [linux-seco-imx8mm-c61-4gb]
needs: [linux-seco-imx8mm-c61-4gb-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: seco-imx8mm-c61-4gb
CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-4gb
CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-4gb-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-c61.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-qemu-x86-ltp:
needs: [linux-qemu-x86]
needs: [linux-qemu-x86-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: qemux86
CI_BUILD_JOB_NAME: linux-qemu-x86
CI_BUILD_JOB_NAME: linux-qemu-x86-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86-ltp.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-qemu-x86_64-ltp:
needs: [linux-qemu-x86_64]
needs: [linux-qemu-x86_64-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: qemux86-64
CI_BUILD_JOB_NAME: linux-qemu-x86_64
CI_BUILD_JOB_NAME: linux-qemu-x86_64-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86_64-ltp.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-raspberrypi4-64-ltp:
needs: [linux-raspberrypi4-64]
needs: [linux-raspberrypi4-64-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: raspberrypi4-64
CI_BUILD_JOB_NAME: linux-raspberrypi4-64
CI_BUILD_JOB_NAME: linux-raspberrypi4-64-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/raspberrypi4-64-ltp.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-seco-intel-b68-ltp:
needs: [linux-seco-intel-b68]
needs: [linux-seco-intel-b68-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: seco-intel-b68
CI_BUILD_JOB_NAME: linux-seco-intel-b68
CI_BUILD_JOB_NAME: linux-seco-intel-b68-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-intel-b68-ltp.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-seco-c61-ltp:
needs: [linux-seco-imx8mm-c61-4gb]
needs: [linux-seco-imx8mm-c61-4gb-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: seco-imx8mm-c61-4gb
CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-4gb
CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-4gb-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-c61-ltp.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-qemu-x86_64-kselftest:
needs: [linux-qemu-x86_64]
needs: [linux-qemu-x86_64-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: qemux86-64
CI_BUILD_JOB_NAME: linux-qemu-x86_64
CI_BUILD_JOB_NAME: linux-qemu-x86_64-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86_64-kselftest.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-raspberrypi4-64-kselftest:
needs: [linux-raspberrypi4-64]
needs: [linux-raspberrypi4-64-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: raspberrypi4-64
CI_BUILD_JOB_NAME: linux-raspberrypi4-64
CI_BUILD_JOB_NAME: linux-raspberrypi4-64-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/raspberrypi4-64-kselftest.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-seco-c61-kselftest:
needs: [linux-seco-imx8mm-c61-4gb]
needs: [linux-seco-imx8mm-c61-4gb-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: seco-imx8mm-c61-4gb
CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-4gb
CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-4gb-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-c61-kselftest.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-zephyr-96b-nitrogen-tests:
needs: [zephyr-96b-nitrogen-tests]
lava-zephyr-96b-nitrogen-twister:
needs: [zephyr-96b-nitrogen-twister-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: 96b-nitrogen
CI_BUILD_JOB_NAME: zephyr-96b-nitrogen-tests
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/nitrogen-test.yaml"
CI_BUILD_JOB_NAME: zephyr-96b-nitrogen-twister-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/nitrogen-twister.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-qemu-x86-perf:
needs: [linux-qemu-x86]
needs: [linux-qemu-x86-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: qemux86
CI_BUILD_JOB_NAME: linux-qemu-x86
CI_BUILD_JOB_NAME: linux-qemu-x86-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86-perf.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-qemu-x86_64-perf:
needs: [linux-qemu-x86_64]
needs: [linux-qemu-x86_64-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: qemux86-64
CI_BUILD_JOB_NAME: linux-qemu-x86_64
CI_BUILD_JOB_NAME: linux-qemu-x86_64-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86_64-perf.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-raspberrypi4-64-perf:
needs: [linux-raspberrypi4-64]
needs: [linux-raspberrypi4-64-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: raspberrypi4-64
CI_BUILD_JOB_NAME: linux-raspberrypi4-64
CI_BUILD_JOB_NAME: linux-raspberrypi4-64-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/raspberrypi4-64-perf.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-seco-intel-b68-perf:
needs: [linux-seco-intel-b68]
needs: [linux-seco-intel-b68-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: seco-intel-b68
CI_BUILD_JOB_NAME: linux-seco-intel-b68
CI_BUILD_JOB_NAME: linux-seco-intel-b68-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-intel-b68-perf.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-seco-c61-perf:
needs: [linux-seco-imx8mm-c61-4gb]
needs: [linux-seco-imx8mm-c61-4gb-gcc]
stage: test
extends: .lava-test
extends: .lava-test-scheduled
variables:
MACHINE: seco-imx8mm-c61-4gb
CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-4gb
CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-4gb-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-c61-perf.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-zephyr-qemu-cortex-m3:
needs: [zephyr-qemu-cortex-m3]
needs: [zephyr-qemu-cortex-m3-gcc]
stage: test
extends: .lava-test
variables:
MACHINE: qemu-cortex-m3
CI_BUILD_JOB_NAME: zephyr-qemu-cortex-m3
CI_BUILD_JOB_NAME: zephyr-qemu-cortex-m3-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-zephyr-cortex-m3.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-zephyr-qemu-x86:
needs: [zephyr-qemu-x86]
needs: [zephyr-qemu-x86-gcc]
stage: test
extends: .lava-test
variables:
MACHINE: qemu-x86
CI_BUILD_JOB_NAME: zephyr-qemu-x86
CI_BUILD_JOB_NAME: zephyr-qemu-x86-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-zephyr-x86.yaml"
CI_REPORT_JOB_NAME: lava-report
lava-report:
extends: .lava-report
needs:
- lava-qemu-x86
- lava-qemu-x86_64
- lava-raspberrypi4-64
- lava-seco-intel-b68
- lava-seco-c61
- lava-qemu-x86-ltp
- lava-qemu-x86_64-ltp
- lava-raspberrypi4-64-ltp
- lava-seco-intel-b68-ltp
- lava-seco-c61-ltp
- lava-qemu-x86-perf
- lava-qemu-x86_64-perf
- lava-raspberrypi4-64-perf
- lava-seco-intel-b68-perf
- lava-seco-c61-perf
- lava-zephyr-96b-nitrogen-tests
- lava-zephyr-qemu-cortex-m3
- lava-zephyr-qemu-x86
- lava-qemu-x86_64-kselftest
- lava-raspberrypi4-64-kselftest
- lava-seco-c61-kselftest
extends: .lava-report
lava-badge:
needs: [lava-report]
......
......@@ -28,4 +28,4 @@
(link to upstream patch, merge/pull request)
/label ~bug ~needs-investigation
/label ~"Issue::Bug" ~needs-investigation ~"team::maintenance"
......@@ -194,13 +194,6 @@
# them).
time devtool finish --remove-work --force "$CI_ONIRO_DEVTOOL_RECIPE_NAME" "$(basename "$CI_ONIRO_DEVTOOL_LAYER_PATH")";
fi
rules:
# Run the job when a merge request is created.
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
# Run the job when a tag is placed.
- if: '$CI_COMMIT_TAG'
# Run the build for scheduled pipelines.
- if: '$CI_PIPELINE_SOURCE == "schedule"'
# This job is documented in docs/ci/hidden-jobs/build-linux.rst
.build-linux:
......@@ -252,6 +245,7 @@
variables:
CI_ONIRO_BUILD_FLAVOUR: freertos
CI_ONIRO_INSTANCE_SIZE: s3.large.2
CI_ONIRO_BB_LOCAL_CONF_plus_equals_CVE_CHECK_CREATE_MANIFEST: "0"
script:
- !reference [.bitbake-workspace, script]
- time bitbake freertos-demo
......
......@@ -6,7 +6,32 @@
# The following jobs are documented in docs/ci/machines-and-flavours.rst
linux-qemu-x86:
.toolchain-gcc:
stage: build-gcc
dependencies: []
needs: []
variables:
CI_ONIRO_BB_LOCAL_CONF_TOOLCHAIN: "gcc"
CI_ONIRO_BB_LOCAL_CONF_RUNTIME: "gnu"
.toolchain-clang:
stage: build-clang
dependencies: []
needs: []
variables:
CI_ONIRO_BB_LOCAL_CONF_TOOLCHAIN: "clang"
CI_ONIRO_BB_LOCAL_CONF_RUNTIME: "llvm"
.broken:
rules:
# Some builds fail, so allow them to fail until the situation improves
# dramatically so that the policy can be re-visited. Clang builds are also
# expensive, so only present the user with an option to start the build,
# but do not commence the build automatically.
- when: manual
allow_failure: true
.linux-qemu-x86:
extends: .build-wic-image
variables:
MACHINE: qemux86
......@@ -20,8 +45,12 @@ linux-qemu-x86:
# tainted build intermediate files, downloads or published artifacts.
CI_ONIRO_BB_LOCAL_CONF_BB_GENERATE_MIRROR_TARBALLS: 1
CI_ONIRO_JOB_ARTIFACTS: "*.wic.* *.bmap ovmf.qcow2"
linux-qemu-x86-gcc:
extends: [.linux-qemu-x86, .toolchain-gcc]
linux-qemu-x86-clang:
extends: [.linux-qemu-x86, .toolchain-clang]
linux-qemu-x86_64:
.linux-qemu-x86_64:
extends: .build-wic-image
variables:
MACHINE: qemux86-64
......@@ -31,30 +60,46 @@ linux-qemu-x86_64:
CI_ONIRO_BUILD_CACHE: "pub"
CI_ONIRO_BB_LOCAL_CONF_BB_GENERATE_MIRROR_TARBALLS: 1
CI_ONIRO_JOB_ARTIFACTS: "*.wic.* *.bmap ovmf.qcow2"
linux-qemu-x86_64-gcc:
extends: [.linux-qemu-x86_64, .toolchain-gcc]
linux-qemu-x86_64-clang:
extends: [.linux-qemu-x86_64, .toolchain-clang]
linux-seco-intel-b68:
.linux-seco-intel-b68:
extends: .build-wic-image
variables:
CI_ONIRO_BUILD_FLAVOUR: linux
CI_ONIRO_RECIPE_NAME: oniro-image-base-tests
MACHINE: seco-intel-b68
linux-seco-intel-b68-gcc:
extends: [.linux-seco-intel-b68, .toolchain-gcc]
linux-seco-intel-b68-clang:
extends: [.linux-seco-intel-b68, .toolchain-clang]
linux-seco-intel-b68-extra:
.linux-seco-intel-b68-extra:
extends: .build-linux
variables:
CI_ONIRO_BUILD_FLAVOUR: linux
CI_ONIRO_BITBAKE_TARGETS: oniro-image-extra-tests
MACHINE: seco-intel-b68
linux-seco-intel-b68-extra-gcc:
extends: [.linux-seco-intel-b68-extra, .toolchain-gcc]
linux-seco-intel-b68-extra-clang:
extends: [.linux-seco-intel-b68-extra, .toolchain-clang]
linux-seco-imx8mm-c61-2gb:
.linux-seco-imx8mm-c61-2gb:
extends: .build-linux-matrix
variables:
MACHINE: seco-imx8mm-c61-2gb
# This platform requires proprietary resources to boot.
# See build-generic.yaml for explanation of CI_ONIRO_BB_LOCAL_CONF_ variables.
CI_ONIRO_BB_LOCAL_CONF_ACCEPT_FSL_EULA: 1
linux-seco-imx8mm-c61-2gb-gcc:
extends: [.linux-seco-imx8mm-c61-2gb, .toolchain-gcc]
linux-seco-imx8mm-c61-2gb-clang:
extends: [.linux-seco-imx8mm-c61-2gb, .toolchain-clang, .broken]
linux-seco-imx8mm-c61-4gb:
.linux-seco-imx8mm-c61-4gb:
extends: .build-wic-image
variables:
CI_ONIRO_BUILD_FLAVOUR: linux
......@@ -64,8 +109,12 @@ linux-seco-imx8mm-c61-4gb:
# See build-generic.yaml for explanation of CI_ONIRO_BB_LOCAL_CONF_ variables.
CI_ONIRO_BB_LOCAL_CONF_ACCEPT_FSL_EULA: 1
CI_ONIRO_JOB_ARTIFACTS: "*.wic.* *.bmap flash.bin-seco-imx8mm-c61*"
linux-seco-imx8mm-c61-4gb-gcc:
extends: [.linux-seco-imx8mm-c61-4gb, .toolchain-gcc]
linux-seco-imx8mm-c61-4gb-clang:
extends: [.linux-seco-imx8mm-c61-4gb, .toolchain-clang, .broken]
linux-seco-imx8mm-c61-4gb-extra:
.linux-seco-imx8mm-c61-4gb-extra:
extends: .build-linux
variables:
CI_ONIRO_BUILD_FLAVOUR: linux
......@@ -74,15 +123,23 @@ linux-seco-imx8mm-c61-4gb-extra:
# This platform requires proprietary resources to boot.
# See build-generic.yaml for explanation of CI_ONIRO_BB_LOCAL_CONF_ variables.
CI_ONIRO_BB_LOCAL_CONF_ACCEPT_FSL_EULA: 1
linux-seco-imx8mm-c61-4gb-extra-gcc:
extends: [.linux-seco-imx8mm-c61-4gb-extra, .toolchain-gcc]
linux-seco-imx8mm-c61-4gb-extra-clang:
extends: [.linux-seco-imx8mm-c61-4gb-extra, .toolchain-clang, .broken]
linux-raspberrypi4-64:
.linux-raspberrypi4-64:
extends: .build-wic-image
variables:
MACHINE: raspberrypi4-64
CI_ONIRO_BUILD_FLAVOUR: linux
CI_ONIRO_RECIPE_NAME: oniro-image-base-tests
linux-raspberrypi4-64-gcc:
extends: [.linux-raspberrypi4-64, .toolchain-gcc]
linux-raspberrypi4-64-clang:
extends: [.linux-raspberrypi4-64, .toolchain-clang]
zephyr-qemu-x86:
.zephyr-qemu-x86:
extends: .build-zephyr-image
variables:
MACHINE: qemu-x86
......@@ -92,8 +149,12 @@ zephyr-qemu-x86:
CI_ONIRO_RECIPE_NAME: zephyr-philosophers
CI_ONIRO_BUILD_FLAVOUR: zephyr
CI_ONIRO_INSTANCE_SIZE: s3.large.2
zephyr-qemu-x86-gcc:
extends: [.zephyr-qemu-x86, .toolchain-gcc]
zephyr-qemu-x86-clang:
extends: [.zephyr-qemu-x86, .toolchain-clang, .broken]
zephyr-qemu-cortex-m3:
.zephyr-qemu-cortex-m3:
extends: .build-zephyr-image
variables:
MACHINE: qemu-cortex-m3
......@@ -103,42 +164,83 @@ zephyr-qemu-cortex-m3:
CI_ONIRO_RECIPE_NAME: zephyr-philosophers
CI_ONIRO_BUILD_FLAVOUR: zephyr
CI_ONIRO_INSTANCE_SIZE: s3.large.2
zephyr-qemu-cortex-m3-gcc:
extends: [.zephyr-qemu-cortex-m3, .toolchain-gcc]
zephyr-qemu-cortex-m3-clang:
extends: [.zephyr-qemu-cortex-m3, .toolchain-clang, .broken]
zephyr-96b-nitrogen:
.zephyr-96b-nitrogen:
extends: .build-zephyr-image
variables:
MACHINE: 96b-nitrogen
CI_ONIRO_RECIPE_NAME: zephyr-philosophers
CI_ONIRO_BUILD_FLAVOUR: zephyr
CI_ONIRO_INSTANCE_SIZE: s3.large.2
zephyr-96b-nitrogen-gcc:
extends: [.zephyr-96b-nitrogen, .toolchain-gcc]
zephyr-96b-nitrogen-clang:
extends: [.zephyr-96b-nitrogen, .toolchain-clang, .broken]
zephyr-96b-nitrogen-tests:
.zephyr-96b-nitrogen-tests:
extends: .build-zephyr-image
variables:
MACHINE: 96b-nitrogen
CI_ONIRO_RECIPE_NAME: zephyr-kernel-test-all
CI_ONIRO_BUILD_FLAVOUR: zephyr
CI_ONIRO_INSTANCE_SIZE: s3.large.2
zephyr-96b-nitrogen-tests-gcc:
extends: [.zephyr-96b-nitrogen-tests, .toolchain-gcc]
zephyr-96b-nitrogen-tests-clang:
extends: [.zephyr-96b-nitrogen-tests, .toolchain-clang, .broken]
zephyr-96b-avenger:
.zephyr-96b-nitrogen-twister:
extends: .build-image
variables:
MACHINE: 96b-nitrogen
CI_ONIRO_RECIPE_NAME: zephyr-kernel-test-twister
CI_ONIRO_BUILD_FLAVOUR: zephyr
CI_ONIRO_INSTANCE_SIZE: s3.large.2
CI_ONIRO_JOB_ARTIFACTS: "twister*.tar.bz2"
zephyr-96b-nitrogen-twister-gcc:
extends: [.zephyr-96b-nitrogen-twister, .toolchain-gcc]
zephyr-96b-nitrogen-twister-clang:
extends: [.zephyr-96b-nitrogen-twister, .toolchain-clang, .broken]
.zephyr-96b-avenger:
extends: .build-zephyr
variables:
MACHINE: 96b-avenger96
zephyr-96b-avenger-gcc:
extends: [.zephyr-96b-avenger, .toolchain-gcc]
zephyr-96b-avenger-clang:
extends: [.zephyr-96b-avenger, .toolchain-clang, .broken]
zephyr-nrf52840dk-nrf52840:
.zephyr-nrf52840dk-nrf52840:
extends: .build-zephyr
variables:
MACHINE: nrf52840dk-nrf52840
zephyr-nrf52840dk-nrf52840-gcc:
extends: [.zephyr-nrf52840dk-nrf52840, .toolchain-gcc]
zephyr-nrf52840dk-nrf52840-clang:
extends: [.zephyr-nrf52840dk-nrf52840, .toolchain-clang, .broken]
zephyr-arduino-nano-33-ble:
.zephyr-arduino-nano-33-ble:
extends: .build-zephyr
variables:
MACHINE: arduino-nano-33-ble
zephyr-arduino-nano-33-ble-gcc:
extends: [.zephyr-arduino-nano-33-ble, .toolchain-gcc]
zephyr-arduino-nano-33-ble-clang:
extends: [.zephyr-arduino-nano-33-ble, .toolchain-clang, .broken]
freertos-armv5:
.freertos-armv5:
extends: .build-freertos
variables:
MACHINE: qemuarmv5
# See the note on linux-qemu-x86.
CI_ONIRO_BUILD_CACHE: "pub"
CI_ONIRO_BB_LOCAL_CONF_BB_GENERATE_MIRROR_TARBALLS: 1
freertos-armv5-gcc:
extends: [.freertos-armv5, .toolchain-gcc]
freertos-armv5-clang:
extends: [.freertos-armv5, .toolchain-clang, .broken]
......@@ -11,6 +11,8 @@
variables:
GIT_STRATEGY: none
CI_LAVA_INSTANCE: "https://lava.ostc-eu.org/"
CI_SQUAD_INSTANCE: "https://squadp.svc.ostc-eu.dev"
CI_SQUAD_PROJECT_NAME: "oniro-test-mr"
# Run the same ltp test suites that using by LKFT project.
# Reference: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/build/v5.10.98-75-g9f5cb871ceb9/testjobs/
LTP_TST_CMDFILES: "cap_bounds cpuhotplug crypto nptl pty securebits fs controllers hugetlb mm tracing containers io dio syscalls math commands ipc fcntl-locktests filecaps fs_bind fs_perms_simple fsx sched cve"
......@@ -44,14 +46,13 @@
-e 's/@ci_project_id@/'"$CI_PROJECT_ID"'/'
-e 's/@ci_pipeline_id@/'"$CI_PIPELINE_ID"'/'
-e 's,@ci_pipeline_url@,'"$CI_PIPELINE_URL"','
-e 's/@build_job_id@/'"$build_job_id"'/'
-e 's,@callback_url@,'"$CALLBACK_URL"',' job_def.yaml
-e 's/@build_job_id@/'"$build_job_id"'/' job_def.yaml
# Generate test jobs.
- |
set -x
rm -rf lava_jobs && mkdir lava_jobs
# Generate job definitions for zephyr build
if echo "${CI_BUILD_JOB_NAME}" | grep -i "zephyr"; then
if echo "${CI_BUILD_JOB_NAME}" | grep -i "zephyr" | grep -vi "twister"; then
for image in $(find artifacts/images/${MACHINE} -name "*.elf" -exec basename {} \;); do
image_basename=$(basename "${image}" ".elf")
echo "--- Generating lava job definition ${image_basename}.yaml ---"
......@@ -68,23 +69,25 @@
mv job_def.yaml lava_jobs/
fi
set +x
# Submit the job to LAVA.
# Submit the jobs to SQUAD.
- |
for job_def in $(find lava_jobs/ -name "*.yaml"); do
lava_job_id=$(curl -X POST -H "Authorization: Token $CI_LAVA_TOKEN" -F "definition=$(<${job_def})" "$CI_LAVA_INSTANCE/api/v0.2/jobs/" | jq ".job_ids" | tr -d "[\n ]")
if [ "${lava_job_id}" != "null" ]; then
echo "$CI_LAVA_INSTANCE/scheduler/job/$lava_job_id"
echo "$lava_job_id" >> job_ids_"${CI_JOB_NAME}_${lava_job_id}".txt
else
echo "Failed to submit ${job_def}"
exit 1
fi
echo $CI_SQUAD_INSTANCE/api/submitjob/oniro-core/$CI_SQUAD_PROJECT_NAME/$CI_PIPELINE_ID/$MACHINE --header "Auth-Token: $CI_SQUAD_TOKEN" --form "backend=oniro_lava" --form "definition=@${job_def}"
curl $CI_SQUAD_INSTANCE/api/submitjob/oniro-core/$CI_SQUAD_PROJECT_NAME/$CI_PIPELINE_ID/$MACHINE --header "Auth-Token: $CI_SQUAD_TOKEN" --form "backend=oniro_lava" --form "definition=@${job_def}"
done
# Attach a callback to this build to trigger the lava-report job
squad_build_id="$(curl --silent "$CI_SQUAD_INSTANCE/api/builds/?version=$CI_PIPELINE_ID" | jq -r '.results[0].id')"
curl --silent \
-X POST "$CI_SQUAD_INSTANCE/api/builds/$squad_build_id/callbacks/" \
-H "Authorization: Token $CI_SQUAD_TOKEN" \
-F "callback_url=$CALLBACK_URL" \
-F "callback_record_response=true"
artifacts:
paths:
- job_ids_*.txt
- lava_jobs/*.yaml
rules:
- if: '$CI_SQUAD_TOKEN == null'
when: never
# Run the build when it is scheduled.
- if: $CI_PIPELINE_SOURCE == "schedule"
# Do not run pipelines for draft merge requests unless manually triggered.
......@@ -105,36 +108,22 @@
variables:
GIT_STRATEGY: none
CI_LAVA_INSTANCE: "https://lava.ostc-eu.org/"
CI_SQUAD_INSTANCE: "https://squadp.svc.ostc-eu.dev"
script:
- |
incomplete=false
for file in $(find ./ -name "job_ids_*.txt"); do
echo "Job file: $file"
while read -r p; do
echo "Job ID: $p"
mkdir "$p"
# Echo LAVA job health and link.
link="$CI_LAVA_INSTANCE/scheduler/job/$p"
health="$(curl --silent "$CI_LAVA_INSTANCE/api/v0.2/jobs/$p/" | jq '.health' | tr -d '"')"
echo $health | grep -iq incomplete && incomplete=true
echo "[$health] $link"
# Get the JUnit export from LAVA.
curl --silent -o job_$p.xml "$CI_LAVA_INSTANCE/api/v0.2/jobs/$p/junit/?classname_prefix=$p"
echo "Report file: $(ls job_$p.xml)"
done < "$file"
done
if $incomplete; then
# Get the test_runs_incomplete value from build status. That will tell
# us if any of the LAVA jobs failed and we can determine whether the
# report job is successful or not.
squad_build_id="$(curl --silent "$CI_SQUAD_INSTANCE/api/builds/?version=$CI_PIPELINE_ID" | jq -r '.results[0].id')"
curl --silent "$CI_SQUAD_INSTANCE/api/builds/$squad_build_id/testjobs/" > test_jobs.json
jq -r '.results | .[] | .external_url, .job_status' test_jobs.json | tee job_status.txt
if grep -qi "incomplete" job_status.txt; then
echo "ERROR: Incomplete test job reported: exit code 1"
exit 1
fi
artifacts:
when: always
paths:
- job_*.xml
reports:
junit:
- job_*.xml
rules:
- if: '$CI_SQUAD_TOKEN == null'
when: never
# Run the build when it is scheduled.
- if: $CI_PIPELINE_SOURCE == "schedule"
when: manual
......@@ -158,10 +147,8 @@
script:
- |
set -x
curl --silent "$CI_API_V4_URL/projects/$CI_PROJECT_ID/pipelines/$CI_PIPELINE_ID/test_report" > test-report.json
total_count="$(jq '.total_count' test-report.json)"
success_count="$(jq '.success_count' test-report.json)"
success_rate=$(( 100 * success_count / total_count ))
pass_percentage="$(curl --silent $CI_SQUAD_INSTANCE/api/builds/$CI_PIPELINE_ID/status/ | jq -r '.pass_percentage')"
success_rate=`printf "%.2f" $pass_percentage`
anybadge --label=lava-test --value=${success_rate} --suffix='%' --file=lava-test.svg 50=red 60=orange 80=yellow 100=green
set +x
artifacts:
......
......@@ -16,6 +16,7 @@ SPDX-License-Identifier: CC-BY-4.0
- [Overview](#overview-1)
- [Developer Certificate of Origin](#developer-certificate-of-origin)
- [`oniro`-specific contributions process and guidelines](#oniro-specific-contributions-process-and-guidelines)
- [Eclipse Contributor Agreement](#eclipse-contributor-agreement)
# Gitlab Contributions
......@@ -215,3 +216,14 @@ Signed-off-by: Joe Developer <joe.developer@example.com>
Please note that by signing off the commit, you make a **legally binding
statement** that you certify as in the [DCO sign-off](#dco-sign-off) section.
# Eclipse Contributor Agreement
Before your contribution can be accepted by the project team, contributors must electronically sign the
[Eclipse Contributor Agreement (ECA)](http://www.eclipse.org/legal/ECA.php)
Commits that are provided by non-committers must have a Signed-off-by field in the footer indicating that the author is aware of the terms by which the contribution has been provided to the project.
The non-committer must additionally have an Eclipse Foundation account and must have a signed Eclipse Contributor Agreement (ECA) on file.
For more information, please see the [Eclipse Committer Handbook](https://www.eclipse.org/projects/handbook/#resources-commit)
......@@ -39,7 +39,7 @@ You can test the image built for the qemux86-64 target by issuing:
.. code-block:: console
$ runqemu qemux86-64 oniro-image-base wic ovmf
$ runqemu qemux86-64 oniro-image-base wic ovmf slirp
After successful bootup, you will be dropped into a login shell:
......
......@@ -38,7 +38,7 @@ You can test the image built for the qemu-x86 target by issuing:
.. code-block:: console
$ runqemu qemu-x86
$ runqemu qemu-x86 nographic
After successful bootup, the output of the application will be similar to:
......
......@@ -22,10 +22,10 @@
# -- Project information -----------------------------------------------------
project = 'Oniro Project Build System'
copyright = '2021'
copyright = '2022'
author = 'Oniro Project'
version = '1.99.99'
version = '2.0.0-alpha2'
release = version
# -- General configuration ---------------------------------------------------
......
......@@ -48,4 +48,4 @@ Once the image is done, you can run the Qemu using the provided script wrapper:
.. code-block:: console
$ MACHINE=qemux86-64 runqemu oniro-image-base wic ovmf
$ MACHINE=qemux86-64 runqemu oniro-image-base wic ovmf slirp
......@@ -48,4 +48,4 @@ Once the image is done, you can run the Qemu using the provided script wrapper:
.. code-block:: console
$ MACHINE=qemux86 runqemu oniro-image-base wic ovmf
$ MACHINE=qemux86 runqemu oniro-image-base wic ovmf slirp
......@@ -84,7 +84,7 @@ Once the image is built, you can run a Qemu X86-64 instance using the provided s
.. code-block:: console
$ MACHINE=qemux86-64 runqemu oniro-image-base wic ovmf
$ MACHINE=qemux86-64 runqemu oniro-image-base wic ovmf slirp
If the host has a VT-capable CPU, you can pass the ``kvm`` argument for better
performance. Check ``runqemu``'s help message for all available arguments.
......@@ -100,30 +100,17 @@ PACKAGE_CLASSES ?= "package_rpm"
#SDKMACHINE ?= "i686"
#
# Extra image configuration defaults
#
# The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated
# images. Some of these options are added to certain image types automatically. The
# variable can contain the following options:
# "dbg-pkgs" - add -dbg packages for all installed packages
# (adds symbol information for debugging/profiling)
# "src-pkgs" - add -src packages for all installed packages
# (adds source code for debugging)
# "dev-pkgs" - add -dev packages for all installed packages
# (useful if you want to develop against libs in the image)
# "ptest-pkgs" - add -ptest packages for all ptest-enabled packages
# (useful if you want to run the package test suites)
# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.)
# "tools-debug" - add debugging tools (gdb, strace)
# "eclipse-debug" - add Eclipse remote debugging support
# "tools-profile" - add profiling tools (oprofile, lttng, valgrind)
# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
# "debug-tweaks" - make an image suitable for development
# e.g. ssh root access has a blank password
# There are other application targets that can be used here too, see
# meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details.
# We default to enabling the debugging tweaks.
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
# Debug mode
#
# Delete comment to enable the debug mode.
# This enables a list of config to aid development.
# Do not enable it in production systems.
#
#INHERIT += "oniro-debug-linux"
# This class creates the "oniro" user to be used when debug mode is not enabled
# More info in meta-oniro-core/classes/oniro-user.bbclass
INHERIT += "oniro-user"
#
# Additional image features
......
......@@ -104,28 +104,13 @@ PACKAGE_CLASSES ?= "package_rpm"
#SDKMACHINE ?= "i686"
#
# Extra image configuration defaults
#
# The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated
# images. Some of these options are added to certain image types automatically. The
# variable can contain the following options:
# "dbg-pkgs" - add -dbg packages for all installed packages
# (adds symbol information for debugging/profiling)
# "src-pkgs" - add -src packages for all installed packages
# (adds source code for debugging)
# "dev-pkgs" - add -dev packages for all installed packages
# (useful if you want to develop against libs in the image)
# "ptest-pkgs" - add -ptest packages for all ptest-enabled packages
# (useful if you want to run the package test suites)
# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.)
# "tools-debug" - add debugging tools (gdb, strace)
# "eclipse-debug" - add Eclipse remote debugging support
# "tools-profile" - add profiling tools (oprofile, lttng, valgrind)
# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
# "debug-tweaks" - make an image suitable for development
# e.g. ssh root access has a blank password
# There are other application targets that can be used here too, see
# meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details.
# Debug mode
#
# Delete comment to enable the debug mode.
# This enables a list of config to aid development.
# Do not enable it in production systems.
#
#INHERIT += "oniro-debug-zephyr"
#
# Additional image features
......
......@@ -12,7 +12,8 @@ SPDX-FileCopyrightText: Huawei Inc.
Check out Oniro Project documentation at https://docs.oniroproject.org
Meet the developers on mattermost at https://chat.booting.oniroproject.org/
Meet the developers on mattermost at https://chat.booting.oniroproject.org/ or
point your favorite IRC client to the #oniro channel on https://libera.chat
</notice>
......@@ -23,19 +24,19 @@ SPDX-FileCopyrightText: Huawei Inc.
<remote name="openembedded" fetch="git://git.openembedded.org" />
<remote name="seco" fetch="https://git.seco.com" />
<project name="bitbake" remote="openembedded" revision="c212b0f3b542efa19f15782421196b7f4b64b0b9" path="bitbake" />
<project name="openembedded-core" remote="openembedded" revision="87d7383989a1ef6deaeff85739e622d8175ae9b6" path="oe-core" />
<project name="meta-openembedded" remote="openembedded" revision="6fbe7f748706229f43a2e06b08b6e1e729942314" path="meta-openembedded" />
<project name="bitbake" remote="openembedded" revision="b8fd6f5d9959d27176ea016c249cf6d35ac8ba03" path="bitbake" />
<project name="openembedded-core" remote="openembedded" revision="a5919cb8bcb8f3fe66519c80aa8730b16cf987ac" path="oe-core" />
<project name="meta-openembedded" remote="openembedded" revision="fcc7d7eae82be4c180f2e8fa3db90a8ab3be07b7" path="meta-openembedded" />
<project name="aehs29/meta-freertos" remote="github" revision="98a6838261d36b8f79c5fbae1736492169727a1e" path="meta-freertos" />
<project name="meta-intel" remote="yocto" revision="6177e7d95210131567d2891951b45a316a583bb4" path="meta-intel" />
<project name="meta-intel" remote="yocto" revision="8e472da759cd5a5bf2ece041d2796db56b1d5482" path="meta-intel" />
<project name="pub/intel/yocto/meta-seco-intel" remote="seco" revision="65a673560211b11986db5785c70254fad190785f" path="meta-seco-intel" />
<project name="meta-freescale" remote="yocto" revision="e904064f046612ebd1834d5b2dcdd757c680503b" path="meta-freescale" />
<project name="pub/i.mx/yocto/5.x/meta-seco-imx" remote="seco" revision="b82eaf8b0a2abe775c158b0a069b7bb7894ec8e6" path="meta-seco-imx" />
<project name="meta-freescale" remote="yocto" revision="92df6b76f38397b75ea76d588935b5b91b63c58c" path="meta-freescale" />
<project name="pub/i.mx/yocto/5.x/meta-seco-imx" remote="seco" revision="b6976d806dad5cff6e071cfdb59ab45c4210604b" path="meta-seco-imx" />
<project name="meta-raspberrypi" remote="yocto" revision="0135a02ea577bd39dd552236ead2c5894d89da1d" path="meta-raspberrypi" />
<project name="meta-security" remote="yocto" revision="93f2146211001ee3cf697d8428969cc3069ed6ba" path="meta-security" />
<project name="rauc/meta-rauc" remote="github" revision="4429bd1f29677c9a7de032d53240fb4791a41e1f" path="meta-rauc" />
<project name="meta-security" remote="yocto" revision="d3d8e62bf1caa3870a504c0addcfd200b33c189f" path="meta-security" />
<project name="rauc/meta-rauc" remote="github" revision="c66cdf995818a4425ad32b0ef76063e762dbf922" path="meta-rauc" />
<project name="riscv/meta-riscv" remote="github" revision="70e099d7ceca52a1dde2c978713012f6b20a9891" path="meta-riscv" />
<project name="meta-arm" remote="yocto" revision="c713908b7feb31067601e335222725e5ddcb6668" path="meta-arm" />
<project name="meta-arm" remote="yocto" revision="741509023867aa629f35289bba12485d4b6e3dcf" path="meta-arm" />
<!--
All entries above are pinned to a specific revision and updated manually.
......
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
IMAGE_INSTALL:append = "\
packagegroup-net-tools \
"
#
# Extra image configuration defaults
#
# The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated
# images. Some of these options are added to certain image types automatically. The
# variable can contain the following options:
# "dbg-pkgs" - add -dbg packages for all installed packages
# (adds symbol information for debugging/profiling)
# "src-pkgs" - add -src packages for all installed packages
# (adds source code for debugging)
# "dev-pkgs" - add -dev packages for all installed packages
# (useful if you want to develop against libs in the image)
# "ptest-pkgs" - add -ptest packages for all ptest-enabled packages
# (useful if you want to run the package test suites)
# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.)
# "tools-debug" - add debugging tools (gdb, strace)
# "eclipse-debug" - add Eclipse remote debugging support
# "tools-profile" - add profiling tools (oprofile, lttng, valgrind)
# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
# "debug-tweaks" - make an image suitable for development
# e.g. ssh root access has a blank password
# There are other application targets that can be used here too, see
# meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details.
# We default to enabling the debugging tweaks.
EXTRA_IMAGE_FEATURES += "\
debug-tweaks \
dev-pkgs \
dbg-pkgs \
src-pkgs \
tools-sdk \
tools-debug \
tools-profile \
package-management \
"
ROOT_PARTITION_SIZE = "2G"
......@@ -2,4 +2,4 @@
#
# SPDX-License-Identifier: Apache-2.0
PACKAGECONFIG ??= "zlib xz"
inherit oniro-debug-common
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
inherit oniro-debug-common
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
# Add a new user named oniro with default password oniro
inherit extrausers
# This is a sha512 hash of the word "oniro"
# To generate a new password run the following command:
# $ mkpasswd -m sha512crypt
# WARNING: this is a temporary solution until we have a provisioning solution to set up the initial password
ONIRO_USER_PASSWORD ?= "\$6\$cI/pmFRW1S8seZ24\$e/7XAuVsOBgoAEmlKQnk54.jQEpRuQmmzik6.1Osaji7ca.04N70Ji.PN86sFXBvqwDGhhSr.jqZsDDA8OVuy."
EXTRA_USERS_PARAMS = "\
useradd -p '${ONIRO_USER_PASSWORD}' oniro; \
"
IMAGE_INSTALL:append = " sudo"
# Add to secure_path:
# - /bin
# - /usr/bin
# - /usr/local/bin
# - /sbin
# - /usr/sbin
# - /usr/local/sbin
# Add oniro to the sudo users
init_user_oniro () {
echo "oniro ALL=(ALL:ALL) ALL" > ${IMAGE_ROOTFS}/etc/sudoers.d/oniro
echo "Defaults secure_path=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin" >> ${IMAGE_ROOTFS}/etc/sudoers.d/oniro
}
ROOTFS_POSTPROCESS_COMMAND:append = " init_user_oniro;"
......@@ -13,7 +13,7 @@ BOOT_PARTITION_SIZE ?= "512M"
# Root partitions
# No label as default filesystem is squashfs.
# The SECO B68 board pulls in almost half a Gigabyte worth of linux-firmware.
ROOT_PARTITION_SIZE:seco-intel-b68 ?= "2G"
ROOT_PARTITION_SIZE:seco-intel-b68 ?= "3G"
ROOT_PARTITION_SIZE ?= "1G"
ROOTA_PARTITION_SIZE = "${ROOT_PARTITION_SIZE}"
ROOTB_PARTITION_SIZE = "${ROOT_PARTITION_SIZE}"
......