-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SUSE certificates: ensure_ca_certificate default Use SLE-Factory when CA folder not found in IBS Add different timeout for ppc64le emulated Reduce yaml files for minimal+base_yast Reduce yaml files for minimal+base_yast Reduce yaml files for minimal+base_yast Change select patterns to select patterns from top Added new key in default scehdules Same fix for s390x-zVM Remove VM network adapter, and log soft failure Progress ticket: https://progress.opensuse.org/issues/151645 Integrate AZ fencing permissions functions into one This is a following PR for #20415. There are 3 functions for setupping native fencing permission for AZ test, but only `qesap_az_setup_native_fencing_permissions` is called by test code. So we integrate these three into one for 2 reasons: 1. After integrating, the code is not long, still easy to read. 2. Simply the test code. Related: https://jira.suse.com/browse/TEAM-9699 Schedule salt smoke test on SLE staging https://progress.opensuse.org/issues/87982 Add test for Business One Command Line Installation Fixes TEAM-9660 Adds: Settings for b1 validation app Shell script to parse business one validation program Business One configuration file for Installation Changed to create directory only if was not preset (prevent error during mkdir /sapinst) Schedule for bone_test and bone_validation Business One Installation test Business one installation validation test Install additional modules and packages if business one installation Fixes for tidy
- Loading branch information
Showing
45 changed files
with
612 additions
and
471 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
# N/A | ||
API_AUTHENTICATION_SERVICE_PORT=60010 | ||
# N/A | ||
API_GATEWAY_SERVICE_PORT=60000 | ||
# Action to be performed with Authentication Service Database | ||
AUTHENTICATION_SERVICE_DATABASE_ACTION=create | ||
# Name of AuthenticationService Database | ||
AUTHENTICATION_SERVICE_DATABASE_NAME=B1AS | ||
# Authentication service port used for the HTTPS protocol | ||
AUTHENTICATION_SERVICE_HTTPS_PORT=40020 | ||
# Authentication service management port used for the HTTP protocol | ||
AUTHENTICATION_SERVICE_MANAGEMENT_HTTP_PORT=40021 | ||
# Set AutoStart for SAMBA service? | ||
B1S_SAMBA_AUTOSTART=true | ||
# Overwrite the existing B1 Shared folder? | ||
B1S_SHARED_FOLDER_OVERWRITE=true | ||
# Password for B1 tech user. | ||
B1S_TECHUSER_PASSWORD= | ||
# Compress backups | ||
BCKP_BACKUP_COMPRESS=true | ||
# N/A | ||
BCKP_HANA_SERVERS=<servers><server><system address="%SERVER%"/><database instance="%INSTANCE%" port="30013" tenant-db="%TENANT_DB%" user="" password=""/></server></servers> | ||
# Log files location | ||
BCKP_PATH_LOG=/var/log/SAPBusinessOne/BackupService/logs | ||
# Backup location | ||
BCKP_PATH_TARGET=/hana/shared/backup_service/backups | ||
# Working folder | ||
BCKP_PATH_WORKING=/tmp/backup_service | ||
# Create default CD Repository | ||
CD_REPOSITARY_ACTION=none | ||
# Central working share repository user password. | ||
CD_WORKINGSHARE_PASSWORD= | ||
# Central working share repository user name. | ||
CD_WORKINGSHARE_USER= | ||
# Create Central Log Repository | ||
CENTRAL_LOG_ACTION=none | ||
# Central log repository user password. | ||
CENTRAL_LOG_PASSWORD= | ||
# Path to central log repository. | ||
CENTRAL_LOG_PATH=/usr/sap/SAPBusinessOne/ServerTools/SLD/CentralLogFolder | ||
# Central log repository username under which is shared. | ||
CENTRAL_LOG_USER=b1LogUser | ||
# Delete Shared Folder during uninstall | ||
DELETE_B1_SHR=false | ||
# Port used by Electronic Document Service dashboard | ||
EDS_DASHBOARD_PORT=7298 | ||
# Port used by Electronic Document Service | ||
EDS_PORT=7299 | ||
# HANA DB Server instance | ||
HANA_DATABASE_INSTANCE=%INSTANCE% | ||
# HANA DB Server name or IP | ||
HANA_DATABASE_SERVER=%SERVER% | ||
# HANA DB Server Port | ||
HANA_DATABASE_SERVER_PORT=30013 | ||
# Name of tenant database for Multiple Container Mode | ||
HANA_DATABASE_TENANT_DB=%TENANT_DB% | ||
# HANA DB User ID | ||
HANA_DATABASE_USER_ID= | ||
# HANA DB Password | ||
HANA_DATABASE_USER_PASSWORD= | ||
# Installation folder | ||
INSTALLATION_FOLDER=/usr/sap/SAPBusinessOne | ||
# SLD Landscape Installation Type | ||
LANDSCAPE_INSTALL_ACTION=create | ||
# Node type of License Server | ||
LICENSE_SERVER_NODE=standalone | ||
# Network address of local machine | ||
LOCAL_ADDRESS=%SERVER% | ||
# Path to central log repository. | ||
NETWORK_CENTRAL_LOG_PATH=\\%SERVER%\B1_CENTRAL_LOG_REPOSITORY | ||
# Path to repository where DVD is copied. | ||
NETWORK_REPOSITORY_PATH=\\%SERVER%\B1_DEFAULT_REPOSITORY | ||
# Repository username password. | ||
REPOSITORY_PASSWORD= | ||
# Path to repository where DVD is copied. | ||
REPOSITORY_PATH=/sapinst2 | ||
# Repository username under which is shared. | ||
REPOSITORY_USER=b1RepositoryUser | ||
# Features selected for installation/uninstallation/upgrade | ||
SELECTED_FEATURES=B1ServerToolsSLD,B1ServerToolsExtensionManager,B1ServerToolsLicense,B1ServerToolsJobService,B1ServerToolsMobileService,B1ServerToolsXApp,B1SLDAgent,B1WebClient,B1BackupService,B1ServerSHR,B1ServerCommonDB,B1ServerHelp_EN,B1ServerAddons,B1ServerOI,B1AnalyticsOlap,B1AnalyticsTomcatEntSearch,B1AnalyticsTomcatDashboard,B1AnalyticsTomcatReplication,B1AnalyticsTomcatConfiguration,B1AnalyticsTomcatPredictiveAnalysis,B1ServiceLayerComponent,B1ElectronicDocumentService,B1APIGatewayService | ||
# Service Port | ||
SERVICE_PORT=40000 | ||
# Site User ID | ||
SITE_USER_ID= | ||
# Site User Password | ||
SITE_USER_PASSWORD= | ||
# SLD Certificate Action | ||
SLD_CERTIFICATE_ACTION=self | ||
# Password to SLD Certificate file | ||
SLD_CERTIFICATE_PASSWORD= | ||
# Action to be performed with SLD Database | ||
SLD_DATABASE_ACTION=create | ||
# SLD Database Name | ||
SLD_DATABASE_NAME=SLDDATA | ||
# Landscape Server Address | ||
SLD_SERVER_ADDR=%SERVER% | ||
# Landscape Server Port | ||
SLD_SERVER_PORT=40000 | ||
# Landscape Server Protocol | ||
SLD_SERVER_PROTOCOL=https | ||
# Landscape Server Type Ondemand/OnPremise | ||
SLD_SERVER_TYPE=op | ||
# Windows Domain Action | ||
SLD_WINDOWS_DOMAIN_ACTION=skip | ||
# Service Layer load balancer member(s) | ||
SL_LB_MEMBERS=127.0.0.1:50001,127.0.0.1:50002,127.0.0.1:50003,127.0.0.1:50004 | ||
# Install Service Layer load balancer member(s) only | ||
SL_LB_MEMBER_ONLY=false | ||
# Service Layer load balancer port number | ||
SL_LB_PORT=50000 | ||
# Maximum threads per Service Layer load balancer member | ||
SL_THREAD_PER_SERVER=24 | ||
# Port used by Web Client | ||
WEBCLIENT_PORT=8443 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
#!/bin/bash | ||
# check if log file is given | ||
if [[ $# -eq 0 ]] ; then | ||
echo 'No parameters given' | ||
exit 1 | ||
fi | ||
|
||
# Read the input file line by line, combine broken lines without timestamp | ||
fix_broken_log(){ | ||
while IFS= read -r line; do | ||
line=$(echo $line | sed 's/[\/&]/\\&/g') | ||
if [[ $line =~ ^[[:space:]]*\[[0-2][0-9]:[0-5][0-9]:[0-5][0-9]\].* ]]; then | ||
echo "$line" >> "$fixed" | ||
else | ||
if [[ -s $fixed ]]; then | ||
sed -i -e '$ s/$/ '"$line"'/g' "$fixed" || exit 1 | ||
fi | ||
fi | ||
done < "$1" | ||
} | ||
|
||
# parse B1 log file and look for line with possible failures | ||
# first pass | ||
first=$(mktemp /tmp/tempXXXX) | ||
failures=0 | ||
sed -n '/^-\{80\}$/,/^-\{80\}$/ { /^-\{80\}$/!p }' "$1" > $first | ||
echo "Validation results:" | ||
while IFS="" read -r line; do | ||
if (echo $line | grep -qv SUCCESS); then | ||
failures=$((failres+1)) | ||
fi | ||
echo $line | ||
done < $first | ||
|
||
echo -e "" | ||
|
||
# second pass | ||
second=$(mktemp /tmp/tempXXXX) | ||
fixed=$(mktemp /tmp/tempXXXX) | ||
sed -n 'H;${x;s/.*\(^\(-\{80\}\).*\)/\1/;p}' "$1" | sed -n '/^-\{80\}$/,$p' > $second | ||
#cleanup removing lines starting with a timestap YYYY-MM-DD | ||
sed -i -e '/\[[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}\].*/d' $second | ||
fix_broken_log $second | ||
# keep only lines with Sap Note | ||
sed -i -e '/.*\[Sap Note.*/!d' $fixed | ||
echo "Sap Notes:" | ||
while IFS="" read -r line; do | ||
if (echo $line | egrep -v SUCCESS\|INFO); then | ||
failures=$((failures+1)) | ||
fi | ||
echo $line | ||
done < $fixed | ||
# clean temp files | ||
rm -f $first | ||
rm -f $second | ||
rm -f $fixed | ||
|
||
# Check for failures | ||
if [ $failures -gt 0 ]; then | ||
echo "============= Some failures found =============" | ||
echo "=============== Check logs!! =================" | ||
exit 1 | ||
fi | ||
|
||
# else, no failures found | ||
exit 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
B1S_SAMBA_AUTOSTART=true | ||
B1S_SHARED_FOLDER_OVERWRITE=true | ||
BCKP_BACKUP_COMPRESS=true | ||
HANA_DATABASE_USER_ID=SYSTEM | ||
LANDSCAPE_INSTALL_ACTION=create | ||
LICENSE_SERVER_ACTION=register | ||
LICENSE_SERVER_NODE=standalone | ||
SELECTED_FEATURES=B1ServerToolsSLD,B1ServerToolsExtensionManager,B1ServerToolsLicense,B1ServerToolsJobService,B1ServerToolsMobileService,B1ServerToolsXApp,B1SLDAgent,B1WebClient,B1BackupService,B1ServerSHR,B1ServerCommonDB,B1ServerHelp_EN,B1ServerAddons,B1ServerOI,B1AnalyticsOlap,B1AnalyticsTomcatEntSearch,B1AnalyticsTomcatDashboard,B1AnalyticsTomcatReplication,B1AnalyticsTomcatConfiguration,B1AnalyticsTomcatPredictiveAnalysis,B1ServiceLayerComponent,B1ElectronicDocumentService,B1APIGatewayService | ||
SITE_USER_ID=B1SiteUser | ||
SLD_CERTIFICATE_ACTION=self | ||
SLD_DATABASE_ACTION=create | ||
SLD_DATABASE_NAME=SLDDATA | ||
SLD_SERVER_PROTOCOL=https | ||
SLD_SERVER_TYPE=op | ||
INSTALLATION_FOLDER=/usr/sap/SAPBusinessOne | ||
INST_FOLDER_CORRECT_PERMISSIONS=true | ||
SL_LB_MEMBERS=127.0.0.1:50001,127.0.0.1:50002,127.0.0.1:50003,127.0.0.1:50004 | ||
SL_LB_MEMBER_ONLY=false | ||
SL_LB_PORT=50000 | ||
SL_THREAD_PER_SERVER=24 | ||
WEBCLIENT_PORT=8443 | ||
#### flexible part ### | ||
BCKP_HANA_SERVERS=<servers><server><system address="%SERVER%"/><database instance="%INSTANCE%" port="30013" tenant-db="%TENANT_DB%" user="SYSTEM" password="%PASSWORD%"/></server></servers> | ||
HANA_DATABASE_ADMIN_ID=%ADMIN_ID% | ||
HANA_DATABASE_TENANT_DB=%TENANT_DB% | ||
HANA_DATABASE_INSTANCE=%INSTANCE% | ||
HANA_DATABASE_SERVER_PORT=30013 | ||
HANA_DATABASE_SERVER=%SERVER% | ||
HANA_DATABASE_LOCATION=%SERVER% | ||
HANA_DATABASE_ADMIN_PASSWD=%PASSWORD% | ||
HANA_DATABASE_USER_PASSWORD=%PASSWORD% | ||
LOCAL_ADDRESS=%SERVER% | ||
SITE_USER_PASSWORD=%PASSWORD% | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.