allure-framework / allure1

Allure 1 isn't supported any more, please consider using Allure 2 https://github.com/allure-framework/allure2 instead
Apache License 2.0
710 stars 169 forks source link

allure not generate report #801

Closed Kappasama closed 8 years ago

Kappasama commented 8 years ago

hi!

Download allure command line from https://github.com/allure-framework/allure-core/releases/tag/allure-core-1.4.23

try to generate report: y.chudakov@Persey:~$ ./allure/bin/allure generate /home/y.chudakov/projects/autotests/current/reports/allure-xml/ -o ./allure-reports Report successfully generated to the directory <./allure-reports>. Use "allure report open" command to show the report.

go to 'allure-result' and see:

y.chudakov@Persey:~/allure-reports$ ls data plugins

Where i wrong?

vania-pooh commented 8 years ago

@Kappasama do you have XML files in /home/y.chudakov/projects/autotests/current/reports/allure-xml/?

Kappasama commented 8 years ago

yes. If no docments - allure has error...

Another:

Part of the file is generated, but not all. The question is whether in addition to downloading still need to install anything? Well, except for, java, naturally?

As: Linux: '`` [main] DEBUG ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils - Found Plugin [ru.yandex.qatools.allure.data.plugins.MigrationPlugin@403f0a22] [main] DEBUG ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils - Found Plugin [ru.yandex.qatools.allure.data.plugins.XUnitPlugin@62727399] [main] DEBUG ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils - Found Plugin [ru.yandex.qatools.allure.data.plugins.TimelinePlugin@4ce7fffa] [main] DEBUG ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils - Found Plugin [ru.yandex.qatools.allure.data.plugins.BehaviorsPlugin@71454b9d] [main] DEBUG ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils - Found Plugin [ru.yandex.qatools.allure.data.plugins.DefectsPlugin@3e30646a] [main] DEBUG ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils - Found Plugin [ru.yandex.qatools.allure.data.plugins.GraphPlugin@13f95696] [main] DEBUG ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils - Found Plugin [ru.yandex.qatools.allure.data.plugins.EnvironmentPlugin@1e8ce150] [main] DEBUG ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils - Found Plugin [ru.yandex.qatools.allure.data.plugins.TotalPlugin@44b3606b] Report successfully generated to the directory <./allure-reports>. Useallure report open` command to show the report. Delete </tmp/allure-commandline4306391237320319160/exec4416379889968137133/generate.jar> Delete </tmp/allure-commandline4306391237320319160/exec4416379889968137133> Delete </tmp/allure-commandline4306391237320319160>


Windows:

