<p dir="auto">I started seeing a few weeks ago a spurious (~25-50% of the time) CI failure in GithubActions on MacOs runners.<br>
I have been unable to reproduce it on my local (Mac) computer.</p>
<p dir="auto">I have been able to pinpoint this to <code class="notranslate">jaxlib==0.1.68</code>. Downgrading to <code class="notranslate">jaxlib==0.1.67</code> with current jax==0.2.16` makes the issue disappear.</p>
<p dir="auto">I have been able to produce the following MWE:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="bash-3.2$ cat tests/prova.py 
import jax

a  = jax.random.PRNGKey(123)

bash-3.2$ pytest tests/prova.py                                                                                                                                                                                     
=============================================================================================== test session starts ================================================================================================
platform darwin -- Python 3.9.5, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /Users/runner/work/mpi4jax/mpi4jax
collecting ... Fatal Python error: Segmentation fault

Current thread 0x0000000107dbfdc0 (most recent call first):
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jaxlib/xla_client.py&quot;, line 67 in make_cpu_client
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/lib/xla_bridge.py&quot;, line 206 in backends
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/lib/xla_bridge.py&quot;, line 242 in get_backend
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/lib/xla_bridge.py&quot;, line 263 in get_device_backend
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/interpreters/xla.py&quot;, line 138 in _device_put_array
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/interpreters/xla.py&quot;, line 133 in device_put
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/_src/lax/lax.py&quot;, line 1596 in _device_put_raw
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/_src/numpy/lax_numpy.py&quot;, line 3025 in array
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/_src/numpy/lax_numpy.py&quot;, line 3064 in asarray
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/_src/random.py&quot;, line 66 in PRNGKey
  File &quot;/Users/runner/work/mpi4jax/mpi4jax/tests/prova.py&quot;, line 3 in &lt;module&gt;
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/assertion/rewrite.py&quot;, line 170 in exec_module
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 680 in _load_unlocked
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 986 in _find_and_load_unlocked
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 1007 in _find_and_load
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 1030 in _gcd_import
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/importlib/__init__.py&quot;, line 127 in import_module
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/pathlib.py&quot;, line 524 in import_path
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/python.py&quot;, line 578 in _importtestmodule
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/python.py&quot;, line 500 in _getobj
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/python.py&quot;, line 291 in obj
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/python.py&quot;, line 516 in _inject_setup_module_fixture
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/python.py&quot;, line 503 in collect
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/runner.py&quot;, line 341 in &lt;lambda&gt;
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/runner.py&quot;, line 311 in from_call
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/runner.py&quot;, line 341 in pytest_make_collect_report
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/callers.py&quot;, line 187 in _multicall
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/manager.py&quot;, line 84 in &lt;lambda&gt;
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/manager.py&quot;, line 93 in _hookexec
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/hooks.py&quot;, line 286 in __call__
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/runner.py&quot;, line 458 in collect_one_node
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/main.py&quot;, line 808 in genitems
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/main.py&quot;, line 634 in perform_collect
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/main.py&quot;, line 333 in pytest_collection
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/callers.py&quot;, line 187 in _multicall
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/manager.py&quot;, line 84 in &lt;lambda&gt;
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/manager.py&quot;, line 93 in _hookexec
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/hooks.py&quot;, line 286 in __call__
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/main.py&quot;, line 322 in _main
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/main.py&quot;, line 269 in wrap_session
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/main.py&quot;, line 316 in pytest_cmdline_main
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/callers.py&quot;, line 187 in _multicall
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/manager.py&quot;, line 84 in &lt;lambda&gt;
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/manager.py&quot;, line 93 in _hookexec
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/hooks.py&quot;, line 286 in __call__
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/config/__init__.py&quot;, line 162 in main
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/config/__init__.py&quot;, line 185 in console_main
  File &quot;/Users/runner/hostedtoolcache/Python/3.9.5/x64/bin/pytest&quot;, line 8 in &lt;module&gt;
Segmentation fault: 11"><pre class="notranslate"><span class="pl-s1">bash</span><span class="pl-c1">-</span><span class="pl-c1">3.2</span>$ <span class="pl-s1">cat</span> <span class="pl-s1">tests</span><span class="pl-c1">/</span><span class="pl-s1">prova</span>.<span class="pl-s1">py</span> 
<span class="pl-k">import</span> <span class="pl-s1">jax</span>

<span class="pl-s1">a</span>  <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-v">PRNGKey</span>(<span class="pl-c1">123</span>)

<span class="pl-s1">bash</span><span class="pl-c1">-</span><span class="pl-c1">3.2</span>$ <span class="pl-s1">pytest</span> <span class="pl-s1">tests</span><span class="pl-c1">/</span><span class="pl-s1">prova</span>.<span class="pl-s1">py</span>                                                                                                                                                                                     
<span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">=</span> <span class="pl-s1">test</span> <span class="pl-s1">session</span> <span class="pl-s1">starts</span> <span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span>
<span class="pl-s1">platform</span> <span class="pl-s1">darwin</span> <span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">Python</span> <span class="pl-c1">3.9</span><span class="pl-c1">.5</span>, <span class="pl-s1">pytest</span><span class="pl-c1">-</span><span class="pl-c1">6.2</span>.<span class="pl-c1">4</span>, <span class="pl-s1">py</span><span class="pl-c1">-</span><span class="pl-c1">1.10</span>.<span class="pl-c1">0</span>, <span class="pl-s1">pluggy</span><span class="pl-c1">-</span><span class="pl-c1">0.13</span>.<span class="pl-c1">1</span>
<span class="pl-s1">rootdir</span>: <span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">runner</span><span class="pl-c1">/</span><span class="pl-s1">work</span><span class="pl-c1">/</span><span class="pl-s1">mpi4jax</span><span class="pl-c1">/</span><span class="pl-s1">mpi4jax</span>
<span class="pl-s1">collecting</span> ... <span class="pl-v">Fatal</span> <span class="pl-v">Python</span> <span class="pl-s1">error</span>: <span class="pl-v">Segmentation</span> <span class="pl-s1">fault</span>

<span class="pl-v">Current</span> <span class="pl-s1">thread</span> <span class="pl-c1">0x0000000107dbfdc0</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">first</span>):
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jaxlib/xla_client.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">67</span> <span class="pl-c1">in</span> <span class="pl-s1">make_cpu_client</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/lib/xla_bridge.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">206</span> <span class="pl-c1">in</span> <span class="pl-s1">backends</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/lib/xla_bridge.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">242</span> <span class="pl-c1">in</span> <span class="pl-s1">get_backend</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/lib/xla_bridge.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">263</span> <span class="pl-c1">in</span> <span class="pl-s1">get_device_backend</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/interpreters/xla.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">138</span> <span class="pl-c1">in</span> <span class="pl-s1">_device_put_array</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/interpreters/xla.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">133</span> <span class="pl-c1">in</span> <span class="pl-s1">device_put</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/_src/lax/lax.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1596</span> <span class="pl-c1">in</span> <span class="pl-s1">_device_put_raw</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/_src/numpy/lax_numpy.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">3025</span> <span class="pl-c1">in</span> <span class="pl-s1">array</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/_src/numpy/lax_numpy.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">3064</span> <span class="pl-c1">in</span> <span class="pl-s1">asarray</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/jax/_src/random.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">66</span> <span class="pl-c1">in</span> <span class="pl-v">PRNGKey</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/work/mpi4jax/mpi4jax/tests/prova.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">3</span> <span class="pl-c1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/assertion/rewrite.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">170</span> <span class="pl-c1">in</span> <span class="pl-s1">exec_module</span>
  <span class="pl-v">File</span> <span class="pl-s">"&lt;frozen importlib._bootstrap&gt;"</span>, <span class="pl-s1">line</span> <span class="pl-c1">680</span> <span class="pl-c1">in</span> <span class="pl-s1">_load_unlocked</span>
  <span class="pl-v">File</span> <span class="pl-s">"&lt;frozen importlib._bootstrap&gt;"</span>, <span class="pl-s1">line</span> <span class="pl-c1">986</span> <span class="pl-c1">in</span> <span class="pl-s1">_find_and_load_unlocked</span>
  <span class="pl-v">File</span> <span class="pl-s">"&lt;frozen importlib._bootstrap&gt;"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1007</span> <span class="pl-c1">in</span> <span class="pl-s1">_find_and_load</span>
  <span class="pl-v">File</span> <span class="pl-s">"&lt;frozen importlib._bootstrap&gt;"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1030</span> <span class="pl-c1">in</span> <span class="pl-s1">_gcd_import</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/importlib/__init__.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">127</span> <span class="pl-c1">in</span> <span class="pl-s1">import_module</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/pathlib.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">524</span> <span class="pl-c1">in</span> <span class="pl-s1">import_path</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/python.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">578</span> <span class="pl-c1">in</span> <span class="pl-s1">_importtestmodule</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/python.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">500</span> <span class="pl-c1">in</span> <span class="pl-s1">_getobj</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/python.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">291</span> <span class="pl-c1">in</span> <span class="pl-s1">obj</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/python.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">516</span> <span class="pl-c1">in</span> <span class="pl-s1">_inject_setup_module_fixture</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/python.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">503</span> <span class="pl-c1">in</span> <span class="pl-s1">collect</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/runner.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">341</span> <span class="pl-c1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">lambda</span><span class="pl-c1">&gt;</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/runner.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">311</span> <span class="pl-c1">in</span> <span class="pl-s1">from_call</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/runner.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">341</span> <span class="pl-c1">in</span> <span class="pl-s1">pytest_make_collect_report</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/callers.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">187</span> <span class="pl-c1">in</span> <span class="pl-s1">_multicall</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/manager.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">84</span> <span class="pl-c1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">lambda</span><span class="pl-c1">&gt;</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/manager.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">93</span> <span class="pl-c1">in</span> <span class="pl-s1">_hookexec</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/hooks.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">286</span> <span class="pl-c1">in</span> <span class="pl-s1">__call__</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/runner.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">458</span> <span class="pl-c1">in</span> <span class="pl-s1">collect_one_node</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/main.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">808</span> <span class="pl-c1">in</span> <span class="pl-s1">genitems</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/main.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">634</span> <span class="pl-c1">in</span> <span class="pl-s1">perform_collect</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/main.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">333</span> <span class="pl-c1">in</span> <span class="pl-s1">pytest_collection</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/callers.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">187</span> <span class="pl-c1">in</span> <span class="pl-s1">_multicall</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/manager.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">84</span> <span class="pl-c1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">lambda</span><span class="pl-c1">&gt;</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/manager.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">93</span> <span class="pl-c1">in</span> <span class="pl-s1">_hookexec</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/hooks.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">286</span> <span class="pl-c1">in</span> <span class="pl-s1">__call__</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/main.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">322</span> <span class="pl-c1">in</span> <span class="pl-s1">_main</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/main.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">269</span> <span class="pl-c1">in</span> <span class="pl-s1">wrap_session</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/main.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">316</span> <span class="pl-c1">in</span> <span class="pl-s1">pytest_cmdline_main</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/callers.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">187</span> <span class="pl-c1">in</span> <span class="pl-s1">_multicall</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/manager.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">84</span> <span class="pl-c1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">lambda</span><span class="pl-c1">&gt;</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/manager.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">93</span> <span class="pl-c1">in</span> <span class="pl-s1">_hookexec</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/pluggy/hooks.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">286</span> <span class="pl-c1">in</span> <span class="pl-s1">__call__</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/config/__init__.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">162</span> <span class="pl-c1">in</span> <span class="pl-s1">main</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages/_pytest/config/__init__.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">185</span> <span class="pl-c1">in</span> <span class="pl-s1">console_main</span>
  <span class="pl-v">File</span> <span class="pl-s">"/Users/runner/hostedtoolcache/Python/3.9.5/x64/bin/pytest"</span>, <span class="pl-s1">line</span> <span class="pl-c1">8</span> <span class="pl-c1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</span>
<span class="pl-v">Segmentation</span> <span class="pl-s1">fault</span>: <span class="pl-c1">11</span></pre></div>
<p dir="auto">though in interactive mode it segfaults even less often.</p>
<p dir="auto">Noticed here: <a href="https://github.com/mpi4jax/mpi4jax/runs/2997837419?check_suite_focus=true#step:8:31">https://github.com/mpi4jax/mpi4jax/runs/2997837419?check_suite_focus=true#step:8:31</a> and then I debugged by using a ssh shell into github actions.</p>
<p dir="auto">Hi. This is a bit of a strange (possible) bug report that we've held off on a for a few days until we could try to get better reporting information. Both <a href="https://github.com/scikit-hep/pyhf"><code class="notranslate">pyhf</code></a> and <a href="https://github.com/scikit-hep/awkward-1.0"><code class="notranslate">awkward</code></a> have been seeing segfaults on GitHub Actions jobs (for <code class="notranslate">pyhf</code>) and Azure Pipelines jobs (for <code class="notranslate">awkward</code>) since the release of <code class="notranslate">jaxlib</code> <code class="notranslate">v0.1.68</code> that happen <em>only</em> for <code class="notranslate">v0.1.68</code> (c.f. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="929870483" data-permission-text="Title is private" data-url="https://github.com/scikit-hep/pyhf/issues/1501" data-hovercard-type="issue" data-hovercard-url="/scikit-hep/pyhf/issues/1501/hovercard" href="https://github.com/scikit-hep/pyhf/issues/1501">scikit-hep/pyhf#1501</a>)</p>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ pip list | grep jax
jax                    0.2.16
jaxlib                 0.1.68"><pre class="notranslate">$ <span class="pl-s1">pip list <span class="pl-k">|</span> grep jax</span>
<span class="pl-c1">jax                    0.2.16</span>
<span class="pl-c1">jaxlib                 0.1.68</span></pre></div>
<p dir="auto">and go away if we downgrade to <code class="notranslate">jaxlib&lt;0.1.68</code> (c.f. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="930339846" data-permission-text="Title is private" data-url="https://github.com/scikit-hep/awkward/issues/963" data-hovercard-type="pull_request" data-hovercard-url="/scikit-hep/awkward/pull/963/hovercard" href="https://github.com/scikit-hep/awkward/pull/963">scikit-hep/awkward#963</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="931291183" data-permission-text="Title is private" data-url="https://github.com/scikit-hep/pyhf/issues/1502" data-hovercard-type="pull_request" data-hovercard-url="/scikit-hep/pyhf/pull/1502/hovercard" href="https://github.com/scikit-hep/pyhf/pull/1502">scikit-hep/pyhf#1502</a>).</p>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ pip list | grep jax
jax                    0.2.16
jaxlib                 0.1.67"><pre class="notranslate">$ <span class="pl-s1">pip list <span class="pl-k">|</span> grep jax</span>
<span class="pl-c1">jax                    0.2.16</span>
<span class="pl-c1">jaxlib                 0.1.67</span></pre></div>
<p dir="auto">The bizarre part is that I am unable to replicate these segfaults on a <a href="https://github.com/scikit-hep/pyhf/issues/1501#issuecomment-869244245" data-hovercard-type="issue" data-hovercard-url="/scikit-hep/pyhf/issues/1501/hovercard">MacBook Air that I've borrowed to debug this</a>.</p>
<h2 dir="auto">Minimal Failing Examples on GitHub Actions</h2>
<p dir="auto">The <code class="notranslate">pyhf</code> test suite has been segfaulting during runs as documented in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="929870483" data-permission-text="Title is private" data-url="https://github.com/scikit-hep/pyhf/issues/1501" data-hovercard-type="issue" data-hovercard-url="/scikit-hep/pyhf/issues/1501/hovercard" href="https://github.com/scikit-hep/pyhf/issues/1501">scikit-hep/pyhf#1501</a>. To look at the environment in which this was happening I connected to a <a href="https://tmate.io/" rel="nofollow"><code class="notranslate">tmate</code></a> session on the GHA servers using the <a href="https://github.com/marketplace/actions/debugging-with-tmate"><code class="notranslate">mxschmitt/action-tmate@v3</code> GHA</a> and I was able to replicate the segfault behavior on GHA with the following examples using just pure JAX</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# debug_32b.py
import jax  # noqa: F401
import jax.numpy as jnp

print(jnp.asarray([-2, -1], dtype=jnp.float32))
print(jnp.asarray([-2, -1], dtype=jnp.float64))"><pre class="notranslate"><span class="pl-c"># debug_32b.py</span>
<span class="pl-k">import</span> <span class="pl-s1">jax</span>  <span class="pl-c"># noqa: F401</span>
<span class="pl-k">import</span> <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">jnp</span>

<span class="pl-en">print</span>(<span class="pl-s1">jnp</span>.<span class="pl-en">asarray</span>([<span class="pl-c1">-</span><span class="pl-c1">2</span>, <span class="pl-c1">-</span><span class="pl-c1">1</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">jnp</span>.<span class="pl-s1">float32</span>))
<span class="pl-en">print</span>(<span class="pl-s1">jnp</span>.<span class="pl-en">asarray</span>([<span class="pl-c1">-</span><span class="pl-c1">2</span>, <span class="pl-c1">-</span><span class="pl-c1">1</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">jnp</span>.<span class="pl-s1">float64</span>))</pre></div>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# debug_64.py
import jax  # noqa: F401
from jax.config import config

config.update('jax_enable_x64', True)
import jax.numpy as jnp

# 32b first
jnp.asarray([-2, -1])
# then switch to 64b
jnp.asarray([-2, -1], dtype=jnp.float64)"><pre class="notranslate"><span class="pl-c"># debug_64.py</span>
<span class="pl-k">import</span> <span class="pl-s1">jax</span>  <span class="pl-c"># noqa: F401</span>
<span class="pl-k">from</span> <span class="pl-s1">jax</span>.<span class="pl-s1">config</span> <span class="pl-k">import</span> <span class="pl-s1">config</span>

<span class="pl-s1">config</span>.<span class="pl-en">update</span>(<span class="pl-s">'jax_enable_x64'</span>, <span class="pl-c1">True</span>)
<span class="pl-k">import</span> <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">jnp</span>

<span class="pl-c"># 32b first</span>
<span class="pl-s1">jnp</span>.<span class="pl-en">asarray</span>([<span class="pl-c1">-</span><span class="pl-c1">2</span>, <span class="pl-c1">-</span><span class="pl-c1">1</span>])
<span class="pl-c"># then switch to 64b</span>
<span class="pl-s1">jnp</span>.<span class="pl-en">asarray</span>([<span class="pl-c1">-</span><span class="pl-c1">2</span>, <span class="pl-c1">-</span><span class="pl-c1">1</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">jnp</span>.<span class="pl-s1">float64</span>)</pre></div>
<p dir="auto">and the following commands (with the <code class="notranslate">bash-3.2</code> removed from before the <code class="notranslate">$</code> for formatting) using both the <code class="notranslate">deubg_32b.py</code></p>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ python debug_32b.py
Segmentation fault: 11
$ python debug_32b.py
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
[-2. -1.]
/Users/runner/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py:3062: UserWarning: Explicitly requested dtype &lt;class 'jax._src.numpy.lax_numpy.float64'&gt; requested in asarray is not available, and will be truncated to dtype float32. To enable more dtypes, set the jax_enable_x64 configuration option or the JAX_ENABLE_X64 shell environment variable. See https://github.com/google/jax#current-gotchas for more.
  lax._check_user_dtype_supported(dtype, &quot;asarray&quot;)
[-2. -1.]
$ python debug_32b.py
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
[-2. -1.]
/Users/runner/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py:3062: UserWarning: Explicitly requested dtype &lt;class 'jax._src.numpy.lax_numpy.float64'&gt; requested in asarray is not available, and will be truncated to dtype float32. To enable more dtypes, set the jax_enable_x64 configuration option or the JAX_ENABLE_X64 shell environment variable. See https://github.com/google/jax#current-gotchas for more.
  lax._check_user_dtype_supported(dtype, &quot;asarray&quot;)
[-2. -1.]
$ python debug_32b.py
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
[-2. -1.]
/Users/runner/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py:3062: UserWarning: Explicitly requested dtype &lt;class 'jax._src.numpy.lax_numpy.float64'&gt; requested in asarray is not available, and will be truncated to dtype float32. To enable more dtypes, set the jax_enable_x64 configuration option or the JAX_ENABLE_X64 shell environment variable. See https://github.com/google/jax#current-gotchas for more.
  lax._check_user_dtype_supported(dtype, &quot;asarray&quot;)
[-2. -1.]
$ python debug_32b.py
Segmentation fault: 11"><pre class="notranslate">$ <span class="pl-s1">python debug_32b.py</span>
<span class="pl-c1">Segmentation fault: 11</span>
$ <span class="pl-s1">python debug_32b.py</span>
<span class="pl-c1">WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)</span>
<span class="pl-c1">[-2. -1.]</span>
<span class="pl-c1">/Users/runner/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py:3062: UserWarning: Explicitly requested dtype &lt;class 'jax._src.numpy.lax_numpy.float64'&gt; requested in asarray is not available, and will be truncated to dtype float32. To enable more dtypes, set the jax_enable_x64 configuration option or the JAX_ENABLE_X64 shell environment variable. See https://github.com/google/jax#current-gotchas for more.</span>
<span class="pl-c1">  lax._check_user_dtype_supported(dtype, "asarray")</span>
<span class="pl-c1">[-2. -1.]</span>
$ <span class="pl-s1">python debug_32b.py</span>
<span class="pl-c1">WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)</span>
<span class="pl-c1">[-2. -1.]</span>
<span class="pl-c1">/Users/runner/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py:3062: UserWarning: Explicitly requested dtype &lt;class 'jax._src.numpy.lax_numpy.float64'&gt; requested in asarray is not available, and will be truncated to dtype float32. To enable more dtypes, set the jax_enable_x64 configuration option or the JAX_ENABLE_X64 shell environment variable. See https://github.com/google/jax#current-gotchas for more.</span>
<span class="pl-c1">  lax._check_user_dtype_supported(dtype, "asarray")</span>
<span class="pl-c1">[-2. -1.]</span>
$ <span class="pl-s1">python debug_32b.py</span>
<span class="pl-c1">WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)</span>
<span class="pl-c1">[-2. -1.]</span>
<span class="pl-c1">/Users/runner/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py:3062: UserWarning: Explicitly requested dtype &lt;class 'jax._src.numpy.lax_numpy.float64'&gt; requested in asarray is not available, and will be truncated to dtype float32. To enable more dtypes, set the jax_enable_x64 configuration option or the JAX_ENABLE_X64 shell environment variable. See https://github.com/google/jax#current-gotchas for more.</span>
<span class="pl-c1">  lax._check_user_dtype_supported(dtype, "asarray")</span>
<span class="pl-c1">[-2. -1.]</span>
$ <span class="pl-s1">python debug_32b.py</span>
<span class="pl-c1">Segmentation fault: 11</span></pre></div>
<p dir="auto">and the <code class="notranslate">debug_64b.py</code></p>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ python debug_64b.py
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
$ python debug_64b.py
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
$ python debug_64b.py
Segmentation fault: 11"><pre class="notranslate">$ <span class="pl-s1">python debug_64b.py</span>
<span class="pl-c1">WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)</span>
$ <span class="pl-s1">python debug_64b.py</span>
<span class="pl-c1">WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)</span>
$ <span class="pl-s1">python debug_64b.py</span>
<span class="pl-c1">Segmentation fault: 11</span></pre></div>
<p dir="auto">For the GHA sever the env is (the same happens on the Python 3.8 jobs)</p>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ python --version --version
Python 3.7.10 (default, Feb 16 2021, 11:44:40)
[Clang 11.0.0 (clang-1100.0.33.17)]
$ printenv
GITHUB_JOB=test
GITHUB_EVENT_PATH=/Users/runner/work/_temp/_github_workflow/event.json
RUNNER_OS=macOS
XCODE_12_DEVELOPER_DIR=/Applications/Xcode_12.4.app/Contents/Developer
ANDROID_HOME=/Users/runner/Library/Android/sdk
GITHUB_BASE_REF=
NVM_CD_FLAGS=
CHROMEWEBDRIVER=/usr/local/Caskroom/chromedriver/91.0.4472.101
SHELL=/bin/bash
TERM=screen-256color
PIPX_BIN_DIR=/usr/local/opt/pipx_bin
GITHUB_REPOSITORY_OWNER=scikit-hep
INPUT_SUDO=true
TMPDIR=/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/
GITHUB_ACTIONS=true
GITHUB_RUN_NUMBER=7368
ANDROID_SDK_ROOT=/Users/runner/Library/Android/sdk
JAVA_HOME_8_X64=/Users/runner/hostedtoolcache/Java_Adopt_jdk/8.0.292-10/x64/Contents/Home
RCT_NO_LAUNCH_PACKAGER=1
RUNNER_WORKSPACE=/Users/runner/work/pyhf
NUNIT_BASE_PATH=/Library/Developer/nunit
RUNNER_PERFLOG=/usr/local/opt/runner/perflog
GITHUB_REF=refs/heads/fix/test-jax-version-that-breaks-ci
GITHUB_WORKFLOW=CI/CD
LC_ALL=en_US.UTF-8
NUNIT3_PATH=/Library/Developer/nunit/3.6.0
JAVA_HOME_11_X64=/Users/runner/hostedtoolcache/Java_Adopt_jdk/11.0.11-9/x64/Contents/Home
RUNNER_TOOL_CACHE=/Users/runner/hostedtoolcache
GITHUB_ACTION_REPOSITORY=mxschmitt/action-tmate
JAVA_HOME_14_X64=/Users/runner/hostedtoolcache/Java_Adopt_jdk/14.0.2-12/x64/Contents/Home
NVM_DIR=/Users/runner/.nvm
USER=runner
GITHUB_API_URL=https://api.github.com
GITHUB_EVENT_NAME=push
GITHUB_SHA=2e371805064fc961c95106c4098702b3696827c3
XCODE_10_DEVELOPER_DIR=/Applications/Xcode_10.3.app/Contents/Developer
RUNNER_TEMP=/Users/runner/work/_temp
pythonLocation=/Users/runner/hostedtoolcache/Python/3.7.10/x64
ANDROID_NDK_ROOT=/Users/runner/Library/Android/sdk/ndk-bundle
ANDROID_NDK_LATEST_HOME=/Users/runner/Library/Android/sdk/ndk/22.1.7171670
ImageVersion=20210620.1
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.I24a5PqIL3/Listeners
GITHUB_SERVER_URL=https://github.com
HOMEBREW_NO_AUTO_UPDATE=1
__CF_USER_TEXT_ENCODING=0x1F5:0:0
AGENT_TOOLSDIRECTORY=/Users/runner/hostedtoolcache
GITHUB_HEAD_REF=
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
TMUX=/tmp/tmate.sock,1968,0
PATH=/Users/runner/hostedtoolcache/Python/3.7.10/x64/bin:/Users/runner/hostedtoolcache/Python/3.7.10/x64:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/lib/ruby/gems/2.7.0/bin:/usr/local/opt/ruby@2.7/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Users/runner/Library/Android/sdk/ndk-bundle:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/runner/.dotnet/tools:/Users/runner/.ghcup/bin:/Users/runner/hostedtoolcache/stack/2.7.1/x64
INPUT_LIMIT-ACCESS-TO-ACTOR=false
GITHUB_RETENTION_DAYS=90
PERFLOG_LOCATION_SETTING=RUNNER_PERFLOG
CONDA=/usr/local/miniconda
DOTNET_ROOT=/Users/runner/.dotnet
EDGEWEBDRIVER=/usr/local/share/edge_driver
PWD=/Users/runner/work/pyhf/pyhf
VM_ASSETS=/usr/local/opt/runner/scripts
JAVA_HOME=/Users/runner/hostedtoolcache/Java_Adopt_jdk/8.0.292-10/x64/Contents/Home
JAVA_HOME_12_X64=/Users/runner/hostedtoolcache/Java_Adopt_jdk/12.0.2-10.3/x64/Contents/Home
VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg
LANG=en_US.UTF-8
ImageOS=macos1015
TMUX_PANE=%0
XPC_FLAGS=0x0
PIPX_HOME=/usr/local/opt/pipx
GECKOWEBDRIVER=/usr/local/opt/geckodriver/bin
GITHUB_ACTOR=matthewfeickert
XPC_SERVICE_NAME=0
HOME=/Users/runner
SHLVL=4
ACTIONS_RUNTIME_TOKEN=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik9ta3lYbmJnM05RTE1nMGZMaTBSNnJxdzlxdyJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNS
ZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8yMzU5MSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5
kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8yMzU5MSIsIklkZW50aXR5VHlwZUNsYWltIjoiU3lzdGVtOlNlcnZpY2VJZGVudGl0eSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLz
IwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6IkRERERERERELUREREQtRERERC1ERERELURERERERERERERERCIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZ
GRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImF1aSI6ImE1YTFiNzdhLWFhYTktNDFiNi05ZTRjLWQ2OWI4NzRiMmRkNCIsInNpZCI6IjU0OGJjZjNlLWU3MWYtNDI2YS1iYTY0LTNkNmZjNjVhM2JkYSIsImFjIjoiW3tcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL2ZpeC90ZXN0
LWpheC12ZXJzaW9uLXRoYXQtYnJlYWtzLWNpXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFzdGVyXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwib3JjaGlkIjoiMDhhMmQ1NDEtNTU5NC00NjBlLWFlOGQtMjM3YjUyZTYyYjY1LnRlc3Q
ubWFjb3MtbGF0ZXN0XzNfNyIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo1YmY5NjQ5Zi01MjlhLTRhYmMtODAwYS1iNThhMDNjZDNlM2IiLC
JuYmYiOjE2MjQ5MTIzOTEsImV4cCI6MTYyNDkzNTE5MX0.o0oeOn2M2Dbx8-K3yhe4JGA7k9KmR9KBoVAujCk29uptx7HOPfB1kba1l4Ofylm1DeKuB0xfMF5Y8ttibvDTgH2HitCC3BMdL64LZ99IUNnjngkuUsGuQsFI3E3uwT3SF6OpQcaeLjtCV3Qx2iUGkPsWM8Tpt
XD0TH4IXw5NJsbx3rKHHC2aSM6384Im-Nu965w_7539XkaIyLkg8MFK9MTIBr0O0HfRxJqvvareP7ufdqDnvY9EVupoVCdSEs3Xe5fuYW_GJvsKHImbsGoRTOgTFgiwOFxYIiMvcjyU1PDjg3ttjBF0JiMmReypLgSsQqUD-BrPIvjKuHYuzQplTg
RUNNER_TRACKING_ID=github_f9075cf8-002b-4c98-a7e2-61bcc0d94891
ANDROID_NDK_18R_PATH=/Users/runner/Library/Android/sdk/ndk/18.1.5063045
GITHUB_WORKSPACE=/Users/runner/work/pyhf/pyhf
CI=true
GITHUB_ACTION_REF=v3
GITHUB_RUN_ID=980389940
ACTIONS_RUNTIME_URL=https://pipelines.actions.githubusercontent.com/7egiF0eguRHanWqGVl5G5J1mX1k4YmsTgFLGKvP1guMOJIVNqS/
LOGNAME=runner
ACTIONS_CACHE_URL=https://artifactcache.actions.githubusercontent.com/7egiF0eguRHanWqGVl5G5J1mX1k4YmsTgFLGKvP1guMOJIVNqS/
GITHUB_ENV=/Users/runner/work/_temp/_runner_file_commands/set_env_af7b2b08-a369-43cf-87cc-23e9c7f65cbc
LC_CTYPE=en_US.UTF-8
HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS=3650
JAVA_HOME_13_X64=/Users/runner/hostedtoolcache/Java_Adopt_jdk/13.0.2-8.1/x64/Contents/Home
HOMEBREW_CASK_OPTS=--no-quarantine
POWERSHELL_DISTRIBUTION_CHANNEL=GitHub-Actions-macos1015
ANDROID_NDK_HOME=/Users/runner/Library/Android/sdk/ndk-bundle
BOOTSTRAP_HASKELL_NONINTERACTIVE=1
XCODE_11_DEVELOPER_DIR=/Applications/Xcode_11.7.app/Contents/Developer
GITHUB_REPOSITORY=scikit-hep/pyhf
GITHUB_PATH=/Users/runner/work/_temp/_runner_file_commands/add_path_af7b2b08-a369-43cf-87cc-23e9c7f65cbc
GITHUB_ACTION=mxschmittaction-tmate
DOTNET_MULTILEVEL_LOOKUP=0
_=/usr/bin/printenv"><pre class="notranslate">$ <span class="pl-s1">python --version --version</span>
<span class="pl-c1">Python 3.7.10 (default, Feb 16 2021, 11:44:40)</span>
<span class="pl-c1">[Clang 11.0.0 (clang-1100.0.33.17)]</span>
$ <span class="pl-s1">printenv</span>
<span class="pl-c1">GITHUB_JOB=test</span>
<span class="pl-c1">GITHUB_EVENT_PATH=/Users/runner/work/_temp/_github_workflow/event.json</span>
<span class="pl-c1">RUNNER_OS=macOS</span>
<span class="pl-c1">XCODE_12_DEVELOPER_DIR=/Applications/Xcode_12.4.app/Contents/Developer</span>
<span class="pl-c1">ANDROID_HOME=/Users/runner/Library/Android/sdk</span>
<span class="pl-c1">GITHUB_BASE_REF=</span>
<span class="pl-c1">NVM_CD_FLAGS=</span>
<span class="pl-c1">CHROMEWEBDRIVER=/usr/local/Caskroom/chromedriver/91.0.4472.101</span>
<span class="pl-c1">SHELL=/bin/bash</span>
<span class="pl-c1">TERM=screen-256color</span>
<span class="pl-c1">PIPX_BIN_DIR=/usr/local/opt/pipx_bin</span>
<span class="pl-c1">GITHUB_REPOSITORY_OWNER=scikit-hep</span>
<span class="pl-c1">INPUT_SUDO=true</span>
<span class="pl-c1">TMPDIR=/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/</span>
<span class="pl-c1">GITHUB_ACTIONS=true</span>
<span class="pl-c1">GITHUB_RUN_NUMBER=7368</span>
<span class="pl-c1">ANDROID_SDK_ROOT=/Users/runner/Library/Android/sdk</span>
<span class="pl-c1">JAVA_HOME_8_X64=/Users/runner/hostedtoolcache/Java_Adopt_jdk/8.0.292-10/x64/Contents/Home</span>
<span class="pl-c1">RCT_NO_LAUNCH_PACKAGER=1</span>
<span class="pl-c1">RUNNER_WORKSPACE=/Users/runner/work/pyhf</span>
<span class="pl-c1">NUNIT_BASE_PATH=/Library/Developer/nunit</span>
<span class="pl-c1">RUNNER_PERFLOG=/usr/local/opt/runner/perflog</span>
<span class="pl-c1">GITHUB_REF=refs/heads/fix/test-jax-version-that-breaks-ci</span>
<span class="pl-c1">GITHUB_WORKFLOW=CI/CD</span>
<span class="pl-c1">LC_ALL=en_US.UTF-8</span>
<span class="pl-c1">NUNIT3_PATH=/Library/Developer/nunit/3.6.0</span>
<span class="pl-c1">JAVA_HOME_11_X64=/Users/runner/hostedtoolcache/Java_Adopt_jdk/11.0.11-9/x64/Contents/Home</span>
<span class="pl-c1">RUNNER_TOOL_CACHE=/Users/runner/hostedtoolcache</span>
<span class="pl-c1">GITHUB_ACTION_REPOSITORY=mxschmitt/action-tmate</span>
<span class="pl-c1">JAVA_HOME_14_X64=/Users/runner/hostedtoolcache/Java_Adopt_jdk/14.0.2-12/x64/Contents/Home</span>
<span class="pl-c1">NVM_DIR=/Users/runner/.nvm</span>
<span class="pl-c1">USER=runner</span>
<span class="pl-c1">GITHUB_API_URL=https://api.github.com</span>
<span class="pl-c1">GITHUB_EVENT_NAME=push</span>
<span class="pl-c1">GITHUB_SHA=2e371805064fc961c95106c4098702b3696827c3</span>
<span class="pl-c1">XCODE_10_DEVELOPER_DIR=/Applications/Xcode_10.3.app/Contents/Developer</span>
<span class="pl-c1">RUNNER_TEMP=/Users/runner/work/_temp</span>
<span class="pl-c1">pythonLocation=/Users/runner/hostedtoolcache/Python/3.7.10/x64</span>
<span class="pl-c1">ANDROID_NDK_ROOT=/Users/runner/Library/Android/sdk/ndk-bundle</span>
<span class="pl-c1">ANDROID_NDK_LATEST_HOME=/Users/runner/Library/Android/sdk/ndk/22.1.7171670</span>
<span class="pl-c1">ImageVersion=20210620.1</span>
<span class="pl-c1">SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.I24a5PqIL3/Listeners</span>
<span class="pl-c1">GITHUB_SERVER_URL=https://github.com</span>
<span class="pl-c1">HOMEBREW_NO_AUTO_UPDATE=1</span>
<span class="pl-c1">__CF_USER_TEXT_ENCODING=0x1F5:0:0</span>
<span class="pl-c1">AGENT_TOOLSDIRECTORY=/Users/runner/hostedtoolcache</span>
<span class="pl-c1">GITHUB_HEAD_REF=</span>
<span class="pl-c1">GITHUB_GRAPHQL_URL=https://api.github.com/graphql</span>
<span class="pl-c1">TMUX=/tmp/tmate.sock,1968,0</span>
<span class="pl-c1">PATH=/Users/runner/hostedtoolcache/Python/3.7.10/x64/bin:/Users/runner/hostedtoolcache/Python/3.7.10/x64:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/lib/ruby/gems/2.7.0/bin:/usr/local/opt/ruby@2.7/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Users/runner/Library/Android/sdk/ndk-bundle:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/runner/.dotnet/tools:/Users/runner/.ghcup/bin:/Users/runner/hostedtoolcache/stack/2.7.1/x64</span>
<span class="pl-c1">INPUT_LIMIT-ACCESS-TO-ACTOR=false</span>
<span class="pl-c1">GITHUB_RETENTION_DAYS=90</span>
<span class="pl-c1">PERFLOG_LOCATION_SETTING=RUNNER_PERFLOG</span>
<span class="pl-c1">CONDA=/usr/local/miniconda</span>
<span class="pl-c1">DOTNET_ROOT=/Users/runner/.dotnet</span>
<span class="pl-c1">EDGEWEBDRIVER=/usr/local/share/edge_driver</span>
<span class="pl-c1">PWD=/Users/runner/work/pyhf/pyhf</span>
<span class="pl-c1">VM_ASSETS=/usr/local/opt/runner/scripts</span>
<span class="pl-c1">JAVA_HOME=/Users/runner/hostedtoolcache/Java_Adopt_jdk/8.0.292-10/x64/Contents/Home</span>
<span class="pl-c1">JAVA_HOME_12_X64=/Users/runner/hostedtoolcache/Java_Adopt_jdk/12.0.2-10.3/x64/Contents/Home</span>
<span class="pl-c1">VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg</span>
<span class="pl-c1">LANG=en_US.UTF-8</span>
<span class="pl-c1">ImageOS=macos1015</span>
<span class="pl-c1">TMUX_PANE=%0</span>
<span class="pl-c1">XPC_FLAGS=0x0</span>
<span class="pl-c1">PIPX_HOME=/usr/local/opt/pipx</span>
<span class="pl-c1">GECKOWEBDRIVER=/usr/local/opt/geckodriver/bin</span>
<span class="pl-c1">GITHUB_ACTOR=matthewfeickert</span>
<span class="pl-c1">XPC_SERVICE_NAME=0</span>
<span class="pl-c1">HOME=/Users/runner</span>
<span class="pl-c1">SHLVL=4</span>
<span class="pl-c1">ACTIONS_RUNTIME_TOKEN=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik9ta3lYbmJnM05RTE1nMGZMaTBSNnJxdzlxdyJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNS</span>
<span class="pl-c1">ZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8yMzU5MSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5</span>
<span class="pl-c1">kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8yMzU5MSIsIklkZW50aXR5VHlwZUNsYWltIjoiU3lzdGVtOlNlcnZpY2VJZGVudGl0eSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLz</span>
<span class="pl-c1">IwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6IkRERERERERELUREREQtRERERC1ERERELURERERERERERERERCIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZ</span>
<span class="pl-c1">GRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImF1aSI6ImE1YTFiNzdhLWFhYTktNDFiNi05ZTRjLWQ2OWI4NzRiMmRkNCIsInNpZCI6IjU0OGJjZjNlLWU3MWYtNDI2YS1iYTY0LTNkNmZjNjVhM2JkYSIsImFjIjoiW3tcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL2ZpeC90ZXN0</span>
<span class="pl-c1">LWpheC12ZXJzaW9uLXRoYXQtYnJlYWtzLWNpXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFzdGVyXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwib3JjaGlkIjoiMDhhMmQ1NDEtNTU5NC00NjBlLWFlOGQtMjM3YjUyZTYyYjY1LnRlc3Q</span>
<span class="pl-c1">ubWFjb3MtbGF0ZXN0XzNfNyIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo1YmY5NjQ5Zi01MjlhLTRhYmMtODAwYS1iNThhMDNjZDNlM2IiLC</span>
<span class="pl-c1">JuYmYiOjE2MjQ5MTIzOTEsImV4cCI6MTYyNDkzNTE5MX0.o0oeOn2M2Dbx8-K3yhe4JGA7k9KmR9KBoVAujCk29uptx7HOPfB1kba1l4Ofylm1DeKuB0xfMF5Y8ttibvDTgH2HitCC3BMdL64LZ99IUNnjngkuUsGuQsFI3E3uwT3SF6OpQcaeLjtCV3Qx2iUGkPsWM8Tpt</span>
<span class="pl-c1">XD0TH4IXw5NJsbx3rKHHC2aSM6384Im-Nu965w_7539XkaIyLkg8MFK9MTIBr0O0HfRxJqvvareP7ufdqDnvY9EVupoVCdSEs3Xe5fuYW_GJvsKHImbsGoRTOgTFgiwOFxYIiMvcjyU1PDjg3ttjBF0JiMmReypLgSsQqUD-BrPIvjKuHYuzQplTg</span>
<span class="pl-c1">RUNNER_TRACKING_ID=github_f9075cf8-002b-4c98-a7e2-61bcc0d94891</span>
<span class="pl-c1">ANDROID_NDK_18R_PATH=/Users/runner/Library/Android/sdk/ndk/18.1.5063045</span>
<span class="pl-c1">GITHUB_WORKSPACE=/Users/runner/work/pyhf/pyhf</span>
<span class="pl-c1">CI=true</span>
<span class="pl-c1">GITHUB_ACTION_REF=v3</span>
<span class="pl-c1">GITHUB_RUN_ID=980389940</span>
<span class="pl-c1">ACTIONS_RUNTIME_URL=https://pipelines.actions.githubusercontent.com/7egiF0eguRHanWqGVl5G5J1mX1k4YmsTgFLGKvP1guMOJIVNqS/</span>
<span class="pl-c1">LOGNAME=runner</span>
<span class="pl-c1">ACTIONS_CACHE_URL=https://artifactcache.actions.githubusercontent.com/7egiF0eguRHanWqGVl5G5J1mX1k4YmsTgFLGKvP1guMOJIVNqS/</span>
<span class="pl-c1">GITHUB_ENV=/Users/runner/work/_temp/_runner_file_commands/set_env_af7b2b08-a369-43cf-87cc-23e9c7f65cbc</span>
<span class="pl-c1">LC_CTYPE=en_US.UTF-8</span>
<span class="pl-c1">HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS=3650</span>
<span class="pl-c1">JAVA_HOME_13_X64=/Users/runner/hostedtoolcache/Java_Adopt_jdk/13.0.2-8.1/x64/Contents/Home</span>
<span class="pl-c1">HOMEBREW_CASK_OPTS=--no-quarantine</span>
<span class="pl-c1">POWERSHELL_DISTRIBUTION_CHANNEL=GitHub-Actions-macos1015</span>
<span class="pl-c1">ANDROID_NDK_HOME=/Users/runner/Library/Android/sdk/ndk-bundle</span>
<span class="pl-c1">BOOTSTRAP_HASKELL_NONINTERACTIVE=1</span>
<span class="pl-c1">XCODE_11_DEVELOPER_DIR=/Applications/Xcode_11.7.app/Contents/Developer</span>
<span class="pl-c1">GITHUB_REPOSITORY=scikit-hep/pyhf</span>
<span class="pl-c1">GITHUB_PATH=/Users/runner/work/_temp/_runner_file_commands/add_path_af7b2b08-a369-43cf-87cc-23e9c7f65cbc</span>
<span class="pl-c1">GITHUB_ACTION=mxschmittaction-tmate</span>
<span class="pl-c1">DOTNET_MULTILEVEL_LOOKUP=0</span>
<span class="pl-c1">_=/usr/bin/printenv</span></pre></div>
<p dir="auto">However, I am <em>unable</em> to replicate this at all on the Macbook Air</p>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.13.6
BuildVersion: 17G14042
$ python --version --version
Python 3.8.10 (default, Jun 27 2021, 18:38:01)
[Clang 10.0.0 (clang-1000.10.44.4)]
$ printenv
SSH_AGENT_PID=533
TERM_PROGRAM=iTerm.app
PYENV_ROOT=/Users/cerylinae/.pyenv
TERM=xterm-256color
SHELL=/bin/bash
TMPDIR=/var/folders/rx/t5jm47z56bxfxmbp2qs6fsj80000gn/T/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.dWj7SOkSaA/Render
TERM_PROGRAM_VERSION=3.3.12
OLDPWD=/Users/cerylinae/Code
TERM_SESSION_ID=w0t0p0:FEA1A898-9304-451B-9F5E-765940B67423
PYENV_VERSION=pyhf-debug
USER=cerylinae
SSH_AUTH_SOCK=/var/folders/rx/t5jm47z56bxfxmbp2qs6fsj80000gn/T//ssh-g3V3yN8vZC0o/agent.532
__CF_USER_TEXT_ENCODING=0x0:0:0
PYENV_VIRTUALENV_INIT=1
VIRTUAL_ENV=/Users/cerylinae/.pyenv/versions/3.8.10/envs/pyhf-debug
PYENV_VIRTUAL_ENV=/Users/cerylinae/.pyenv/versions/3.8.10/envs/pyhf-debug
PATH=/Users/cerylinae/.pyenv/plugins/pyenv-virtualenv/shims:/Users/cerylinae/.pyenv/shims:/Users/cerylinae/.pyenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
PWD=/Users/cerylinae/Code/pyhf
LANG=en_US.UTF-8
ITERM_PROFILE=Default
_OLD_VIRTUAL_PS1=\h:\W \u\$
XPC_FLAGS=0x0
PS1=(pyhf-debug) \h:\W \u\$
XPC_SERVICE_NAME=0
PYENV_SHELL=bash
SHLVL=1
HOME=/Users/cerylinae
COLORFGBG=7;0
LC_TERMINAL_VERSION=3.3.12
ITERM_SESSION_ID=w0t0p0:FEA1A898-9304-451B-9F5E-765940B67423
LOGNAME=cerylinae
LC_TERMINAL=iTerm2
DISPLAY=/private/tmp/com.apple.launchd.39ujEqef0g/org.macosforge.xquartz:0
PYENV_ACTIVATE_SHELL=1
COLORTERM=truecolor
_=/usr/bin/printenv"><pre class="notranslate">$ <span class="pl-s1">sw_vers</span>
<span class="pl-c1">ProductName: Mac OS X</span>
<span class="pl-c1">ProductVersion: 10.13.6</span>
<span class="pl-c1">BuildVersion: 17G14042</span>
$ <span class="pl-s1">python --version --version</span>
<span class="pl-c1">Python 3.8.10 (default, Jun 27 2021, 18:38:01)</span>
<span class="pl-c1">[Clang 10.0.0 (clang-1000.10.44.4)]</span>
$ <span class="pl-s1">printenv</span>
<span class="pl-c1">SSH_AGENT_PID=533</span>
<span class="pl-c1">TERM_PROGRAM=iTerm.app</span>
<span class="pl-c1">PYENV_ROOT=/Users/cerylinae/.pyenv</span>
<span class="pl-c1">TERM=xterm-256color</span>
<span class="pl-c1">SHELL=/bin/bash</span>
<span class="pl-c1">TMPDIR=/var/folders/rx/t5jm47z56bxfxmbp2qs6fsj80000gn/T/</span>
<span class="pl-c1">Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.dWj7SOkSaA/Render</span>
<span class="pl-c1">TERM_PROGRAM_VERSION=3.3.12</span>
<span class="pl-c1">OLDPWD=/Users/cerylinae/Code</span>
<span class="pl-c1">TERM_SESSION_ID=w0t0p0:FEA1A898-9304-451B-9F5E-765940B67423</span>
<span class="pl-c1">PYENV_VERSION=pyhf-debug</span>
<span class="pl-c1">USER=cerylinae</span>
<span class="pl-c1">SSH_AUTH_SOCK=/var/folders/rx/t5jm47z56bxfxmbp2qs6fsj80000gn/T//ssh-g3V3yN8vZC0o/agent.532</span>
<span class="pl-c1">__CF_USER_TEXT_ENCODING=0x0:0:0</span>
<span class="pl-c1">PYENV_VIRTUALENV_INIT=1</span>
<span class="pl-c1">VIRTUAL_ENV=/Users/cerylinae/.pyenv/versions/3.8.10/envs/pyhf-debug</span>
<span class="pl-c1">PYENV_VIRTUAL_ENV=/Users/cerylinae/.pyenv/versions/3.8.10/envs/pyhf-debug</span>
<span class="pl-c1">PATH=/Users/cerylinae/.pyenv/plugins/pyenv-virtualenv/shims:/Users/cerylinae/.pyenv/shims:/Users/cerylinae/.pyenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin</span>
<span class="pl-c1">PWD=/Users/cerylinae/Code/pyhf</span>
<span class="pl-c1">LANG=en_US.UTF-8</span>
<span class="pl-c1">ITERM_PROFILE=Default</span>
<span class="pl-e">_OLD_VIRTUAL_PS1=\h:\W \u\</span>$
<span class="pl-c1">XPC_FLAGS=0x0</span>
<span class="pl-c1">PS1=(pyhf-debug) \h:\W \u\$</span>
<span class="pl-c1">XPC_SERVICE_NAME=0</span>
<span class="pl-c1">PYENV_SHELL=bash</span>
<span class="pl-c1">SHLVL=1</span>
<span class="pl-c1">HOME=/Users/cerylinae</span>
<span class="pl-c1">COLORFGBG=7;0</span>
<span class="pl-c1">LC_TERMINAL_VERSION=3.3.12</span>
<span class="pl-c1">ITERM_SESSION_ID=w0t0p0:FEA1A898-9304-451B-9F5E-765940B67423</span>
<span class="pl-c1">LOGNAME=cerylinae</span>
<span class="pl-c1">LC_TERMINAL=iTerm2</span>
<span class="pl-c1">DISPLAY=/private/tmp/com.apple.launchd.39ujEqef0g/org.macosforge.xquartz:0</span>
<span class="pl-c1">PYENV_ACTIVATE_SHELL=1</span>
<span class="pl-c1">COLORTERM=truecolor</span>
<span class="pl-c1">_=/usr/bin/printenv</span></pre></div>
<p dir="auto">We thought that we would report this to the JAX team as we are unable to replicate this behavior with older versions of <code class="notranslate">jaxlib</code>, but as we're unable to replicate this locally for <code class="notranslate">jaxlib</code> <code class="notranslate">v0.1.68</code> if you'd like us to open complimentary issues with the <a href="https://github.com/actions/virtual-environments">GitHub Actions virtual environments</a> team we're happy to do so as well.</p>
<p dir="auto">We're happy to do whatever we can to try to help debug this, and if it is of any help there is a branch of the <code class="notranslate">pyhf</code> repo (<code class="notranslate">fix/test-jax-version-that-breaks-ci</code>) that has the examples shown here on it.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lukasheinrich/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lukasheinrich">@lukasheinrich</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kratsg/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kratsg">@kratsg</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jpivarski/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jpivarski">@jpivarski</a></p>