docker fails with on MacOs Sierra with 'MSpanList_Insert 0x8f1000 0x81d2db0339 0x0' - docker

While running
docker -v
on MacOs Sierra 10.13.3 following error is printed and docker exists
failed MSpanList_Insert 0x8f1000 0x81d2db0339 0x0
fatal error: MSpanList_Insert
runtime stack:
runtime.throw(0x80d7ab)
/usr/local/go/src/runtime/panic.go:491 +0xad fp=0x7ffeefbfef10 sp=0x7ffeefbfeee0
runtime.MSpanList_Insert(0x846e88, 0x8f1000)
/usr/local/go/src/runtime/mheap.c:692 +0x8f fp=0x7ffeefbfef38 sp=0x7ffeefbfef10
MHeap_FreeSpanLocked(0x843a80, 0x8f1000, 0x100)
/usr/local/go/src/runtime/mheap.c:583 +0x163 fp=0x7ffeefbfef78 sp=0x7ffeefbfef38
MHeap_Grow(0x843a80, 0x8, 0x0)
/usr/local/go/src/runtime/mheap.c:420 +0x1a8 fp=0x7ffeefbfefb8 sp=0x7ffeefbfef78
.....
I've re-installed docker from docker.com and reboot the system several times. The problem does not go away

This is definitely caused by older versions of go running on osx.
For me I removed older versions of go I had installed via brew, you can see all go's on your system by doing
which -a go
make sure you only have one and it's a recent version.
Next you should reinstall the tool to make sure you have a version of it compiled on a recent version of go.
This would probably be docker CE for osx https://store.docker.com/editions/community/docker-ce-desktop-mac
My issue was with kubectl so I did gcloud components install kubectl instead.

Related

base64: command not found - error when Cocoapods is installing BoringSSL-GRPC

I am building a Unity app for iOS. I am using iOS Project Builder, which allows building iOS apps on Windows. It uses Cocoapods to install Frameworks.
I have this error when Cocoapods is installing BoringSSL-GRPC:
/usr/local/bin/bash: line 68: base64: command not found
gunzip: (stdin): unexpected end of file
Full log: https://pastebin.com/gZm2RUy1
OS: Windows 10 64 bit
Unity Version: 2020.3.12f1
iOS Builder: 3.35.4
iOS SDK: 14.5
Firebase: 9.0.0
Any help would be highly appreciated.
UPDATE 1
Not sure if bash is working. I have enabled it, but when I write it in cmd, it is displayed:
C:\Users\IRAKLI>bash
Windows Subsystem for Linux has no installed distributions.
Distributions can be installed by visiting the Microsoft Store:
https://aka.ms/wslstore
UPDATE 2
Installed Ubuntu from Windows Store. Bash is working now from CMD, but I still have the same error with cocoapods.
Might it be the problem?
irakliunix#DESKTOP-U1MFKFF:/mnt/c/Users/IRAKLI$ /usr/local/bin/bash
-bash: /usr/local/bin/bash: No such file or directory

java.lang.AssertionError: getIOSDriver(): Exception occurred instantiating IOSDriver (Running Synergy server)

