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

AccessIT Failing on Develop #5287

Closed
sekmiller opened this issue Nov 7, 2018 · 5 comments
Closed

AccessIT Failing on Develop #5287

sekmiller opened this issue Nov 7, 2018 · 5 comments
Assignees

Comments

@sekmiller
Copy link
Contributor

When adding integration tests for the request file access API I discovered that the AccessIT tests are failing in develop. Not sure at the moment which merge is causing the failure.

@pdurbin
Copy link
Member

pdurbin commented Nov 7, 2018

Something is broken enough that I can't even get the phoenix test suite to execute. I'm getting the following failure:

+ FILE_ID_OF_A_PUBLISHED_FILE=12
++ curl --insecure --write-out '%{http_code}' --silent --output /dev/null https://phoenix.dataverse.org/api/access/datafile/12
+ STATUS_CODE_FROM_DOWNLOADING_PUBLISHED_FILE=404
+ echo 404
404
+ [[ 404 != 200 ]]
+ exit 1
Build step 'Execute shell' marked build as failure
Finished: FAILURE

See https://build.hmdc.harvard.edu:8443/job/phoenix.dataverse.org-deploy-develop/304/console

When stage 2 (deployment) doesn't finish like this, stage 3 (API tests) can't run. See http://guides.dataverse.org/en/4.9.4/developers/testing.html#how-the-phoenix-tests-work

@pdurbin
Copy link
Member

pdurbin commented Nov 7, 2018

The phoenix server.log is saying this:

Caused by: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://localhost:8983/solr/collection1: ERROR: [doc=dataverse_3] unknown field 'dvAlias'

I should have emailed dataverse-dev after pull request #5267 was merged. In the future, we're going to run an experiment where developers can put instructions in their pull requests: #5284.

@pdurbin
Copy link
Member

pdurbin commented Nov 7, 2018

@pdurbin
Copy link
Member

pdurbin commented Nov 7, 2018

I emailed the dev community to let them know about the Solr schema change: https://groups.google.com/d/msg/dataverse-dev/WwPRY23FyAA/VYeiHx0PBQAJ

I re-ran the tests on phoenix and as of https://build.hmdc.harvard.edu:8443/job/phoenix.dataverse.org-apitest-develop/290/ we are down the known failures with account conversion in #5260

@sekmiller and I are still messing with his dev environment so I won't close this quite yet.

@sekmiller
Copy link
Contributor Author

All set here

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

No branches or pull requests

2 participants