Ticket #845 (closed todo: invalid)

Opened 5 years ago

Last modified 4 years ago

separate tool for uploading to smolder

Reported by: coke Owned by: dukeleto
Priority: minor Milestone:
Component: testing Version: trunk
Severity: low Keywords:
Cc: Language:
Patch status: Platform: all

Description

Instead of bundling the functionality of uploading a copy of the archived TAP to smolder inside t/harness, that should instead call out to another command line utility in tools/

This will allow developers to easily upload test results later if the smolder connection is unavailable at the time, or to easily upload test results from a network-connected computer after transferring the test run data from a non-networked (or firewalled) computer.

This means that the tags generated as part of send_archive_to_smolder probably need to be pre-generated to an a file that can be copied along with the TAP results (since the machine sending the results would not necessarily generate the same tags.)

Change History

  Changed 5 years ago by jkeenan

Before embarking on development on this tool, I wonder if we could see if anyone in our project has used  the GUI interface already provided by Smolder?

Was it easy/difficult to use?

Did it get the metadata right?

Did it DWIM?

  Changed 5 years ago by jkeenan

  • component changed from none to testing

follow-ups: ↓ 5 ↓ 8   Changed 5 years ago by dukeleto

  • owner set to dukeleto

I already have a tool like this that should be simple to modify for Parrot.

  Changed 5 years ago by dukeleto

  • status changed from new to assigned

in reply to: ↑ 3   Changed 5 years ago by jkeenan

Replying to dukeleto:

I already have a tool like this that should be simple to modify for Parrot.

The Cage Cleaners ask: Would it be possible to get an update on the status of this ticket?

Thank you very much.
kid51

follow-up: ↓ 7   Changed 5 years ago by mikehh

I have had situations where the upload has failed (off-line or couldn't connect, whatever) - in that case you can use the following command to upload the archive:

perl -Ilib -MParrot::Harness::Smoke -e'Parrot::Harness::Smoke::send_archive_to_smolder(Parrot::Harness::Smoke::collect_test_environment_data())'

I found this in the docs somewhere, but I can't track it down at the moment.

this allows you to send the archive parrot_test_run.tar.gz generated by make smoke to the archive later (provided the parrot config/environment data has not changed)

in reply to: ↑ 6   Changed 5 years ago by jkeenan

Replying to mikehh:

> 
> I found this in the docs somewhere, but I can't track it down at the moment.

Yes, that's in lib/Parrot/Harness/Smoke.pm and it works well. What I was getting at was that dukeleto seemed to be suggesting he had some other tool available. (And, as I mentioned above, Smolder has its own GUI upload interface.)

in reply to: ↑ 3   Changed 4 years ago by jkeenan

Replying to dukeleto:

I already have a tool like this that should be simple to modify for Parrot.

dukeleto, Are you still pursuing this option?

If not, then I think the ticket is closable.

Thank you very much.

kid51

  Changed 4 years ago by dukeleto

  • status changed from assigned to closed
  • platform set to all
  • resolution set to invalid

I just realized something like this already exists: examples/io/post.pir

Closing this ticket.

Note: See TracTickets for help on using tickets.