Skip to content
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

Problems importing output.xml files RF7.1 schemaversion 5 #7

Open
gdroes opened this issue Oct 25, 2024 · 1 comment
Open

Problems importing output.xml files RF7.1 schemaversion 5 #7

gdroes opened this issue Oct 25, 2024 · 1 comment
Labels
bug Something isn't working Check: BackEnd Issue that should be investigated by Back End team

Comments

@gdroes
Copy link

gdroes commented Oct 25, 2024

We try to import via UI and API Robotframework output.xml files. But we fail. The new date format seems to be a problem and the new start / elapsed time tags which have replaced starttime / endtime.
We use the reportportal 24.2 and the latest provided plugin-import-robot version. The RF Version is 7.1

example file to load is attached
output.zip

Error message
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2054 0 832 100 1222 4749 6975 --:--:-- --:--:-- --:--:-- 11670{"errorCode":4001,"message":"Incorrect Request. JSON parse error: Cannot deserialize value of type java.time.Instant from String "2024-10-24T16:47:21.668033": Failed to deserialize java.time.Instant: (java.time.format.DateTimeParseException) Text '2024-10-24T16:47:21.668033' could not be parsed at index 26; nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type java.time.Instant from String "2024-10-24T16:47:21.668033": Failed to deserialize java.time.Instant: (java.time.format.DateTimeParseException) Text '2024-10-24T16:47:21.668033' could not be parsed at index 26\n at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 12, column: 16] (through reference chain: com.epam.ta.reportportal.model.launch.LaunchImportRQ["startTime"])"}

Best regards
Gerhard

@gdroes gdroes changed the title Problems importing outpit.xml files RF7.1 schemaversion 5 Problems importing output.xml files RF7.1 schemaversion 5 Oct 25, 2024
@Pink-Bumblebee Pink-Bumblebee added Check: BackEnd Issue that should be investigated by Back End team bug Something isn't working labels Oct 28, 2024
@Cosik
Copy link

Cosik commented Dec 17, 2024

I see similar problem during importing from UI. Problem is raised at the begging of importing. I tried plugin version 1.0.1 and it failed at line:
<robot generator="Robot 7.1.1 (Python 3.11.2 on linux)" generated="2024-12-16T12:53:54" rpa="false" schemaversion="5">

with this error:
image

I tried different time formats, timestamps, etc. Without success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Check: BackEnd Issue that should be investigated by Back End team
Projects
None yet
Development

No branches or pull requests

3 participants