Closed
Bug 925266
Opened 12 years ago
Closed 11 years ago
Set up Travis artifacts for Gaia UI tests HTML report
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Firefox OS Graveyard
Gaia::UI Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: davehunt, Assigned: zcampbell)
References
()
Details
(Whiteboard: [gaia-ui-test])
Attachments
(1 file, 1 obsolete file)
We should set up Travis artifacts so we can see the HTML report from Gaia UI tests. This includes useful resources for understanding failures (screenshots, page source, settings).
See http://about.travis-ci.org/blog/2012-12-18-travis-artifacts/ for details.
| Reporter | ||
Updated•12 years ago
|
Component: Gaia → Gaia::UI Tests
Comment 1•12 years ago
|
||
+1
| Assignee | ||
Comment 2•11 years ago
|
||
It looks like even I could do this but for the part about secret access keys.
James can you help the keys and I'll experiment with the rest?
Flags: needinfo?(jlal)
Comment 3•11 years ago
|
||
I just did this for a different project, sure :)
The encryption is easy but I need to get the S3 credentials first... I will try to find the right person on the a-team who can generate some keys for us.
Flags: needinfo?(jlal)
| Reporter | ||
Comment 4•11 years ago
|
||
jgriffin: Do you know who might have these credentials?
Flags: needinfo?(jgriffin)
Comment 5•11 years ago
|
||
We haven't used S3 on the a-team account yet; lightsofapollo is discussing this with glob atm.
Flags: needinfo?(jgriffin)
| Assignee | ||
Updated•11 years ago
|
| Assignee | ||
Comment 6•11 years ago
|
||
I wanted this to be in the root (of that job) rather than nestled in a folder so people are more likely to look at it.
James, it is entirely self contained so just one file.
Attachment #8345260 -
Flags: review?(jlal)
Attachment #8345260 -
Flags: review?(dave.hunt)
| Assignee | ||
Comment 7•11 years ago
|
||
Also strictly speaking this does not depend on bug 948177, it could be merged before that with no ill effects.
| Reporter | ||
Comment 8•11 years ago
|
||
Comment on attachment 8345260 [details] [review]
github pr
Looks good. Would like to see the XML output included too, but r+ with or without this change.
Attachment #8345260 -
Flags: review?(dave.hunt) → review+
Comment 9•11 years ago
|
||
Comment on attachment 8345260 [details] [review]
github pr
Zac- I don't think this will work as is.. we still need to run the travis-artifacts script (see after_script in s3uploads).
| Assignee | ||
Comment 10•11 years ago
|
||
Oh, maybe I have mis-understood the after_script but I thought this, if merged, would mean the html report would just sit in artifacts/ unused until #948177 is merged?
| Assignee | ||
Comment 11•11 years ago
|
||
(In reply to Dave Hunt (:davehunt) from comment #8)
> Looks good. Would like to see the XML output included too, but r+ with or
> without this change.
I just couldn't see the reason to include the XML output if there's no clear need for it. (and easily added when there is a need)
| Reporter | ||
Comment 12•11 years ago
|
||
(In reply to Zac C (:zac) from comment #10)
> Oh, maybe I have mis-understood the after_script but I thought this, if
> merged, would mean the html report would just sit in artifacts/ unused until
> #948177 is merged?
It will need a follow-up pull to add tests/travis_ci/gaia_ui_tests/after_script to actually perform the upload as in James' example.
| Assignee | ||
Comment 13•11 years ago
|
||
OK! don't merge this now; I'll re-do it later after https://github.com/mozilla-b2g/gaia/pull/14519 is merged.
Comment 14•11 years ago
|
||
Comment on attachment 8345260 [details] [review]
github pr
I will do the final upload step later today and mark Zac for review... all we need is to call travis artifacts and output a link url.
Attachment #8345260 -
Flags: review?(jlal)
| Assignee | ||
Comment 15•11 years ago
|
||
Attachment #8345260 -
Attachment is obsolete: true
Attachment #8348671 -
Flags: review?(jlal)
Attachment #8348671 -
Flags: review?(dave.hunt)
| Assignee | ||
Comment 16•11 years ago
|
||
Note dave this won't work on pull requests because a pull is outside the repo for which the key was generated.
I understand this means it will work on merge commits only for the time being.
| Reporter | ||
Comment 17•11 years ago
|
||
Comment on attachment 8348671 [details] [review]
github pr
Comments in pull request.
Attachment #8348671 -
Flags: review?(dave.hunt) → review-
| Assignee | ||
Comment 18•11 years ago
|
||
Comment on attachment 8348671 [details] [review]
github pr
updated the PR
Attachment #8348671 -
Flags: review- → review?(dave.hunt)
| Reporter | ||
Comment 19•11 years ago
|
||
Comment on attachment 8348671 [details] [review]
github pr
Looks good, but I'm not familiar with the various components here. Will appreciate James' review too.
Attachment #8348671 -
Flags: review?(dave.hunt) → review+
Comment 20•11 years ago
|
||
Comment on attachment 8348671 [details] [review]
github pr
https://github.com/mozilla-b2g/gaia/commit/83cc63f728489a24256731adf558354bb2012a59
Attachment #8348671 -
Flags: review?(jlal) → review+
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Assignee: nobody → zcampbell
| Assignee | ||
Comment 21•11 years ago
|
||
James, this has regressed. I'm not sure when it started.
Can you investigate?
home/travis/.rvm/gems/ruby-1.9.3-p484/gems/faraday-0.9.0.rc7/lib/faraday.rb:189:in `lookup_middleware': :json is not registered on Faraday::Response (Faraday::Error)
from /home/travis/.rvm/gems/ruby-1.9.3-p484/gems/faraday-0.9.0.rc7/lib/faraday/rack_builder.rb:203:in `use_symbol'
from /home/travis/.rvm/gems/ruby-1.9.3-p484/gems/faraday-0.9.0.rc7/lib/faraday/rack_builder.rb:96:in `response'
from /home/travis/.rvm/gems/ruby-1.9.3-p484/gems/travis-artifacts-0.2.2/lib/travis/client.rb:39:in `block in create_connection'
from /home/travis/.rvm/gems/ruby-1.9.3-p484/gems/faraday-0.9.0.rc7/lib/faraday/connection.rb:91:in `initialize'
from /home/travis/.rvm/gems/ruby-1.9.3-p484/gems/faraday-0.9.0.rc7/lib/faraday.rb:70:in `new'
from /home/travis/.rvm/gems/ruby-1.9.3-p484/gems/faraday-0.9.0.rc7/lib/faraday.rb:70:in `new'
from /home/travis/.rvm/gems/ruby-1.9.3-p484/gems/travis-artifacts-0.2.2/lib/travis/client.rb:38:in `create_connection'
from /home/travis/.rvm/gems/ruby-1.9.3-p484/gems/travis-artifacts-0.2.2/lib/travis/client.rb:9:in `initialize'
from /home/travis/.rvm/gems/ruby-1.9.3-p484/gems/travis-artifacts-0.2.2/lib/travis/artifacts/cli.rb:14:in `new'
from /home/travis/.rvm/gems/ruby-1.9.3-p484/gems/travis-artifacts-0.2.2/lib/travis/artifacts/cli.rb:14:in `initialize'
from /home/travis/.rvm/gems/ruby-1.9.3-p484/gems/travis-artifacts-0.2.2/bin/travis-artifacts:4:in `new'
from /home/travis/.rvm/gems/ruby-1.9.3-p484/gems/travis-artifacts-0.2.2/bin/travis-artifacts:4:in `<top (required)>'
from /home/travis/.rvm/gems/ruby-1.9.3-p484/bin/travis-artifacts:23:in `load'
from /home/travis/.rvm/gems/ruby-1.9.3-p484/bin/travis-artifacts:23:in `<main>'
from /home/travis/.rvm/gems/ruby-1.9.3-p484/bin/ruby_executable_hooks:15:in `eval'
from /home/travis/.rvm/gems/ruby-1.9.3-p484/bin/ruby_executable_hooks:15:in `<main>'
Done. Your build exited with 1.
Status: RESOLVED → UNCONFIRMED
Ever confirmed: false
Flags: needinfo?(jlal)
Resolution: FIXED → ---
| Reporter | ||
Comment 22•11 years ago
|
||
This bug was resolved, so I think we should open a new bug for the regression rather than reopen this bug.
| Reporter | ||
Comment 23•11 years ago
|
||
Looks like this is working again.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago → 11 years ago
Flags: needinfo?(jlal)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•