Skip to content

updated to the latest version of Telegram.Bot library #57

updated to the latest version of Telegram.Bot library

updated to the latest version of Telegram.Bot library #57

GitHub Actions / Test results failed Oct 18, 2024 in 0s

0 passed, 25 failed and 0 skipped

Tests failed

❌ src/VahterBanBot.Tests/TestResults/test-results.trx

25 tests were completed in 44s with 0 passed, 25 failed and 0 skipped.

Test suite Passed Failed Skipped Time
BaseTests+BaseTests 3❌ 3ms
PingTests+PingTests 2❌ 2ms
VahterBanBot.Tests.BanTests+BanTests 6❌ 6ms
VahterBanBot.Tests.MessageTests+MessageTests 1❌ 1ms
VahterBanBot.Tests.MLBanTests+MLBanTests 13❌ 13ms

❌ BaseTests+BaseTests

❌ Not possible to interact with the bot without authorization
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Random path returns OK
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Should be possible to interact with the bot
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.

❌ PingTests+PingTests

❌ Message got recorded
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Message not recorded if chat is not on the list
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.

❌ VahterBanBot.Tests.BanTests+BanTests

❌ NON Vahter can't ban on reply
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Only Vahter can unban user
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Vahter can ban on reply
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Vahter can unban user
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Vahter can't ban another vahter
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Vahter can't ban on reply in non-allowed chat
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.

❌ VahterBanBot.Tests.MessageTests+MessageTests

❌ All data from the message being saved
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.

❌ VahterBanBot.Tests.MLBanTests+MLBanTests

❌ If message got auto-deleted we can mark it as false-positive with a button click
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Message IS autobanned if it is a known false-negative spam
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Message IS autobanned if it looks like a spam
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Message is NOT autobanned if it has a stopword in specific chat
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Message is NOT autobanned if it is a known false-positive spam
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Message is NOT autobanned if it looks like a spam BUT local admin sent it
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Message is NOT autobanned if it looks like a spam BUT vahter sent it
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Message which were edited triggers auto-delete
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Message with spam in photo caption also triggers auto-delete
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ Only vahter can press THE BUTTON(s)
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ User can be saved from auto ban by vahter marking it false-positive
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ User can recover from autoban by sending good messages
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
❌ User will be autobanned after consecutive spam
	System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.

Annotations

Check failure on line 124 in src/VahterBanBot.Tests/ContainerTestBase.fs

See this annotation in the file changed.

@github-actions github-actions / Test results

BaseTests+BaseTests ► Not possible to interact with the bot without authorization

Failed test found in:
  src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
  System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
Raw output
System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
   at DotNet.Testcontainers.Clients.DockerImageOperations.BuildAsync(IImageFromDockerfileConfiguration configuration, ITarArchive dockerfileArchive, CancellationToken ct) in /_/src/Testcontainers/Clients/DockerImageOperations.cs:line 130
   at DotNet.Testcontainers.Clients.TestcontainersClient.BuildAsync(IImageFromDockerfileConfiguration configuration, CancellationToken ct) in /_/src/Testcontainers/Clients/TestcontainersClient.cs:line 349
   at DotNet.Testcontainers.Images.FutureDockerImage.UnsafeCreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 116
   at DotNet.Testcontainers.Images.FutureDockerImage.CreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 82
   at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 124
--- End of stack trace from previous location ---

Check failure on line 124 in src/VahterBanBot.Tests/ContainerTestBase.fs

See this annotation in the file changed.

@github-actions github-actions / Test results

BaseTests+BaseTests ► Random path returns OK

Failed test found in:
  src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
  System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
Raw output
System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
   at DotNet.Testcontainers.Clients.DockerImageOperations.BuildAsync(IImageFromDockerfileConfiguration configuration, ITarArchive dockerfileArchive, CancellationToken ct) in /_/src/Testcontainers/Clients/DockerImageOperations.cs:line 130
   at DotNet.Testcontainers.Clients.TestcontainersClient.BuildAsync(IImageFromDockerfileConfiguration configuration, CancellationToken ct) in /_/src/Testcontainers/Clients/TestcontainersClient.cs:line 349
   at DotNet.Testcontainers.Images.FutureDockerImage.UnsafeCreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 116
   at DotNet.Testcontainers.Images.FutureDockerImage.CreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 82
   at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 124
--- End of stack trace from previous location ---

Check failure on line 124 in src/VahterBanBot.Tests/ContainerTestBase.fs

See this annotation in the file changed.

@github-actions github-actions / Test results

BaseTests+BaseTests ► Should be possible to interact with the bot

Failed test found in:
  src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
  System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
