Skip to content

ci: bump libtinfo5 to 6.3-2ubuntu0.2 to unbreak dependency install - #240

Open
fasterrt wants to merge 1 commit into
release-21.0-githubfrom
fix-libtinfo5-ci
Open

ci: bump libtinfo5 to 6.3-2ubuntu0.2 to unbreak dependency install#240
fasterrt wants to merge 1 commit into
release-21.0-githubfrom
fix-libtinfo5-ci

Conversation

@fasterrt

Copy link
Copy Markdown

All 57 cluster endtoend jobs and the mysql57 / evalengine_mysql57 unit test jobs currently fail on release-21.0-github during Get dependencies:

dpkg-deb: error: 'libtinfo5_6.3-2ubuntu0.1_amd64.deb' is not a Debian format archive
dpkg: error processing archive libtinfo5_6.3-2ubuntu0.1_amd64.deb (--install):
 dpkg-deb --control subprocess returned error exit status 2

Cause

Ubuntu superseded libtinfo5 6.3-2ubuntu0.1 with 6.3-2ubuntu0.2 and dropped the old file from the archive pool. The pinned URL now returns an HTML 404, and because the step uses curl -L -O (no --fail), curl writes that HTML page to libtinfo5_6.3-2ubuntu0.1_amd64.deb and exits 0. dpkg -i then fails on the HTML.

This is unrelated to any code change — it is a time-bomb that went off when the archive was updated.

$ curl -sIL .../libtinfo5_6.3-2ubuntu0.1_amd64.deb   # pinned version
http_code=404 size=1807 type=text/html

$ curl -sIL .../libtinfo5_6.3-2ubuntu0.2_amd64.deb   # published version
http_code=200 size=99990 type=application/octet-stream

$ file libtinfo5_6.3-2ubuntu0.2_amd64.deb
libtinfo5_6.3-2ubuntu0.2_amd64.deb: Debian binary package (format 2.0)

The 1807-byte HTML body matches the failing job logs exactly. Only 6.2-0ubuntu2, 6.2-0ubuntu2.1, 6.3-2 and 6.3-2ubuntu0.2 remain in pool/universe/n/ncurses/.

Change

Bumped the version in test/templates/cluster_endtoend_test.tpl and test/templates/unit_test.tpl, then regenerated with make generate_ci_workflows.

The 57 generated workflow files contain no change other than those two lines, so the diff is mechanical:

$ git diff -U0 | grep -E "^[+-]" | grep -v "^[+-][+-][+-]" | sort -u
-        curl -L -O .../libtinfo5_6.3-2ubuntu0.1_amd64.deb
+        curl -L -O .../libtinfo5_6.3-2ubuntu0.2_amd64.deb
-        sudo dpkg -i libtinfo5_6.3-2ubuntu0.1_amd64.deb
+        sudo dpkg -i libtinfo5_6.3-2ubuntu0.2_amd64.deb

libtinfo5 is only needed for MySQL 5.7 builds; this keeps that path working without touching anything else.

Found while investigating red checks on #238.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Every cluster endtoend job and the mysql57 unit test jobs fail during
'Get dependencies':

    dpkg-deb: error: 'libtinfo5_6.3-2ubuntu0.1_amd64.deb' is not a
    Debian format archive

Ubuntu superseded 6.3-2ubuntu0.1 with 6.3-2ubuntu0.2 and removed the old
file from the pool, so the URL now returns a 1807-byte HTML 404 page.
'curl -L -O' happily writes that page to disk, and dpkg then chokes on
it.

Bump to the version that is actually published:

    $ curl -sIL .../libtinfo5_6.3-2ubuntu0.2_amd64.deb
    http_code=200 size=99990 type=application/octet-stream
    $ file libtinfo5_6.3-2ubuntu0.2_amd64.deb
    Debian binary package (format 2.0)

Edited test/templates/{cluster_endtoend_test,unit_test}.tpl and
regenerated with 'make generate_ci_workflows'; the 57 generated workflow
files carry no other change.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings August 28, 2026 17:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

Review tier: Balanced
Findings: None

What changed in this PR

Updates the MySQL 5.7 CI dependency to the available libtinfo5 package, restoring dependency installation across generated workflows.

Changes:

  • Bumps libtinfo5 from 6.3-2ubuntu0.1 to 6.3-2ubuntu0.2 in both templates.
  • Regenerates all 57 affected GitHub 操作 workflows consistently.
File Description
test/​templates/​cluster_endtoend_test.tpl Updates the cluster-test dependency source.
test/​templates/​unit_test.tpl Updates the unit-test dependency source.
.github/​workflows/​cluster_endtoend_12.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_13.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_15.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_18.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_21.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_backup_pitr.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_backup_pitr_mysqlshell.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_ers_prs_newfeatures_heavy.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_mysql80.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_mysql_server_vault.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_onlineddl_revert.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_onlineddl_scheduler.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_onlineddl_vrepl.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_onlineddl_vrepl_stress.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_onlineddl_vrepl_stress_suite.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_onlineddl_vrepl_suite.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_schemadiff_vrepl.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_tabletmanager_consul.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_tabletmanager_tablegc.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_tabletmanager_throttler_topo.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_topo_connection_cache.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vreplication_across_db_versions.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vreplication_basic.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vreplication_cellalias.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vreplication_copy_parallel.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vreplication_foreign_key_stress.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vreplication_mariadb_to_mysql.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vreplication_migrate_vdiff2_convert_tz.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vreplication_multi_tenant.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vreplication_partial_movetables_and_materialize.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vreplication_v2.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vstream.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtbackup.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtctlbackup_sharded_clustertest_heavy.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_concurrentdml.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_foreignkey_stress.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_gen4.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_general_heavy.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_godriver.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_partial_keyspace.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_queries.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_readafterwrite.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_reservedconn.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_schema.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_schema_tracker.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_tablet_healthcheck_cache.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_topo.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_topo_consul.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_topo_etcd.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_transaction.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_unsharded.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_vindex_heavy.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtgate_vschema.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vtorc.yml Applies the regenerated package pin.
.github/​workflows/​cluster_endtoend_vttablet_prscomplex.yml Applies the regenerated package pin.
.github/​workflows/​unit_test_evalengine_mysql57.yml Updates the generated MySQL 5.7 dependency.
.github/​workflows/​unit_test_mysql57.yml Updates the generated MySQL 5.7 dependency.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

注册 for free to join this conversation on GitHub. Already have an account? 登录 to comment

标签

None yet

项目

None yet

Development

Successfully merging this pull request may close these issues.

2 participants