Commits on Aug 9, 2023

  1. Installing checkbox tutorial (#626)

    * Installing checkbox tutorial
    
    * Minor: typo
    
    * Review feedback
    
    * Reference required by install snap
    
    Minor: fixed links in install
    
    * Forgotten snap reference file
    
    * Fixed spelling
    
    Minor: sorted wordlist.txt in alphabetical order, to do the same
      you can use the following in vim: ":%!sort"
    
    * Change default/encouraged version to classic
    
    * Implemented docs feedback
    
    Uppercase C in checkbox
    Link to installation in reference
    Ubuntu is not code
    blob -> blog
    Uppercase S in snapcraft
    CI expanded to Continuous Integration
    Typos and grammar
    Hook25 committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    4addf09 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. Add section in the release process about sending release e-mails (#656)

    * Add section in the release process about sending release e-mails
    
    * Add comments on release e-mail
    
    * Fix Markdown typo
    
    * Change sample release note
    
    * Use semver example in the tag release section
    pieqq committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    a5ce979 View commit details
    Browse the repository at this point in the history
  2. Fix metabox snap testing (#652)

    * Run black on lxd_proviuder and machine
    
    * Install metabox provider in overlay
    
    This installs the metabox provider in an overlay that is
    automounted to the checkbox snap at boot. This is done to
    avoid sideloading but also having a persistent install
    of the metabox provider to be persistent across reboots.
    Also, this uses the default loading mechanism of the snap
    and it is closer to what it will do "in the wild"
    
    * Document how to test snaps in README.md
    
    * Minor: reformatted wonky indentation
    
    * Fixed extra command in cmd
    Hook25 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    9f16d82 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Force series16 to install dependencies (#661)

    * Force snapcraft.yaml for s16 to install deps
    
    There does not seem to be another way to install the dependencies
    using the pyproject key. This is due to the fact that there is no
    pip/setuptools/other backend that seem to support it on such an old
    version of python
    
    * Force also metabox source runs to install deps
    
    Minor: python may not be python3, call python3
    
    * New test plan check installation
    
    * Dependency test script for metabox-provider
    
    * Add metabox scenario to validate installation
    
    * Renamed all jobs to the same name
    
    * Removed test plan
    
    * Tag test
    
    * Minor: removed empty line
    Hook25 committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    8d1089f View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. Calculate coverage unittests (#667)

    * Collect coverage of checkbox-ng and update source .coveragerc
    
    Minor: Sort and update exclusions
    
    * Collect coverage of checkbox-support and update source .coveragerc
    
    Minor: Sort and update exclusions
    
    * New coveragerc for providers
    
    * Collect coverage of providers bins
    
    Minor: Always call python via the correct env name in tox
    
    * Minor: Fixed rotated dependencies
    
    * Show missing lines in cli report
    
    Minor: Fixed spacing
    Hook25 committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    1c76d39 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Enforce coverage requirement and reporting via codecov (#672)

    * Generate xml report for codecov.io
    
    * Add coverage upload to tox action
    
    * Add code coverage requirements
    
    * Document coverage policy and howto
    
    * Implement review feedback
    Hook25 committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    a4416bb View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. New plainbox unittests (>0%) (#675)

    * Init unittests for cmd_session.py
    
    * Init unittests for deprecated modules
    
    * Init unittests for inv_session.py
    
    * Init unittests for remote_assistant.py
    
    * Added missing dep to tox.ini
    
    * Downgrade from assert_called from assertTrue(called)
    
    Minor: python3.5 does not support assert_called
    Hook25 committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    4245d8a View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. New checkbox-ng unittests (>0%) (#678)

    * Added new test for master invoke
    
    Minor: Fixed typo in banner
    
    * Added test for slave invoke
    
    * Add unit test to mergers
    
    * Add unit test to check config
    
    * Add unit test to provider tools
    
    * Add unit test to checkbox_cli
    
    * Make tests compatible with ancient python
    
    - Mock os.path.join for py<3.8
    - Mock ArgumentParser for py<3.8
    - Remove all assert_called_once as it is 3.6+
    Hook25 committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    9bdcee9 View commit details
    Browse the repository at this point in the history
  2. Carryover codecov coverage (#680)

    * Flagged unittests
    
    Flagging is basically a way to give a category to unittests (grouping
    them together)
    
    * Enable carryover of all test runs
    
    Given that we have a monorepo, we do not run all tests every time.
    carryover makes codecov use any previous run as an oracle if a
    submission is missing coverage data for an existing flag
    
    * Renamed all providers with provider- prefix
    Hook25 committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    0e0e9d8 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Add a canary test plan to help with automated Checkbox release testing (

    #674)
    
    * add a canary test plan
    
    * add graphics job
    
    * remove the repeated reboot jobs
    kissiel committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    d055b89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    856fe8d View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Make the remote api mismatch message clearer (#687)

    * Make the remote api message clearer
    
    * Tweaked wording
    
    * Extract api version checking to function
    
    * Test the new remote_api checking function
    
    * Review feedback
    Hook25 committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    f536a95 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3664e70 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. Fix: Assign bitrate and loopback on for SocketCAN (#662)

    * Fix: Assign bitrate and loopback on for Socketcan
    
    Two changes are made in this commit.
    1. For most of devices with CAN hardware component, the CAN interface
       cannot be brought up if the bitrate is not given. Therefore,
       assign the bitrate for eff and sff local socketCAN tests like what
       the remote socketCAN tests do.
    2. For local socketCAN test, loopback is the must need parameter be
       assigned before bringing the CAN interface up.
    
    * Update the bitrate to be 1,000,000
    baconYao committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    74cc03b View commit details
    Browse the repository at this point in the history
  2. Removed category flags (#693)

    Hook25 committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    2675fc7 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. make the config chains scenario in metabox local-only (#691)

    This should never have run via remote because:
    - the configs on the controller are not taken into account
    - the agent runs as root, so configs for the `ubuntu` user are pointless
    
    There is more that we can improve in this test, but this patch at least
    fixes the metabox runs.
    kissiel committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    2f03de6 View commit details
    Browse the repository at this point in the history
  2. Upgrade contributing guide with effective coverage tips (#685)

    * Upgrade with effective coverage tips
    
    * Minor: Fixed typos
    
    * Add reminder for coverage in the pr template
    Hook25 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    66af520 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Fix retcode on fail (#701)

    * add return code metabox scenario
    
    * fix: checkbox remote now returns 1 on any test failed
    
    * fixup! add return code metabox scenario
    
    * forward return val from the main remote function
    
    * remove useless break
    kissiel committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    d294291 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Fix metabox test RunFailingTestplan (infra) (#706)

    * Minor: run black, formatting, import style
    
    * Fixed failing checkbox run should return 1
    Hook25 committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    bc2f6ad View commit details
    Browse the repository at this point in the history
  2. Upgrade release docs canary (#689)

    * Canary documentation for starting release and how it works
    
    * Explain versioning and how to tag
    
    * Minor: better tag for beta promotion
    
    * Add guideline for PR titles to PR template
    
    * Review feedback
    
    * Removed acronims as per feedback
    Hook25 committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    299f38c View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Add "Running your first test plan" tutorial section (#705)

    * Add "Running first test plan" tutorial section
    
    * Modify resource job unit documentation page
    
    * Modify documentation glossary (test plan, job and resrouce sections)
    
    * Add Wrapping up section in the "Running" tutorial
    
    * Adding headers to the Running test plan tutorial
    
    * Fixes based on feedback
    
    * Fix typo
    
    Co-authored-by: tang-mm <tang.mmeng@gmail.com>
    
    ---------
    
    Co-authored-by: tang-mm <tang.mmeng@gmail.com>
    pieqq and tang-mm committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    87e0716 View commit details
    Browse the repository at this point in the history
  2. Add section about config files in the Launcher tutorial (#671)

    * Add section about `check-config` in the config explanation
    
    * Add section about config files in the Launcher tutorial
    
    Instead of writing a whole separate tutorial section about config files,
    a section is created within the tutorial about launchers. This section
    briefly touches on config files and point to the existing explanation
    for more information.
    
    Fix CHECKBOX-752
    
    * Add prompt to distinguish commands and output
    
    * Replace username with more generic example
    
    * Address feedback
    pieqq committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    4e1d282 View commit details
    Browse the repository at this point in the history
  3. Add Tutorial provider (#645)

    * add empty tutorial provider
    
    * add tutorial jobs that end in 3 different outcomes
    
    * add additional units for the tutorial provider
    
    * Add tutorial job that uses an environment variable
    
    * Add readme for the tutorial provider
    
    * Split tutorial provider name and namespace
    
    * Amend existing tutorial pages to point to the newly created tutorial test plan
    
    * Add tutorial provider to the checkbox22 snap
    
    The base tutorial uses jobs and test plan from this provider as part of
    the introduction to Checkbox, so it needs to be present in the snap.
    
    * Add a Tutorial category
    
    * Tutorial provider: update existing jobs and add manual and semi-auto jobs
    
    * Tutorial provider: add interactive jobs to the test plan
    
    ---------
    
    Co-authored-by: Pierre Equoy <pierre.equoy@canonical.com>
    kissiel and pieqq committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    d47079a View commit details
    Browse the repository at this point in the history
  4. Add table of content for the Tutorial (Infra) (#710)

    * Rename base tutorial rst files
    
    * Change rst markup of the test report tutorial
    
    Switch to the same markup used for other rst files, otherwise the
    generated HTML page does not behave the same (no links at the bottom to
    the previous/next section).
    
    * Update Tutorial table of content
    
    * Add support page pointing to our mailing list
    
    * Update "Project and community" section of the index
    
    * Update index of the tutorial section
    
    Fix CHECKBOX-791
    pieqq committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    a1e16c3 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2023

  1. Fix deb version to adhere to LP naming (New) (#714)

    * Black Changes
    
    * Changed version naming for all lp builds
    Hook25 committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    c647272 View commit details
    Browse the repository at this point in the history
  2. fix pip install -e . for focal (older pip) (Infra) (#713)

    * fix `pip install -e .` for focal (older pip)
    
    PIP, when run in editable mode requires the projects to have `setup.py`,
    it cannot do it just with setup.cfg and pyproject.toml.
    
    This patch makes it so checkbox can be deployed and used from source.
    
    * remove dynamic setup.py generation
    kissiel committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    7bdf634 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Refine Canary test plan (BugFix) (#716)

    * Refine Canary test plan
    
    Remove a few jobs from the Canary test plan.
    
    Some jobs are meant to be run on desktop images and do not run well (or
    at all) on Ubuntu Core:
    
    - the graphics-related ones
    - i2c/i2c-device-detect (although it could technically run on a desktop
    image, it requires a connected I²C device connected to run properly)
    
    On the other hand, some jobs are meant to run on UC and not on desktop
    images:
    
    - ubuntu_core_features
    - kernel-snap/booted-kernel-matches-current-grub
    - parts_meta_info_attachment
    
    A lot of the snap-related tests make requests to the snap store, and
    it's preferable to avoid this to avoid false negative in the case where
    the snap store is not responding.
    
    The watchdog tests are meant to be run only on devices where the
    watchdog device is enabled and properly setup. Watchdog is not part of
    the coverage for laptops and desktops.
    
    This commit also renames the pxu file to be aligned with the convention
    used for other units in this provider.
    
    Fix CHECKBOX-837
    
    * Remove location/status job from canary test plan
    
    Remove location job (and its after-suspend sibling) as it relies on a
    snap (locationd) that we do not support anymore and that is therefore
    not installed. As a result, the jobs will always be skipped.
    
    * Remove disk/storage_device_.* test from canary test plan
    
    Stress test that takes a long time to run and does not bring any benefit
    in terms of testing Checkbox proper.
    pieqq committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    fa62fd0 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Fix checkbox runtime series16 snap (infra) (#718)

    * Upgrade pip and setuptools before snapcraft_install
    
    Minor: remove standalone pip install (use the snapcraft_install)
    Minor: removed hack to create setup.py
    Minor: Only stage provider as the provider install part
    
    * Minor: Document why we remove pip after checkbox-support build
    
    Minor: Removed commented out dependencies (moved in build)
    
    * Moved all python dependencies in the same part
    
    Minor: fixed all python paths to the correct version
    Minor: remove outdated hack
    
    * Updated comments and recovered dependency
    
    * Recovered (miss)removed build-packages
    Hook25 committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    0a2f517 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. Update rules to translate from dpkg to PEP440 version (infra) (#725)

    Update rules to translate from dpkg to PEP440 version
    
    This removes the (automatically included) -ubuntu or ~ubuntu
    version postfix (optional from dpkg but violating PEP440) and
    translates the dev annotation (~dev for dpkg) to a valid
    PEP440 annotation (.dev)
    Hook25 committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    ef79796 View commit details
    Browse the repository at this point in the history
  2. Limit tox run to the env of the current matrix (infra) (#726)

    Limit tox run to the env of the current matrix
    Hook25 committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    5cbe139 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. Make ppa-dev-tools actually look for the correct package (infra) (#729)

    Fix wrong name added to to_check
    Hook25 committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    c4e9ec2 View commit details
    Browse the repository at this point in the history