Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker compose connection issues #9

Closed
aaronpeikert opened this issue Jan 24, 2022 · 3 comments
Closed

docker compose connection issues #9

aaronpeikert opened this issue Jan 24, 2022 · 3 comments

Comments

@aaronpeikert
Copy link

I tried to run ./test/all-unix.sh without much success.

bash test/all-unix.sh results in

=== STARTING ADaPT-ML AND RUNNING ALL TESTS ===
label-studio-web is up-to-date
Starting modelling-mlflow-db ... 
Starting modelling-mlflow-db     ... done
crate-db is up-to-date
Starting dp-mlflow-db            ... done
Starting modelling-mlflow-deploy ... 
Starting label-studio-dev        ... done
Starting modelling-mlflow-deploy ... done
Starting modelling-mlflow        ... done
Starting dp-mlflow               ... done
dp-mlflow-db              /entrypoint.sh mysqld            Up (health: starting)   3306/tcp, 33060/tcp, 33061/tcp                              
modelling-mlflow-db       /entrypoint.sh mysqld            Up (health: starting)   3306/tcp, 33060/tcp, 33061/tcp                              
Waiting for MLflow databases (5 sec)...
dp-mlflow-db              /entrypoint.sh mysqld            Up (health: starting)   3306/tcp, 33060/tcp, 33061/tcp                              
modelling-mlflow-db       /entrypoint.sh mysqld            Up (health: starting)   3306/tcp, 33060/tcp, 33061/tcp                              
Waiting for MLflow databases (5 sec)...
dp-mlflow-db              /entrypoint.sh mysqld            Up (health: starting)   3306/tcp, 33060/tcp, 33061/tcp                              
modelling-mlflow-db       /entrypoint.sh mysqld            Up (health: starting)   3306/tcp, 33060/tcp, 33061/tcp                              
Waiting for MLflow databases (5 sec)...
dp-mlflow-db              /entrypoint.sh mysqld            Up (health: starting)   3306/tcp, 33060/tcp, 33061/tcp                              
modelling-mlflow-db       /entrypoint.sh mysqld            Up (health: starting)   3306/tcp, 33060/tcp, 33061/tcp                              
Waiting for MLflow databases (5 sec)...
crate-db                  /docker-entrypoint.sh crat ...   Restarting                                                      
dp-mlflow-db              /entrypoint.sh mysqld            Up (health: starting)   3306/tcp, 33060/tcp, 33061/tcp          
modelling-mlflow-db       /entrypoint.sh mysqld            Up (health: starting)   3306/tcp, 33060/tcp, 33061/tcp          
Waiting for MLflow databases (5 sec)...
crate-db                  /docker-entrypoint.sh crat ...   Restarting                                             
Waiting for MLflow databases (5 sec)...
Checking for exited containers...
Startup complete.
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/usr/local/lib/python3.8/site-packages/urllib3/util/connection.py", line 73, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 239, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/local/lib/python3.8/http/client.py", line 1256, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/lib/python3.8/http/client.py", line 1302, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.8/http/client.py", line 1251, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.8/http/client.py", line 1011, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.8/http/client.py", line 951, in send
    self.connect()
  File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f29a923d340>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/crate/client/http.py", line 473, in _request
    response = self.server_pool[next_server].request(
  File "/usr/local/lib/python3.8/site-packages/crate/client/http.py", line 154, in request
    return self.pool.urlopen(
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 783, in urlopen
    return self.urlopen(
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 783, in urlopen
    return self.urlopen(
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 783, in urlopen
    return self.urlopen(
  [Previous line repeated 7 more times]
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.8/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='crate-db', port=4200): Max retries exceeded with url: /_sql (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f29a923d340>: Failed to establish a new connection: [Errno -2] Name or service not known'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1802, in _execute_context
    self.dialect.do_execute(
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 719, in do_execute
    cursor.execute(statement, parameters)
  File "/usr/local/lib/python3.8/site-packages/crate/client/cursor.py", line 53, in execute
    self._result = self.connection.client.sql(sql, parameters,
  File "/usr/local/lib/python3.8/site-packages/crate/client/http.py", line 396, in sql
    content = self._json_request('POST', self.path, data=data)
  File "/usr/local/lib/python3.8/site-packages/crate/client/http.py", line 522, in _json_request
    response = self._request(method, path, data=data)
  File "/usr/local/lib/python3.8/site-packages/crate/client/http.py", line 513, in _request
    self._drop_server(next_server, ex_message)
  File "/usr/local/lib/python3.8/site-packages/crate/client/http.py", line 581, in _drop_server
    raise ConnectionError(
crate.client.exceptions.ConnectionError: No more Servers available, exception from last server: HTTPConnectionPool(host='crate-db', port=4200): Max retries exceeded with url: /_sql (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f29a923d340>: Failed to establish a new connection: [Errno -2] Name or service not known'))

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "./ls/sample_tasks.py", line 56, in <module>
    main()
  File "./ls/sample_tasks.py", line 33, in main
    tasks_df = pd.read_sql(random_query, DATABASE_IP)
  File "/usr/local/lib/python3.8/site-packages/pandas/io/sql.py", line 628, in read_sql
    return pandas_sql.read_query(
  File "/usr/local/lib/python3.8/site-packages/pandas/io/sql.py", line 1579, in read_query
    result = self.execute(*args)
  File "/usr/local/lib/python3.8/site-packages/pandas/io/sql.py", line 1424, in execute
    return self.connectable.execution_options().execute(*args, **kwargs)
  File "<string>", line 2, in execute
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/util/deprecations.py", line 401, in warned
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 3139, in execute
    return connection.execute(statement, *multiparams, **params)
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1274, in execute
    return self._exec_driver_sql(
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1578, in _exec_driver_sql
    ret = self._execute_context(
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1845, in _execute_context
    self._handle_dbapi_exception(
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2026, in _handle_dbapi_exception
    util.raise_(
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
    raise exception
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1802, in _execute_context
    self.dialect.do_execute(
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 719, in do_execute
    cursor.execute(statement, parameters)
  File "/usr/local/lib/python3.8/site-packages/crate/client/cursor.py", line 53, in execute
    self._result = self.connection.client.sql(sql, parameters,
  File "/usr/local/lib/python3.8/site-packages/crate/client/http.py", line 396, in sql
    content = self._json_request('POST', self.path, data=data)
  File "/usr/local/lib/python3.8/site-packages/crate/client/http.py", line 522, in _json_request
    response = self._request(method, path, data=data)
  File "/usr/local/lib/python3.8/site-packages/crate/client/http.py", line 513, in _request
    self._drop_server(next_server, ex_message)
  File "/usr/local/lib/python3.8/site-packages/crate/client/http.py", line 581, in _drop_server
    raise ConnectionError(
sqlalchemy.exc.OperationalError: (crate.client.exceptions.ConnectionError) No more Servers available, exception from last server: HTTPConnectionPool(host='crate-db', port=4200): Max retries exceeded with url: /_sql (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f29a923d340>: Failed to establish a new connection: [Errno -2] Name or service not known'))
[SQL: 
        SELECT id, txt FROM example_data 
        ORDER BY RANDOM() 
        LIMIT 30;]
(Background on this error at: https://sqlalche.me/e/14/e3q8)
=== STARTING LABEL STUDIO TESTS WITH EXAMPLE DATA ===
Try sampling some tasks...
ERROR: Task sampling failed.
=== STARTING DATA PROGRAMMING TESTS WITH EXAMPLE DATA ===
Testing multiclass...
ERROR: Experiment run failed to complete.
=== STARTING MODELLING TESTS WITH EXAMPLE DATA ===
Testing multiclass with LM test data...
ERROR: Experiment run failed to complete.
b40e23f0ae4cba0c0f476f8490a04d4f4c5299cb72249cef17024f3debc46528
=== STARTING MODEL DEPLOYMENT TESTS WITH EXAMPLE DATA ===
Testing multiclass predictions...
{"message":"Oops! ExampleModel did not predict successfully. Please check that the requested data points have the \n            features corresponding to the features the model was trained on, and that the database is available.\n            Details: (crate.client.exceptions.ConnectionError) No more Servers available, exception from last server: HTTPConnectionPool(host='crate-db', port=4200): Max retries exceeded with url: /_sql (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd46685e730>: Failed to establish a new connection: [Errno -2] Name or service not known'))\n[SQL: \n    SELECT id, txt_use FROM example_data WHERE id IN ('18', '24', '22', '19', '15');\n    ]\n(Background on this error at: http://sqlalche.me/e/14/e3q8)"}
ERROR: Getting predictions failed.
test-deploy-network
=== TESTING COMPLETE ===

Software

docker --version
Docker version 20.10.12-ce, build 459d0dfbbb51fb2423a43655e6c62368ec0f36c9

docker-compose --version
docker-compose version 1.29.2, build unknown

uname -r
5.13.8-191.current

Hardware

<style type="text/css"> .first {font-weight: bold; margin-left: none; padding-right: 1em;vertical-align: top; } .second {padding-left: 1em; width: 100%; vertical-align: center; } .id {font-family: monospace;} .indented {margin-left: 2em; border-left: dotted thin #dde; padding-bottom: 1em; } .node {border: solid thin #ffcc66; padding: 1em; background: #ffffcc; } .node-unclaimed {border: dotted thin #c3c3c3; padding: 1em; background: #fafafa; color: red; } .node-disabled {border: solid thin #f55; padding: 1em; background: #fee; color: gray; } </style> <title>aaron-x390</title>
id:
aaron-x390
description: Notebook
product: 20Q1S02M00 (LENOVO_MT_20Q1_BU_Think_FM_ThinkPad X390)
vendor: LENOVO
version: ThinkPad X390
serial: PF1N577B
width: 64 bits
capabilities: smbios-3.1.1 dmi-3.1.1 smp vsyscall32
configuration:
administrator_password=disabled
chassis=notebook
family=ThinkPad X390
power-on_password=disabled
sku=LENOVO_MT_20Q1_BU_Think_FM_ThinkPad X390
uuid=CCB1ACAE-E131-B211-A85C-FFF35FE54022
id:
core
description: Motherboard
product: 20Q1S02M00
vendor: LENOVO
physical id:
0
version: Not Defined
serial: L1HF92F00HB
slot: Not Available
id:
memory
description: System Memory
physical id:
2
slot: System board or motherboard
size: 16GiB
id:
bank:0
description: SODIMM DDR4 Synchronous 2667 MHz (0.4 ns)
product: M471A1K43BB1-CTD
vendor: Samsung
physical id:
0
serial: 00000000
slot: ChannelA-DIMM0
size: 8GiB
width: 64 bits
clock: 2667MHz (0.4ns)
id:
bank:1
description: SODIMM DDR4 Synchronous 2667 MHz (0.4 ns)
product: M471A1K43BB1-CTD
vendor: Samsung
physical id:
1
serial: 00000000
slot: ChannelB-DIMM0
size: 8GiB
width: 64 bits
clock: 2667MHz (0.4ns)
id:
cache:0
description: L1 cache
physical id:
c
slot: L1 Cache
size: 256KiB
capacity: 256KiB
capabilities: synchronous internal write-back unified
configuration:
level=1
id:
cache:1
description: L2 cache
physical id:
d
slot: L2 Cache
size: 1MiB
capacity: 1MiB
capabilities: synchronous internal write-back unified
configuration:
level=2
id:
cache:2
description: L3 cache
physical id:
e
slot: L3 Cache
size: 6MiB
capacity: 6MiB
capabilities: synchronous internal write-back unified
configuration:
level=3
id:
cpu
description: CPU
product: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
vendor: Intel Corp.
physical id:
f
bus info:
cpu@0
version: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
serial: None
slot: U3E1
size: 3728MHz
capacity: 3900MHz
width: 64 bits
clock: 100MHz
capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities cpufreq
configuration:
cores=4
enabledcores=4
threads=8
id:
firmware
description: BIOS
vendor: LENOVO
physical id:
11
version: N2JET31W (1.09 )
date: 03/15/2019
size: 128KiB
capacity: 16MiB
capabilities: pci pnp upgrade shadowing cdboot bootselect edd int13floppy720 int5printscreen int9keyboard int14serial int17printer int10video acpi usb biosbootspecification uefi
id:
pci
description: Host bridge
product: Coffee Lake HOST and DRAM Controller
vendor: Intel Corporation
physical id:
100
bus info:
pci@0000:00:00.0
version: 0b
width: 32 bits
clock: 33MHz
configuration:
driver=skl_uncore
resources:
irq:0
id:
display
description: VGA compatible controller
product: UHD Graphics 620 (Whiskey Lake)
vendor: Intel Corporation
physical id:
2
bus info:
pci@0000:00:02.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list
configuration:
driver=i915
latency=0
resources:
irq:139
memory:cb000000-cbffffff
memory:80000000-8fffffff
ioport:3000(size=64)
memory:c0000-dffff
id:
generic:0
description: Signal processing controller
product: Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
vendor: Intel Corporation
physical id:
4
bus info:
pci@0000:00:04.0
version: 0b
width: 64 bits
clock: 33MHz
capabilities: msi pm cap_list
configuration:
latency=0
resources:
memory:cd730000-cd737fff
id:
generic:1
description: System peripheral
product: Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
vendor: Intel Corporation
physical id:
8
bus info:
pci@0000:00:08.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: msi pm cap_list
configuration:
latency=0
resources:
memory:cd742000-cd742fff
id:
generic:2
description: Signal processing controller
product: Cannon Point-LP Thermal Controller
vendor: Intel Corporation
physical id:
12
bus info:
pci@0000:00:12.0
version: 30
width: 64 bits
clock: 33MHz
capabilities: pm msi cap_list
configuration:
latency=0
resources:
memory:cd743000-cd743fff
id:
usb
description: USB controller
product: Cannon Point-LP USB 3.1 xHCI Controller
vendor: Intel Corporation
physical id:
14
bus info:
pci@0000:00:14.0
version: 30
width: 64 bits
clock: 33MHz
capabilities: pm msi xhci bus_master cap_list
configuration:
driver=xhci_hcd
latency=0
resources:
irq:137
memory:cd720000-cd72ffff
id:
usbhost:0
product: xHCI Host Controller
vendor: Linux 5.13.8-191.current xhci-hcd
physical id:
0
bus info:
usb@1
logical name:
usb1
version: 5.13
capabilities: usb-2.00
configuration:
driver=hub
slots=12
speed=480Mbit/s
id:
usb:0
description: Human interface device
product: USB Billboard
vendor: Cypress Semiconductor
physical id:
2
bus info:
usb@1:2
version: 0.00
serial: 1S40AJM6H0AEHY
capabilities: usb-2.01
configuration:
driver=usbhid
maxpower=100mA
speed=12Mbit/s
id:
usb:1
description: USB hub
product: USB2.0 Hub
vendor: VIA Labs, Inc.
physical id:
5
bus info:
usb@1:5
version: 50.33
capabilities: usb-2.10
configuration:
driver=hub
slots=5
speed=480Mbit/s
id:
usb:0
description: USB hub
product: USB2.0 Hub
vendor: VIA Labs, Inc.
physical id:
2
bus info:
usb@1:5.2
version: 50.34
capabilities: usb-2.10
configuration:
driver=hub
slots=4
speed=480Mbit/s
id:
usb:0
description: Video
product: C922 Pro Stream Webcam
vendor: Logitech, Inc.
physical id:
1
bus info:
usb@1:5.2.1
version: 0.16
serial: C6CBC8BF
capabilities: usb-2.00
configuration:
driver=snd-usb-audio
maxpower=500mA
speed=480Mbit/s
id:
usb:1
description: Mouse
product: USB Optical Mouse
vendor: Logitech
physical id:
2
bus info:
usb@1:5.2.2
version: 72.00
capabilities: usb-2.00
configuration:
driver=usbhid
maxpower=100mA
speed=2Mbit/s
id:
usb:2
description: Audio device
product: ThinkPad Dock USB Audio
vendor: Generic
physical id:
4
bus info:
usb@1:5.2.4
version: 0.12
capabilities: usb-2.00 audio-control
configuration:
driver=usbhid
maxpower=100mA
speed=480Mbit/s
id:
usb:1
description: Keyboard
product: Keychron K3
vendor: Keychron
physical id:
4
bus info:
usb@1:5.4
version: 1.05
capabilities: usb-2.00
configuration:
driver=usbhid
maxpower=100mA
speed=12Mbit/s
id:
usb:2
description: Generic USB device
product: USB Billboard Device
vendor: VIA Labs, Inc.
physical id:
5
bus info:
usb@1:5.5
version: 0.01
serial: 0000000000000001
capabilities: usb-2.01
configuration:
maxpower=100mA
speed=480Mbit/s
id:
usb:2
description: Video
product: Integrated Camera
vendor: Chicony Electronics Co.,Ltd.
physical id:
8
bus info:
usb@1:8
version: 67.23
serial: 0001
capabilities: usb-2.01
configuration:
driver=uvcvideo
maxpower=500mA
speed=480Mbit/s
id:
usb:3
description: Generic USB device
product: Prometheus MIS Touch Fingerprint Reader
vendor: Synaptics, Inc.
physical id:
9
bus info:
usb@1:9
version: 0.00
serial: 3f0f09473fe4
capabilities: usb-2.00
configuration:
maxpower=100mA
speed=12Mbit/s
id:
usb:4
description: Bluetooth wireless interface
product: Bluetooth 9460/9560 Jefferson Peak (JfP)
vendor: Intel Corp.
physical id:
a
bus info:
usb@1:a
version: 0.02
capabilities: bluetooth usb-2.00
configuration:
driver=btusb
maxpower=100mA
speed=12Mbit/s
id:
usbhost:1
product: xHCI Host Controller
vendor: Linux 5.13.8-191.current xhci-hcd
physical id:
1
bus info:
usb@2
logical name:
usb2
version: 5.13
capabilities: usb-3.10
configuration:
driver=hub
slots=6
speed=10000Mbit/s
id:
memory
description: RAM memory
product: Cannon Point-LP Shared SRAM
vendor: Intel Corporation
physical id:
14.2
bus info:
pci@0000:00:14.2
version: 30
width: 64 bits
clock: 33MHz (30.3ns)
capabilities: pm cap_list
configuration:
latency=0
resources:
memory:cd740000-cd741fff
memory:cd744000-cd744fff
id:
network:0
description: Wireless interface
product: Cannon Point-LP CNVi [Wireless-AC]
vendor: Intel Corporation
physical id:
14.3
bus info:
pci@0000:00:14.3
logical name:
wlp0s20f3
version: 30
serial: 98:2c:bc:24:13:b9
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
configuration:
broadcast=yes
driver=iwlwifi
driverversion=5.13.8-191.current
firmware=46.5e069cbd.0 9000-pu-b0-jf-b0-
ip=141.14.225.26
latency=0
link=yes
multicast=yes
wireless=IEEE 802.11
resources:
irq:16
memory:cd738000-cd73bfff
id:
communication
description: Communication controller
product: Cannon Point-LP MEI Controller #1
vendor: Intel Corporation
physical id:
16
bus info:
pci@0000:00:16.0
version: 30
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration:
driver=mei_me
latency=0
resources:
irq:140
memory:cd745000-cd745fff
id:
pci:0
description: PCI bridge
product: Cannon Point-LP PCI Express Root Port #1
vendor: Intel Corporation
physical id:
1c
bus info:
pci@0000:00:1c.0
version: f0
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration:
driver=pcieport
resources:
irq:120
memory:cd600000-cd6fffff
id:
generic
description: MMC Host
product: RTS522A PCI Express Card Reader
vendor: Realtek Semiconductor Co., Ltd.
physical id:
0
bus info:
pci@0000:01:00.0
logical name:
mmc0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration:
driver=rtsx_pci
latency=0
resources:
irq:136
memory:cd600000-cd600fff
id:
pci:1
description: PCI bridge
product: Cannon Point-LP PCI Express Root Port #5
vendor: Intel Corporation
physical id:
1c.4
bus info:
pci@0000:00:1c.4
version: f0
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration:
driver=pcieport
resources:
irq:121
ioport:4000(size=8192)
memory:b4000000-ca0fffff
ioport:90000000(size=570425344)
id:
pci
description: PCI bridge
product: JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016]
vendor: Intel Corporation
physical id:
0
bus info:
pci@0000:02:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
configuration:
driver=pcieport
resources:
irq:16
ioport:4000(size=4096)
memory:b4000000-ca0fffff
ioport:90000000(size=570425344)
id:
pci:0
description: PCI bridge
product: JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016]
vendor: Intel Corporation
physical id:
0
bus info:
pci@0000:03:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
configuration:
driver=pcieport
resources:
irq:124
memory:ca000000-ca0fffff
id:
pci:1
description: PCI bridge
product: JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016]
vendor: Intel Corporation
physical id:
1
bus info:
pci@0000:03:01.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
configuration:
driver=pcieport
resources:
irq:125
ioport:4000(size=4096)
memory:b4000000-c9efffff
ioport:90000000(size=570425344)
id:
pci:2
description: PCI bridge
product: JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016]
vendor: Intel Corporation
physical id:
2
bus info:
pci@0000:03:02.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
configuration:
driver=pcieport
resources:
irq:126
memory:c9f00000-c9ffffff
id:
usb
description: USB controller
product: JHL6240 Thunderbolt 3 USB 3.1 Controller (Low Power) [Alpine Ridge LP 2016]
vendor: Intel Corporation
physical id:
0
bus info:
pci@0000:3a:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress xhci bus_master cap_list
configuration:
driver=xhci_hcd
latency=0
resources:
irq:138
memory:c9f00000-c9f0ffff
id:
usbhost:0
product: xHCI Host Controller
vendor: Linux 5.13.8-191.current xhci-hcd
physical id:
0
bus info:
usb@3
logical name:
usb3
version: 5.13
capabilities: usb-2.00
configuration:
driver=hub
slots=2
speed=480Mbit/s
id:
usbhost:1
product: xHCI Host Controller
vendor: Linux 5.13.8-191.current xhci-hcd
physical id:
1
bus info:
usb@4
logical name:
usb4
version: 5.13
capabilities: usb-3.10
configuration:
driver=hub
slots=2
speed=10000Mbit/s
id:
usb
description: USB hub
product: USB3.1 Hub
vendor: VIA Labs, Inc.
physical id:
1
bus info:
usb@4:1
version: 50.33
capabilities: usb-3.10
configuration:
driver=hub
slots=4
speed=10000Mbit/s
id:
usb
description: USB hub
product: USB3.1 Hub
vendor: VIA Labs, Inc.
physical id:
2
bus info:
usb@4:1.2
version: 50.34
capabilities: usb-3.10
configuration:
driver=hub
slots=4
speed=10000Mbit/s
id:
pci:2
description: PCI bridge
product: Cannon Point-LP PCI Express Root Port #9
vendor: Intel Corporation
physical id:
1d
bus info:
pci@0000:00:1d.0
version: f0
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration:
driver=pcieport
resources:
irq:122
ioport:2000(size=4096)
memory:ccc00000-cd5fffff
ioport:cc000000(size=10485760)
id:
pci:3
description: PCI bridge
product: Cannon Point-LP PCI Express Root Port #13
vendor: Intel Corporation
physical id:
1d.4
bus info:
pci@0000:00:1d.4
version: f0
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration:
driver=pcieport
resources:
irq:123
memory:ccb00000-ccbfffff
id:
nvme
description: NVMe device
product: INTEL SSDPEKKF512G8L
vendor: Intel Corporation
physical id:
0
bus info:
pci@0000:3d:00.0
logical name:
/dev/nvme0
version: L11P
serial: BTHP90940GCT512C
width: 64 bits
clock: 33MHz
capabilities: nvme pm msi pciexpress msix nvm_express bus_master cap_list
configuration:
driver=nvme
latency=0
nqn=nqn.2014.08.org.nvmexpress:80868086BTHP90940GCT512C INTEL SSDPEKKF512G8L
state=live
resources:
irq:16
memory:ccb00000-ccb03fff
id:
namespace:0
description: NVMe disk
physical id:
0
logical name:
hwmon0
id:
namespace:1
description: NVMe disk
physical id:
2
logical name:
/dev/ng0n1
id:
namespace:2
description: NVMe disk
physical id:
1
bus info:
nvme@0:1
logical name:
/dev/nvme0n1
size: 476GiB (512GB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration:
guid=36f31f32-2083-4a92-a861-cf7289c8b933
logicalsectorsize=512
sectorsize=512
wwid=eui.5cd2e42391a02304
id:
volume:0
description: Windows FAT volume
vendor: mkfs.fat
physical id:
1
bus info:
nvme@0:1,1
logical name:
/dev/nvme0n1p1
version: FAT32
serial: 6b23-e507
size: 488MiB
capacity: 488MiB
capabilities: boot fat initialized
configuration:
FATs=2
filesystem=fat
id:
volume:1
description: LVM Physical Volume
vendor: Linux
physical id:
2
bus info:
nvme@0:1,2
logical name:
/dev/nvme0n1p2
serial: 49ffe561-10d9-4552-84de-587c63db06ad
size: 476GiB
capacity: 476GiB
width: 256 bits
capabilities: multi encrypted luks initialized
configuration:
bits=256
cipher=aes
filesystem=luks
hash=sha256
mode=xts-plain64
version=1
id:
isa
description: ISA bridge
product: Cannon Point-LP LPC Controller
vendor: Intel Corporation
physical id:
1f
bus info:
pci@0000:00:1f.0
version: 30
width: 32 bits
clock: 33MHz
capabilities: isa bus_master
configuration:
latency=0
id:
multimedia
description: Audio device
product: Cannon Point-LP High Definition Audio Controller
vendor: Intel Corporation
physical id:
1f.3
bus info:
pci@0000:00:1f.3
version: 30
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration:
driver=snd_hda_intel
latency=64
resources:
irq:148
memory:cd73c000-cd73ffff
memory:cca00000-ccafffff
id:
serial:0
description: SMBus
product: Cannon Point-LP SMBus Controller
vendor: Intel Corporation
physical id:
1f.4
bus info:
pci@0000:00:1f.4
version: 30
width: 64 bits
clock: 33MHz
configuration:
driver=i801_smbus
latency=0
resources:
irq:16
memory:cd746000-cd7460ff
ioport:efa0(size=32)
id:
serial:1
description: Serial bus controller
product: Cannon Point-LP SPI Controller
vendor: Intel Corporation
physical id:
1f.5
bus info:
pci@0000:00:1f.5
version: 30
width: 32 bits
clock: 33MHz
configuration:
latency=0
resources:
memory:fe010000-fe010fff
id:
network:1
description: Ethernet interface
product: Ethernet Connection (6) I219-V
vendor: Intel Corporation
physical id:
1f.6
bus info:
pci@0000:00:1f.6
logical name:
enp0s31f6
version: 30
serial: e8:6a:64:b7:67:2c
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration:
autonegotiation=on
broadcast=yes
driver=e1000e
driverversion=5.13.8-191.current
firmware=0.5-3
latency=0
link=no
multicast=yes
port=twisted pair
resources:
irq:147
memory:cd700000-cd71ffff
id:
pnp00:00
product: PnP device PNP0c02
physical id:
0
capabilities: pnp
configuration:
driver=system
id:
pnp00:01
product: PnP device PNP0c02
physical id:
1
capabilities: pnp
configuration:
driver=system
id:
pnp00:02
product: PnP device PNP0c02
physical id:
3
capabilities: pnp
configuration:
driver=system
id:
pnp00:03
product: PnP device PNP0c02
physical id:
4
capabilities: pnp
configuration:
driver=system
id:
pnp00:04
product: PnP device PNP0b00
physical id:
5
capabilities: pnp
configuration:
driver=rtc_cmos
id:
pnp00:05
product: PnP device INT3f0d
vendor: Interphase Corporation
physical id:
6
capabilities: pnp
configuration:
driver=system
id:
pnp00:06
product: PnP device LEN0071
vendor: Lenovo Group Limited
physical id:
7
capabilities: pnp
configuration:
driver=i8042 kbd
id:
pnp00:07
product: PnP device LEN0400
vendor: Lenovo Group Limited
physical id:
8
capabilities: pnp
configuration:
driver=i8042 aux
id:
pnp00:08
product: PnP device PNP0c02
physical id:
9
capabilities: pnp
configuration:
driver=system
id:
pnp00:09
product: PnP device PNP0c02
physical id:
a
capabilities: pnp
configuration:
driver=system
id:
pnp00:0a
product: PnP device PNP0c02
physical id:
b
capabilities: pnp
configuration:
driver=system
id:
pnp00:0b
product: PnP device PNP0c01
physical id:
10
capabilities: pnp
configuration:
driver=system
id:
battery
product: 02DL017
vendor: SMP
physical id:
1
slot: Front
capacity: 48010mWh
configuration:
voltage=11.5V
@aaronpeikert
Copy link
Author

This will block any progress in openjournals/joss-reviews#4038

Hope you can help me out.

@nulberry
Copy link
Collaborator

nulberry commented Jan 25, 2022

Hey! I mentioned the issue about dependencies above because I believe that performing the bootstrap checks for CrateDB will address this issue. I made the mistake of not recognizing these bootstrap checks as a more essential part of system setup. In the code block you posted, it shows the crate-db container restarting, which is not supposed to happen:

Waiting for MLflow databases (5 sec)...
crate-db                  /docker-entrypoint.sh crat ...   Restarting                                                      
dp-mlflow-db              /entrypoint.sh mysqld            Up (health: starting)   3306/tcp, 33060/tcp, 33061/tcp          
modelling-mlflow-db       /entrypoint.sh mysqld            Up (health: starting)   3306/tcp, 33060/tcp, 33061/tcp          
Waiting for MLflow databases (5 sec)...
crate-db                  /docker-entrypoint.sh crat ...   Restarting                                             
Waiting for MLflow databases (5 sec)...
Checking for exited containers...
Startup complete.

Please look into the bootstrap checks here and then try running the test script again.

Edit: I should probably also add a stop condition to the test script so that the tests don't run if crate-db is restarting.

@aaronpeikert
Copy link
Author

Running docker run crate resulted in a more informative failure:

[1] bootstrap checks failed
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] by adding `vm.max_map_count = 262144` to `/etc/sysctl.conf` or invoking `sysctl -w vm.max_map_count=262144`

after sysctl -w vm.max_map_count=262144, bash ./test/all-unix.sh was successfull.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants