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

Update Python versions, pin Ubuntu and service database images #256

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

saaj
Copy link
Contributor

@saaj saaj commented Aug 23, 2023

Summary

  • Pin CI database service images
  • Pin Ubuntu version to 22.04
  • Tidy up supported Python versions: remove EOL 3.6 and 3.7, add 3.11, bump PyPy, remove Pyston
  • Target 0.10.0 release

Motivation

On #255 CI broken because one of service containers (mariadb) failed to start. Exact reason
isn't clear from the messages.

Log
2023-08-23 13:12:50 0 [Note] Starting MariaDB 11.0.3-MariaDB-1:11.0.3+maria~ubu2204 source revision 70905bcb9059dcc40db3b73bc46a36c7d40f1e10 as process 96
   2023-08-23 13:12:48+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.0.3+maria~ubu2204 started.
   2023-08-23 13:12:50 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
   2023-08-23 13:12:49+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
   2023-08-23 13:12:50 0 [Note] InnoDB: Using transactional memory
   2023-08-23 13:12:50 0 [Note] InnoDB: Number of transaction pools: 1
   2023-08-23 13:12:50 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
   2023-08-23 13:12:50 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
   2023-08-23 13:12:50 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
   2023-08-23 13:12:50 0 [Note] InnoDB: Completed initialization of buffer pool
   2023-08-23 13:12:50 0 [Note] InnoDB: File system buffers for log disabled (block size=4096 bytes)
   2023-08-23 13:12:50 0 [Note] InnoDB: End of log at LSN=46125
   2023-08-23 13:12:50 0 [Note] InnoDB: Opened 3 undo tablespaces
   2023-08-23 13:12:50 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
   2023-08-23 13:12:49+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.0.3+maria~ubu2204 started.
   2023-08-23 13:12:50 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
   2023-08-23 13:12:50 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
   2023-08-23 13:12:49+00:00 [Note] [Entrypoint]: Initializing database files
   
   
   PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
   To do so, start the server, then issue the following command:
   
   '/usr/bin/mariadb-secure-installation'
   
   which will also give you the option of removing the test
   databases and anonymous user created by default.  This is
   strongly recommended for production servers.
   
   See the MariaDB Knowledgebase at https://mariadb.com/kb
   
   Please report any problems at https://mariadb.org/jira
   
   The latest information about MariaDB is available at [https://mariadb.org/.](https://mariadb.org/)
   
   Consider joining MariaDB's strong and vibrant community:
   https://mariadb.org/get-involved/
   
   2023-08-23 13:12:50+00:00 [Note] [Entrypoint]: Database files initialized
   2023-08-23 13:12:50 0 [Note] InnoDB: log sequence number 46125; transaction id 14
   2023-08-23 13:12:50 0 [Note] Plugin 'FEEDBACK' is disabled.
   2023-08-23 13:12:50 0 [Note] Plugin 'wsrep-provider' is disabled.
  Warning: 23 13:12:50 0 [Warning] 'user' entry 'root@6fe2b5d613e9' ignored in --skip-name-resolve mode.
  Warning: 23 13:12:50 0 [Warning] 'proxies_priv' entry '@% root@6fe2b5d613e9' ignored in --skip-name-resolve mode.
   2023-08-23 13:12:50 0 [Note] mariadbd: ready for connections.
   Version: '11.0.3-MariaDB-1:11.0.3+maria~ubu2204'  socket: '/run/mysqld/mysqld.sock'  port: 0  mariadb.org binary distribution
   2023-08-23 13:12:52 0 [Note] mariadbd (initiated by: unknown): Normal shutdown
   2023-08-23 13:12:52 0 [Note] InnoDB: FTS optimize thread exiting.
   2023-08-23 13:12:52 0 [Note] InnoDB: Starting shutdown...
   2023-08-23 13:12:52 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
   2023-08-23 13:12:52 0 [Note] InnoDB: Buffer pool(s) dump completed at 230823 13:12:52
   2023-08-23 13:12:52 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
   2023-08-23 13:12:50+00:00 [Note] [Entrypoint]: Starting temporary server
   2023-08-23 13:12:50+00:00 [Note] [Entrypoint]: Waiting for server startup
   2023-08-23 13:12:52 0 [Note] InnoDB: Shutdown completed; log sequence number 47375; transaction id 15
   2023-08-23 13:12:52 0 [Note] mariadbd: Shutdown complete
   2023-08-23 13:12:51+00:00 [Note] [Entrypoint]: Temporary server started.
   2023-08-23 13:12:52+00:00 [Note] [Entrypoint]: Creating database test
   2023-08-23 13:12:52+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation)
   
   2023-08-23 13:12:52+00:00 [Note] [Entrypoint]: Stopping temporary server
   2023-08-23 13:12:52+00:00 [Note] [Entrypoint]: Temporary server stopped
   
   2023-08-23 13:12:52+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up.
   
   
   2023-08-23 13:12:53 0 [Note] Starting MariaDB 11.0.3-MariaDB-1:11.0.3+maria~ubu2204 source revision 70905bcb9059dcc40db3b73bc46a36c7d40f1e10 as process 1
   2023-08-23 13:12:53 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
   2023-08-23 13:12:53 0 [Note] InnoDB: Using transactional memory
   2023-08-23 13:12:53 0 [Note] InnoDB: Number of transaction pools: 1
   2023-08-23 13:12:53 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
   2023-08-23 13:12:53 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
   2023-08-23 13:12:53 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
   2023-08-23 13:12:53 0 [Note] InnoDB: Completed initialization of buffer pool
   2023-08-23 13:12:53 0 [Note] InnoDB: File system buffers for log disabled (block size=4096 bytes)
   2023-08-23 13:12:53 0 [Note] InnoDB: End of log at LSN=47375
   2023-08-23 13:12:53 0 [Note] InnoDB: Opened 3 undo tablespaces
   2023-08-23 13:12:53 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
   2023-08-23 13:12:53 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
   2023-08-23 13:12:53 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
   2023-08-23 13:12:53 0 [Note] InnoDB: log sequence number 47375; transaction id 14
   2023-08-23 13:12:53 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
   2023-08-23 13:12:53 0 [Note] Plugin 'FEEDBACK' is disabled.
   2023-08-23 13:12:53 0 [Note] Plugin 'wsrep-provider' is disabled.
   2023-08-23 13:12:53 0 [Note] Server socket created on IP: '0.0.0.0'.
   2023-08-23 13:12:53 0 [Note] Server socket created on IP: '::'.
   2023-08-23 13:12:53 0 [Note] InnoDB: Buffer pool(s) load completed at 230823 13:12:53
   2023-08-23 13:12:53 0 [Note] mariadbd: ready for connections.
   Version: '11.0.3-MariaDB-1:11.0.3+maria~ubu2204'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
  Error: Failed to initialize container mariadb

But because tests databases aren't pinned that likely has happened due to the image update.

@saaj saaj force-pushed the dependency_cleanup branch 2 times, most recently from 184ff54 to acc8c81 Compare August 23, 2023 13:42
@saaj saaj force-pushed the dependency_cleanup branch from acc8c81 to 02c5032 Compare August 23, 2023 13:54
@saaj saaj changed the title Update Pythons, pin Ubuntu and service database images Update Python versions, pin Ubuntu and service database images Aug 23, 2023
@saaj saaj requested a review from eric-eclecticiq August 23, 2023 15:25
@saaj saaj merged commit 0bf617e into master Aug 23, 2023
@saaj saaj deleted the dependency_cleanup branch August 23, 2023 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants