Closed Antsiscool closed 7 months ago
I don't have a reason for the problem, but it looks like the error occurs during the comparison of the appender's log formatter's time formatter object (time_format
) with nil. Could you maybe set a time formatter and see if the problem remains? (See the format_time
method in ...formatters/base.rb for options.)
I just configured a default formatter with a time format in application.rb. (time_format: :iso_8601). And now all of the cucumber tests have passed.
I may retry the commit a couple of times to see that it continues working.
It seems weird this would fix it, as the default value for time_format is not nil, but a formatting string.
I have been attempting to upgrade a Rails application from Ruby 2.6.10 to 2.7.7 and am receiving a segmentation fault when running cucumber tests on a CI server. The issue does not occur when the same tests are run locally.
Environment
Expected Behavior
No seg-fault
Actual Behavior
Cucumber tests always fail. Rspec tests have no issue.
The stack trace always shows it on the comparison with nil in the case statement.
We run our tests with knapsack over multiple CI servers. Different sets of tests fail on different runs of the same commit.