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

failed to run e2e_test/streaming/now.slt #17439

Closed
lmatz opened this issue Jun 25, 2024 · 2 comments
Closed

failed to run e2e_test/streaming/now.slt #17439

lmatz opened this issue Jun 25, 2024 · 2 comments
Labels
type/bug Something isn't working
Milestone

Comments

@lmatz
Copy link
Contributor

lmatz commented Jun 25, 2024

Describe the bug

# In madsim test, we cannot spawn process.
skipif madsim
# In parallel test, we cannot get the DB name.
skipif parallel
# TODO: Later if we introduce a new `now()`-like function that returns the time of statement execution,
# we'll be able to directly create MV without `./risedev psql` and so that we can remove these `skipif`.
system ok
./risedev psql -c "
create materialized view mv as
select * from generate_series(
    to_timestamp($(date +%s)) - interval '10 second',
    now(),
    interval '1 second'
);
"

skipif madsim
skipif parallel
statement ok
flush;

skipif madsim
skipif parallel
query I
select count(*) >= 10 from mv;
----
t

Error message/log

Caused by:
2024-06-24 16:16:39 UTC	    query failed: db error: ERROR: Failed to run the query
2024-06-24 16:16:39 UTC	
2024-06-24 16:16:39 UTC	    Caused by these errors (recent errors listed first):
2024-06-24 16:16:39 UTC	      1: Catalog error
2024-06-24 16:16:39 UTC	      2: table or source not found: mv
2024-06-24 16:16:39 UTC	
2024-06-24 16:16:39 UTC	    [SQL] select count(*) >= 10 from mv;
2024-06-24 16:16:39 UTC	    at e2e_test/streaming/now.slt:24


### To Reproduce

_No response_

### Expected behavior

_No response_

### How did you deploy RisingWave?

_No response_

### The version of RisingWave

_No response_

### Additional context

https://buildkite.com/risingwavelabs/main-cron/builds/2682#

This buildkite test's name is called "end-to-end test (parallel, in-memory) (release)"

Is the test expected to be skipped due to `skipif parallel`?
@lmatz lmatz added the type/bug Something isn't working label Jun 25, 2024
@github-actions github-actions bot added this to the release-1.10 milestone Jun 25, 2024
@BugenZhao
Copy link
Member

Is this fixed by #17435? @stdrc

@stdrc
Copy link
Member

stdrc commented Jun 25, 2024

Is this fixed by #17435? @stdrc

Yes, should be.

@stdrc stdrc closed this as completed Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants