AnzoGraph无法在带有Ubuntu Focal VM的Travis CI构建中使用docker-compose启动

mm9b1k5b  于 2023-05-06  发布在  Docker
关注(0)|答案(1)|浏览(115)

我正在尝试启动一个AnzoGraph容器,作为实验性Travis CI作业的一部分。当我在本地(在MacOS上)测试时,一切都很好。实验脚本使用以下docker-compose启动AnzoGraph:

version: '3'

services:

  anzograph:
    image: cambridgesemantics/anzograph:2.5.15
    ports:
      - '8080:8080'
      - '7070:7070'
      - '8443:8443'
    volumes:
      - ./data:/opt/anzograph/persistence/
    shm_size: 8g

问题是,当我尝试在Travis CI构建中运行此命令时,它无法启动AnzoGraph。下面是运行Travis CI构建的VM的操作系统版本:

Operating System Details
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.5 LTS
Release:    20.04
Codename:   focal

下面是我可以通过docker-compose日志捕获的日志:

Pulling anzograph (cambridgesemantics/anzograph:2.5.15)...
Creating anzograph_anzograph_1 ... 
 cambridgesemantics/anzograph\nDigest: sha256:6596a6c064bf6b332d5c984f7ddee489f4405e354b45676346f60af37a14af04\nStatus: Downloaded newer image for cambridgesemantics/anzograph:2.5.15\n'
b'Attaching to anzograph_anzograph_1\n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0001-anzograph-pre-requisites.sh\n\x1b[36manzograph_1  |\x1b[0m INFO: detected 31392516 Bytes of total memory\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0002-rsync-data.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Synced data for AnzoGraph, activation done\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Synced data for AnzoGraph, activation done\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Synced data for AnzoGraph, activation done\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0003-anzograph-license-injection.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: No prior license activation found, Continue setup\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: no BYOL\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0004-anzograph-eula-accept.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: CSI Product EULA accepted\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0005-anzograph-set-cluster-ipaddrs.sh\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0006-anzograph-settings-configuration.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Configuring AnzoGraph database settings.\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: AnzoGraph settings profile standalone\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: applying AnzoGraph settings defined by profile standalone\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0007-anzograph-persistent-dir-config.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: No prior persistence directory activation found, Continue setup\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Persistence directory not given, taking default: /opt/anzograph/persistence\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0010-anzograph-load-ui-credentials.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Activate "admin" password: ok \n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Activate "query" password: ok \n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0011-anzograph-load-grpc-credentials.sh\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0015-check-metadata-reachability.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Probing for metadata service at 169.254.169.254:80\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Metadata service not reachable at 169.254.169.254:80\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0016-anzograph-udx-logger-config.sh\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0020-anzograph-ctrl-plane-activation.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: AnzoGraph control plane is not started\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Starting AnzoGraph control plane\\n\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: AnzoGraph control plane startup triggered\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Wait for AnzoGraph control plane to come up\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: port 5600 at localhost is up\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0030-anzograph-db-activation.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: AnzoGraph database is not started\n\x1b[36manzograph_1  |\x1b[0m System error. Contact Cambridge Semantics Support. Reference: 0 == madvise(base, acquireSize_, MADV_ACQUIRE): Invalid argument\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Starting AnzoGraph databaseStarting AnzoGraph...\n\x1b[36manzograph_1  |\x1b[0m Error on Node 0 (IP:127.0.0.1) - detected startup failed: Database did not start\n\x1b[36manzograph_1  |\x1b[0m System error. Contact Cambridge Semantics Support. Reference: startup: Process did not succeed - System error. Contact Cambridge Semantics Support. Reference: 0 == madvise(base, acquireSize_, MADV_ACQUIRE): Invalid argument\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Logs from /tmp/azgmgrd.log:\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:23.964072Z: [65:65] Reading /opt/anzograph/config/ip_addrs.conf\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:23.964929Z: [65:65] AzgState: NotStarted \n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:23.965028Z: [65:65] =============== AnzoGraph 2.5.15.r202303241755 #b74ec7f67be4251a9ec7881b12b94e0e2cc40fef ===============\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:23.965040Z: [65:65] System manager startup\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:23.966113Z: [66:67] Starting DB monitoring ....\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:23.966205Z: [66:67] g_scan_db_pids_file: false\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:23.968243Z: [66:66] Preparing for secure connections\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:23.973356Z: [66:66] Sysmgrd 0 listening on 0.0.0.0:5600\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.039447Z: [66:71] StartGqe request on node 0\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.039486Z: [66:71] waitfor_sibling_mgrs\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.039506Z: [66:71] GetStatus request on node 0\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.041430Z: [66:71] AzgState: Starting \n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.041493Z: [66:71] Crash DIR name: 735360204\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.041824Z: [66:71] Last sysmrd start time: 0\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.041835Z: [66:71] Time /opt/anzograph/config/settings.conf modified: 735360200\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.041848Z: [66:71] Sending settings.conf to /opt/anzograph/config on 0 compute nodes\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.042096Z: [66:86] Launched /opt/anzograph/bin/azgd -node 0 -time 735360204 -errpipe /tmp/sbxbooterr.np0 -internal /opt/anzograph/internal -pidfile /tmp/azgpids.log  \n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.096817Z: [66:71] \n\x1b[36manzograph_1  |\x1b[0m   -----------------------------------------------\n\x1b[36manzograph_1  |\x1b[0m   error:     Database did not start\n\x1b[36manzograph_1  |\x1b[0m              System error. Contact Cambridge Semantics Support. Reference: startup: Process did not succeed - System error. Contact Cambridge Semantics Support. Reference: 0 == madvise(base, acquireSize_, MADV_ACQUIRE): Invalid argument\n\x1b[36manzograph_1  |\x1b[0m   code:      1030\n\x1b[36manzograph_1  |\x1b[0m   entity:    detected startup failed\n\x1b[36manzograph_1  |\x1b[0m   location:  quiet_dbstart() in gsysmgrd.cpp:1019\n\x1b[36manzograph_1  |\x1b[0m   time:      735360204096420 2023-04-21T02:43:24.096420Z\n\x1b[36manzograph_1  |\x1b[0m   pid:       66\n\x1b[36manzograph_1  |\x1b[0m   thread:    86\n\x1b[36manzograph_1  |\x1b[0m   -----------------------------------------------\n\x1b[36manzograph_1  |\x1b[0m ERROR /docker-entrypoint.sh[12]: Failed to start AnzoGraph database\n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0001-anzograph-pre-requisites.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Directory exists\n\x1b[36manzograph_1  |\x1b[0m INFO: detected 31392516 Bytes of total memory\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0002-rsync-data.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Activation of etc not required\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Activation of config not required\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Activation of lib/udx not required\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0003-anzograph-license-injection.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: License activation is already done\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0004-anzograph-eula-accept.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: CSI Product EULA accepted\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0005-anzograph-set-cluster-ipaddrs.sh\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0006-anzograph-settings-configuration.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: AnzoGraph database settings are already configured\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0007-anzograph-persistent-dir-config.sh\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0010-anzograph-load-ui-credentials.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Persistent directory activation is already done\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Activate "admin" password: ok \n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Activate "query" password: ok \n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0011-anzograph-load-grpc-credentials.sh\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0015-check-metadata-reachability.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Check for metadata service skipped\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0016-anzograph-udx-logger-config.sh\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0020-anzograph-ctrl-plane-activation.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: AnzoGraph control plane is not started\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Starting AnzoGraph control plane\\n\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: AnzoGraph control plane startup triggered\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Wait for AnzoGraph control plane to come up\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: port 5600 at localhost is up\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0030-anzograph-db-activation.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: AnzoGraph database is not started\n\x1b[36manzograph_1  |\x1b[0m System error. Contact Cambridge Semantics Support. Reference: 0 == madvise(base, acquireSize_, MADV_ACQUIRE): Invalid argument\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Starting AnzoGraph databaseStarting AnzoGraph...\n\x1b[36manzograph_1  |\x1b[0m Error on Node 0 (IP:127.0.0.1) - detected startup failed: Database did not start\n\x1b[36manzograph_1  |\x1b[0m System error. Contact Cambridge Semantics Support. Reference: startup: Process did not succeed - System error. Contact Cambridge Semantics Support. Reference: 0 == madvise(base, acquireSize_, MADV_ACQUIRE): Invalid argument\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Logs from /tmp/azgmgrd.log:\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:23.964072Z: [65:65] Reading /opt/anzograph/config/ip_addrs.conf\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:23.964929Z: [65:65] AzgState: NotStarted \n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:23.965028Z: [65:65] =============== AnzoGraph 2.5.15.r202303241755 #b74ec7f67be4251a9ec7881b12b94e0e2cc40fef ===============\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:23.965040Z: [65:65] System manager startup\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:23.966113Z: [66:67] Starting DB monitoring ....\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:23.966205Z: [66:67] g_scan_db_pids_file: false\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:23.968243Z: [66:66] Preparing for secure connections\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:23.973356Z: [66:66] Sysmgrd 0 listening on 0.0.0.0:5600\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.039447Z: [66:71] StartGqe request on node 0\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.039486Z: [66:71] waitfor_sibling_mgrs\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.039506Z: [66:71] GetStatus request on node 0\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.041430Z: [66:71] AzgState: Starting \n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.041493Z: [66:71] Crash DIR name: 735360204\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.041824Z: [66:71] Last sysmrd start time: 0\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.041835Z: [66:71] Time /opt/anzograph/config/settings.conf modified: 735360200\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.041848Z: [66:71] Sending settings.conf to /opt/anzograph/config on 0 compute nodes\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.042096Z: [66:86] Launched /opt/anzograph/bin/azgd -node 0 -time 735360204 -errpipe /tmp/sbxbooterr.np0 -internal /opt/anzograph/internal -pidfile /tmp/azgpids.log  \n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.096817Z: [66:71] \n\x1b[36manzograph_1  |\x1b[0m   -----------------------------------------------\n\x1b[36manzograph_1  |\x1b[0m   error:     Database did not start\n\x1b[36manzograph_1  |\x1b[0m              System error. Contact Cambridge Semantics Support. Reference: startup: Process did not succeed - System error. Contact Cambridge Semantics Support. Reference: 0 == madvise(base, acquireSize_, MADV_ACQUIRE): Invalid argument\n\x1b[36manzograph_1  |\x1b[0m ERROR /docker-entrypoint.sh[12]: Failed to start AnzoGraph database\n\x1b[36manzograph_1  |\x1b[0m   code:      1030\n\x1b[36manzograph_1  |\x1b[0m   entity:    detected startup failed\n\x1b[36manzograph_1  |\x1b[0m   location:  quiet_dbstart() in gsysmgrd.cpp:1019\n\x1b[36manzograph_1  |\x1b[0m   time:      735360204096420 2023-04-21T02:43:24.096420Z\n\x1b[36manzograph_1  |\x1b[0m   pid:       66\n\x1b[36manzograph_1  |\x1b[0m   thread:    86\n\x1b[36manzograph_1  |\x1b[0m   -----------------------------------------------\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.937637Z: [37:37] Reading /opt/anzograph/config/ip_addrs.conf\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.938671Z: [37:37] AzgState: NotStarted \n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.938746Z: [37:37] =============== AnzoGraph 2.5.15.r202303241755 #b74ec7f67be4251a9ec7881b12b94e0e2cc40fef ===============\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.938761Z: [37:37] System manager startup\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.940064Z: [38:39] Starting DB monitoring ....\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.940150Z: [38:39] g_scan_db_pids_file: false\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.941606Z: [38:38] Preparing for secure connections\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:24.945270Z: [38:38] Sysmgrd 0 listening on 0.0.0.0:5600\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:25.013970Z: [38:43] StartGqe request on node 0\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:25.014009Z: [38:43] waitfor_sibling_mgrs\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:25.014022Z: [38:43] GetStatus request on node 0\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:25.015945Z: [38:43] AzgState: Starting \n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:25.016050Z: [38:43] Crash DIR name: 735360205\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:25.027485Z: [38:43] Last sysmrd start time: 735360204\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:25.027515Z: [38:43] Time /opt/anzograph/config/settings.conf modified: 735360200\n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:25.027920Z: [38:63] Launched /opt/anzograph/bin/azgd -node 0 -time 735360205 -errpipe /tmp/sbxbooterr.np0 -internal /opt/anzograph/internal -pidfile /tmp/azgpids.log  \n\x1b[36manzograph_1  |\x1b[0m 2023-04-21 02:43:25.085417Z: [38:43] \n\x1b[36manzograph_1  |\x1b[0m   -----------------------------------------------\n\x1b[36manzograph_1  |\x1b[0m   error:     Database did not start\n\x1b[36manzograph_1  |\x1b[0m              System error. Contact Cambridge Semantics Support. Reference: startup: Process did not succeed - System error. Contact Cambridge Semantics Support. Reference: 0 == madvise(base, acquireSize_, MADV_ACQUIRE): Invalid argument\n\x1b[36manzograph_1  |\x1b[0m   code:      1030\n\x1b[36manzograph_1  |\x1b[0m   entity:    detected startup failed\n\x1b[36manzograph_1  |\x1b[0m   location:  quiet_dbstart() in gsysmgrd.cpp:1019\n\x1b[36manzograph_1  |\x1b[0m   time:      735360205085085 2023-04-21T02:43:25.085085Z\n\x1b[36manzograph_1  |\x1b[0m   pid:       38\n\x1b[36manzograph_1  |\x1b[0m   thread:    63\n\x1b[36manzograph_1  |\x1b[0m   -----------------------------------------------\n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0001-anzograph-pre-requisites.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Directory exists\n\x1b[36manzograph_1  |\x1b[0m INFO: detected 31392516 Bytes of total memory\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0002-rsync-data.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Activation of etc not required\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Activation of config not required\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Activation of lib/udx not required\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0003-anzograph-license-injection.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: License activation is already done\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0004-anzograph-eula-accept.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: CSI Product EULA accepted\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0005-anzograph-set-cluster-ipaddrs.sh\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0006-anzograph-settings-configuration.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: AnzoGraph database settings are already configured\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0007-anzograph-persistent-dir-config.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Persistent directory activation is already done\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0010-anzograph-load-ui-credentials.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Activate "admin" password: ok \n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Activate "query" password: ok \n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0011-anzograph-load-grpc-credentials.sh\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0015-check-metadata-reachability.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Check for metadata service skipped\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0016-anzograph-udx-logger-config.sh\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0020-anzograph-ctrl-plane-activation.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: AnzoGraph control plane is not started\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Starting AnzoGraph control plane\\n\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: AnzoGraph control plane startup triggered\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: Wait for AnzoGraph control plane to come up\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: port 5600 at localhost is up\n\x1b[36manzograph_1  |\x1b[0m \n\x1b[36manzograph_1  |\x1b[0m /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0030-anzograph-db-activation.sh\n\x1b[36manzograph_1  |\x1b[0m INFO /docker-entrypoint.sh: AnzoGraph database is not started\n'

由于我已经能够在其他三重存储(Jena Fuseki,AllegroGraph和BlazeGraph)上成功地运行这个实验,我想知道AnzoGraph的具体特征(或我配置它的方式)是什么阻止我用它做同样的事情。
我试过使用sudo,修改docker-compose规范为特权,使用root用户,甚至尝试应用我能找到的任何解决方案来解决错误“madvise(base,acquireSize_,MADV_ACQUIRE):无效参数”,但它们都不起作用。
可能是因为Travis CI的VM没有transparent_hugepages目录,虽然我不能确定这一点,因为我已经使用以下命令进行了检查:

sudo ls /sys
...
sudo ls /sys/kernel/
...
sudo ls /sys/kernel/mm
hugepages  swap
sudo ls /sys/kernel/mm/transparent_hugepage
ls: cannot access '/sys/kernel/mm/transparent_hugepage': No such file or directory

有趣的是,我在minikube github(https://github.com/kubernetes/minikube/issues/5765)上发现了一个与我面临的错误相同的封闭问题,但应用于它的解决方案似乎对我的情况没有意义(尽管我也试过)。

6vl6ewon

6vl6ewon1#

我刚注意到你的帖子。
Anzograph DB是一个原生MPP图形存储库,它使用了一个特定的内核功能,而“您的”Travis CI正在使用的内核似乎不支持该功能。你找到了问题(Minikube issue 5765),我几年前针对minikube当时使用的coreos内核提交的,它曾经以一种不支持这个必需功能的方式编译。
AnzoGraph期望可定制的内核特性称为“THP”(透明的巨大页面支持)。
正如您提到的Ubuntu 20.04.5 LTS(x86_64)VM,我刚刚安装了“Ubuntu 20.04.6 LTS(Focal Fossa)”作为VM。
这个Ubuntu安装使用linux-image-5.4.0-147-generic/focal-updates,focal-security,now 5.4.0-147.164 amd 64作为内核。
我看到提供的完整THP支持:
ls /sys/kernel/mm/transparent_hugepage磁盘碎片整理启用hpage_pmd_size khugepaged shmem_enabled use_zero_page
我不完全理解你关于Travis CI的设置,但关键问题是你的Travis CI正在使用的Docker主机内核缺乏所需的THP支持。

相关问题