Skip to content

Flaky-test: org.apache.pulsar.tests.integration.presto.TestBasicPresto.testForSchema #16975

@AnonHxy

Description

@AnonHxy

org.apache.pulsar.tests.integration.presto.TestBasicPresto.testForSchema is flaky. It fails sporadically.

example failure

  2022-08-07T15:28:25,634 - ERROR - [docker-java-stream--278407304:DockerUtils$2@279] - DOCKER.exec(pulsar-sql-test-presto-worker:/bin/bash -c /pulsar/bin/pulsar sql --execute 'select * from pulsar."public/default"."schema_key_value_separated_test_ghyiy" order by entryid;'): completed with non zero return code: 1
  stdout: 
  stderr: Query 20220807_152823_00003_wcx2v failed: Decoding avro record failed.

I find this issue #9704 has related on the test failure. And I can reproduce it on my Mac if I follow the steps, even build from master branch.

What confused me is that this test can pass on other PR, e.g,: success test, but always fail on example failure, and always fail on Mac when I try to reproduce it.

I'll appreciate it very much if anyone can explain it.

error stack here.
image

query sql is :

select * from pulsar."public/default"."kv-schema-test2";

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions