[INFO] cloning repository https://github.com/yaleman/maremma
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yaleman/maremma" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyaleman%2Fmaremma", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyaleman%2Fmaremma'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d5c3417b49d7aa50e743a4a84b9c9ef757f483c4
[INFO] testing yaleman/maremma against beta-2025-10-28 for beta-1.92-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyaleman%2Fmaremma" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/yaleman/maremma
[INFO] finished tweaking git repo https://github.com/yaleman/maremma
[INFO] tweaked toml for git repo https://github.com/yaleman/maremma written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yaleman/maremma on toolchain beta-2025-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/yaleman/maremma already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a9a60726077c9c2a5096e416a5f494958f41b15428fdca0798986fbd123fcf9d
[INFO] running `Command { std: "docker" "start" "-a" "a9a60726077c9c2a5096e416a5f494958f41b15428fdca0798986fbd123fcf9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a9a60726077c9c2a5096e416a5f494958f41b15428fdca0798986fbd123fcf9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9a60726077c9c2a5096e416a5f494958f41b15428fdca0798986fbd123fcf9d", kill_on_drop: false }`
[INFO] [stdout] a9a60726077c9c2a5096e416a5f494958f41b15428fdca0798986fbd123fcf9d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 59b6028589e8ad6dbe577a3a8830c714831d63bc1803903bc2d7ea887a04db09
[INFO] running `Command { std: "docker" "start" "-a" "59b6028589e8ad6dbe577a3a8830c714831d63bc1803903bc2d7ea887a04db09", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling allocator-api2 v0.2.20
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling thiserror v2.0.3
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling aws-lc-rs v1.12.2
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling cmake v0.1.52
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling rustls v0.23.31
[INFO] [stderr]    Compiling zlib-rs v0.5.1
[INFO] [stderr]    Compiling der v0.7.9
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling ring v0.17.13
[INFO] [stderr]    Compiling aws-lc-sys v0.25.1
[INFO] [stderr]    Compiling webpki-roots v1.0.3
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling bigdecimal v0.4.6
[INFO] [stderr]    Compiling rust_decimal v1.36.0
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.3
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling deranged v0.5.3
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling axum-core v0.5.5
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling h2 v0.4.7
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling ff v0.13.0
[INFO] [stderr]    Compiling zerocopy v0.8.18
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling rustls-native-certs v0.8.1
[INFO] [stderr]    Compiling anyhow v1.0.95
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling http-range-header v0.4.2
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling pest v2.7.14
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling axum-macros v0.5.0
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling ordered-float v2.10.1
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling serde-value v0.7.0
[INFO] [stderr]    Compiling rand_core v0.9.0
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling pest_meta v2.7.14
[INFO] [stderr]    Compiling hyper-timeout v0.5.2
[INFO] [stderr]    Compiling axum v0.8.6
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling prost-derive v0.14.1
[INFO] [stderr]    Compiling sea-query-derive v0.4.2
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]    Compiling inherent v1.0.11
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling ed25519 v2.2.3
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling ordered-float v4.6.0
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling k8s-openapi v0.26.0
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling prost v0.14.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling sea-query v0.32.7
[INFO] [stderr]    Compiling pin-project v1.1.7
[INFO] [stderr]    Compiling rsa v0.9.7
[INFO] [stderr]    Compiling ed25519-dalek v2.1.1
[INFO] [stderr]    Compiling ecdsa v0.16.9
[INFO] [stderr]    Compiling pest_generator v2.7.14
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling primeorder v0.13.6
[INFO] [stderr]    Compiling rusticata-macros v4.1.0
[INFO] [stderr]    Compiling asn1-rs-impl v0.2.0
[INFO] [stderr]    Compiling asn1-rs-derive v0.6.0
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling no-std-net v0.6.0
[INFO] [stderr]    Compiling winnow v0.7.10
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling asn1-rs v0.7.0
[INFO] [stderr]    Compiling pnet_base v0.34.0
[INFO] [stderr]    Compiling pest_derive v2.7.14
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling sea-bae v0.2.1
[INFO] [stderr]    Compiling tonic v0.14.2
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling askama_parser v0.14.0
[INFO] [stderr]    Compiling ouroboros_macro v0.18.4
[INFO] [stderr]    Compiling basic-toml v0.1.9
[INFO] [stderr]    Compiling tower-sessions-core v0.14.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling serde_with_macros v3.11.0
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling ssh-encoding v0.2.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling fs-err v3.1.0
[INFO] [stderr]    Compiling dyn-clone v1.0.17
[INFO] [stderr]    Compiling prometheus v0.13.4
[INFO] [stderr]    Compiling aliasable v0.1.3
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling rustc-hash v2.0.0
[INFO] [stderr]    Compiling protobuf v3.7.2
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling oid-registry v0.8.1
[INFO] [stderr]    Compiling serde_with v3.11.0
[INFO] [stderr]    Compiling ouroboros v0.18.4
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling ssh-cipher v0.2.0
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling tonic-prost v0.14.2
[INFO] [stderr]    Compiling pnet_macros v0.34.0
[INFO] [stderr]    Compiling askama_derive v0.14.0
[INFO] [stderr]    Compiling tower-sessions-memory-store v0.14.0
[INFO] [stderr]    Compiling tower-cookies v0.11.0
[INFO] [stderr]    Compiling sea-orm-macros v1.1.17
[INFO] [stderr]    Compiling jsonpath-rust v0.7.3
[INFO] [stderr]    Compiling pnet_macros_support v0.34.0
[INFO] [stderr]    Compiling p256 v0.13.2
[INFO] [stderr]    Compiling p384 v0.13.0
[INFO] [stderr]    Compiling prost-types v0.14.1
[INFO] [stderr]    Compiling strum_macros v0.27.1
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling opentelemetry v0.31.0
[INFO] [stderr]    Compiling serde_plain v1.0.2
[INFO] [stderr]    Compiling protobuf-support v3.7.2
[INFO] [stderr]    Compiling opentelemetry v0.26.0
[INFO] [stderr]    Compiling sea-schema-derive v0.3.0
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling pem v3.0.4
[INFO] [stderr]    Compiling secrecy v0.10.3
[INFO] [stderr]    Compiling schemars v0.8.22
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling prometheus v0.14.0
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling ssh-rs v0.5.0
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling schemars_derive v0.8.22
[INFO] [stderr]    Compiling opentelemetry_sdk v0.26.0
[INFO] [stderr]    Compiling clap_builder v4.5.51
[INFO] [stderr]    Compiling strum v0.27.2
[INFO] [stderr]    Compiling opentelemetry_sdk v0.31.0
[INFO] [stderr]    Compiling console-api v0.9.0
[INFO] [stderr]    Compiling askama v0.14.0
[INFO] [stderr]    Compiling pnet_packet v0.34.0
[INFO] [stderr]    Compiling tower-sessions v0.14.0
[INFO] [stderr]    Compiling ssh-key v0.6.7
[INFO] [stderr]    Compiling derive_builder v0.20.2
[INFO] [stderr]    Compiling der-parser v10.0.0
[INFO] [stderr]    Compiling hdrhistogram v7.5.4
[INFO] [stderr]    Compiling kube-core v2.0.1
[INFO] [stderr]    Compiling env_filter v0.1.2
[INFO] [stderr]    Compiling strum_macros v0.25.3
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling askama_web_derive v0.1.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling strum v0.25.0
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling env_home v0.1.0
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling which v8.0.0
[INFO] [stderr]    Compiling x509-parser v0.18.0
[INFO] [stderr]    Compiling askama_web v0.14.6
[INFO] [stderr]    Compiling console-subscriber v0.5.0
[INFO] [stderr]    Compiling surge-ping v0.8.3
[INFO] [stderr]    Compiling clap v4.5.51
[INFO] [stderr]    Compiling env_logger v0.11.6
[INFO] [stderr]    Compiling opentelemetry-stdout v0.31.0
[INFO] [stderr]    Compiling croner v3.0.1
[INFO] [stderr]    Compiling opentelemetry-prometheus v0.17.0 (https://github.com/yaleman/opentelemetry-rust.git?branch=prom-0.26#de2349ad)
[INFO] [stderr]    Compiling sha256 v1.6.0
[INFO] [stderr]    Compiling webpki v0.22.4
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling rustls-webpki v0.103.4
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling hyper-rustls v0.27.3
[INFO] [stderr]    Compiling axum-server v0.7.2
[INFO] [stderr]    Compiling reqwest v0.12.24
[INFO] [stderr]    Compiling kube-client v2.0.1
[INFO] [stderr]    Compiling oauth2 v5.0.0
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.6
[INFO] [stderr]    Compiling openidconnect v4.0.1
[INFO] [stderr]    Compiling kube v2.0.1
[INFO] [stderr]    Compiling sqlx v0.8.6
[INFO] [stderr]    Compiling sea-query-binder v0.7.0
[INFO] [stderr]    Compiling sea-orm v1.1.17
[INFO] [stderr]    Compiling sea-schema v0.16.2
[INFO] [stderr]    Compiling axum-oidc v0.6.0 (https://github.com/pfzetto/axum-oidc?branch=pfzetto#65cb1756)
[INFO] [stderr]    Compiling sea-orm-migration v1.1.17
[INFO] [stderr]    Compiling maremma v0.1.9 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8m 13s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "59b6028589e8ad6dbe577a3a8830c714831d63bc1803903bc2d7ea887a04db09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59b6028589e8ad6dbe577a3a8830c714831d63bc1803903bc2d7ea887a04db09", kill_on_drop: false }`
[INFO] [stdout] 59b6028589e8ad6dbe577a3a8830c714831d63bc1803903bc2d7ea887a04db09
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8fdf930f275b0065079496810cb9b8473a10aea5b0fa6ea6b7b6d282f51d0f1f
[INFO] running `Command { std: "docker" "start" "-a" "8fdf930f275b0065079496810cb9b8473a10aea5b0fa6ea6b7b6d282f51d0f1f", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling prost-derive v0.13.5
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling bollard-buildkit-proto v0.6.1
[INFO] [stderr]    Compiling rustix v0.38.41
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling openssl-sys v0.9.110
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling ureq v2.12.1
[INFO] [stderr]    Compiling structmeta-derive v0.3.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling structmeta v0.3.0
[INFO] [stderr]    Compiling serde_repr v0.1.19
[INFO] [stderr]    Compiling rsa v0.9.7
[INFO] [stderr]    Compiling parse-display-derive v0.9.1
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling hyperlocal v0.9.1
[INFO] [stderr]    Compiling filetime v0.2.25
[INFO] [stderr]    Compiling openssl v0.10.74
[INFO] [stderr]    Compiling prost v0.13.5
[INFO] [stderr]    Compiling openidconnect v4.0.1
[INFO] [stderr]    Compiling ssh-key v0.6.7
[INFO] [stderr]    Compiling which v8.0.0
[INFO] [stderr]    Compiling tonic v0.13.1
[INFO] [stderr]    Compiling prost-types v0.13.5
[INFO] [stderr]    Compiling etcetera v0.10.0
[INFO] [stderr]    Compiling docker_credential v1.3.1
[INFO] [stderr]    Compiling xattr v1.3.1
[INFO] [stderr]    Compiling tokio-tar v0.3.1
[INFO] [stderr]    Compiling parse-display v0.9.1
[INFO] [stderr]    Compiling ssh-rs v0.5.0
[INFO] [stderr]    Compiling ulid v1.2.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling fastrand v2.2.0
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling axum-oidc v0.6.0 (https://github.com/pfzetto/axum-oidc?branch=pfzetto#65cb1756)
[INFO] [stderr]    Compiling maremma v0.1.9 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling bollard-stubs v1.48.3-rc.28.0.4
[INFO] [stderr]    Compiling bollard v0.19.1
[INFO] [stderr]    Compiling testcontainers v0.25.0
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3m 13s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "8fdf930f275b0065079496810cb9b8473a10aea5b0fa6ea6b7b6d282f51d0f1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fdf930f275b0065079496810cb9b8473a10aea5b0fa6ea6b7b6d282f51d0f1f", kill_on_drop: false }`
[INFO] [stdout] 8fdf930f275b0065079496810cb9b8473a10aea5b0fa6ea6b7b6d282f51d0f1f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 65f7ed8344df4f7a99130d7d186ffb126830ee9b62af708fba5dc0e40f20468a
[INFO] running `Command { std: "docker" "start" "-a" "65f7ed8344df4f7a99130d7d186ffb126830ee9b62af708fba5dc0e40f20468a", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/maremma-c9f6156efdc4304b)
[INFO] [stdout] 
[INFO] [stdout] running 186 tests
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147471)
[INFO] [stdout] test actions::pushover::tests::test_pushover ... ok
[INFO] [stdout] test cli::tests::test_db_debug ... ok
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] test cli::tests::test_cliopts ... ok
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] test config::tests::test_default_max_concurrent_checks ... ok
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] test config::tests::test_config_new ... ok
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] test config::tests::test_json_schema ... ok
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] test config::tests::test_config_static_missing ... ok
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147471)
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:31Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:31Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] test check_loop::tests::test_run_service_check ... FAILED
[INFO] [stdout] test db::entities::host::tests::test_failing_update_db_from_config_host ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] test config::tests::test_config_prune ... FAILED
[INFO] [stdout] test config::tests::test_config_groups ... FAILED
[INFO] [stdout] test check_loop::tests::test_run_pending_service_check ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] test db::entities::host::tests::test_host_entity ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] test db::entities::host::tests::test_create_then_search ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] test db::entities::host::tests::test_update_db_from_config ... FAILED
[INFO] [stdout] test db::entities::host_group_members::tests::test_linked_host_to_groups ... FAILED
[INFO] [stdout] test db::entities::host_group_members::tests::test_find_by_name ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] test db::entities::host_group_members::tests::test_failing_update_db_from_config_hgm ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] test db::entities::host_group::tests::test_update_db_from_config ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] test db::entities::service::tests::test_config_updates ... FAILED
[INFO] [stdout] test db::entities::host_group::tests::test_failing_update_db_from_config_hg ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] test db::entities::host_group_members::tests::test_linked_group_to_hosts ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] test db::entities::service_check::tests::test_failing_update_db_from_config_service_check ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] test db::entities::service::tests::test_failing_update_db_from_config_service ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] test db::entities::service_check::tests::test_find_by_name ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] test db::entities::service::tests::test_find_related_service_to_service_check ... [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] test db::entities::service_check::tests::test_delete_service_checks_when_service_deleted ... FAILED
[INFO] [stdout] test db::entities::service::tests::test_service_entity ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] test db::entities::service::tests::test_find_with_linked ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] test db::entities::service::tests::test_service_update_db_from_config ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] test db::entities::service_group_link::tests::test_failing_update_db_from_config_service_group_link ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] test db::entities::service_check_history::tests::test_future_date_prune ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] test db::entities::service_check::tests::test_from_host_to_service_checks ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] test db::entities::service_check_history::tests::test_head_service_check_history ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] test db::entities::service_check_history::tests::test_prune_service_check_id ... FAILED
[INFO] [stdout] test db::entities::session::test_to_uuid ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] test db::entities::service_check_history::tests::test_head_service_check_history_sc_id ... FAILED
[INFO] [stdout] test db::entities::service_check_history::tests::test_service_check_history ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] test db::entities::service_check_history::tests::test_head_1k ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] test db::entities::service_group_link::tests::test_find_by_name ... [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] test db::entities::service_group_link::tests::test_linked_group_to_services ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] test db::entities::tests::service_check::test_get_next_pending_service_check ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] test db::entities::service_group_link::tests::test_linked_service_to_groups ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] test db::entities::service_group_link::tests::test_update_db_from_config ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] test db::entities::session::tests::test_cleanup ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] test db::entities::tests::service_check::test_get_urgent_service_check ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] test db::tests::test_failing_update_db_from_config ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] test db::entities::session::tests::test_lifecycle ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] test db::entities::tests::service_check::test_full_service_check ... FAILED
[INFO] [stdout] test errors::tests::error_from_addrparseerror ... ok
[INFO] [stdout] test errors::tests::error_from_kube_error ... [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] ok
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] test errors::tests::error_from_kubeconfig_error ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z ERROR maremma::errors] Response error occurred: Generic("test")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z ERROR maremma::errors] Generic("test")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] test errors::tests::error_into_response ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] test errors::tests::test_error_from_cronerror ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] test errors::tests::test_error_from_sea_orm_error ... ok
[INFO] [stdout] test errors::tests::test_error_from_serde_json_error ... ok
[INFO] [stdout] test errors::tests::test_error_from_std_io_error ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] test host::fakehost::tests::test_fakehost ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] test host::kube::tests::test_kube_check_up ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] test host::kube::tests::test_kube_host_builder ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] test host::kube::tests::test_kube_host_try_from_config ... ok
[INFO] [stdout] test host::kube::tests::test_kube_host_with_cluster ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] test host::kube::tests::test_kube_host_with_port ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] test host::ssh::test::test_check_up ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] test host::ssh::test::test_config_parse ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] test host::ssh::test::test_try_from_value ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] test db::entities::tests::service_check::test_service_check_fk_host ... [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] FAILED[2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] 
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] test host::tests::test_hostcheck_display ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] test log::tests::test_setup_logging ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG opentelemetry_sdk]  name="MeterProvider.Building" builder="MeterProviderBuilder { resource: Some(Resource { inner: ResourceInner { attrs: {Static(\"service.name\"): String(Static(\"maremma\")), Static(\"telemetry.sdk.language\"): String(Static(\"rust\")), Static(\"telemetry.sdk.name\"): String(Static(\"opentelemetry\")), Static(\"telemetry.sdk.version\"): String(Static(\"0.31.0\"))}, schema_url: None } }), readers: [], views: 0 }"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] test db::entities::user::tests::test_user ... [2025-11-03T05:24:32Z DEBUG opentelemetry_sdk]  name="MeterProvider.Built"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG opentelemetry_sdk]  name="MeterProvider.Shutdown" message=User initiated shutdown of MeterProvider.
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG opentelemetry_sdk]  name="MeterProvider.Drop.AlreadyShutdown" message=MeterProvider was already shut down; drop will not attempt shutdown again.
[INFO] [stdout] FAILED
[INFO] [stdout] test db::entities::tests::service_check::test_service_check_fk_service ... FAILED
[INFO] [stdout] test metrics::tests::test_metrics ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z ERROR maremma::services] Failed to parse config for test
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG which::finder] query binary_name = "ls", paths = Some("/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"), cwd = Some("/opt/rustwide/workdir")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG which::finder] found path /usr/bin/ls
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] test services::cli::tests::test_parse_cliservice ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] test serde::cron::tests::test_serde_croner ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] test services::http::tests::test_default_expected_http_status ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] No pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] test services::cli::tests::test_cliservice ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] test db::entities::tests::service_check::test_service_check_entity ... FAILED
[INFO] [stdout] test db::migrator::tests::test_migrator ... ok
[INFO] [stdout] test services::http::tests::test_from_str_http_method ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] test services::http::tests::test_http_method_from ... ok
[INFO] [stdout] test services::http::tests::test_http_method_display ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] test services::http::tests::test_parsing_invalid_http_status ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] test db::tests::test_next_service_check ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::services::http] Getting host config for host_id=29d01f84-9d5f-41a2-8b5e-c5967d9b4cf0
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG reqwest::connect] starting new connection: https://example.com/
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] test db::tests::test_get_related ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] test services::http::tests::test_httpservice ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] test host::tests::test_host_from_host ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] test services::oneshot::tests::test_oneshot_uuid ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] test services::http::tests::test_site_contains_string ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] test services::http::test_overlay_host_config ... FAILED
[INFO] [stdout] test services::http::tests::test_skip_tls_verify ... FAILED
[INFO] [stdout] test services::http::tests::test_github_com_status_code ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] test services::ping::tests::test_ping_service_127_0_0_1 ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] test services::ping::tests::test_ping_service_localhost ... ok[2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] 
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z ERROR maremma::services] Failed to parse config for test
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] test services::ssh::tests::test_parse_ssh_service ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] test services::ssh::tests::test_serialize_password ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] test services::tests::test_display_service_type ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] test services::http::tests::test_expected_status_code ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::services] You're using the default always-ok validation for this service
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] test services::tests::test_parse_cli_service_config ... ok
[INFO] [stdout] test services::tests::test_parse_http_service_configs ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::services] You're using the default always-ok validation for this service
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::services] You're using the default always-ok validation for this service
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] test services::tests::test_parse_service_from_value ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] test services::tests::test_parse_ping_service_config ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] test services::tests::test_parse_ssh_service_config ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] test services::tests::test_servicestatus_as_html_class_background ... ok[2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] 
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] test services::tests::test_servicestatus_as_html_class_text ... [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] ok
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] test services::tests::test_servicestatus_display ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] test services::tests::test_servicestatus_order ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] test services::oneshot::tests::test_invalid_oneshot ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:32Z ERROR maremma::services] Failed to parse config for Hello world
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] test services::tls::tests::test_failed_service_parser ... ok
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] test services::kubernetes::tests::test_kubernetes_service ... FAILED
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147472)
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] test services::oneshot::tests::test_run_oneshot ... [2025-11-03T05:24:32Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:32Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:32Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] test services::oneshot::tests::test_show_config_oneshot ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] test services::ssh::tests::test_intentionally_failing_ssh_service ... [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] test services::tests::test_service_from_model ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] test services::ssh::tests::test_live_ssh_service ... FAILED[2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] 
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] test services::tls::tests::test_nxdomain ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] test services::tls::tests::test_invalid_hostname ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] test services::tls::tests::test_expired_tls_service ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] test services::tls::tests::test_service_parser ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] test services::tls::tests::test_timeout ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] test services::tls::tests::test_tls_no_subject ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] test services::tls::tests::test_tls_sha1_intermediate ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] test services::tls::tests::test_working_tls_service ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] test services::tls::tests::test_wrong_cert_host_name ... FAILED
[INFO] [stdout] test services::tls::tests::test_zero_port ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] test tests::test_default_config_file ... ok
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] test shepherd::cert_reloader::tests::test_get_file_time ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] test shepherd::service_check_history_cleaner::tests::test_sch_counts_query ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::tests::tls_utils] The EC private key size is: 256 bits, that's OK!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] test tests::tls_utils::test_build_cert ... ok
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::tests::tls_utils] The EC private key size is: 256 bits, that's OK!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] test tests::tls_utils::test_build_nameless_cert ... [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] ok
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] test shepherd::cert_reloader::tests::test_cert_reloader_task ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] test tests::tls_utils::test_enforced_minimums ... ok
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::tests::tls_utils] The EC private key size is: 256 bits, that's OK!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::tests::tls_utils] The EC private key size is: 256 bits, that's OK!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] test shepherd::service_check_history_cleaner::tests::test_service_check_history_cleaner ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] test shepherd::tests::test_shepherd ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] test tests::testcontainers::test_basic_testcontainer ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] test shepherd::tests::test_servicecheckcleantask ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] test shepherd::tests::test_sessioncleantask ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] test web::oidc::tests::test_logout_view ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] test tests::testcontainers::test_httpbin_testcontainer ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] test web::tests::test_app_requests ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] test web::tests::test_check_certs_exist ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] test web::tests::test_oidcerrorhandler ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] test web::tests::test_up_endpoint ... [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] test web::oidc::tests::test_logout ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] test web::views::host::tests::test_view_delete_host_with_auth ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] test web::views::host::tests::test_view_delete_host_without_auth ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] test web::views::host::tests::test_view_delete_host_with_invalid_csrf ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] test web::views::host::tests::test_view_host_with_auth ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] test web::views::host::tests::test_view_missing_host_with_auth ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] test web::views::host::tests::test_view_host_without_auth ... [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] test web::views::host::tests::test_view_hosts_with_auth ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] test web::views::host_group::tests::test_unauthed_endpoints ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] test web::views::host_group::tests::test_view_authed_host_group ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] test web::views::host_group::tests::test_view_authed_delete_host_group_member ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] test web::views::host_group::tests::test_view_authed_host_groups ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] test web::views::index::tests::test_index ... FAILED
[INFO] [stdout] test web::views::prelude::tests::test_check_ord ... ok
[INFO] [stdout] test web::views::prelude::tests::test_order_from ... ok
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] test web::views::host_group::tests::test_view_authed_host_group_delete ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] test web::views::host_group::tests::test_view_unauthed_host_group_delete ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] test web::views::service::tests::test_view_missing_service_with_auth ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "host"."id", "host"."name", "host"."hostname", "host"."check", "host"."config" FROM "host" WHERE "host"."name" = 'Maremma Local Checks' AND "host"."hostname" = 'Maremma Local Checks' LIMIT 1
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_host_config_column' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_host_config_column', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_fk_host_group_members'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Renaming table host_group_members to host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host_group_members" RENAME TO "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Creating table host_group_members with foreign keys
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping all rows with mismatching foreign keys in host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] 
[INFO] [stdout]                 SELECT id FROM host_group_members_backup
[INFO] [stdout]                 WHERE id IN (
[INFO] [stdout]                     SELECT hgm.id
[INFO] [stdout]                     FROM host_group_members_backup hgm
[INFO] [stdout]                     LEFT JOIN host h ON hgm.host_id = h.id
[INFO] [stdout]                     WHERE h.id IS NULL
[INFO] [stdout]             ) OR id IN (
[INFO] [stdout]                 SELECT hgm.id
[INFO] [stdout]                 FROM host_group_members_backup hgm
[INFO] [stdout]                 LEFT JOIN host_group hg ON hgm.group_id = hg.id
[INFO] [stdout]                 WHERE hg.id IS NULL
[INFO] [stdout]             );
[INFO] [stdout] test web::views::index::tests::test_index_auth ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Found 1 rows in host_group_members_backup that'll be ignored
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Copying data from host_group_members_backup to host_group_members
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Query: INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO host_group_members (id, host_id, group_id)
[INFO] [stdout]                     SELECT hgmb.id, hgmb.host_id, hgmb.group_id
[INFO] [stdout]                 FROM host_group_members_backup hgmb
[INFO] [stdout]                 JOIN host h ON hgmb.host_id = h.id
[INFO] [stdout]                 JOIN host_group g ON hgmb.group_id = g.id;
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::db::migrations::m20240827_add_fk_host_group_members] Dropping backup table host_group_members_backup
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] DROP TABLE "host_group_members_backup"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240827_add_fk_host_group_members' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240827_add_fk_host_group_members', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20241202_add_sch_index'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE INDEX "idx_service_check_history" ON "service_check_history" ("service_check_id")
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20241202_add_sch_index' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20241202_add_sch_index', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::config] Detected 8 CPUs
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] test web::views::metrics::tests::test_metrics_without_registry ... FAILED
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG maremma::log] Error init logging: SetLoggerError(())
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  maremma::db] Using in-memory database!
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_session_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "session" ( "id" uuid_text NOT NULL PRIMARY KEY, "expiry" datetime_text NOT NULL, "data" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_session_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying all pending migrations
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_session_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_members_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group_members" ( "id" uuid_text NOT NULL PRIMARY KEY, "host_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240822_create_service_group_link_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_group_link" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "group_id" uuid_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("group_id") REFERENCES "host_group" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_group_members_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_group_members_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "service"."id", "service"."name", "service"."description", "service"."host_groups", "service"."service_type", "service"."cron_schedule", "service"."extra_config" FROM "service"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "description" varchar, "host_groups" varchar NOT NULL, "cron_schedule" varchar NOT NULL, "service_type" varchar, "extra_config" json_text )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240822_create_service_group_link_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240822_create_service_group_link_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240825_drop_service_host_groups'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "service" DROP COLUMN "host_groups"
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE IF NOT EXISTS "seaql_migrations" ( "version" varchar NOT NULL PRIMARY KEY, "applied_at" bigint NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_service_check_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check" ( "id" uuid_text NOT NULL PRIMARY KEY, "service_id" uuid_text NOT NULL, "host_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "last_updated" timestamp_text NOT NULL, "next_check" timestamp_text NOT NULL, "last_check" timestamp_text NOT NULL, FOREIGN KEY ("service_id") REFERENCES "service" ("id") ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY ("host_id") REFERENCES "host" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] SELECT "version", "applied_at" FROM "seaql_migrations" ORDER BY "version" ASC
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_service_check_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL, "hostname" varchar, "check" enum_text NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm202408010_create_user_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240807_create_service_check_hstory_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "service_check_history" ( "id" uuid_text NOT NULL PRIMARY KEY, "timestamp" timestamp_with_timezone_text NOT NULL, "service_check_id" uuid_text NOT NULL, "status" enum_text NOT NULL, "result_text" text NOT NULL, "time_elapsed" bigint NOT NULL, FOREIGN KEY ("service_check_id") REFERENCES "service_check" ("id") ON DELETE CASCADE ON UPDATE CASCADE )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240802_create_host_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_host_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] UPDATE "host" SET "config" = '{}'
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240807_create_service_check_hstory_table' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240807_create_service_check_hstory_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240802_create_host_group_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "host_group" ( "id" uuid_text NOT NULL PRIMARY KEY, "name" varchar NOT NULL )
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm20240827_add_host_config_column'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] ALTER TABLE "host" ADD COLUMN "config" json_text
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m202408010_create_user_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240802_create_service_check_table', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Migration 'm20240825_drop_service_host_groups' has been applied
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] INSERT INTO "seaql_migrations" ("version", "applied_at") VALUES ('m20240825_drop_service_host_groups', 1762147473)
[INFO] [stdout] [2025-11-03T05:24:33Z INFO  sea_orm_migration::migrator] Applying migration 'm202408010_create_user_table'
[INFO] [stdout] [2025-11-03T05:24:33Z DEBUG sea_orm::database::transaction] CREATE TABLE "user" ( "id" uuid_text NOT NULL PRIMARY KEY, "preferred_username" text NOT NULL, "display_name" text NOT NULL, "groups" json_text NOT NULL, "claim_json" json_text NOT NULL )
[WARN] too many lines in the log, truncating it
