Closed Bug 1650612 (mozregui-bigsur) Opened 4 years ago Closed 4 years ago

mozregression GUI does not start on macOS Big Sur

Categories

(Testing :: mozregression, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: soeren.hentzschel, Unassigned)

References

(Blocks 1 open bug)

Details

The mozregression GUI does not start on macOS Big Sur Developer Beta 1. You can see the app icon in the dock but nothing happens, the activity manager shows almost 100 percent CPU for the mozregression GUI and you have to force close the app.

Tested with the current version 4.0.7.

Summary: mozregression GUI does not start no macOS Big Sur Beta → mozregression GUI does not start on macOS Big Sur Beta

The severity field is not set for this bug.
:wlach, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(wlachance)

urllib3 just got bumped to 1.25.10 which contains the following in its changelog:

Fixed loading of SecureTransport libraries on macOS Big Sur due to the new dynamic linker cache (Pull #1905)

So it'll be interesting to see if that makes any difference (though there could well be other dependencies with similar issues we'll have to wait for).

Severity: -- → S2
Flags: needinfo?(wlachance)

So it'll be interesting to see if that makes any difference (though there could well be other dependencies with similar issues we'll have to wait for).

Unfortunately today's build which should contain the urllib3 bump still don't start.

[Tracking Requested - why for this release]: Mozregression is important for our ability to debug problems.

I agree we that should fix this, but it's not really a Firefox bug either.

Is this a priority ahead of the BigSur update? If so, Who owns this work?

Flags: needinfo?(wlachance)

(In reply to Thomas Elin [:relaas] from comment #7)

Is this a priority ahead of the BigSur update? If so, Who owns this work?

The mozregression CLI can still be used so I don't think this is high priority.

I did request tracking in comment 5, but now I realize at that time I was confused and was attributing an unrelated failure to this bug.

ah, ok, thanks!

Flags: needinfo?(wlachance)
Alias: mozregui-bigsur

(In reply to Haik Aftandilian [:haik] from comment #8)

(In reply to Thomas Elin [:relaas] from comment #7)

Is this a priority ahead of the BigSur update? If so, Who owns this work?

The mozregression CLI can still be used so I don't think this is high priority.

I did request tracking in comment 5, but now I realize at that time I was confused and was attributing an unrelated failure to this bug.

Haik, do you mean to say that the command line version of the mozregression works on Mac OS 11?
Are you sure? Are you using it? Can you help me understand how to make it work?

Flags: needinfo?(haftandilian)

(In reply to Bodea Daniel [:danibodea] from comment #12)

Haik, do you mean to say that the command line version of the mozregression works on Mac OS 11?
Are you sure? Are you using it? Can you help me understand how to make it work?

I'm able to use mozregression with a command such as

$ mozregression --good 2020-12-01 --bad 2021-02-01

One thing to watch out for is that macOS 11 required some fixes in order to run and therefore old versions may not work which is a hindrance to mozregression. In particular, the fix for bug 1648836 was needed for basic functionality.

What is the problem you are running into?

Flags: needinfo?(daniel.bodea)

While attempting to install mozregression CLI, I needed to:

  1. Remove the python 2.7
    I have attempted removing it using methods seen here:
  1. install Xcode tools with the command:
    xcode-select --install
  2. install python3 with the commands:
    brew install python3
    and
    brew reinstall python@3.9
  3. install mozregression with the command:
    pip3 install mozregression

The install process begins and appears to be working until some errors get displayed:

192-168-0-100:~ svuser$ pip3 install mozregression
Collecting mozregression
Using cached mozregression-4.0.14-py3-none-any.whl (69 kB)
Requirement already satisfied: mozinfo>=1.1.0 in /usr/local/lib/python3.9/site-packages (from mozregression) (1.2.2)
Requirement already satisfied: taskcluster>=6.0.0 in /usr/local/lib/python3.9/site-packages (from mozregression) (40.0.3)
Requirement already satisfied: mozlog>=4.0 in /usr/local/lib/python3.9/site-packages (from mozregression) (7.1.0)
Collecting glean-sdk>=31.1.3
Using cached glean-sdk-34.0.0.tar.gz (1.4 MB)
Requirement already satisfied: mozprocess>=1.2.0 in /usr/local/lib/python3.9/site-packages (from mozregression) (1.2.1)
Collecting configobj>=5.0.6
Using cached configobj-5.0.6-py3-none-any.whl
Collecting beautifulsoup4>=4.7.1
Using cached beautifulsoup4-4.9.3-py3-none-any.whl (115 kB)
Requirement already satisfied: mozversion>=2.1.0 in /usr/local/lib/python3.9/site-packages (from mozregression) (2.3.0)
Requirement already satisfied: redo>=2.0.2 in /usr/local/lib/python3.9/site-packages (from mozregression) (2.0.4)
Requirement already satisfied: mozfile>=2.0.0 in /usr/local/lib/python3.9/site-packages (from mozregression) (2.1.0)
Requirement already satisfied: requests>=2.21.0 in /usr/local/lib/python3.9/site-packages (from mozregression) (2.25.1)
Collecting colorama>=0.4.1
Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: mozrunner>=8.0.2 in /usr/local/lib/python3.9/site-packages (from mozregression) (8.1.0)
Requirement already satisfied: mozdevice<5,>=4.0.0 in /usr/local/lib/python3.9/site-packages (from mozregression) (4.0.3)
Requirement already satisfied: mozprofile>=2.2.0 in /usr/local/lib/python3.9/site-packages (from mozregression) (2.5.0)
Requirement already satisfied: mozinstall>=2.0.0 in /usr/local/lib/python3.9/site-packages (from mozregression) (2.0.1)
Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.9/site-packages (from beautifulsoup4>=4.7.1->mozregression) (2.1)
Requirement already satisfied: six in /usr/local/lib/python3.9/site-packages (from configobj>=5.0.6->mozregression) (1.15.0)
Requirement already satisfied: cffi>=1 in /usr/local/lib/python3.9/site-packages (from glean-sdk>=31.1.3->mozregression) (1.14.4)
Requirement already satisfied: glean_parser==1.29.0 in /usr/local/lib/python3.9/site-packages (from glean-sdk>=31.1.3->mozregression) (1.29.0)
Requirement already satisfied: Click>=7 in /usr/local/lib/python3.9/site-packages (from glean_parser==1.29.0->glean-sdk>=31.1.3->mozregression) (7.1.2)
Requirement already satisfied: jsonschema>=3.0.2 in /usr/local/lib/python3.9/site-packages (from glean_parser==1.29.0->glean-sdk>=31.1.3->mozregression) (3.2.0)
Requirement already satisfied: appdirs>=1.4 in /usr/local/lib/python3.9/site-packages (from glean_parser==1.29.0->glean-sdk>=31.1.3->mozregression) (1.4.4)
Requirement already satisfied: yamllint>=1.18.0 in /usr/local/lib/python3.9/site-packages (from glean_parser==1.29.0->glean-sdk>=31.1.3->mozregression) (1.26.0)
Requirement already satisfied: PyYAML>=3.13 in /usr/local/lib/python3.9/site-packages (from glean_parser==1.29.0->glean-sdk>=31.1.3->mozregression) (5.4.1)
Requirement already satisfied: Jinja2>=2.10.1 in /usr/local/lib/python3.9/site-packages (from glean_parser==1.29.0->glean-sdk>=31.1.3->mozregression) (2.11.3)
Requirement already satisfied: diskcache>=4 in /usr/local/lib/python3.9/site-packages (from glean_parser==1.29.0->glean-sdk>=31.1.3->mozregression) (5.2.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.9/site-packages (from cffi>=1->glean-sdk>=31.1.3->mozregression) (2.20)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python3.9/site-packages (from Jinja2>=2.10.1->glean_parser==1.29.0->glean-sdk>=31.1.3->mozregression) (1.1.1)
Requirement already satisfied: pyrsistent>=0.14.0 in /usr/local/lib/python3.9/site-packages (from jsonschema>=3.0.2->glean_parser==1.29.0->glean-sdk>=31.1.3->mozregression) (0.17.3)
Requirement already satisfied: setuptools in /usr/local/lib/python3.9/site-packages (from jsonschema>=3.0.2->glean_parser==1.29.0->glean-sdk>=31.1.3->mozregression) (52.0.0)
Requirement already satisfied: attrs>=17.4.0 in /usr/local/lib/python3.9/site-packages (from jsonschema>=3.0.2->glean_parser==1.29.0->glean-sdk>=31.1.3->mozregression) (20.3.0)
Requirement already satisfied: distro>=1.4.0 in /usr/local/lib/python3.9/site-packages (from mozinfo>=1.1.0->mozregression) (1.5.0)
Requirement already satisfied: mozterm in /usr/local/lib/python3.9/site-packages (from mozlog>=4.0->mozregression) (1.0.0)
Requirement already satisfied: blessings>=1.3 in /usr/local/lib/python3.9/site-packages (from mozlog>=4.0->mozregression) (1.7)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.9/site-packages (from requests>=2.21.0->mozregression) (1.26.3)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.9/site-packages (from requests>=2.21.0->mozregression) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests>=2.21.0->mozregression) (2020.12.5)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.9/site-packages (from requests>=2.21.0->mozregression) (3.0.4)
Requirement already satisfied: slugid>=2 in /usr/local/lib/python3.9/site-packages (from taskcluster>=6.0.0->mozregression) (2.0.0)
Requirement already satisfied: mohawk>=0.3.4 in /usr/local/lib/python3.9/site-packages (from taskcluster>=6.0.0->mozregression) (1.1.0)
Requirement already satisfied: taskcluster-urls>=12.1.0 in /usr/local/lib/python3.9/site-packages (from taskcluster>=6.0.0->mozregression) (13.0.1)
Requirement already satisfied: async-timeout>=2.0.0 in /usr/local/lib/python3.9/site-packages (from taskcluster>=6.0.0->mozregression) (3.0.1)
Requirement already satisfied: aiohttp!=3.7.0,>=2.0.0 in /usr/local/lib/python3.9/site-packages (from taskcluster>=6.0.0->mozregression) (3.7.3)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.9/site-packages (from aiohttp!=3.7.0,>=2.0.0->taskcluster>=6.0.0->mozregression) (5.1.0)
Requirement already satisfied: typing-extensions>=3.6.5 in /usr/local/lib/python3.9/site-packages (from aiohttp!=3.7.0,>=2.0.0->taskcluster>=6.0.0->mozregression) (3.7.4.3)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.9/site-packages (from aiohttp!=3.7.0,>=2.0.0->taskcluster>=6.0.0->mozregression) (1.6.3)
Requirement already satisfied: pathspec>=0.5.3 in /usr/local/lib/python3.9/site-packages (from yamllint>=1.18.0->glean_parser==1.29.0->glean-sdk>=31.1.3->mozregression) (0.8.1)
Building wheels for collected packages: glean-sdk
Building wheel for glean-sdk (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bn/w7p___3d33vbdhgfplft_gfh0000gp/T/pip-install-8u4z3nk4/glean-sdk_818b888a5c8b40b2b06aa60f74c2288b/setup.py'"'"'; file='"'"'/private/var/folders/bn/w7p___3d33vbdhgfplft_gfh0000gp/T/pip-install-8u4z3nk4/glean-sdk_818b888a5c8b40b2b06aa60f74c2288b/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/bn/w7p___3d33vbdhgfplft_gfh0000gp/T/pip-wheel-cccl39tq
cwd: /private/var/folders/bn/w7p___3d33vbdhgfplft_gfh0000gp/T/pip-install-8u4z3nk4/glean-sdk_818b888a5c8b40b2b06aa60f74c2288b/
Complete output (3 lines):
running bdist_wheel
running build
error: [Errno 2] No such file or directory: 'cargo'

ERROR: Failed building wheel for glean-sdk
Running setup.py clean for glean-sdk
Failed to build glean-sdk
Installing collected packages: glean-sdk, configobj, colorama, beautifulsoup4, mozregression
Running setup.py install for glean-sdk ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bn/w7p___3d33vbdhgfplft_gfh0000gp/T/pip-install-8u4z3nk4/glean-sdk_818b888a5c8b40b2b06aa60f74c2288b/setup.py'"'"'; file='"'"'/private/var/folders/bn/w7p___3d33vbdhgfplft_gfh0000gp/T/pip-install-8u4z3nk4/glean-sdk_818b888a5c8b40b2b06aa60f74c2288b/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/bn/w7p___3d33vbdhgfplft_gfh0000gp/T/pip-record-akesciks/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/glean-sdk
cwd: /private/var/folders/bn/w7p___3d33vbdhgfplft_gfh0000gp/T/pip-install-8u4z3nk4/glean-sdk_818b888a5c8b40b2b06aa60f74c2288b/
Complete output (3 lines):
running install
running build
error: [Errno 2] No such file or directory: 'cargo'
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bn/w7p___3d33vbdhgfplft_gfh0000gp/T/pip-install-8u4z3nk4/glean-sdk_818b888a5c8b40b2b06aa60f74c2288b/setup.py'"'"'; file='"'"'/private/var/folders/bn/w7p___3d33vbdhgfplft_gfh0000gp/T/pip-install-8u4z3nk4/glean-sdk_818b888a5c8b40b2b06aa60f74c2288b/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/bn/w7p___3d33vbdhgfplft_gfh0000gp/T/pip-record-akesciks/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/glean-sdk Check the logs for full command output.
192-168-0-100:~ svuser$

@haik: Can you tell me how I can properly install it?

Flags: needinfo?(daniel.bodea)

Given that's mentioning cargo it looks like you might need Rust installed to compile the glean-sdk package: https://rustup.rs/

(In reply to Ian Moody [:Kwan] (UTC+1) from comment #15)

Given that's mentioning cargo it looks like you might need Rust installed to compile the glean-sdk package: https://rustup.rs/

We should have wheels for the glean-sdk (which would eliminate the need to recompile), but it appears that there's not one for the latest version:

https://pypi.org/project/glean-sdk/34.0.0/#files

Mike, could you or someone on your team investigate this?

Flags: needinfo?(haftandilian) → needinfo?(mdroettboom)
Component: mozregression → Glean: SDK
Product: Testing → Data Platform and Tools

Grump, just realized this bug is tracking another (real) issue. I'm going to file a new one.

Component: Glean: SDK → mozregression
Flags: needinfo?(mdroettboom)
Product: Data Platform and Tools → Testing
No longer blocks: 1690559
Depends on: 1690559

Oh, the latest release failed to produce macOS wheels and I forgot to do a followup patch release.

Finally upgraded to Big Sur yesterday and reproduced this issue. Looks like we need to upgrade the version of python used by the GUI to 3.9.1:

https://github.com/pyinstaller/pyinstaller/issues/5107

Probably best done with bug 1686039

See Also: → 1686039
Summary: mozregression GUI does not start on macOS Big Sur Beta → mozregression GUI does not start on macOS Big Sur

The new version mozregression 4.0.17 finally works on macOS Big Sur. :)

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.