You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "yihong0618 (via GitHub)" <gi...@apache.org> on 2025/03/11 06:28:49 UTC
[I] CI: failed for sqlite services database is locked [opendal]
yihong0618 opened a new issue, #5737:
URL: https://github.com/apache/opendal/issues/5737
https://github.com/apache/opendal/actions/runs/13779999623/job/38536443720
```cli
2025-03-11T03:57:10.785686Z DEBUG opendal::services: service=sqlite name=data path=0c28e31f-020a-4b27-9829-7007d50d279d/a/c written=3475995: Writer::close started
at src/layers/logging.rs:220
2025-03-11T03:57:15.537108Z ERROR opendal::services: service=sqlite name=data path=ffc76902-6643-4d26-bbeb-0e18b299347d/77 written=13: Writer::close failed Unexpected (permanent) at Writer::close => unhandled error from sqlite
Context:
service: sqlite
path: ffc76902-6643-4d26-bbeb-0e18b299347d/77
written: 13
Source:
error returned from database: (code: 5) database is locked: (code: 5) database is locked
Backtrace:
0: opendal::types::error::Error::new
at ./src/types/error.rs:328:17
1: opendal::services::sqlite::backend::parse_sqlite_error
at ./src/services/sqlite/backend.rs:311:5
2: core::ops::function::FnOnce::call_once
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5
3: core::result::Result<T,E>::map_err
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/result.rs:856:27
4: <opendal::services::sqlite::backend::Adapter as opendal::raw::adapters::kv::api::Adapter>::set::{{closure}}
at ./src/services/sqlite/backend.rs:260:9
5: <opendal::raw::adapters::kv::backend::KvWriter<S> as opendal::raw::oio::write::api::Write>::close::{{closure}}
at ./src/raw/adapters/kv/backend.rs:309:38
6: <opendal::layers::error_context::ErrorContextWrapper<T> as opendal::raw::oio::write::api::Write>::close::{{closure}}
at ./src/layers/error_context.rs:375:28
7: <opendal::layers::complete::CompleteWriter<W> as opendal::raw::oio::write::api::Write>::close::{{closure}}
at ./src/layers/complete.rs:561:33
8: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/future/future.rs:124:9
9: <alloc::boxed::Box<T> as opendal::raw::oio::write::api::Write>::close::{{closure}}
at ./src/raw/oio/write/api.rs:92:38
10: <opendal::layers::logging::LoggingWriter<W,I> as opendal::raw::oio::write::api::Write>::close::{{closure}}
at ./src/layers/logging.rs:1059:34
11: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/future/future.rs:124:9
12: <alloc::boxed::Box<T> as opendal::raw::oio::write::api::Write>::close::{{closure}}
at ./src/raw/oio/write/api.rs:92:38
13: <tokio::time::timeout::Timeout<T> as core::future::future::Future>::poll
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/time/timeout.rs:202:33
14: opendal::layers::timeout::TimeoutWrapper<R>::io_timeout::{{closure}}
at ./src/layers/timeout.rs:348:44
15: <opendal::layers::timeout::TimeoutWrapper<R> as opendal::raw::oio::write::api::Write>::close::{{closure}}
at ./src/layers/timeout.rs:372:83
16: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/future/future.rs:124:9
17: <alloc::boxed::Box<T> as opendal::raw::oio::write::api::Write>::close::{{closure}}
at ./src/raw/oio/write/api.rs:92:38
18: <opendal::layers::retry::RetryWrapper<R,I> as opendal::raw::oio::write::api::Write>::close::{{closure}}::{{closure}}::{{closure}}
at ./src/layers/retry.rs:659:37
19: <backon::retry_with_context::RetryWithContext<B,T,E,Ctx,Fut,FutureFn,SF,RF,NF> as core::future::future::Future>::poll
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/backon-1.3.0/src/retry_with_context.rs:327:45
20: <opendal::layers::retry::RetryWrapper<R,I> as opendal::raw::oio::write::api::Write>::close::{{closure}}
at ./src/layers/retry.rs:668:10
21: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/future/future.rs:124:9
22: <alloc::boxed::Box<T> as opendal::raw::oio::write::api::Write>::close::{{closure}}
at ./src/raw/oio/write/api.rs:92:38
23: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/future/future.rs:124:9
24: <alloc::boxed::Box<T> as opendal::raw::oio::write::api::Write>::close::{{closure}}
at ./src/raw/oio/write/api.rs:92:38
25: opendal::types::context::write::WriteGenerator<alloc::boxed::Box<dyn opendal::raw::oio::write::api::WriteDyn>>::close::{{closure}}
at ./src/types/context/write.rs:197:24
26: opendal::types::write::writer::Writer::close::{{closure}}
at ./src/types/write/writer.rs:179:28
27: opendal::types::operator::operator::Operator::write_with::{{closure}}::{{closure}}
at ./src/types/operator/operator.rs:1035:27
28: opendal::types::operator::operator::Operator::write::{{closure}}
at ./src/types/operator/operator.rs:732:35
29: behavior::async_delete::test_delete_stream::{{closure}}
at ./tests/behavior/async_delete.rs:152:61
30: tokio::runtime::park::CachedParkThread::block_on::{{closure}}
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/park.rs:281:63
31: tokio::runtime::coop::with_budget
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/coop.rs:107:5
32: tokio::runtime::coop::budget
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/coop.rs:73:5
33: tokio::runtime::park::CachedParkThread::block_on
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/park.rs:281:31
34: tokio::runtime::context::blocking::BlockingRegionGuard::block_on
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context/blocking.rs:66:9
35: tokio::runtime::handle::Handle::block_on_inner::{{closure}}
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/handle.rs:327:13
36: tokio::runtime::context::runtime::enter_runtime
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context/runtime.rs:65:16
37: tokio::runtime::handle::Handle::block_on_inner
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/handle.rs:326:9
38: tokio::runtime::handle::Handle::block_on
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/handle.rs:305:13
39: behavior::utils::build_async_trial::{{closure}}
at ./tests/behavior/utils.rs:71:9
40: libtest_mimic::Trial::test::{{closure}}
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libtest-mimic-0.8.1/src/lib.rs:119:54
41: core::ops::function::FnOnce::call_once{{vtable.shim}}
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5
42: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9
43: libtest_mimic::run_single::{{closure}}
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libtest-mimic-0.8.1/src/lib.rs:576:43
44: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9
45: std::panicking::try::do_call
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40
46: __rust_try
47: std::panicking::try
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19
48: std::panic::catch_unwind
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14
49: libtest_mimic::run_single
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libtest-mimic-0.8.1/src/lib.rs:576:5
50: libtest_mimic::run::{{closure}}::{{closure}}
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libtest-mimic-0.8.1/src/lib.rs:531:43
51: std::sys::backtrace::__rust_begin_short_backtrace
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:152:18
52: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:564:17
53: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9
54: std::panicking::try::do_call
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40
55: __rust_try
56: std::panicking::try
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19
57: std::panic::catch_unwind
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14
58: std::thread::Builder::spawn_unchecked_::{{closure}}
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:562:30
59: core::ops::function::FnOnce::call_once{{vtable.shim}}
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5
60: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9
61: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9
62: std::sys::pal::unix::thread::Thread::new::thread_start
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/pal/unix/thread.rs:106:17
63: <unknown>
64: <unknown>
at src/layers/logging.rs:194
2025-03-11T03:57:15.537182Z DEBUG opendal::services: service=sqlite name=data path=ffc76902-6643-4d26-bbeb-0e18b299347d/77 written=13: Writer::close failed
at src/layers/logging.rs:220
2025-03-11T03:57:15.537230Z WARN opendal::layers::complete: writer has not been closed or aborted, must be a bug
at src/layers/complete.rs:533
test behavior::test_delete_stream ... 2025-03-11T03:57:15.537498Z DEBUG opendal::services: service=sqlite name=data path=1778a1f8-aadb-409c-988d-5fb822325751/: create_dir started
at src/layers/logging.rs:220
FAILED
2025-03-11T03:57:15.558218Z ERROR opendal::services: service=sqlite name=data path=5a729cef-0253-464a-861d-02af14ff7fdf/: stat failed Unexpected (permanent) at List::next => unhandled error from sqlite
Context:
service: sqlite
path: 5a729cef-0253-464a-861d-02af14ff7fdf/
listed: 0
Source:
error returned from database: (code: 5) database is locked: (code: 5) database is locked
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] CI: failed for sqlite services database is locked [opendal]
Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo closed issue #5737: CI: failed for sqlite services database is locked
URL: https://github.com/apache/opendal/issues/5737
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org