Skip to content

build_and_upload_contract CI job fails #273

@ethanfrey

Description

@ethanfrey

This started with v0.6.0-beta1 which was the first release to include cw1155. However, the issue doesn't seem tied directly to this contract. See https://app.circleci.com/pipelines/github/CosmWasm/cosmwasm-plus/1101/workflows/7db524d2-1c96-4f5c-b216-858c2af3ba08/jobs/19391 (I re-ran this job and got the same results).

It runs normally (in ~8 minutes) to compile all contracts and start optimizing. Then it just hangs for > 10 minutes at this point:

Building contracts/cw721-base ...
   Compiling cw721 v0.6.0-beta1 (/code/packages/cw721)
   Compiling cw721-base v0.6.0-beta1 (/code/contracts/cw721-base)
    Finished release [optimized] target(s) in 26.00s
done.
Optimizing artifacts in workspace...Optimizing ../target/wasm32-unknown-unknown/release/deps/cw1155_base.wasm...done.
Optimizing ../target/wasm32-unknown-unknown/release/deps/cw1_subkeys.wasm...done.
Optimizing ../target/wasm32-unknown-unknown/release/deps/cw1_whitelist.wasm...done.
Optimizing ../target/wasm32-unknown-unknown/release/deps/cw20_atomic_swap.wasm...done.

Too long with no output (exceeded 10m0s): context deadline exceeded

We could increase the timeout but I don't think that is the problem as no job should take > 10 minutes to optimize.

This is what we see when running locally:

Optimizing ../target/wasm32-unknown-unknown/release/deps/cw20_atomic_swap.wasm...done.
Optimizing ../target/wasm32-unknown-unknown/release/deps/cw20_base.wasm...done.
# and much more...

So, it hangs while optimizing cw20_base.wasm?? Maybe some memory/cpu issue in CI? (As it works fine locally)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions