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

acceptance: TestCompose failed [short write] #139049

Open
github-actions bot opened this issue Jan 14, 2025 · 1 comment
Open

acceptance: TestCompose failed [short write] #139049

github-actions bot opened this issue Jan 14, 2025 · 1 comment
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. P-3 Issues/test failures with no fix SLA T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)

Comments

@github-actions
Copy link

github-actions bot commented Jan 14, 2025

acceptance.TestCompose failed on master @ 202b5594e219758f4db757498847b95fcc7fc1d1:

        python_1     | -rw-r--r-- 1 roach roach 1151 Jan 14 17:25 ca.crt
        python_1     | -rw------- 1 roach roach 1679 Jan 14 17:25 ca.key
        python_1     | -rw-r--r-- 1 roach roach 1237 Jan 14 17:25 client.root.crt
        python_1     | -rw------- 1 roach roach 1675 Jan 14 17:25 client.root.key
        python_1     | -rw------- 1 roach roach 1217 Jan 14 17:25 client.root.key.pk8
        python_1     | -rw------- 1 roach roach 2477 Jan 14 17:25 client.root.pk12
        python_1     | -rw-r--r-- 1 roach roach 1253 Jan 14 17:25 client.testuser.crt
        python_1     | -rw------- 1 roach roach 1679 Jan 14 17:25 client.testuser.key
        python_1     | -rw------- 1 roach roach 1218 Jan 14 17:25 client.testuser.key.pk8
        python_1     | -rw-r--r-- 1 roach roach 1204 Jan 14 17:25 node.crt
        python_1     | -rw------- 1 roach roach 1675 Jan 14 17:25 node.key
        python_1     | Environment:
        python_1     | PYTHONUNBUFFERED=1
        python_1     | HOSTNAME=4f40d9e4b2f1
        python_1     | PYTHON_VERSION=3.10.15
        python_1     | PGPORT=26257
        python_1     | PGSSLMODE=require
        python_1     | PWD=/code
        python_1     | HOME=/home/roach
        python_1     | LANG=C.UTF-8
        python_1     | GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
        python_1     | SHLVL=1
        python_1     | PGHOST=cockroach
        python_1     | PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
        python_1     | _=/usr/bin/env
        python_1     | Creating a k5s token...
        python_1     | Password for [email protected]: 
        python_1     | Creating test user
        python_1     | CREATE ROLE
        python_1     | Configuring the HBA rule prior to running the test...
        python_1     | SET CLUSTER SETTING
        python_1     | Testing the django connection...
        python_1     | # This is an auto-generated Django model module.
        python_1     | # You'll have to do the following manually to clean this up:
        python_1     | #   * Rearrange models' order
        python_1     | #   * Make sure each model has one field with primary_key=True
        python_1     | #   * Make sure each ForeignKey and OneToOneField has ``on_delete`` set to the desired behavior
        python_1     | #   * Remove ``managed = False`` lines if you wish to allow Django to create, modify, and delete the table
        python_1     | # Feel free to rename the models, but don't rename db_table values or field names.
        python_1     | from django.db import models
        Aborting on container exit...
         Container gss_python_1  Stopping
         Container gss_python_1  Stopped
         Container gss_cockroach_1  Stopping
         Container gss_cockroach_1  Stopped
         Container gss_kdc_1  Stopping
         Container gss_kdc_1  Stopped
        
    compose_test.go:95: short write
    --- FAIL: TestCompose/ComposeGSSPython (40.89s)

Parameters:

  • attempt=1
  • run=1
  • shard=11
Help

See also: How To Investigate a Go Test Failure (internal)

/cc @cockroachdb/sql-foundations

This test on roachdash | Improve this report!

Jira issue: CRDB-46487

@github-actions github-actions bot added branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) labels Jan 14, 2025
@rafiss
Copy link
Collaborator

rafiss commented Jan 14, 2025

error is compose_test.go:95: short write coming from here:

cmd := exec.Command(
"docker",
"compose",
// NB: Using --compatibility here in order to preserve compose V1 hostnames
// (with underscores) instead of V2 hostnames (with -), because the
// hostnames are hardcoded in the Kerberos keys.
"--compatibility",
"--ansi=never",
"-f", path,
"up",
"--force-recreate",
"--build",
"--exit-code-from", exitCodeFrom,
)
var buf bytes.Buffer
if testing.Verbose() {
cmd.Stdout = io.MultiWriter(&buf, os.Stdout)
cmd.Stderr = io.MultiWriter(&buf, os.Stderr)
} else {
cmd.Stdout = &buf
cmd.Stderr = &buf
}
if err := cmd.Run(); err != nil {
t.Log(buf.String())
t.Fatal(err)
}

Let's monitor this one to see if it continues to flake.

@rafiss rafiss changed the title acceptance: TestCompose failed acceptance: TestCompose failed [short write] Jan 14, 2025
@exalate-issue-sync exalate-issue-sync bot added P-3 Issues/test failures with no fix SLA and removed release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. P-3 Issues/test failures with no fix SLA T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
None yet
Development

No branches or pull requests

1 participant