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

Unit tests failing in nightly builds #41

Closed
SagarGi opened this issue Jun 2, 2022 · 2 comments
Closed

Unit tests failing in nightly builds #41

SagarGi opened this issue Jun 2, 2022 · 2 comments
Assignees
Labels

Comments

@SagarGi
Copy link
Member

SagarGi commented Jun 2, 2022

Drone nightly build https://drone.owncloud.com/owncloud/update-testing/1612/1/6

console
7.4: Pulling from owncloudci/php
Digest: sha256:94d945c4eb485a1db0b8323e66bfef86fdfc778107384712f686856896a5c830
Status: Image is up to date for owncloudci/php:7.4
+ cd owncloud
+ php ./occ app:disable gallery
No such app enabled: gallery
+ chmod +x lib/composer/phpunit/phpunit/phpunit
+ cd tests
+ ../lib/composer/phpunit/phpunit/phpunit --configuration phpunit-autotest.xml --log-junit "autotest-results-$DATABASE.xml"
PHP Fatal error:  Uncaught Error: Class 'OCA\Notifications\Tests\Unit\TestCase' not found in /drone/src/owncloud/apps/notifications/tests/unit/AppInfo/AppTest.php:34
Stack trace:
#0 /drone/src/owncloud/tests/apps.php(23): require_once()
#1 /drone/src/owncloud/tests/apps.php(21): loadDirectory()
#2 /drone/src/owncloud/tests/apps.php(21): loadDirectory()
#3 /drone/src/owncloud/tests/apps.php(54): loadDirectory()

Unit tests for update-testing app fails on nightly on every matrix piprline on the above. This needs to be inviestigated as it fails on every nightly builds.

@SagarGi SagarGi added the QA-Team label Jun 2, 2022
@phil-davis
Copy link
Contributor

It is likely that this is related to owncloud/notifications#363

The name change from tests/Unit to tests/unit may have broken something here.

@phil-davis
Copy link
Contributor

Fixed by #42 - please reopen if it fails again tonight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants