-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Html report is not being generated #227
Comments
@jonathangiber was able to reproduce the issue. We will try and fix it as soon as possible. Attaching the sample project bellow where the issue is reproducible : Run command : |
@Apoorva-GA @sriv HTML Report v4.1.4 Number of scenarios > 200 veniam, qui|data/PDF1_kleiner10MB.pdf| |
Using new feature allow_filtered_parallel_execution.
This is happening when using the filter feature. I use a tag for running a scenario in serial when the other scenarios in same spec still run in parallel.
Example:
Spec test
Tags: parallel
Scenario 1
Scenario 2
Scenario 3
Scenario 4
Tags: serial
Output:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x721add]
goroutine 1 [running]:
github.com/getgauge/html-report/generator.computeTableDrivenStatuses(0xc4200e0000)
/tmp/src/github.com/getgauge/html-report/generator/transform.go:396 +0x2d
github.com/getgauge/html-report/generator.toSpec(0xc42015c000, 0x0)
/tmp/src/github.com/getgauge/html-report/generator/transform.go:348 +0x145f
github.com/getgauge/html-report/generator.ToSuiteResult(0xc420691c00, 0x13, 0xc42025a580, 0x27)
/tmp/src/github.com/getgauge/html-report/generator/transform.go:68 +0x7e3
main.createReport(0xc420172090, 0x852601, 0xc420014300, 0x0, 0x0, 0x0, 0x0)
/godata/pipelines/HTML_Report/htmlReport.go:139 +0xde
main.(*reportAccumulator).Meta(0xc420099ef0, 0xc420172090)
/godata/pipelines/HTML_Report/htmlReport.go:75 +0x254
main.(*reportAccumulator).Meta-fm(0xc420172090)
/godata/pipelines/HTML_Report/htmlReport.go:127 +0x34
github.com/getgauge/html-report/listener.(*GaugeListener).processMessages(0xc420099ec0, 0xc4201ada40)
/tmp/src/github.com/getgauge/html-report/listener/gaugeListener.go:98 +0x316
github.com/getgauge/html-report/listener.(*GaugeListener).Start(0xc420099ec0)
/tmp/src/github.com/getgauge/html-report/listener/gaugeListener.go:75 +0xb7
main.createExecutionReport()
/godata/pipelines/HTML_Report/htmlReport.go:129 +0x1a7
main.main()
/godata/pipelines/HTML_Report/main.go:59 +0x2ab
Successfully generated json-report to => /tmp/tmp.IxyX1IpLBn/reports/json-report
Plugin [JSON Report] with pid [2663] has exited
Plugin [Html Report] with pid [2658] has exited
Specifications: 47 executed 45 passed 2 failed 0 skipped
Scenarios: 73 executed 71 passed 2 failed 0 skipped
Total time taken: 37m33.713s
Gauge version: 1.0.5
Commit Hash: 562f036
Plugins
html-report (4.0.8)
java (0.7.2)
json-report (0.3.1)
screenshot (0.0.1)
spectacle (0.1.3)
xml-report (0.2.1)
The text was updated successfully, but these errors were encountered: