Skip to content

CircleCI jobs for RocksJava binaries using the normal docker build env - #7876

Open
adamretter wants to merge 9 commits into
meta:mainfrom
adamretter:circle-docker-rocksjava
Open

adamretter wants to merge 9 commits into
meta:mainfrom
adamretter:circle-docker-rocksjava

Conversation

@adamretter

@adamretter adamretter commented Jan 17, 2021 •

Copy link
Copy Markdown
Collaborator

Requires #9500

@pdillinger

Copy link
Copy Markdown
Contributor

Can you argue for (justify) testing different distributions? (Burning CircleCI credits)

@jay-zhuang

Copy link
Copy Markdown
Contributor

Can you argue for (justify) testing different distributions? (Burning CircleCI credits)

maybe a candidate for nightly build: https://github.com/facebook/rocksdb/blob/d561432de89e684129d6db939f9a77d7ed0b0ba0/.circleci/config.yml#L816-L826

@adamretter

Copy link
Copy Markdown
Collaborator Author

@pdillinger Sure of course! I often find when I test each tag that there are regressions whereby RocksDB no longer compiles on the platforms we release for, I then have to fix those for each release and send PRs. The idea of this is to test on the actual platforms we release for, and prevent regressions from occurring at their source.

@pdillinger

Copy link
Copy Markdown
Contributor

@adamretter I would expect pass/fail to be almost entirely dependent on platform + compiler + compiler version, not distro, glibc version, etc. What compiler+version do these use? Sell it to me that way?

@jay-zhuang Not a bad idea. I don't think I've ever seen non-shm failing uniquely, so I would nominate those to go into nightly

@adamretter

adamretter commented Dec 24, 2021 •

Copy link
Copy Markdown
Collaborator Author

What compiler+version do these use? Sell it to me that way?

@pdillinger these are the platforms that this would add:

  • CentOS 6
    • x86_64 / gcc 7.3.1 20180303
    • i386 / gcc 4.8.2 20140120
  • Alpine 3.8.5
    • x86_64 / gcc 6.4.0
    • i386 / gcc 6.4.0

@pdillinger
pdillinger self-requested a review January 4, 2022 21:38
@pdillinger

Copy link
Copy Markdown
Contributor

OK, if you get this into a shippable state, I'm ok with it. We can consider moving lower-value builds to "nightly" after this lands.

@adamretter
adamretter force-pushed the circle-docker-rocksjava branch from 1d199ce to ddfc6c6 Compare January 5, 2022 00:07
pdillinger added a commit to pdillinger/rocksdb that referenced this pull request Jan 24, 2022
Summary: ... based loosely on meta#7876

Test Plan: this is the test
@adamretter
adamretter force-pushed the circle-docker-rocksjava branch from ddfc6c6 to 0b0103b Compare February 16, 2022 10:59
@adamretter
adamretter marked this pull request as ready for review February 16, 2022 11:06
@adamretter

adamretter commented Feb 16, 2022 •

Copy link
Copy Markdown
Collaborator Author

@pdillinger I believe this one is now ready (albeit it needs #9500 merged first to have it pass ci/circleci: build-linux-centos-x86-java and then CI re-run)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please resolve conflicts around here. And I recommend double-quotes rather than single-quotes so that $J can be expanded in the current shell rather than subshell, so not depending on J being exported (which it only is if it's exported from the caller of this script)

@adamretter
adamretter force-pushed the circle-docker-rocksjava branch from 002f1c5 to d54e667 Compare February 21, 2022 12:41
@pdillinger

Copy link
Copy Markdown
Contributor

Not passing

Java version is javac 1.7.0_281, minimum required version is 8

@adamretter
adamretter force-pushed the circle-docker-rocksjava branch from d54e667 to b3542c4 Compare March 28, 2022 18:48
@adamretter
adamretter force-pushed the circle-docker-rocksjava branch from a480a20 to c3fe865 Compare March 29, 2022 23:25

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants