Closed khanzzirfan closed 3 years ago
@khanzzirfan what is your configuration? maybe this can help you https://github.com/fescobar/allure-docker-service/issues/145#issuecomment-776019243
Here is the configuration Azure Yaml template
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"containerGroups_tst_tf_allure_report_api_aci_name": {
"defaultValue": "tst-tf-allure-report-api-aci",
"type": "String"
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.ContainerInstance/containerGroups",
"apiVersion": "2019-12-01",
"name": "[parameters('containerGroups_tst_tf_allure_report_api_aci_name')]",
"location": "[resourceGroup().location]",
"properties": {
"sku": "Standard",
"containers": [
{
"name": "[parameters('containerGroups_tst_tf_allure_report_api_aci_name')]",
"properties": {
"image": "frankescobar/allure-docker-service",
"ports": [
{
"protocol": "TCP",
"port": 5050
}
],
"volumeMounts": [
{
"name": "filesharevolume",
"mountPath": "/app/projects"
}
],
"environmentVariables": [
{
"name": "CHECK_RESULTS_EVERY_SECONDS",
"value": 1
},
{
"name": "KEEP_HISTORY",
"value": 1
},
{
"name": "KEEP_HISTORY_LATEST",
"value": 25
}
],
"resources": {
"requests": {
"memoryInGB": 1,
"cpu": 1
}
}
}
}
],
"initContainers": [],
"restartPolicy": "OnFailure",
"osType": "Linux",
"ipAddress": {
"ports": [
{
"protocol": "TCP",
"port": 5050
}
],
"type": "Public"
},
"volumes": [
{
"name": "filesharevolume",
"azureFile": {
"shareName": "zzzsharetflite",
"storageAccountName": "zzzzinternal",
"storageAccountKey": "zzzzzzzzzzzzzzzzzzzzzzzzzzzzz=="
}
}
]
}
}
]
}
@khanzzirfan in this case. I recommend you disable the automatic check results and use the api to clean results, send results and generate reports.
Seems its working now. Thanks @fescobar . Much appreciated.
Tests ran successfully with few of the tests removed and skipped. The removed tests were failed in the previous run. The current results in docker container reporting showing the removed tests as failed. Anyidea how to fix this? or is this a bug?
Also the test counts is also wrong. It should be 10 total test cases but the results are showing 13. Please see below results summary.
Current report run
And these are the test result files posted to Allure docker service container.