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

UI test failing with error #8960

Closed
mattab opened this issue Oct 9, 2015 · 2 comments
Closed

UI test failing with error #8960

mattab opened this issue Oct 9, 2015 · 2 comments
Labels
c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Oct 9, 2015


$ cat /var/log/nginx/error.log

2015/10/09 23:36:01 [error] 6867#0: *1095 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: , request: "POST /tests/PHPUnit/proxy/index.php?action=getAllWithGroups&date=2012-08-09&filter_limit=50&filter_offset=0&filter_sort_column=nb_visits&filter_sort_order=desc&format=JSON2&hideMetricsDoc=1&idSite=1&module=MultiSites&period=year&showColumns=label,nb_visits,nb_pageviews,visits_evolution,pageviews_evolution,revenue_evolution,nb_actions,revenue HTTP/1.1", upstream: "fastcgi://unix:/home/travis/build/piwik/piwik/tests/travis/php-fpm.sock:", host: "localhost", referrer: "http://localhost/tests/PHPUnit/proxy/?module=Widgetize&action=iframe&idSite=1&period=year&date=2012-08-09&moduleToWidgetize=MultiSites&actionToWidgetize=standalone"

2015/10/09 23:36:08 [error] 6867#0: *1106 FastCGI sent in stderr: "PHP message: Error in Piwik: Widgetizing API requests is not supported for security reasons. Please change query parameter 'moduleToWidgetize'" while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /tests/PHPUnit/proxy/?module=Widgetize&action=iframe&idSite=1&period=year&date=2012-08-09&moduleToWidgetize=API&actionToWidgetize=index&method=SitesManager.getImageTrackingCode&piwikUrl=test HTTP/1.1", upstream: "fastcgi://unix:/home/travis/build/piwik/piwik/tests/travis/php-fpm.sock:", host: "localhost"

2015/10/09 23:37:36 [error] 6867#0: *1195 open() "/home/travis/build/piwik/piwik/tests/PHPUnit/proxy/misc/user/logo.png" failed (2: No such file or directory), client: 127.0.0.1, server: , request: "GET /tests/PHPUnit/proxy/misc/user/logo.png?r=875626078 HTTP/1.1", host: "localhost", referrer: "http://localhost/tests/PHPUnit/proxy/?idSite=1&period=year&date=2012-08-09&module=CoreAdminHome&action=generalSettings"

2015/10/09 23:37:36 [error] 6867#0: *1195 open() "/home/travis/build/piwik/piwik/tests/PHPUnit/proxy/misc/user/favicon.png" failed (2: No such file or directory), client: 127.0.0.1, server: , request: "GET /tests/PHPUnit/proxy/misc/user/favicon.png?r=282089422 HTTP/1.1", host: "localhost", referrer: "http://localhost/tests/PHPUnit/proxy/?idSite=1&period=year&date=2012-08-09&module=CoreAdminHome&action=generalSettings"

2015/10/09 23:38:26 [error] 6867#0: *1222 FastCGI sent in stderr: "PHP message: Error in Piwik: Cannot connect to the database:  SQLSTATE[28000] [1045] Access denied for user 'slkdfjsdlkfj'@'127.50.50.50' (using password: YES)  This may be a temporary issue, try refreshing the page. If the problem persists please contact your Piwik administrator" while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /tests/PHPUnit/proxy/ HTTP/1.1", upstream: "fastcgi://unix:/home/travis/build/piwik/piwik/tests/travis/php-fpm.sock:", host: "localhost"

@mattab mattab added c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Regression Indicates a feature used to work in a certain way but it no longer does even though it should. labels Oct 9, 2015
@mattab mattab added this to the 2.15.0 milestone Oct 9, 2015
@diosmosis
Copy link
Member

FYI, doesn't happen locally.

@mattab
Copy link
Member Author

mattab commented Oct 11, 2015

fixed in #8963 👍

@mattab mattab closed this as completed Oct 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Projects
None yet
Development

No branches or pull requests

2 participants