Skip to content

Commit

Permalink
deploy: 31685ad
Browse files Browse the repository at this point in the history
  • Loading branch information
malibora committed Oct 4, 2024
1 parent c7ed9b6 commit ca01370
Show file tree
Hide file tree
Showing 45 changed files with 706 additions and 6 deletions.
40 changes: 40 additions & 0 deletions soperator/218/app.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions soperator/218/data/behaviors.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"","","","0","1","0","0","0"
1 change: 1 addition & 0 deletions soperator/218/data/behaviors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"b1a8273437954620fa374b796ffaacdd","children":[{"name":"slurm_apply","uid":"d2fc1fbb0e13b603","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"broken","time":{"duration":10300},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":[]}],"name":"behaviors"}
2 changes: 2 additions & 0 deletions soperator/218/data/categories.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"Category","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"Test defects","0","1","0","0","0"
1 change: 1 addition & 0 deletions soperator/218/data/categories.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"4b4757e66a1912dae1a509f688f20b0f","children":[{"name":"Test defects","children":[{"name":"Encountered an error","children":[{"name":"slurm_apply","uid":"d2fc1fbb0e13b603","parentUid":"dcb3fa4c9c0f3d162b072e32804ffd93","status":"broken","time":{"duration":10300},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":[]}],"uid":"dcb3fa4c9c0f3d162b072e32804ffd93"}],"uid":"bdbf199525818fae7a8651db9eafe741"}],"name":"categories"}
1 change: 1 addition & 0 deletions soperator/218/data/packages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"83edc06c07f9ae9e47eb6dd1b683e4e2","children":[{"name":"tests/main.tftest.hcl","children":[{"name":"slurm_apply","uid":"d2fc1fbb0e13b603","parentUid":"ca0b9edc526d73026e0c7155eaba77c7","status":"broken","time":{"duration":10300},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":[]}],"uid":"tests/main.tftest.hcl"}],"name":"packages"}
2 changes: 2 additions & 0 deletions soperator/218/data/suites.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"Status","Start Time","Stop Time","Duration in ms","Parent Suite","Suite","Sub Suite","Test Class","Test Method","Name","Description"
"broken","","","10300","","tests/main.tftest.hcl","","tests/main.tftest.hcl","","slurm_apply",""
1 change: 1 addition & 0 deletions soperator/218/data/suites.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"98d3104e051c652961429bf95fa0b5d6","children":[{"name":"tests/main.tftest.hcl","children":[{"name":"slurm_apply","uid":"d2fc1fbb0e13b603","parentUid":"ea7d1ad07fd5fdb8127e997853eef926","status":"broken","time":{"duration":10300},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":[]}],"uid":"ea7d1ad07fd5fdb8127e997853eef926"}],"name":"suites"}
1 change: 1 addition & 0 deletions soperator/218/data/test-cases/d2fc1fbb0e13b603.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"d2fc1fbb0e13b603","name":"slurm_apply","historyId":"tests/main.tftest.hcl:tests/main.tftest.hcl#slurm_apply","time":{"duration":10300},"status":"broken","statusMessage":"Encountered an error","statusTrace":"\nError: resource creation failed\n\n with module.slurm.module.filestore.nebius_compute_v1_filesystem.controller_spool[0],\n on .terraform/modules/slurm/newbius/modules/filestore/main.tf line 1:\n (source code not available)\n\nresource creation failed: failed to send Create request: rpc error: code =\nAlreadyExists desc = failed to create filesystem: transaction: filesystem with\nname \"slurm-k8s-controller-spool\" already exists in container\n\"project-e00aya62zwg6e7mcd3\"\n\nThis issue may be linked to the API request call. The following information may\nbe helpful while debugging the issue:\nRequest ID: a4d94d56-262f-4a68-8cc2-131341c5cc50\nTrace ID: 9976daa5d37165e721c16294862c62b1\n\nError: resource creation failed\n\n with module.slurm.module.filestore.nebius_compute_v1_filesystem.jail[0],\n on .terraform/modules/slurm/newbius/modules/filestore/main.tf line 31:\n (source code not available)\n\nresource creation failed: failed to send Create request: rpc error: code =\nAlreadyExists desc = failed to create filesystem: transaction: filesystem with\nname \"slurm-k8s-jail\" already exists in container \"project-e00aya62zwg6e7mcd3\"\n\nThis issue may be linked to the API request call. The following information may\nbe helpful while debugging the issue:\nRequest ID: bc66d460-16c9-4b76-821c-026d1f093e3c\nTrace ID: 8ddc92fa462a8dcd1d5e4118ea318f30\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},"afterStages":[],"labels":[{"name":"resultFormat","value":"junit"},{"name":"suite","value":"tests/main.tftest.hcl"},{"name":"testClass","value":"tests/main.tftest.hcl"},{"name":"package","value":"tests/main.tftest.hcl"}],"parameters":[],"links":[],"hidden":false,"retry":false,"extra":{"severity":"normal","retries":[],"categories":[{"name":"Test defects","matchedStatuses":[],"flaky":false}],"tags":[]},"source":"d2fc1fbb0e13b603.json","parameterValues":[]}
1 change: 1 addition & 0 deletions soperator/218/data/timeline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"ab17fc5a4eb3bca4b216b548c7f9fcbc","children":[{"name":"slurm_apply","uid":"d2fc1fbb0e13b603","parentUid":"ab17fc5a4eb3bca4b216b548c7f9fcbc","status":"broken","time":{"duration":10300},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":[]}],"name":"timeline"}
12 changes: 12 additions & 0 deletions soperator/218/export/influxDbData.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
launch_status failed=0 1728043170000000000
launch_status broken=1 1728043170000000000
launch_status passed=0 1728043170000000000
launch_status skipped=0 1728043170000000000
launch_status unknown=0 1728043170000000000
launch_time duration=0 1728043170000000000
launch_time min_duration=10300 1728043170000000000
launch_time max_duration=10300 1728043170000000000
launch_time sum_duration=10300 1728043170000000000
launch_problems test_defects=1 1728043170000000000
launch_retries retries=0 1728043170000000000
launch_retries run=1 1728043170000000000
10 changes: 10 additions & 0 deletions soperator/218/export/mail.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Allure Report summary mail</title>
</head>
<body>
Mail body
</body>
</html>
12 changes: 12 additions & 0 deletions soperator/218/export/prometheusData.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
launch_status_failed 0
launch_status_broken 1
launch_status_passed 0
launch_status_skipped 0
launch_status_unknown 0
launch_time_duration 0
launch_time_min_duration 10300
launch_time_max_duration 10300
launch_time_sum_duration 10300
launch_problems_test_defects 1
launch_retries_retries 0
launch_retries_run 1
Binary file added soperator/218/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions soperator/218/history/categories-trend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"buildOrder":218,"reportUrl":"https://nebius.github.io/nebius-solution-library/soperator/218/","reportName":"Allure Report with history","data":{"Test defects":1}},{"data":{}}]
1 change: 1 addition & 0 deletions soperator/218/history/duration-trend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"buildOrder":218,"reportUrl":"https://nebius.github.io/nebius-solution-library/soperator/218/","reportName":"Allure Report with history","data":{"duration":0}},{"data":{}}]
1 change: 1 addition & 0 deletions soperator/218/history/history-trend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"buildOrder":218,"reportUrl":"https://nebius.github.io/nebius-solution-library/soperator/218/","reportName":"Allure Report with history","data":{"failed":0,"broken":1,"skipped":0,"passed":0,"unknown":0,"total":1}},{"data":{"failed":0,"broken":0,"skipped":0,"passed":0,"unknown":0,"total":0}}]
1 change: 1 addition & 0 deletions soperator/218/history/history.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"tests/main.tftest.hcl:tests/main.tftest.hcl#slurm_apply":{"statistic":{"failed":0,"broken":1,"skipped":0,"passed":0,"unknown":0,"total":1},"items":[{"uid":"d2fc1fbb0e13b603","reportUrl":"https://nebius.github.io/nebius-solution-library/soperator/218//#testresult/d2fc1fbb0e13b603","status":"broken","statusDetails":"Encountered an error","time":{"duration":10300}}]}}
1 change: 1 addition & 0 deletions soperator/218/history/retry-trend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"buildOrder":218,"reportUrl":"https://nebius.github.io/nebius-solution-library/soperator/218/","reportName":"Allure Report with history","data":{"run":1,"retry":0}},{"data":{"run":0,"retry":0}}]
34 changes: 34 additions & 0 deletions soperator/218/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
<meta charset="utf-8">
<title>Allure Report</title>
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="styles.css">
<link rel="stylesheet" type="text/css" href="plugin/screen-diff/styles.css">
</head>
<body>
<div id="alert"></div>
<div id="content">
<span class="spinner">
<span class="spinner__circle"></span>
</span>
</div>
<div id="popup"></div>
<script src="app.js"></script>
<script src="plugin/behaviors/index.js"></script>
<script src="plugin/packages/index.js"></script>
<script src="plugin/screen-diff/index.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-FVWC4GKEYS"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-FVWC4GKEYS', {
'allureVersion': 'dev',
'reportUuid': '11c39a5f-c29f-4dec-b9fc-ebe5bf45629c',
'single_file': false
});
</script>
</body>
</html>
206 changes: 206 additions & 0 deletions soperator/218/plugin/behaviors/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
'use strict';

allure.api.addTranslation('en', {
tab: {
behaviors: {
name: 'Behaviors'
}
},
widget: {
behaviors: {
name: 'Features by stories',
showAll: 'show all'
}
}
});

allure.api.addTranslation('ru', {
tab: {
behaviors: {
name: 'Функциональность'
}
},
widget: {
behaviors: {
name: 'Функциональность',
showAll: 'показать все'
}
}
});

allure.api.addTranslation('zh', {
tab: {
behaviors: {
name: '功能'
}
},
widget: {
behaviors: {
name: '特性场景',
showAll: '显示所有'
}
}
});

allure.api.addTranslation('de', {
tab: {
behaviors: {
name: 'Verhalten'
}
},
widget: {
behaviors: {
name: 'Features nach Stories',
showAll: 'Zeige alle'
}
}
});

allure.api.addTranslation('nl', {
tab: {
behaviors: {
name: 'Functionaliteit'
}
},
widget: {
behaviors: {
name: 'Features en story’s',
showAll: 'Toon alle'
}
}
});

allure.api.addTranslation('he', {
tab: {
behaviors: {
name: 'התנהגויות'
}
},
widget: {
behaviors: {
name: 'תכונות לפי סיפורי משתמש',
showAll: 'הצג הכול'
}
}
});

allure.api.addTranslation('br', {
tab: {
behaviors: {
name: 'Comportamentos'
}
},
widget: {
behaviors: {
name: 'Funcionalidades por história',
showAll: 'Mostrar tudo'
}
}
});

allure.api.addTranslation('ja', {
tab: {
behaviors: {
name: '振る舞い'
}
},
widget: {
behaviors: {
name: 'ストーリー別の機能',
showAll: '全て表示'
}
}
});

allure.api.addTranslation('es', {
tab: {
behaviors: {
name: 'Funcionalidades'
}
},
widget: {
behaviors: {
name: 'Funcionalidades por Historias de Usuario',
showAll: 'mostrar todo'
}
}
});

allure.api.addTranslation('kr', {
tab: {
behaviors: {
name: '동작'
}
},
widget: {
behaviors: {
name: '스토리별 기능',
showAll: '전체 보기'
}
}
});

allure.api.addTranslation('fr', {
tab: {
behaviors: {
name: 'Comportements'
}
},
widget: {
behaviors: {
name: 'Thèmes par histoires',
showAll: 'Montrer tout'
}
}
});

allure.api.addTranslation('pl', {
tab: {
behaviors: {
name: 'Zachowania'
}
},
widget: {
behaviors: {
name: 'Funkcje według historii',
showAll: 'pokaż wszystko'
}
}
});

allure.api.addTranslation('az', {
tab: {
behaviors: {
name: 'Davranışlar'
}
},
widget: {
behaviors: {
name: 'Hekayələr üzrə xüsusiyyətlər',
showAll: 'hamısını göstər'
}
}
});

allure.api.addTab('behaviors', {
title: 'tab.behaviors.name', icon: 'fa fa-list',
route: 'behaviors(/)(:testGroup)(/)(:testResult)(/)(:testResultTab)(/)',
onEnter: (function (testGroup, testResult, testResultTab) {
return new allure.components.TreeLayout({
testGroup: testGroup,
testResult: testResult,
testResultTab: testResultTab,
tabName: 'tab.behaviors.name',
baseUrl: 'behaviors',
url: 'data/behaviors.json',
csvUrl: 'data/behaviors.csv'
});
})
});

allure.api.addWidget('widgets', 'behaviors', allure.components.WidgetStatusView.extend({
rowTag: 'a',
title: 'widget.behaviors.name',
baseUrl: 'behaviors',
showLinks: true
}));
Loading

0 comments on commit ca01370

Please sign in to comment.