Raw output
System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
   at DotNet.Testcontainers.Clients.DockerImageOperations.BuildAsync(IImageFromDockerfileConfiguration configuration, ITarArchive dockerfileArchive, CancellationToken ct) in /_/src/Testcontainers/Clients/DockerImageOperations.cs:line 130
   at DotNet.Testcontainers.Clients.TestcontainersClient.BuildAsync(IImageFromDockerfileConfiguration configuration, CancellationToken ct) in /_/src/Testcontainers/Clients/TestcontainersClient.cs:line 349
   at DotNet.Testcontainers.Images.FutureDockerImage.UnsafeCreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 116
   at DotNet.Testcontainers.Images.FutureDockerImage.CreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 82
   at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 124
--- End of stack trace from previous location ---

Check failure on line 124 in src/VahterBanBot.Tests/ContainerTestBase.fs

See this annotation in the file changed.

@github-actions github-actions / Test results

PingTests+PingTests ► Message got recorded

Failed test found in:
  src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
  System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
Raw output
System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
   at DotNet.Testcontainers.Clients.DockerImageOperations.BuildAsync(IImageFromDockerfileConfiguration configuration, ITarArchive dockerfileArchive, CancellationToken ct) in /_/src/Testcontainers/Clients/DockerImageOperations.cs:line 130
   at DotNet.Testcontainers.Clients.TestcontainersClient.BuildAsync(IImageFromDockerfileConfiguration configuration, CancellationToken ct) in /_/src/Testcontainers/Clients/TestcontainersClient.cs:line 349
   at DotNet.Testcontainers.Images.FutureDockerImage.UnsafeCreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 116
   at DotNet.Testcontainers.Images.FutureDockerImage.CreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 82
   at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 124
--- End of stack trace from previous location ---

Check failure on line 124 in src/VahterBanBot.Tests/ContainerTestBase.fs

See this annotation in the file changed.

@github-actions github-actions / Test results

PingTests+PingTests ► Message not recorded if chat is not on the list

Failed test found in:
  src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
  System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
Raw output
System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
   at DotNet.Testcontainers.Clients.DockerImageOperations.BuildAsync(IImageFromDockerfileConfiguration configuration, ITarArchive dockerfileArchive, CancellationToken ct) in /_/src/Testcontainers/Clients/DockerImageOperations.cs:line 130
   at DotNet.Testcontainers.Clients.TestcontainersClient.BuildAsync(IImageFromDockerfileConfiguration configuration, CancellationToken ct) in /_/src/Testcontainers/Clients/TestcontainersClient.cs:line 349
   at DotNet.Testcontainers.Images.FutureDockerImage.UnsafeCreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 116
   at DotNet.Testcontainers.Images.FutureDockerImage.CreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 82
   at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 124
--- End of stack trace from previous location ---

Check failure on line 124 in src/VahterBanBot.Tests/ContainerTestBase.fs

See this annotation in the file changed.

@github-actions github-actions / Test results

VahterBanBot.Tests.BanTests+BanTests ► NON Vahter can't ban on reply

Failed test found in:
  src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
  System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
Raw output
System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
   at DotNet.Testcontainers.Clients.DockerImageOperations.BuildAsync(IImageFromDockerfileConfiguration configuration, ITarArchive dockerfileArchive, CancellationToken ct) in /_/src/Testcontainers/Clients/DockerImageOperations.cs:line 130
   at DotNet.Testcontainers.Clients.TestcontainersClient.BuildAsync(IImageFromDockerfileConfiguration configuration, CancellationToken ct) in /_/src/Testcontainers/Clients/TestcontainersClient.cs:line 349
   at DotNet.Testcontainers.Images.FutureDockerImage.UnsafeCreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 116
   at DotNet.Testcontainers.Images.FutureDockerImage.CreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 82
   at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 124
--- End of stack trace from previous location ---

Check failure on line 124 in src/VahterBanBot.Tests/ContainerTestBase.fs

See this annotation in the file changed.

@github-actions github-actions / Test results

VahterBanBot.Tests.BanTests+BanTests ► Only Vahter can unban user

Failed test found in:
  src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
  System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
Raw output
System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
   at DotNet.Testcontainers.Clients.DockerImageOperations.BuildAsync(IImageFromDockerfileConfiguration configuration, ITarArchive dockerfileArchive, CancellationToken ct) in /_/src/Testcontainers/Clients/DockerImageOperations.cs:line 130
   at DotNet.Testcontainers.Clients.TestcontainersClient.BuildAsync(IImageFromDockerfileConfiguration configuration, CancellationToken ct) in /_/src/Testcontainers/Clients/TestcontainersClient.cs:line 349
   at DotNet.Testcontainers.Images.FutureDockerImage.UnsafeCreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 116
   at DotNet.Testcontainers.Images.FutureDockerImage.CreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 82
   at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 124
--- End of stack trace from previous location ---

Check failure on line 124 in src/VahterBanBot.Tests/ContainerTestBase.fs

See this annotation in the file changed.

@github-actions github-actions / Test results

VahterBanBot.Tests.BanTests+BanTests ► Vahter can ban on reply

Failed test found in:
  src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
  System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
Raw output
System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
   at DotNet.Testcontainers.Clients.DockerImageOperations.BuildAsync(IImageFromDockerfileConfiguration configuration, ITarArchive dockerfileArchive, CancellationToken ct) in /_/src/Testcontainers/Clients/DockerImageOperations.cs:line 130
   at DotNet.Testcontainers.Clients.TestcontainersClient.BuildAsync(IImageFromDockerfileConfiguration configuration, CancellationToken ct) in /_/src/Testcontainers/Clients/TestcontainersClient.cs:line 349
   at DotNet.Testcontainers.Images.FutureDockerImage.UnsafeCreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 116
   at DotNet.Testcontainers.Images.FutureDockerImage.CreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 82
   at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 124
--- End of stack trace from previous location ---

Check failure on line 124 in src/VahterBanBot.Tests/ContainerTestBase.fs

See this annotation in the file changed.

@github-actions github-actions / Test results

VahterBanBot.Tests.BanTests+BanTests ► Vahter can unban user

Failed test found in:
  src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
  System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
Raw output
System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
   at DotNet.Testcontainers.Clients.DockerImageOperations.BuildAsync(IImageFromDockerfileConfiguration configuration, ITarArchive dockerfileArchive, CancellationToken ct) in /_/src/Testcontainers/Clients/DockerImageOperations.cs:line 130
   at DotNet.Testcontainers.Clients.TestcontainersClient.BuildAsync(IImageFromDockerfileConfiguration configuration, CancellationToken ct) in /_/src/Testcontainers/Clients/TestcontainersClient.cs:line 349
   at DotNet.Testcontainers.Images.FutureDockerImage.UnsafeCreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 116
   at DotNet.Testcontainers.Images.FutureDockerImage.CreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 82
   at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 124
--- End of stack trace from previous location ---

Check failure on line 124 in src/VahterBanBot.Tests/ContainerTestBase.fs

See this annotation in the file changed.

@github-actions github-actions / Test results

VahterBanBot.Tests.BanTests+BanTests ► Vahter can't ban another vahter

Failed test found in:
  src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
  System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
Raw output
System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
   at DotNet.Testcontainers.Clients.DockerImageOperations.BuildAsync(IImageFromDockerfileConfiguration configuration, ITarArchive dockerfileArchive, CancellationToken ct) in /_/src/Testcontainers/Clients/DockerImageOperations.cs:line 130
   at DotNet.Testcontainers.Clients.TestcontainersClient.BuildAsync(IImageFromDockerfileConfiguration configuration, CancellationToken ct) in /_/src/Testcontainers/Clients/TestcontainersClient.cs:line 349
   at DotNet.Testcontainers.Images.FutureDockerImage.UnsafeCreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 116
   at DotNet.Testcontainers.Images.FutureDockerImage.CreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 82
   at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 124
--- End of stack trace from previous location ---

Check failure on line 124 in src/VahterBanBot.Tests/ContainerTestBase.fs

See this annotation in the file changed.

@github-actions github-actions / Test results

VahterBanBot.Tests.BanTests+BanTests ► Vahter can't ban on reply in non-allowed chat

Failed test found in:
  src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
  System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
Raw output
System.InvalidOperationException : Docker image vahter-bot-ban-test:latest has not been created.
   at DotNet.Testcontainers.Clients.DockerImageOperations.BuildAsync(IImageFromDockerfileConfiguration configuration, ITarArchive dockerfileArchive, CancellationToken ct) in /_/src/Testcontainers/Clients/DockerImageOperations.cs:line 130
   at DotNet.Testcontainers.Clients.TestcontainersClient.BuildAsync(IImageFromDockerfileConfiguration configuration, CancellationToken ct) in /_/src/Testcontainers/Clients/TestcontainersClient.cs:line 349
   at DotNet.Testcontainers.Images.FutureDockerImage.UnsafeCreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 116
   at DotNet.Testcontainers.Images.FutureDockerImage.CreateAsync(CancellationToken ct) in /_/src/Testcontainers/Images/FutureDockerImage.cs:line 82
   at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 124
--- End of stack trace from previous location ---