ethereum / consensus-spec-tests

Common tests for the Ethereum proof-of-stake consensus layer
MIT License
69 stars 22 forks source link

Git LFS usage quota #12

Open holiman opened 4 years ago

holiman commented 4 years ago

Hi, The ethereum organization is reaching the max quota for Git LFS usage

You’ve used 100% of your data plan for Git LFS on the organization ethereum. Please purchase additional data packs to cover your bandwidth and storage usage:

The quota is not the size, but the bandwidth:

Screenshot_2019-08-13 Build software better, together

When I looked into it, it appears that only this particular repo uses LFS, due to this setting: https://github.com/ethereum/eth2.0-spec-tests/blob/master/.gitattributes

I'm not quite sure what this integration does, nor how LFS works, but is this really something that is needed?

Please advice if we need this, because if we do we'll have to purchase additional data packs. cc @jpitts

protolambda commented 4 years ago

The problem here is that we are hosting mainnet-configuration tests, which are quite large. Too large really for a normal git repository. But we still wanted to version them. And then multiple eth2 implementer teams are downloading them, some of which didn't even care to cache them in their CI unfortunately. So we reached the free limit relatively quick. Things should be better with the latest refactor, since individual identical tests between versions do not have to be redownloaded anymore (since they are split up now, not big suite files anymore). Alternatively, we could buy a little data pack, if it's not too much (less than a single work hour for the rest of the year?)

jpitts commented 4 years ago

Each data pack is $5 per month, I have purchased two. We will monitor this and will reduce it if this refactor does manage to bring the bandwidth usage down.

(sorry if I jumped the gun, LMK if I should cancel it for next month)

holiman commented 4 years ago

... aaand we hit the new (bumped) limit within a couple of hours... I think some other solution is needed

protolambda commented 4 years ago

Ah that's crazy, I wonder if one of the teams is still pulling in the complete repository every CI run. Will check with them, and see what others think. I hope the mainnet size tests can stay, otherwise we cut them.

djrtwo commented 4 years ago

I expect we might hit the 100GB limit sometime in the future, but because we are currently only using 10GB, we are needlessly introducing these bandwidth constraints on the repo with git-lfs.

Shall we downgrade to normal repo for the time being?

djrtwo commented 4 years ago

Never mind, I think a normal repo would have worse bandwidth restrictions. Looks like all of the teams are now caching for CI. Hope that works. Otherwise need to look into something else.