* [qa-tools][PATCH 1/4] poduct/init: Add support for PackageManagement component
@ 2017-07-04 22:05 jose.perez.carranza
2017-07-04 22:06 ` [qa-tools][PATCH 2/4] scripts/full-test-cycle-wrapper: Add support for new 2.4 components jose.perez.carranza
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: jose.perez.carranza @ 2017-07-04 22:05 UTC (permalink / raw)
To: yocto
From: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Create package_management_issues.py product and add support to use this
product on init file.
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
---
testopia_update/product/__init__.py | 2 ++
testopia_update/product/package_management_issues.py | 4 ++++
2 files changed, 6 insertions(+)
create mode 100644 testopia_update/product/package_management_issues.py
diff --git a/testopia_update/product/__init__.py b/testopia_update/product/__init__.py
index 8d31a1e..30b2201 100644
--- a/testopia_update/product/__init__.py
+++ b/testopia_update/product/__init__.py
@@ -262,6 +262,7 @@ def get_products(testopia, opts, config, logger, **kwargs):
from . import esdk
from . import kernel
from . import general_runtime
+ from . import package_management_issues
products = []
@@ -277,6 +278,7 @@ def get_products(testopia, opts, config, logger, **kwargs):
products.append(esdk.eSDKProduct(testopia, opts, logger, config, **kwargs))
products.append(kernel.KernelProduct(testopia, opts, logger, config, **kwargs))
products.append(general_runtime.GeneralRuntimeProduct(testopia, opts, logger, config, **kwargs))
+ products.append(package_management_issues.PackageManagementIssues(testopia, opts, logger, config, **kwargs))
products.append(DummyProduct(testopia, opts, logger, config, **kwargs))
diff --git a/testopia_update/product/package_management_issues.py b/testopia_update/product/package_management_issues.py
new file mode 100644
index 0000000..1f3ecc7
--- /dev/null
+++ b/testopia_update/product/package_management_issues.py
@@ -0,0 +1,4 @@
+from testopia_update.product import Product
+
+class PackageManagementIssues(Product):
+ name = 'Package Management Issues'
--
2.11.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [qa-tools][PATCH 2/4] scripts/full-test-cycle-wrapper: Add support for new 2.4 components
2017-07-04 22:05 [qa-tools][PATCH 1/4] poduct/init: Add support for PackageManagement component jose.perez.carranza
@ 2017-07-04 22:06 ` jose.perez.carranza
2017-07-04 22:06 ` [qa-tools][PATCH 3/4] testopia_update: Add validation for empty sub parameters on setup jose.perez.carranza
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: jose.perez.carranza @ 2017-07-04 22:06 UTC (permalink / raw)
To: yocto
From: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Add support for new packages supported for 2.4 release and update
components list according to release version.
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
---
scripts/full-test-cycle-wrapper.sh | 26 ++++++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/scripts/full-test-cycle-wrapper.sh b/scripts/full-test-cycle-wrapper.sh
index 7dcd62e..6b62d7f 100755
--- a/scripts/full-test-cycle-wrapper.sh
+++ b/scripts/full-test-cycle-wrapper.sh
@@ -89,7 +89,7 @@ create_yocto(){
create_test_run "${1}" "core-image-sato-sdk_ANYQEMU"
#QEMUs Autos
- ENVIRONMENTS=("qemu-x86" "qemuarm" "qemuarm64" "qemumips" "qemumips64" "qemuppc" "qemux86-64")
+ ENVIRONMENTS=("qemu-x86" "qemuarm" "qemuarm64" "qemumips" "qemumips64" "qemuppc" "qemux86-64", "qemux86-64-WIC", "qemux86-WIC")
EXECUTION_TYPE="AUTO"
create_test_run "${1}" "core-image-sato-sdk_ANYQEMU"
@@ -218,6 +218,14 @@ create_test_cycle(){
OPTIONAL="UI"
create_test_run "${1}" $OPTIONAL
;;
+"Package Management Issues")
+ ENVIRONMENTS=("Any Supported Distro")
+ EXECUTION_TYPE="MANUAL"
+ #This case test plan name is diferent from product name
+ TEST_PLAN="--test-plan Package-Management-Updates"
+ create_test_run "${1}"
+ ;;
+
esac
}
@@ -296,7 +304,21 @@ source venv/bin/activate
## Define components by t ype of test cycle
if [[ $TYPE == "YOCTO" ]]; then
- COMPONENTS=("ADT" "BitBake" "BSP/QEMU" "CROPS" "Eclipse Plugin" "eSDK" "General Runtime" "Kernel" "Meta-yocto" "OE-Core" "Runtime" "Toaster")
+ case $VERSION in
+ "2.1") COMPONENTS=("ADT" "BitBake" "BSP/QEMU" "Eclipse Plugin" "General Runtime" "Meta-yocto" "OE-Core" "Runtime" "Toaster")
+ ;;
+ "2.2") COMPONENTS=("ADT" "BitBake" "BSP/QEMU" "Eclipse Plugin" "eSDK" "General Runtime" "Meta-yocto" "OE-Core" "Runtime" "Toaster")
+ ;;
+ "2.3") COMPONENTS=("ADT" "BitBake" "BSP/QEMU" "CROPS" "Eclipse Plugin" "eSDK" "General Runtime" "Kernel" "Meta-yocto" "OE-Core" "Runtime" "Toaster")
+ ;;
+ "2.4") COMPONENTS=("ADT" "BitBake" "BSP/QEMU" "CROPS" "Eclipse Plugin" "eSDK" "General Runtime" "Kernel" "Meta-yocto" "OE-Core" "Runtime" "Toaster" "Package Management Issues")
+ ;;
+ \?)
+ echo "ERROR: INAVLID RELEASE VERSION"
+ exit 1
+ ;;
+ esac
+
else
COMPONENTS=("BSP/QEMU")
fi
--
2.11.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [qa-tools][PATCH 3/4] testopia_update: Add validation for empty sub parameters on setup
2017-07-04 22:05 [qa-tools][PATCH 1/4] poduct/init: Add support for PackageManagement component jose.perez.carranza
2017-07-04 22:06 ` [qa-tools][PATCH 2/4] scripts/full-test-cycle-wrapper: Add support for new 2.4 components jose.perez.carranza
@ 2017-07-04 22:06 ` jose.perez.carranza
2017-07-04 22:06 ` [qa-tools][PATCH 4/4] utils/wikimaker: Add default values jose.perez.carranza
2017-07-04 22:19 ` [qa-tools][PATCH 1/4] poduct/init: Add support for PackageManagement component Robert P. J. Day
3 siblings, 0 replies; 6+ messages in thread
From: jose.perez.carranza @ 2017-07-04 22:06 UTC (permalink / raw)
To: yocto
From: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Add an error message for the cases when “setup” is selected and no sub
parameters are given.
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
---
testopia_update.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/testopia_update.py b/testopia_update.py
index 0015d69..8080256 100755
--- a/testopia_update.py
+++ b/testopia_update.py
@@ -72,7 +72,6 @@ def connect_to_testopia():
config = None
opts = Options()
- #testopia_config = ['url', 'username', 'password', 'store_location']
testopia_config = ['url', 'username', 'password']
if not args.config and os.path.exists(DEFAULT_CONFIG_FILE):
@@ -270,6 +269,9 @@ if __name__ == '__main__':
print(wikivars)
create_wiki(wikivars, wikivars_list)
+ else:
+ logger.error("Sub arguments --clone-templates or --create-wiki should be given")
+
sys.exit(0)
--
2.11.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [qa-tools][PATCH 4/4] utils/wikimaker: Add default values
2017-07-04 22:05 [qa-tools][PATCH 1/4] poduct/init: Add support for PackageManagement component jose.perez.carranza
2017-07-04 22:06 ` [qa-tools][PATCH 2/4] scripts/full-test-cycle-wrapper: Add support for new 2.4 components jose.perez.carranza
2017-07-04 22:06 ` [qa-tools][PATCH 3/4] testopia_update: Add validation for empty sub parameters on setup jose.perez.carranza
@ 2017-07-04 22:06 ` jose.perez.carranza
2017-07-04 22:19 ` [qa-tools][PATCH 1/4] poduct/init: Add support for PackageManagement component Robert P. J. Day
3 siblings, 0 replies; 6+ messages in thread
From: jose.perez.carranza @ 2017-07-04 22:06 UTC (permalink / raw)
To: yocto
From: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Add default values for section of “performance” and “pTest” to avoid use
old data on new reports.
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
---
testopia_update/utils/wikimaker.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/testopia_update/utils/wikimaker.py b/testopia_update/utils/wikimaker.py
index 96fdfc0..b3cce60 100644
--- a/testopia_update/utils/wikimaker.py
+++ b/testopia_update/utils/wikimaker.py
@@ -99,18 +99,18 @@ def wiki_perf_tests(file_name):
'.html GDC Charts]\n\nBelow chars are showing the latest' + \
'performance results taken from the current milestone.\n\n' + \
'== Performance Charts==\n\nFor Bitbake core-image-sato with' + \
- 'rm_work\n\n[[File:Ww19-2k17 - rmwork.png | 1280px | ' + \
+ 'rm_work\n\n[[File:Ww##-2k17 - rmwork.png | 1280px | ' + \
'link=https://wiki.yoctoproject.org/charts/perf_milestone_' + \
'GDC/bitbake-core-image-sato-rmwork.html ]]\n\nBuilding the ' + \
- 'Virtual kernel\n\n[[File:Ww19-2k17 - kernel.png | 1280px | ' + \
+ 'Virtual kernel\n\n[[File:WwXX-2k17 - kernel.png | 1280px | ' + \
'link=https://wiki.yoctoproject.org/charts/perf_milestone_' + \
'GDC/bitbake-virtual-kernel.html]]\n\nBuilding the rootfs\n' + \
- '\n[[File:Ww19-2k17_-_rootfs.png | 1280px | link=https://' + \
+ '\n[[File:WwXX-2k17_-_rootfs.png | 1280px | link=https://' + \
'wiki.yoctoproject.org/charts/perf_milestone_GDC/bitbake-' + \
'core-image-sato-rootfs.html]]\n\nBuilding core-image-sato' + \
- '\n\n[[File:Ww19-2k17_-_sato.png | 1280px | link=https://' + \
+ '\n\n[[File:WwXX-2k17_-_sato.png | 1280px | link=https://' + \
'wiki.yoctoproject.org/charts/perf_milestone_GDC/bitbake-' + \
- 'core-image-sato.html]]\n\neSDK Deploy time\n\n[[File:Ww19' + \
+ 'core-image-sato.html]]\n\neSDK Deploy time\n\n[[File:WwXX' + \
'-2k17_-_esdk.png | 1280px | link=https://wiki.yoctoproject' + \
'.org/charts/perf_milestone_GDC/bitbake-eSDK.html]]\n'
@@ -123,7 +123,7 @@ def wic_ptest_results(file_name):
'milestone,status,resolution,cf_regression_type,created\n' + \
' |noresultsmessage="None"\n |sort=status\n ' + \
'|group=product\n |id=0000\n}}\n\n== results ==\n\n' + \
- '{{:Ptest 381897c64069ea43d595380a3ae913bcc79cf7e1}}\n'
+ '{{:Ptest <ADD HERE THE PROOPER COMMIT>}}\n'
with open(file_name, 'a') as f:
f.write(perf_data)
--
2.11.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [qa-tools][PATCH 1/4] poduct/init: Add support for PackageManagement component
2017-07-04 22:05 [qa-tools][PATCH 1/4] poduct/init: Add support for PackageManagement component jose.perez.carranza
` (2 preceding siblings ...)
2017-07-04 22:06 ` [qa-tools][PATCH 4/4] utils/wikimaker: Add default values jose.perez.carranza
@ 2017-07-04 22:19 ` Robert P. J. Day
2017-07-05 13:02 ` Jose Perez Carranza
3 siblings, 1 reply; 6+ messages in thread
From: Robert P. J. Day @ 2017-07-04 22:19 UTC (permalink / raw)
To: jose.perez.carranza; +Cc: yocto
"poduct/init" ?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-07-05 12:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-04 22:05 [qa-tools][PATCH 1/4] poduct/init: Add support for PackageManagement component jose.perez.carranza
2017-07-04 22:06 ` [qa-tools][PATCH 2/4] scripts/full-test-cycle-wrapper: Add support for new 2.4 components jose.perez.carranza
2017-07-04 22:06 ` [qa-tools][PATCH 3/4] testopia_update: Add validation for empty sub parameters on setup jose.perez.carranza
2017-07-04 22:06 ` [qa-tools][PATCH 4/4] utils/wikimaker: Add default values jose.perez.carranza
2017-07-04 22:19 ` [qa-tools][PATCH 1/4] poduct/init: Add support for PackageManagement component Robert P. J. Day
2017-07-05 13:02 ` Jose Perez Carranza
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.