Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix][io] Upgrade mssql server docker tag in DebeziumMsSqlContainer #23318

Merged
merged 5 commits into from
Sep 19, 2024

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Sep 19, 2024

Motivation

Pulsar CI is currently broken. The "CI - System - Pulsar IO" build job fails due to this error:

  Error:  org.apache.pulsar.tests.integration.io.sources.debezium.PulsarDebeziumSourcesTest.testDebeziumMsSqlSource
  [INFO]   Run 1: PASS
  Error:    Run 2: PulsarDebeziumSourcesTest.testDebeziumMsSqlSource:79->testDebeziumMsSqlConnect:236 » ContainerLaunch Container startup failed for image mcr.microsoft.com/mssql/server:2019-CU12-ubuntu-20.04
-----
  !!!!!!!!! FAILURE-- [TestClass name=class org.apache.pulsar.tests.integration.io.sources.debezium.PulsarDebeziumSourcesTest].testDebeziumMsSqlSource([])-------
  org.testcontainers.containers.ContainerLaunchException: Container startup failed for image mcr.microsoft.com/mssql/server:2019-CU12-ubuntu-20.04
  	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)
  	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
  	at org.apache.pulsar.tests.integration.topologies.PulsarCluster.startService(PulsarCluster.java:396)
  	at org.apache.pulsar.tests.integration.io.sources.debezium.DebeziumMsSqlSourceTester.setServiceContainer(DebeziumMsSqlSourceTester.java:73)
  	at org.apache.pulsar.tests.integration.io.sources.debezium.PulsarDebeziumSourcesTest.testDebeziumMsSqlConnect(PulsarDebeziumSourcesTest.java:236)
  	at org.apache.pulsar.tests.integration.io.sources.debezium.PulsarDebeziumSourcesTest.testDebeziumMsSqlSource(PulsarDebeziumSourcesTest.java:79)
-----
  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 Thu Sep 19 04:00:04 2024
  The following diagnostic information is available:
  
           Reason: 0x00000001
           Signal: SIGABRT - Aborted (6)
            Stack:
                   IP               Function
                   ---------------- --------------------------------------
                   000055e1e671655c <unknown>
                   000055e1e6715fa2 <unknown>
                   000055e1e6715541 <unknown>
                   00007f975bbf8210 killpg+0x40
                   00007f975bbf818b gsignal+0xcb
                   00007f975bbd7859 abort+0x12b
                   000055e1e66a3ed2 <unknown>
                   000055e1e6730264 <unknown>
                   000055e1e6765408 <unknown>
                   000055e1e67651ea <unknown>
                   000055e1e66afc3a <unknown>
                   000055e1e66af88f <unknown>
          Process: 9 - sqlservr
           Thread: 80 (application thread 0x134)
      Instance Id: b5c0f188-a6fc-46b0-90ac-fb30c3e0d513
         Crash Id: 547e9f38-a9d3-4b33-815f-529e301b8654
      Build stamp: a5b3f518e501405ea4b46f546834883e540d503e9aa013f894f66d70b45825d6
     Distribution: Ubuntu 20.04.2 LTS
       Processors: 4
     Total Memory: 16766771200 bytes
        Timestamp: Thu Sep 19 04:00:04 2024
       Last errno: 2
  Last errno text: No such file or directory
  Executing: /opt/mssql/bin/handle-crash.sh with parameters
       handle-crash.sh
       /opt/mssql/bin/sqlservr
       9
       /opt/mssql/bin
       /var/opt/mssql/log/
       
       b5c0f188-a6fc-46b0-90ac-fb30c3e0d513
       547e9f38-a9d3-4b33-815f-529e301b8654

full log: https://gist.github.com/lhotari/74c83c63fb35b8cbbaf7c7069bb34f5c
example from https://github.com/apache/pulsar/actions/runs/10929216073/job/30353613796?pr=23275#step:12:10186

It seems that crashes started with new GitHub Ubuntu Runner VM version, https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240915.1 . Linux kernel goes from 6.5.0-1025-azure to 6.8.0-1014-azure.
Another alternative is to switch to use ubuntu-20.04 runner.

Modifications

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@lhotari lhotari added this to the 4.0.0 milestone Sep 19, 2024
@lhotari lhotari self-assigned this Sep 19, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Sep 19, 2024
@lhotari lhotari requested a review from dlg99 September 19, 2024 06:29
@lhotari lhotari merged commit a875deb into apache:master Sep 19, 2024
58 of 60 checks passed
lhotari added a commit that referenced this pull request Sep 19, 2024
lhotari added a commit that referenced this pull request Sep 19, 2024
lhotari added a commit that referenced this pull request Sep 19, 2024
lhotari added a commit that referenced this pull request Sep 19, 2024
lhotari added a commit that referenced this pull request Sep 19, 2024
lhotari added a commit that referenced this pull request Sep 19, 2024
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Sep 19, 2024
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants