moses icon indicating copy to clipboard operation
moses copied to clipboard

Build, or test failures when using ubuntu:18.04 docker image

Open amebel opened this issue 4 years ago • 6 comments

After updating opencog/opencog-deps:latest to ubuntu:18.04 and make python3 the default python version, I get

  • Test failure = https://circleci.com/gh/opencog/moses/113
  • Build failure = https://circleci.com/gh/opencog/cogutil/354

@ngeiswei Do you have any clue why this may be?

amebel avatar Jul 09 '19 12:07 amebel

I don't think I've ever used Ubuntu 18.04, will install it on a mv and see.

@AmeBel, are you using using a specific ocpkg command to build moses etc?

ngeiswei avatar Jul 09 '19 13:07 ngeiswei

I haven't tested it recently but octool has -m option see https://github.com/opencog/docker/blob/master/opencog/moses/Dockerfile

amebel avatar Jul 09 '19 14:07 amebel

@AmeBel , I tried on Ubuntu 18.04 and I'm not getting any of these errors.

ngeiswei avatar Jul 10 '19 08:07 ngeiswei

@AmeBel , @stellarspot experienced build failure similar to https://circleci.com/gh/opencog/cogutil/354 it looks like "out of memory" error. @stellarspot, could you please comment.

vsbogd avatar Jul 10 '19 14:07 vsbogd

The message "c++: internal compiler error: Killed (program cc1plus)" in the cogutil CircleCI build could mean that there are no enough memory or swap space on the system and it randomly kills processes to make more space.

I was able to fix that just switch makes jobs to 2 during moses and as-moses building:

      - run:
          name: Build
          command: cd build && make -j2

cogutil/.circleci/config.yml#L109 cogutil/.circleci/config.yml#L145

stellarspot avatar Jul 10 '19 14:07 stellarspot

Here is the pull request for "c++: internal compiler error: Killed (program cc1plus)" error: https://github.com/opencog/cogutil/pull/180

stellarspot avatar Jul 10 '19 14:07 stellarspot