Tensorflow not building - bazel

I followed the instructions given here to set-up my machine to run SyntaxNet. I have installed all the required software and ensured the versions are the same as the instructions. But when I run the bazel tests using command bazel test --linkopt=-headerpad_max_install_names syntaxnet/... util/utf8/... on my Mac OS, it fails every time. I'm getting the following error message
Sending SIGTERM to previous Bazel server (pid=42104)... Sending SIGKILL to previous Bazel server process group (pid=42104)... Error: SIGKILL unsuccessful after 10s: Operation not permitted
Not sure what's going wrong. Kindly advice

Related

"/remote_debugger/vsdbg: not found" and "Failed to launch debug adapter" with docker-compose

I'm getting this error whenever I try to run my project (with docker-compose) and cannot find any solution. I'm really hoping I've just been doing something dumb, so here goes...
I created a simple ASP.NET Core Web App (to test this out as I was having a problem on my "real" project.)
.Net Core 3.1
Visual Studio 16.11.3
Docker Desktop ver 4.0.1 (Docker Engine: 20.10.8)
Scenarios below were tried on both WSL2 and Hyper-V.
Docker itself is running fine, I can use containers no problem.
When I create the project with Docker support, I can run it fine (it creates the container, I can debug, etc)
If I add a docker-compose setup, however, I get the following error popup when I try run my project (from VS)
The only thing I can see in the output window (debug) is this:
The program '' has exited with code -1 (0xffffffff).
To be clear, the build was successful, the container is running in docker, etc.
After much effort, I found a way to get more information by running the following in the VS Command window:
DebugAdapterHost.Logging /On /OutputWindow
I now can see some more detail (in Output - Debug Adapter Host Log) but don't know how to solve it.
The most relevant message (afaik) is
1> ERROR: Debug adapter error output: /bin/sh: 1: /remote_debugger/vsdbg: not found
but here is the full output:
So I'm pretty stumped. I've uninstalled and reinstalled docker countless times, tried every imaginable setting, ensured everything is running with admin privileges, and so on.
In case it helps, here is my debug output from the same run (note how it says vsdbg is found)
Does anybody know what else I can try, or how to get more insight into this?

node webpack hangs. How to debug?

I am trying to build ORO Platform js assets, using a non-docker environment, it works like a charm, but in Docker (either during Docker Build, or container execution) the building process stop and hangs with 100% CPU.
67% [0] building 1416/1470 modules 54 active ... ndles/orotask/sidebar_widgets/assigned_tasks/css/styles.scss
The building process does not necessarily hang on the exact same file. And also, the build seems to succeed on some occasion.
I've try to reduce to a minimum the process by removing Happy, tested with --max-old-space-size=4096, but no luck.
Sources : https://github.com/oroinc/platform/tree/master/build
How would you recommend debugging this ?
Thanks
There is a known issue when a NodeJs process hangs while you run it from the root user. As I know, there is no workaround for now. Consider using another user to build the assets.
If it's not the case, please review the Troubleshooting section in OroAssetBundle, that might help.

Installing JenkinsX on Kubernetes Cluster - Failing compliance tests

I ran the jx compliance tests, and now when I run the command to get the results, I get this :
FAILED BeforeSuite Kubernetes e2e suite
I really don't know what I'm meant to do with that information, it doesn't really seem to tell me what I can do to remedy the situation.

Apache Beam Dataflow Jobs started failing with: Workflow failed

I've been running batch jobs for over a week now with DataflowRunner without a problem but all of a sudden starting from today the jobs started failing with the error message below. The workers don't seem to start and there's no log in stackdriver at all.
Anything I'm missing here?
Dataflow SDK version: 2.0.0
Submitted job: 2017-08-29_09_43_20-9537473353894635176
2017-08-29 16:44:24 ERROR MonitoringUtil$LoggingHandler:101 - 2017-08-29T16:44:22.277Z: (54a5da9d57fd266d): Workflow failed.
EDIT:
If I remove --zone=europe-west2-b from the batch run it works which indicates that there might be something wrong with this zone.
I took a look at your job. It failed because it couldn't get quota to bring up the workers. Likely you do not have quota in that zone. This error is not handled back correctly, but it should be fixed in the next release.

Jenkins Builds - PhantomJS was not killed in 2000 ms, sending SIGKILL

We have started seeing intermittent issues on our Jenkins build server when running jasmine unit tests with Karma.
We see the following error:
PhantomJS was not killed in 2000 ms, sending SIGKILL
This is usually goes away the next time we run the build, and we may not see the issue again for a couple of days.
We don't see this when running tests locally, so I'm wondering what could be different about our Jenkins environment that could cause this.
Can anyone offer any suggestions please?
Thanks

Resources