Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CERN CentOS functional tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
linuxsupport
Testing
CERN CentOS functional tests
Commits
1aad7472
Commit
1aad7472
authored
1 week ago
by
Alex Iribarren
Browse files
Options
Downloads
Plain Diff
Merge branch 'ten' into 'master'
Adapt tests for EL10 See merge request
!7
parents
6f9a5ee7
e717a9a5
No related branches found
No related tags found
1 merge request
!7
Adapt tests for EL10
Pipeline
#12222048
passed
1 week ago
Stage: test
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
runtests.sh
+2
-2
2 additions, 2 deletions
runtests.sh
skipped-tests.list
+3
-0
3 additions, 0 deletions
skipped-tests.list
tests/cern_partitioning/5_grub.sh
+8
-1
8 additions, 1 deletion
tests/cern_partitioning/5_grub.sh
utils/package-install-list.sh
+1
-1
1 addition, 1 deletion
utils/package-install-list.sh
with
14 additions
and
4 deletions
runtests.sh
+
2
−
2
View file @
1aad7472
...
...
@@ -37,7 +37,7 @@ set -u
# Searching for tests to disable
if
[
-e
skipped-tests.list
]
;
then
t_Log
"QA Harness : searching for tests to disable with valid reason"
e
grep ^
${
centos_ver
}
skipped-tests.list |
while
read
line
;
grep
-E
^
${
centos_ver
}
skipped-tests.list |
while
read
line
;
do
test
=
$(
echo
$line
|cut
-f
2
-d
'|'
)
t_Log
"Disabling QA harness test
${
test
}
"
chmod
-x
${
test
}
...
...
@@ -59,7 +59,7 @@ fi
# and, we're done.
if
[
-e
skipped-tests.list
]
;
then
t_Log
"QA Harness : Searching for disabled tests (skipped-tests.list)"
e
grep ^
${
centos_ver
}
skipped-tests.list |
while
read
line
;
grep
-E
^
${
centos_ver
}
skipped-tests.list |
while
read
line
;
do
test
=
$(
echo
$line
|cut
-f
2
-d
'|'
)
reason
=
$(
echo
$line
|cut
-f
3
-d
'|'
)
t_Log
" =WARNING= : Disabled test :
${
test
}
(
${
reason
}
)"
...
...
This diff is collapsed.
Click to expand it.
skipped-tests.list
+
3
−
0
View file @
1aad7472
...
...
@@ -8,13 +8,16 @@
7|tests/0_common/00_centos_repos.sh|We want to keep CERN repos enabled
8|tests/0_common/00_centos_repos.sh|We want to keep CERN repos enabled
9|tests/0_common/00_centos_repos.sh|We want to keep CERN repos enabled
10|tests/0_common/00_centos_repos.sh|We want to keep CERN repos enabled
7|tests/0_common/30_dns_works.sh|We spawn VM without waiting for DNS register
8|tests/0_common/30_dns_works.sh|We spawn VM without waiting for DNS register
9|tests/0_common/30_dns_works.sh|We spawn VM without waiting for DNS register
10|tests/0_common/30_dns_works.sh|We spawn VM without waiting for DNS register
7|tests/0_common/20_upgrade_all.sh|Avoid too much noise on CI logs
8|tests/0_common/20_upgrade_all.sh|Avoid too much noise on CI logs
9|tests/0_common/20_upgrade_all.sh|Avoid too much noise on CI logs
7|tests/cern_openafs/*|We run this test on https://gitlab.cern.ch/linuxsupport/rpms/openafs/ for kmod kernel matching
8|tests/cern_openafs/*|We run this test on https://gitlab.cern.ch/linuxsupport/rpms/openafs/ for kmod kernel matching
9|tests/cern_openafs/*|We run this test on https://gitlab.cern.ch/linuxsupport/rpms/openafs/ for kmod kernel matching
10|tests/cern_openafs/*|We run this test on https://gitlab.cern.ch/linuxsupport/rpms/openafs/ for kmod kernel matching
7|tests/cern_partitioning/6_dracut.sh|No cern-dracut-conf for CC7
This diff is collapsed.
Click to expand it.
tests/cern_partitioning/5_grub.sh
+
8
−
1
View file @
1aad7472
...
...
@@ -34,11 +34,18 @@ t_Log "Looking for net.ifnames=0 in /proc/cmdline"
grep
-e
'net.ifnames=0'
/proc/cmdline
t_CheckExitStatus
$?
if
[
"
$centos_ver
"
-
ge
8
]
;
then
if
[
"
$centos_ver
"
-
lt
10
]
;
then
t_Log
"Looking for root UUID in /etc/default/grub"
grep
-e
'GRUB_CMDLINE_LINUX=".*root=UUID=.*'
/etc/default/grub
t_CheckExitStatus
$?
t_Log
"Looking for root UUID in /proc/cmdline"
grep
-e
'root=UUID='
/proc/cmdline
t_CheckExitStatus
$?
else
t_Log
"Looking for root LABEL in /etc/default/grub"
grep
-e
'GRUB_CMDLINE_LINUX=".*root=LABEL=ROOT'
/etc/default/grub
t_CheckExitStatus
$?
t_Log
"Looking for root LABEL in /proc/cmdline"
grep
-e
'root=LABEL=ROOT'
/proc/cmdline
t_CheckExitStatus
$?
fi
This diff is collapsed.
Click to expand it.
utils/package-install-list.sh
+
1
−
1
View file @
1aad7472
...
...
@@ -3,7 +3,7 @@
# author: Christoph Galuschka <christoph.galuschka@chello.at>
# This script will create a file with all packages which get installed by the tests
grep
t_InstallPackage ../
*
/
*
/
*
|
grep
-v
export
|
grep
-v
functions |
e
grep
-v
'.*\$.*'
|
\
grep
t_InstallPackage ../
*
/
*
/
*
|
grep
-v
export
|
grep
-v
functions |
grep
-E
-v
'.*\$.*'
|
\
cut
-d
':'
-f
2 |
sed
's/^ *//g'
|
tr
-s
' '
|
sed
's/t_InstallPackage/yum\ install\ \-y\ \-d0/g'
>
/var/tmp/t_functional_packagelist
# running the resulting file with '/bin/bash /var/tmp/t_functional_packagelist' will install all packages required by the current tests.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment