Skip to content

Add SQLite3 backup #1123

Add SQLite3 backup

Add SQLite3 backup #1123

Triggered via pull request September 11, 2024 19:02
Status Failure
Total duration 5m 27s
Artifacts

main.yml

on: pull_request
Matrix: test / test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
test / test (1.23, windows-latest)
2/107 tests failed
Test go.sia.tech/hostd/persist/sqlite/TestBackup failed in 2.4s: persist\sqlite\logger.go#L146
logger.go:146: 2024-09-11T19:05:54.138Z DEBUG clearLockedSectors cleared locked sectors {"locked": 0, "removed": []}
Test go.sia.tech/hostd/persist/sqlite/TestBackup failed in 2.4s: persist\sqlite\logger.go#L146
logger.go:146: 2024-09-11T19:05:54.138Z DEBUG database initialized {"sqliteVersion": "3.46.1", "schemaVersion": 30, "path": "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\TestBackup78125980\\001\\test.db"}
Test go.sia.tech/hostd/persist/sqlite/TestBackup failed in 2.4s: persist\sqlite\logger.go#L146
logger.go:146: 2024-09-11T19:05:54.283Z DEBUG backup starting backup {"destPath": "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\TestBackup78125980\\002\\backup.db"}
Test go.sia.tech/hostd/persist/sqlite/TestBackup failed in 2.4s: persist\sqlite\logger.go#L146
logger.go:146: 2024-09-11T19:05:54.309Z DEBUG backup backup complete {"destPath": "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\TestBackup78125980\\002\\backup.db", "elapsed": "25.6587ms"}
Test go.sia.tech/hostd/persist/sqlite/TestBackup failed in 2.4s: persist\sqlite\logger.go#L146
logger.go:146: 2024-09-11T19:05:54.318Z DEBUG backup vacuumed destination database {"destPath": "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\TestBackup78125980\\002\\backup.db"}
Test go.sia.tech/hostd/persist/sqlite/TestBackup failed in 2.4s: persist\sqlite\logger.go#L146
logger.go:146: 2024-09-11T19:05:54.465Z DEBUG clearLockedSectors cleared locked sectors {"locked": 0, "removed": []}
Test go.sia.tech/hostd/persist/sqlite/TestBackup failed in 2.4s: persist\sqlite\logger.go#L146
logger.go:146: 2024-09-11T19:05:54.465Z DEBUG database initialized {"sqliteVersion": "3.46.1", "schemaVersion": 30, "path": "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\TestBackup78125980\\002\\backup.db"}
Test go.sia.tech/hostd/persist/sqlite/TestBackup failed in 2.4s: persist\sqlite\testing.go#L1232
testing.go:1232: TempDir RemoveAll cleanup: remove C:\Users\RUNNER~1\AppData\Local\Temp\TestBackup78125980\002\backup.db: The process cannot access the file because it is being used by another process.
test / test (1.22, windows-latest)
The job was canceled because "_1_23_windows-latest" failed.
test / test (1.22, ubuntu-latest)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
test / test (1.22, macos-latest)
Failed to restore: "/opt/homebrew/bin/gtar" failed with error: The process '/opt/homebrew/bin/gtar' failed with exit code 2