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

Moving myself to the committers section #742

Merged
merged 2 commits into from
Jun 1, 2015
Merged

Conversation

maco
Copy link
Member

@maco maco commented May 20, 2015

I'm a committer now.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 84.18% when pulling c5fbda0 on maco:dev into f830ed1 on Growstuff:dev.

@pozorvlak
Copy link
Member

Looks like the build's failing because we're trying to start ElasticSearch using sudo, which isn't supported by the container-based build system we're using. We'll need to fix up travis.yml to require sudo when testing with ElasticSearch.

@oshiho3
Copy link
Contributor

oshiho3 commented May 22, 2015

It's very strange. I thought the sudo warning message were harmless based on this issue with Travis CI: travis-ci/travis-ci#3044
Also the warning message has been there before and still all the tests were successful. hmm

Yet this time, I can see errors related to availability of Elasticsearch service as below.

Failure/Error: expect(page).to have_css "h1", text: "Crop search"
       expected to find css "h1" with text "Crop search" but there were no matches. Also found "Elasticsearch::Transport::Transport::Errors::ServiceUnavailable in CropsController#search", which matched the selector but not all filters.

Also I just pushed #728 and the Travis passed all the tests for me.

Very strange as there is nothing obvious with this pull request that can affect Elasticsearch. I don't know how reliable Travis is but it may worth rebuilding Travis-CI.

@maco
Copy link
Member Author

maco commented May 22, 2015

Also I created the pr and it passed, then I noticed the pr was changing
schema.rb (unintended) so I backed out the schema.rb change, and then it
failed.

On Fri, May 22, 2015, 12:28 AM Shiho Takagi notifications@github.com
wrote:

It's very strange. I thought the sudo warning message were harmless based
on this issue with Travis CI: travis-ci/travis-ci#3044
travis-ci/travis-ci#3044
Also the warning message has been there before and still all the tests
were successful. hmm

Yet this time, I can see errors related to availability of Elasticsearch
service as below.

Failure/Error: expect(page).to have_css "h1", text: "Crop search"
expected to find css "h1" with text "Crop search" but there were no matches. Also found "Elasticsearch::Transport::Transport::Errors::ServiceUnavailable in CropsController#search", which matched the selector but not all filters.

Also I just pushed #728 #728
and the Travis passed all the tests for me.

Very strange as there is nothing obvious with this pull request that can
affect Elasticsearch. I don't know how reliable Travis is but it may worth
rebuilding Travis-CI.


Reply to this email directly or view it on GitHub
#742 (comment).

@oshiho3
Copy link
Contributor

oshiho3 commented May 22, 2015

@maco, I noticed recently that parent_id column has been added to the posts table in schema.rb but this column addition doesn't have the corresponding migration. To confirm this, I just dropped the database in dev, deleted schema.rb file and ran rake db:migrate. The newly created schema.rb doesn't have the parent_id column.

This may be something totally unrelated to the Travis CI error, but I'm wondering this may cause database inconsistency in future. All the tests completed successfully without this column anyway according to the Travis result from your initial commit. So I wonder the column may have just got in by accident and we actually should get rid of it?

By the way, do you want to try re-running Travis CI and see it may by chance run successfully? Here I found how to do it.
http://stackoverflow.com/questions/17606874/trigger-a-travis-ci-rebuild-without-pushing-a-commit

@maco
Copy link
Member Author

maco commented May 22, 2015

After re-running it, it turned green. twilight zone music

On Fri, May 22, 2015 at 10:20 AM Shiho Takagi notifications@github.com
wrote:

@maco https://github.com/maco, I noticed recently that parent_id column
has been added to the posts table in schema.rb but this column addition
doesn't have the corresponding migration. To confirm this, I just dropped
the database in dev, deleted schema.rb file and ran rake db:migrate. The
newly created schema.rb doesn't have the parent_id column.

This may be something totally unrelated to the Travis CI error, but I'm
wondering this may cause database inconsistency in future. All the tests
completed successfully without this column anyway according to the Travis
result from your initial commit. So I wonder the column may have just got
in by accident and we actually should get rid of it?

By the way, do you want to try re-running Travis CI and see it may by
chance run successfully? Here I found how to do it.

http://stackoverflow.com/questions/17606874/trigger-a-travis-ci-rebuild-without-pushing-a-commit


Reply to this email directly or view it on GitHub
#742 (comment).

@oshiho3
Copy link
Contributor

oshiho3 commented May 23, 2015

nice :)

pozorvlak added a commit that referenced this pull request Jun 1, 2015
Moving myself to the committers section
@pozorvlak pozorvlak merged commit a7feac3 into Growstuff:dev Jun 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants