Closed AskmethatFR closed 2 months ago
Please set a breakpoint at DisposeAsync()
and check the container logs. For some reason, the container exits or dies. Have you tried running the container using the CLI:
docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=yourStrong(!)Password" -p 1433 mcr.microsoft.com/mssql/server:2019-CU18-ubuntu-20.04
Hi,
I do not have any logs in the dispose. But when I try to run the version used by tests container directly from my terminal I got an error. I think is not related to test container ( only the version of mssql image used ).
`SQL Server 2019 will run as non-root by default. This container is running as user mssql. To learn more visit https://go.microsoft.com/fwlink/?linkid=2099216. This program has encountered a fatal error and cannot continue running at Mon Sep 2 12:01:44 2024 The following diagnostic information is available:
Reason: 0x00000001
Signal: SIGABRT - Aborted (6)
Stack:
IP Function
---------------- --------------------------------------
00005626ca66cbec <unknown>
00005626ca66c632 <unknown>
00005626ca66bc41 <unknown>
00007f7ca09ac090 killpg+0x40
00007f7ca09ac00b gsignal+0xcb
00007f7ca098b859 abort+0x12b
00005626ca5f52a2 <unknown>
00005626ca681154 <unknown>
00005626ca6b6248 <unknown>
00005626ca6b602a <unknown>
00005626ca60111a <unknown>
00005626ca600d6f <unknown>
Process: 9 - sqlservr
Thread: 81 (application thread 0x138)
Instance Id: b828639a-5769-4ab9-94b6-bb91db946e42
Crash Id: 0716fe57-4678-4ca5-ae8e-e7a98f37840d
Build stamp: f708684a2cfcb51177273c54f975ed8c62029cbc89aa962bf7d6b956f01a0c27
Distribution: Ubuntu 20.04.5 LTS Processors: 16 Total Memory: 16766414848 bytes Timestamp: Mon Sep 2 12:01:44 2024 Last errno: 2 Last errno text: No such file or directory Capturing a dump of 9 Successfully captured dump: /var/opt/mssql/log/core.sqlservr.9_2_2024_12_1_44.9 Executing: /opt/mssql/bin/handle-crash.sh with parameters handle-crash.sh /opt/mssql/bin/sqlservr 9 /opt/mssql/bin /var/opt/mssql/log/
b828639a-5769-4ab9-94b6-bb91db946e42
0716fe57-4678-4ca5-ae8e-e7a98f37840d
/var/opt/mssql/log/core.sqlservr.9_2_2024_12_1_44.9
Ubuntu 20.04.5 LTS Capturing core dump and information to /var/opt/mssql/log... /bin/cat: /proc/9/maps: Permission denied /bin/cat: /proc/9/environ: Permission denied /usr/bin/find: '/proc/9/task/9/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/11/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/12/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/13/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/14/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/15/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/16/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/17/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/18/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/19/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/20/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/21/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/22/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/23/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/24/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/25/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/26/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/27/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/28/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/29/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/30/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/32/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/33/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/34/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/35/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/36/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/37/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/38/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/39/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/40/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/41/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/43/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/44/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/45/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/46/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/47/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/48/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/49/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/50/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/51/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/54/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/56/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/57/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/58/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/59/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/60/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/61/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/63/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/64/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/65/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/66/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/67/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/68/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/69/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/70/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/71/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/73/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/75/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/77/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/78/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/79/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/80/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/81/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/83/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/84/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/85/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/86/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/87/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/88/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/89/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/91/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/93/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/94/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/96/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/97/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/98/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/99/fdinfo': Permission denied /usr/bin/find: '/proc/9/map_files': Permission denied /usr/bin/find: '/proc/9/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/9/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/11/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/12/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/13/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/14/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/15/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/16/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/17/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/18/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/19/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/20/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/21/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/22/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/23/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/24/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/25/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/26/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/27/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/28/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/29/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/30/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/32/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/33/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/34/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/35/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/36/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/37/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/38/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/39/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/40/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/41/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/43/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/44/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/45/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/46/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/47/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/48/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/49/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/50/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/51/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/54/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/56/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/57/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/58/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/59/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/60/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/61/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/63/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/64/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/65/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/66/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/67/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/68/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/69/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/70/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/71/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/73/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/75/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/77/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/78/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/79/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/80/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/81/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/83/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/84/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/85/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/86/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/87/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/88/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/89/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/91/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/93/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/94/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/96/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/97/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/98/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/99/fdinfo': Permission denied /usr/bin/find: '/proc/9/map_files': Permission denied /usr/bin/find: '/proc/9/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/9/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/11/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/12/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/13/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/14/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/15/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/16/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/17/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/18/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/19/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/20/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/21/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/22/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/23/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/24/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/25/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/26/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/27/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/28/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/29/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/30/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/32/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/33/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/34/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/35/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/36/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/37/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/38/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/39/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/40/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/41/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/43/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/44/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/45/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/46/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/47/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/48/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/49/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/50/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/51/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/54/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/56/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/57/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/58/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/59/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/60/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/61/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/63/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/64/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/65/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/66/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/67/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/68/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/69/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/70/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/71/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/73/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/75/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/77/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/78/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/79/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/80/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/81/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/83/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/84/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/85/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/86/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/87/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/88/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/89/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/91/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/93/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/94/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/96/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/97/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/98/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/99/fdinfo': Permission denied /usr/bin/find: '/proc/9/map_files': Permission denied /usr/bin/find: '/proc/9/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/9/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/11/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/12/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/13/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/14/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/15/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/16/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/17/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/18/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/19/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/20/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/21/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/22/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/23/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/24/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/25/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/26/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/27/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/28/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/29/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/30/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/32/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/33/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/34/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/35/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/36/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/37/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/38/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/39/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/40/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/41/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/43/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/44/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/45/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/46/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/47/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/48/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/49/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/50/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/51/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/54/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/56/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/57/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/58/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/59/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/60/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/61/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/63/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/64/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/65/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/66/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/67/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/68/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/69/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/70/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/71/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/73/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/75/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/77/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/78/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/79/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/80/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/81/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/83/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/84/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/85/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/86/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/87/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/88/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/89/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/91/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/93/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/94/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/96/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/97/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/98/fdinfo': Permission denied /usr/bin/find: '/proc/9/task/99/fdinfo': Permission denied /usr/bin/find: '/proc/9/map_files': Permission denied /usr/bin/find: '/proc/9/fdinfo': Permission denied dmesg: read kernel buffer failed: Operation not permitted /usr/bin/timeout: failed to run command '/bin/journalctl': No such file or directory /usr/bin/timeout: failed to run command '/bin/journalctl': No such file or directory Mon Sep 2 12:01:45 UTC 2024 Capturing program information Dump already generated: /var/opt/mssql/log/core.sqlservr.9_2_2024_12_1_44.9, moving to /var/opt/mssql/log/core.sqlservr.9.temp/core.sqlservr.9.gdmp Moving logs to /var/opt/mssql/log/core.sqlservr.9.temp/log/paldumper-debug.log Mon Sep 2 12:01:45 UTC 2024 Capturing program binaries Mon Sep 2 12:01:46 UTC 2024 Not compressing the dump files, moving instead to: /var/opt/mssql/log/core.sqlservr.09_02_2024_12_01_45.9.d`
This looks very similar to: https://github.com/testcontainers/testcontainers-dotnet/issues/1248. Can you please try mcr.microsoft.com/mssql/server:latest
(from the CLI) too?
It's working perfectly with the latest version. I'm trying to run with the latest image like this :
private readonly MsSqlContainer _msSqlContainer
= new MsSqlBuilder()
.WithImage("mcr.microsoft.com/mssql/server:latest")
.Build();
But the container never starts, and the test keeps running until it times out.
But the container never starts, and the test keeps running until it times out.
Yes, this is a regression by Microsoft. It has already been fixed in the upcoming Testcontainers release (see https://github.com/testcontainers/testcontainers-dotnet/issues/1220). There are two workarounds. You can simply override the default wait strategy and change it to (in the meantime):
private readonly MsSqlContainer _msSqlContainer = new MsSqlBuilder()
.WithImage("mcr.microsoft.com/mssql/server:2022-CU14-ubuntu-22.04")
.WithWaitStrategy(Wait.ForUnixContainer().UntilCommandIsCompleted("/opt/mssql-tools18/bin/sqlcmd", "-C", "-Q", "SELECT 1;"))
.Build();
Does that help? I am sorry for the inconvenience, but both issues are not specific to Testcontainers and are out of our control.
It's works perfectly ! Thanks
I will close the issue for now. The workaround won't be necessary with the next release. Since a few developers encountered issues with the latest MSSQL image, I will try to release a new version sometime this week.
Testcontainers version
3.9.0
Using the latest Testcontainers version?
Yes
Host OS
Linux Mint
Host arch
x64
.NET version
8.0
Docker version
Docker info
What happened?
When I try to run a test with TestContainer.MsSQL, the container never start with the 409 error.
In an another projet with Postgresql, the tests run correctly.
Here the code that configure the container
Here a usage in the xunit fixture :
Relevant log output
Additional information
No response