openjdk version "13.0.10" 2022-01-18
OpenJDK Runtime Environment Zulu13.46+15-CA (build 13.0.10+5-MTS)
OpenJDK 64-Bit Server VM Zulu13.46+15-CA (build 13.0.10+5-MTS, mixed mode, sharing)
Synergy server jar v.3.0.17
npm v.8.5.0
node v.16.14.2
I want to run automated tests on my real device (iPhone SE, OS: 14.6 [cannot update OS]). I run WebDriverAgentRunner on my device in Xcode (v.13.3), testing starts on my real device:
/**
Never ending test used to start WebDriverAgent
*/
- (void)testRunner
{
FBWebServer *webServer = [[FBWebServer alloc] init];
webServer.delegate = self;
[webServer startServing];
}
Running Synergy server (session on http://localhost:7777).
Added synergy server url to my driver.properties file:
SYNERGY.URL=http://localhost:7777
DEVICE.CATEGORY=Phone
DEVICE.ID=device-id--
APP.PATH=https:path--
But when I run testng.xml file in IntelliJ, I get an error on methodSetup method which is:
#BeforeMethod(alwaysRun = true)
#Parameters({"Environment"})
public void methodSetup(String env, Method method) {
IOSSynergyMobileDriver.getInstance().setScreenOrientation(screenOrientation);
DeviceCapabilities capabilities =
IOSSynergyMobileDefinition.getIOSCommonDesiredCapabilities(
DriverProperties.getInstance().getDeviceId(),
DriverProperties.getInstance().getAppBinaryPath(),
DriverProperties.getInstance().getAppId(),
DriverProperties.getInstance().getVerifyNetworkConnectivity());
capabilities.addCapability("AppLaunchArguments",
RestrictionFactory
.getInstance(
this.getTestGroup()
)
.getAppLaunchArgs()
.toString()
);
IOSSynergyMobileDriver.getInstance().getIOSDriver(
DriverProperties.getInstance().getSynergyUrl(),
capabilities);
initTestSteps();
}
And the error is:
java.lang.AssertionError: getIOSDriver(): Exception occurred instantiating IOSDriver. Exception: com.synergy.core.exceptions.SessionNotStartedException: [{"results":"Session 278b848c-442c-4806-a789-25f2e68f8588 failed to start with error: Unable to find ios_webkit_debug_proxy on your path! Is it installed and available? See the Synergy Server README for details but it can easily be installed via 'brew install --HEAD ios-webkit-debug-proxy' on MAC."},{"results":"Session 278b848c-442c-4806-a789-25f2e68f8588 failed to start with error: Unable to find libimobiledevice packages on your path! Is it installed and available? See the Synergy Server README for details but it can easily be installed via 'brew install libimobiledevice' on MAC."},{"results":"Session 278b848c-442c-4806-a789-25f2e68f8588 failed to start with error: Unable to find ios-deploy on your path! Is it installed and available? See the Synergy Server README for details but it can easily be installed via 'brew install ios-deploy' on MAC."},{"results":"Session 278b848c-442c-4806-a789-25f2e68f8588 failed to start with error: Unable to find Appium on your path! Is it installed and available? See the Synergy Server README for details but it can easily be installed via 'npm install -g appium' on MAC and windows."},{"results":"Session 278b848c-442c-4806-a789-25f2e68f8588 failed to start with error: The device at 00008030-000A0D012152402E did not respond! Is the device online and reachable?"}]
Can anyone clarify what can cause this issue, please?
Note: I've removed node and moved it to usr/local/bin path (opt/homebrew/bin was set as path for node before) but that didn't help. Now I see that appium, ios-deploy and ios_webkit_debug_proxy are also in /opt/homebrew/bin folder, maybe that can be the problem?
I've tried reinstalling node so that it is inside usr/local/bin and updated Xcode to use the latest release, also I tried different versions of Synergy server. No results, the same error.

valgrind installation using brew on macOS High Sierra 10.13.2

I get the following error when trying to install valgrind on the version of macOS using brew:
valgrind: This formula either does not compile or function as expected
on macOS versions newer than Sierra due to an upstream
incompatibility. Error: An unsatisfied requirement failed this build.
I have tried to follow suggestions from all related posts on the issue, and even tried building valgrind using the ./configure option after downloading the source tarball. But that too fails with a gcc incompatibility error, which I am unable to overcome, despite following workaround suggestions on the Web.
Any help would be appreciated.
TIA
Vinod
brew install --HEAD valgrind seems to work now.
See this issue for more details.
You may wish to build it directly and install instead of using home-brew. I have created a port of valgrind 3.13.0 to work on macOS High Sierra (10.13.x). You can get it here: https://github.com/padiakalpesh/valgrind_3.13_high_sierra
Once you have obtained the source, run the following commands from inside the source directory:
./configure
make
sudo make install

Docker: not found

I started having this issue today after macOS High Sierra update.
I went ahead and uninstalled docker via Docker > Preferences.
Installed fresh docker and I still can't get the following command to work
docker info
It works for root user, but not for my user.
There is an open issue in docker for mac https://github.com/docker/for-mac/issues/2357
Apparently new version of H Sierra, does not work properly with docker for mac
[https://github.com/docker/for-mac/issues/47]
After setting docker.sock path, I could not find com.docker.docker.
So, instead of docker for mac, I installed docker using brew command,
then run
brew cask install docker
Now, click on the whale icon and click allow for all the successive prompts. Now, try re running the build with the tag you want.
docker build -t <name> .
Now, this works as expected. please try. This resolved my problem. hope it helps.
try install using brew
brew install docker

#providesModule naming collision error

Node: 4.8.3
NPM: 4.5.0
RN CLI: 1.0.0
RN: 0.34.0
Ignite: 1.13.0
The iOS react-native project I'm working on is actually from another machine Mac machine. I transferred it over my Windows machine and run it in a virtual machine with El Capitan OS. But now I can't even build it. I don't understand what the errors below are. And I'm not really familiar with XCode and OSX.
The error is saying something about naming collisions. I already tried deleting the collisioned files but another file happens to occur. Then delete that file again and then same thing happens. It goes on and on. Already tried deleting the node_modules folder then running npm install again. I tried running npm dedupe and also tried creating a new project using ignite new MyApp but it seems to happen.
What did I miss here?
Error Screenshot 1:
Error Screenshot 2:
This might be a problem of your react-native-router-flux version. (v3.38.1)
I suspect after transferring it over to the other machine you did npm install and got a newer version.
See: https://github.com/aksonov/react-native-router-flux/issues/1809
The workaround would be to set a fix version in your package.json.
"react-native-router-flux": "3.38.0",

Resources