`D:\Projects\autotest_framework_1\allure-commandline\bin>allure.bat -v generate D
:\allure-xml -o D:\allure-report
[main] DEBUG ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils - Found Plug
in [ru.yandex.qatools.allure.data.plugins.MigrationPlugin@c0c2f8d]
[main] DEBUG ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils - Found Plug
in [ru.yandex.qatools.allure.data.plugins.XUnitPlugin@37f1104d]
[main] DEBUG ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils - Found Plug
in [ru.yandex.qatools.allure.data.plugins.TimelinePlugin@186f8716]
[main] DEBUG ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils - Found Plug
in [ru.yandex.qatools.allure.data.plugins.BehaviorsPlugin@5552768b]
[main] DEBUG ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils - Found Plug
in [ru.yandex.qatools.allure.data.plugins.DefectsPlugin@f381794]
[main] DEBUG ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils - Found Plug
in [ru.yandex.qatools.allure.data.plugins.GraphPlugin@37858383]
[main] DEBUG ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils - Found Plug
in [ru.yandex.qatools.allure.data.plugins.EnvironmentPlugin@2abf4075]
[main] DEBUG ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils - Found Plug
in [ru.yandex.qatools.allure.data.plugins.TotalPlugin@61386958]
[main] DEBUG ru.yandex.qatools.allure.AllureMain - WEB-INF/web.xml successfully
copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - css/app.css successfully copi
ed.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - flash/clippy.swf successfully
 copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - img/allure-logo.png successfu
lly copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - img/favicon.ico successfully
copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - img/tests_passed.jpg successf
ully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - index.html successfully copie
d.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/app.js successfully copied
.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/charts/charts.js successfu
lly copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/charts/duration.js success
fully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/charts/pie.js successfully
 copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/charts/severityMap.js succ
essfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/charts/timeline.js success
fully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/controllers.js successfull
y copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/directives.js successfully
 copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/filters.js successfully co
pied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/overview/widgets.js succes
sfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/pane/pane.js successfully
copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/pluginApi.js successfully
copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/scrollfix/scrollfix.js suc
cessfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/services.js successfully c
opied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/table/table.js successfull
y copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/testcase/list.js successfu
lly copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/testcase/provider.js succe
ssfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/testcase/statusSwitcher.js
 successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - js/testcase/testcase.js succe
ssfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/behaviors/en.json suc
cessfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/behaviors/ptbr.json s
uccessfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/behaviors/ru.json suc
cessfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/behaviors/script.js s
uccessfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/behaviors/tab.tpl.htm
l successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/defects/en.json succe
ssfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/defects/ptbr.json suc
cessfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/defects/ru.json succe
ssfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/defects/script.js suc
cessfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/defects/tab.tpl.html
successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/environment/script.js
 successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/graph/en.json success
fully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/graph/ptbr.json succe
ssfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/graph/ru.json success
fully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/graph/script.js succe
ssfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/graph/tab.tpl.html su
ccessfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/timeline/en.json succ
essfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/timeline/ptbr.json su
ccessfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/timeline/ru.json succ
essfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/timeline/script.js su
ccessfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/timeline/tab.tpl.html
 successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/total/script.js succe
ssfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/xunit/en.json success
fully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/xunit/ptbr.json succe
ssfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/xunit/ru.json success
fully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/xunit/script.js succe
ssfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/xunit/tab.tpl.html su
ccessfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/xunit/testrun.html su
ccessfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - plugins/xunit/testsuite.html
successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - templates/overview.html succe
ssfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - templates/overview/defects.ht
ml successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - templates/overview/keyValue.h
tml successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - templates/overview/statistics
.html successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - templates/overview/total.html
 successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - templates/table/table.html su
ccessfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - templates/testcase/attachment
.html successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - templates/testcase/list.html
successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - templates/testcase/status-swi
tcher.html successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - templates/testcase/testcase.h
tml successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - templates/testcase/testcaseVi
ew.html successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - translations/en.json successf
ully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - translations/ptbr.json succes
sfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - translations/ru.json successf
ully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - vendor/filesize.js successful
ly copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - vendor/localstorageprovider.j
s successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - vendor/messageformat/en.js su
ccessfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - vendor/messageformat/ptbr.js
successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - vendor/messageformat/ru.js su
ccessfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/Sortable/1.2.0/Sortab
le.min.js successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/Sortable/1.2.0/ng-sor
table.js successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/angular-loading-bar/0
.6.0/loading-bar.js successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/angular-translate-int
erpolation-messageformat/0.1.2/angular-translate-interpolation-messageformat.js
successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/angular-translate-loa
der-partial/2.6.0/angular-translate-loader-partial.js successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/angular-translate/2.6
.0/angular-translate.js successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/angular-ui-bootstrap/
0.11.2/ui-bootstrap-tpls.min.js successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/angular-ui-router/0.2
.13/angular-ui-router.js successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/angularjs/1.2.26/angu
lar-animate.min.js successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/angularjs/1.2.26/angu
lar.min.js successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/d3js/3.4.11/d3.min.js
 successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/font-awesome/4.2.0/fo
nts/FontAwesome.otf successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/font-awesome/4.2.0/fo
nts/fontawesome-webfont.eot successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/font-awesome/4.2.0/fo
nts/fontawesome-webfont.svg successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/font-awesome/4.2.0/fo
nts/fontawesome-webfont.ttf successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/font-awesome/4.2.0/fo
nts/fontawesome-webfont.woff successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/highlightjs/8.2-1/hig
hlight.min.js successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/jquery/2.1.1/jquery.m
in.js successfully copied.
[main] DEBUG ru.yandex.qatools.allure.AllureMain - webjars/messageformat.js/0.1.
4/messageformat.js successfully copied.
Report successfully generated to the directory <D:\allure-report>. Use `allure r
eport open` command to show the report.
Delete <C:\Users\Y17BF~1.CHU\AppData\Local\Temp\allure-commandline77364090370544
58824\exec7196482103380564152\generate.jar>
Delete <C:\Users\Y17BF~1.CHU\AppData\Local\Temp\allure-commandline77364090370544
58824\exec7196482103380564152>
Delete <C:\Users\Y17BF~1.CHU\AppData\Local\Temp\allure-commandline77364090370544
58824>`
baev commented 8 years ago

@Kappasama hi! Sorry for the delay. Is the issue still relevant?

Kappasama commented 8 years ago

No, its work now.

baev commented 8 years ago

glad to hear!

SkeLLLa commented 7 years ago

@baev This issue is relevant. It allure generates report on sun (oracle jdk), but not on openjdk (which is default jdk on most linux distributions).

WhyBeingAsianRapperIsSoHard commented 7 years ago

@baev @SkeLLLa Same behavior and resolution.