owncloud / smashbox-testing

Smashbox testing running on DroneCI
MIT License
1 stars 3 forks source link

Update owncloud tarball url #23

Closed saw-jan closed 1 year ago

saw-jan commented 2 years ago

Now, download.owncloud.org is redirected to download.owncloud.com. And the new location for the daily tarballs is in https://download.owncloud.com/server/daily/

Fixes #22

Changes:

saw-jan commented 2 years ago

Can the tests be fixed? https://drone.owncloud.com/owncloud/smashbox-testing/2021

CC @TheOneRing

TheOneRing commented 2 years ago

👍

TheOneRing commented 2 years ago

I guess unzip isn't installed, at least that's what the error indicates.

saw-jan commented 2 years ago

I guess unzip isn't installed, at least that's what the error indicates.

Installing unzip works for client 2.11 tests only. Now, fixes needed for client 3.0

saw-jan commented 2 years ago

While running tests against client 3.0, command /usr/bin/owncloudcmd --trust crashes. Here are the logs:

Log ```bash 2022-09-28 03:44:53,326 - INFO - sharer - running '/usr/bin/owncloudcmd --trust /smashdir/test_reshareDir/sharer/ owncloud://test_reshareDir1:owncloud@owncloud-server:8080/remote.php/webdav/ >> /smashdir/test_reshareDir/sharer-ocsync.step03.cnt000.log 2>&1' 2022-09-28 03:44:53,344 - WARNING - sharer - Non-zero exit code 1 from command '/usr/bin/owncloudcmd --trust /smashdir/test_reshareDir/sharer/ owncloud://test_reshareDir1:owncloud@owncloud-server:8080/remote.php/webdav/ >> /smashdir/test_reshareDir/sharer-ocsync.step03.cnt000.log 2>&1' ... Segmentation fault (core dumped) ```
Coredump ```bash Excess command line arguments ignored. (full) [New LWP 1094] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/bin/owncloudcmd --trust /smashdir/test_reshareDir/sharer/ owncloud://test_'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f38336f866f in OCC::Account::davUser() const () from /opt/ownCloud/ownCloud/lib/x86_64-linux-gnu/libowncloudsync.so.0 #0 0x00007f38336f866f in OCC::Account::davUser() const () from /opt/ownCloud/ownCloud/lib/x86_64-linux-gnu/libowncloudsync.so.0 #1 0x00007f38336f86d9 in OCC::Account::davPath() const () from /opt/ownCloud/ownCloud/lib/x86_64-linux-gnu/libowncloudsync.so.0 #2 0x00005573cef77295 in ?? () #3 0x00007f3832b07083 in __libc_start_main (main=0x5573cef76bf0, argc=4, argv=0x7fffbf45bdb8, init=, fini=, rtld_fini=, stack_end=0x7fffbf45bda8) at ../csu/libc-start.c:308 #4 0x00005573cef784be in ?? () ```
saw-jan commented 2 years ago

While running tests against client 3.0, command /usr/bin/owncloudcmd --trust crashes. Here are the logs:

Possible fix PR https://github.com/owncloud/client/pull/10150

saw-jan commented 1 year ago

Possible fix PR has been merged. Good to go ahead.

saw-jan commented 1 year ago

Tests against client 3.0 fails with error:

2022-10-10 11:35:21,872 - WARNING - sharer - Non-zero exit code 1 from command '/usr/bin/owncloudcmd --trust /smashdir/test_reshareDir/sharer/ owncloud://test_reshareDir1:owncloud@owncloud-server:8080/remote.php/webdav/ >> /smashdir/test_reshareDir/sharer-ocsync.step03.cnt000.log 2>&1'
Log ```bash 10-10 11:35:21:864 [ warning sync.checkserverjob ]: error: status.php replied 404 10-10 11:35:21:864 [ fatal default ]: Failed to resolve http://owncloud-server:8080/remote.php/webdav Error: Error transferring http://owncloud-server:8080/remote.php/webdav/status.php - server replied: Not Found. Aborted (core dumped) ```
Coredump ```bash Excess command line arguments ignored. (full) [New LWP 1492] [New LWP 1495] [New LWP 1493] [New LWP 1494] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/bin/owncloudcmd --trust /smashdir/test_reshareDir/sharer/ owncloud://test_'. Program terminated with signal SIGABRT, Aborted. #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. [Current thread is 1 (Thread 0x7f5bef1a8840 (LWP 1492))] #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007f5bf2bc3859 in __GI_abort () at abort.c:79 #2 0x00007f5bf300ec39 in QMessageLogger::fatal(char const*, ...) const () from /opt/ownCloud/qt-5.15.2/lib/x86_64-linux-gnu/libQt5Core.so.5 #3 0x0000557c1be006ac in ?? () #4 0x00007f5bf3274a4e in ?? () from /opt/ownCloud/qt-5.15.2/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f5bf3875ad3 in ?? () from /opt/ownCloud/ownCloud/lib/x86_64-linux-gnu/libowncloudsync.so.0 #6 0x00007f5bf3274a4e in ?? () from /opt/ownCloud/qt-5.15.2/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f5bf35f0cc6 in ?? () from /opt/ownCloud/qt-5.15.2/lib/x86_64-linux-gnu/libQt5Network.so.5 #8 0x00007f5bf369896e in ?? () from /opt/ownCloud/qt-5.15.2/lib/x86_64-linux-gnu/libQt5Network.so.5 #9 0x00007f5bf326b5c9 in QObject::event(QEvent*) () from /opt/ownCloud/qt-5.15.2/lib/x86_64-linux-gnu/libQt5Core.so.5 #10 0x00007f5bf323d9ff in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/ownCloud/qt-5.15.2/lib/x86_64-linux-gnu/libQt5Core.so.5 #11 0x00007f5bf3240331 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/ownCloud/qt-5.15.2/lib/x86_64-linux-gnu/libQt5Core.so.5 #12 0x00007f5bf3298cd7 in ?? () from /opt/ownCloud/qt-5.15.2/lib/x86_64-linux-gnu/libQt5Core.so.5 #13 0x00007f5bf140017d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #14 0x00007f5bf1400400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #15 0x00007f5bf14004a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #16 0x00007f5bf3298332 in QEventDispatcherGlib::processEvents(QFlags) () from /opt/ownCloud/qt-5.15.2/lib/x86_64-linux-gnu/libQt5Core.so.5 #17 0x00007f5bf323c53b in QEventLoop::exec(QFlags) () from /opt/ownCloud/qt-5.15.2/lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x00007f5bf32446e4 in QCoreApplication::exec() () from /opt/ownCloud/qt-5.15.2/lib/x86_64-linux-gnu/libQt5Core.so.5 #19 0x0000557c1bdfdba9 in ?? () #20 0x00007f5bf2bc5083 in __libc_start_main (main=0x557c1bdfcd60, argc=4, argv=0x7fff0eb4b8c8, init=, fini=, rtld_fini=, stack_end=0x7fff0eb4b8b8) at ../csu/libc-start.c:308 #21 0x0000557c1bdfe53e in ?? () ```
saw-jan commented 1 year ago

~Blocked until https://github.com/owncloud/docs-client-desktop/issues/279#issuecomment-1274592308~

saw-jan commented 1 year ago

Depends on these PRs: https://github.com/owncloud-docker/smashbox/pull/58 and https://github.com/owncloud/smashbox/pull/174

saw-jan commented 1 year ago

Also, need this issue to be fixed as the smashbox docker image is currently using apt to install desktop client

SagarGi commented 1 year ago

@saw-jan putting this to backog for now.

saw-jan commented 1 year ago

Will re-open if needed