Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
apertis-test-cases
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tests
apertis-test-cases
Merge requests
!670
aum-rollback-bootcount: clarify steps to run the test
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
aum-rollback-bootcount: clarify steps to run the test
wip/daissi/aum-rollback-bootcount
into
apertis/v2026dev2
Overview
10
Commits
2
Pipelines
6
Changes
1
Open
Dylan Aïssi
requested to merge
wip/daissi/aum-rollback-bootcount
into
apertis/v2026dev2
4 months ago
Overview
10
Commits
2
Pipelines
6
Changes
1
Expand
0
0
Merge request reports
Compare
apertis/v2026dev2
version 6
324c4b1c
3 weeks ago
version 5
7a94e678
1 month ago
version 4
7a94e678
1 month ago
version 3
1c4fa9e7
4 months ago
version 2
16dce0e5
4 months ago
version 1
efba4177
4 months ago
apertis/v2026dev2 (HEAD)
and
latest version
latest version
7ff36027
2 commits,
3 weeks ago
version 6
324c4b1c
2 commits,
3 weeks ago
version 5
7a94e678
2 commits,
1 month ago
version 4
7a94e678
2 commits,
1 month ago
version 3
1c4fa9e7
2 commits,
4 months ago
version 2
16dce0e5
2 commits,
4 months ago
version 1
efba4177
1 commit,
4 months ago
1 file
+
14
−
13
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
test-cases/aum-rollback-bootcount.yaml
+
14
−
13
Options
@@ -2,7 +2,7 @@ metadata:
name
:
aum-rollback-bootcount
format
:
"
Apertis
Test
Definition
1.0"
image-types
:
fixedfunction
:
[
armhf
,
arm64
,
amd64
]
fixedfunction
:
[
armhf
,
arm64
]
image-deployment
:
-
OSTree
type
:
functional
@@ -39,20 +39,21 @@ install:
run
:
steps
:
-
"
#
For
Phase
1-3,
perform
the
following
actions
to
move
to
the
next
phase,
-
"
For
Phase
1-3,
perform
the
actions
2
to
4
to
move
to
the
next
phase,
the
actions
prepare
the
system
and
run
the
test
in
the
appropriate
phase"
-
"
Check
the
initial
deployment"
-
$ sudo ostree admin status
-
"
Enter
test
directory"
-
$ cd aum-offline-upgrade
-
"
Set
environment
variables"
-
$ source /etc/os-release
-
$ ARCH=`dpkg --print-architecture`
-
"
Set
additional
variables
which
will
be
use
to
generate
the
image
file
path
base
on
the
images
available
in
the
server,
as
example"
-
$ BASEURL="https://images.apertis.org" BOARD="uboot" IMGPATH="daily/$VERSION"
-
"
Run
the
actual
test"
-
$ common/run-test-in-systemd --timeout=1200 --name=rollback-bootcount env DEBUG=2 RELEASE=$VERSION ARCH=$ARCH BASEURL=$BASEURL IMGPATH=$IMGPATH IMGDATE=$BUILD_ID IMGTYPE=$VARIANT_ID BOARD=$BOARD ./run-test-ota-auto.sh
-
"
Run
the
script
preparing
the
system"
-
$ ./run-test-aum-rollback-bootcount.sh
-
"
Reboot
the
system"
-
"
For
Phase
4,
power
cycle
the
board
just
after
starting
the
kernel,
-
"
Before
starting
the
Phase
4,
ensure
the
previous
steps
have
been
successful,
the
following
command
should
return
'3':"
-
$ cat /var/run-phase
-
"
For
Phase
4,
power
cycle
the
board
just
after
the
u-boot
message
'Hit
any
key
to
stop
autoboot:
X'
and
before
'Starting
kernel
...',
repeat
it
for
three
times
to
increase
bootcount
beyond
the
limit"
-
"
Check
that
bootlimit
has
been
exceeded,
by
looking
at
logs"
-
"
Check
that
after
booting
the
original
deployment
has
been
used"
\ No newline at end of file
-
"
Check
that
bootlimit
has
been
exceeded,
by
looking
at
u-boot
logs"
-
"
Check
that
after
booting
the
initial
deployment
has
been
used
with:"
-
$ sudo ostree admin status
Loading