fix: improve userAction-log view, collapse content that is longer tha… SOFIE-3382

About the Contributor

This pull request is posted on behalf of the NRK
Type of Contribution
This is a:
GUI improvement
Current Behavior

On the User Activity Log page, the full parameters are displayed, so if the parameters are very long, the view becomes almost unusable due to each entry spanning 100s of lines.
New Behavior

If the parameters JSON is longer than 100 characters or 5 lines, the content is cropped (but can be clicked to expanded).

Testing

[ ] I have added one or more unit tests for this PR
[ ] I have updated the relevant unit tests
[x] No unit test changes are needed for this PR

Affected areas

This PR affects the GUI of the User Activity Log page.
Time Frame

Other Information

Status

[x] PR is ready to be reviewed.
[x] The functionality has been tested by the author.
[x] Relevant unit tests has been added / updated.
[x] Relevant documentation (code comments, system documentation) has been added / updated.

I've rebased this feature onto release51 and created a new PR for that branch here: https://github.com/nrkno/sofie-core/pull/1250

Rebased onto release51, closing this PR


Objective-c

Hi
I'm trying to make it work using objective-c.
Cannot found hot to call this using Obj-C syntax.  Can i please ask if someone have done it with success?
Thanks!
Simplicity.login(Facebook()) { (accessToken, error) in
// Handle access token here
}

Unfortunately, this library is not objective-c compatible, since you do have to put some extra work into avoiding newer Swift features, etc. Sorry!


[i2c] NACK detection broken in the presence of clock stretching

Description
For NACK detection, the I2C FSM does not correctly hold off effects of SDA until the SCL rising edge. Consequently, if the device stretches the clock to hold off the ACK sampling, the i2c IP will spuriously signal a NACK:
https://github.com/lowRISC/opentitan/blob/7d15a8d910a7de5aa7751a263cbbe55a6f6f5990/hw/ip/i2c/rtl/i2c_fsm.sv#L543

CC @msfschaffner @moidx

Thanks for raising this @a-will, how did you find the bug?
I'm also wondering how much of a problem it is in practise section 3.1.9 'Clock stretching' of the I2C states

Targets can then hold the SCL line LOW after reception and acknowledgment of a byte to force the controller into a wait state

This would indicate that clock stretching shouldn't be used between receiving the data bits and generating the ACK/NACK.
Though the beginning of this section states:

Clock stretching pauses a transaction by holding the SCL line LOW. The transaction cannot continue until the line is released HIGH again

Which does suggest clock stretching is meant to be a general mechanism allowing a device to pause a transaction at any point.
So I can see how our I2C testplan has only included clock stretching as something that occurs to pause things between bytes, rather than pause things anywhere. The real question is what devices actually do this stretch before ACK/NACK?

This NXP application note: https://www.nxp.com/docs/en/application-note/AN13472.pdf shows this very scenario so reasonable to say this is a behaviour we should handle correctly. We need to determine if any of the I2C devices we care about will do the stretch before ACK.

The microchip documentation here: https://onlinedocs.microchip.com/pr/GUID-CA6B1F8F-E09D-4780-A52A-CBBF61902464-en-US-2/index.html?GUID-5CCAB0DB-28BD-4095-B2E2-2F3CF0FC6966 also demonstrates this behaviour though microchip uses a stretch before ACK when the target is transmitting data, where NXP uses it for targets receiving data and during the address phase.

We need to asses the behaviour in more detail in DV but I think it's just the NACK interrupt that gets triggered? The FSM will remain paused due to the stretch.
Not great from a software perspective, you'd need to ignore certain NACK interrupts (and fiddly to know what to ignore, you may need to just set a flag saying one happened then look at the FIFO later and try work it out then), but at least enables a workaround so the I2C can still be used with targets that exhibit stretch before ACK behaviour.

From I2C documentation in OT (clock stretching), this case is not considered. In all the three cases described, clock stretch happens after ACK bit is received.

I believe that's talking about the I2C block operating in target mode?

I believe that's talking about the I2C block operating in target mode?
I.e. it's how our I2C does clock stretching, rather than what it expects from other targets in host mode.

ah ok, the wording in the docs got me confused

This issue is a miss from the DV side. We have a sequence(i2c_host_stretch_timeout_vseq.sv) that stretches SCL during ACK bit randomly but the sequence doesn't have a check for NAK interrupt.

I've raised a PR to check for all unexpected interrupts https://github.com/lowRISC/opentitan/pull/19018 and was able to see failures with NAK interrupt.
With the RTL fix in https://github.com/lowRISC/opentitan/pull/19015, the issue got resolved.


[+Region/Zone] NCP-Classic Cloud Driver Implementation

@powerkimhub NCP Classic RegionZoneHandler와 Test code를 개발 완료했습니다.

completed via https://github.com/cloud-barista/ncp/pull/108 (private repos)


ClipToOutline not working

I'm using a phone with Oreo (API 26) and when adding a ImageView that uses width and height = matchParent it is not getting clipped - the radius on the card is lost. I can't use padding, or else I would have a white background around my image. This is the same as #3 . I'm using version 1.0.0.

Try this, it might help. The library has the same attributes they used in the issue below.
https://stackoverflow.com/questions/37549204/corners-imgeview-fit-inside-cardview-does-not-have-radius-like-cardviews-corner


Returning nothing (Automation.Null) from an [object]-typed custom-class method breaks

Steps to reproduce
class Foo { [object] Bar() { return & {} } }; (new Foo).Bar()

Note that & {} outputs "nothing", i.e., the "null collection" [System.Management.Automation.Internal.AutomationNull]::Value
Expected behavior
Given that PowerShell allows casting any value to [object] - including $null and [System.Management.Automation.Internal.AutomationNull]::Value, the operation should succeed and the [System.Management.Automation.Internal.AutomationNull]::Value) should be passed through.
@BrucePay's take on the desired behavior differs, however (taken from this SO answer of his):

We should still generate an error but it should be "non-void methods must return a value" or some such

Actual behavior
The following error occurs:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: Index
...

An analysis of the cause, courtesy of @BrucePay's previously linked answer:

[...] the code that invokes the scriptblock expects there to be an object in the result List i.e. result.Count == 1. There are no objects in the pipeline case so you get an index-out-of-range error. [...]
BTW - the code in question is here.

Environment data
PowerShell Core v6.1.0-preview.2 on macOS 10.13.4
PowerShell Core v6.1.0-preview.2 on Ubuntu 16.04.4 LTS
PowerShell Core v6.1.0-preview.2 on Microsoft Windows 10 Pro (64-bit; Version 1709, OS Build: 16299.371)
Windows PowerShell v5.1.17134.48 on Microsoft Windows 10 Pro (64-bit; Version 1709, OS Build: 16299.371)

Rather than generating an error which wouldn't have been very useful, I changed the code to return default(T).

Thanks, @BrucePay, that makes sense.
To spell it out, in the case of [object] - and any reference type - this will default to $null - see https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/statements-expressions-operators/default-value-expressions for the full story.

The one thing I don't like every time I should check for $null before iterating. because:
$null | Foreach-Object { $_.someprops.prop = "111" } # throws exception;
&{} | Foreach-Object { $_.someprops.prop } # no throw because no iterating;


DO NOT MERGE: Learn

Plan to deploy:

Maintain a separate branch in this repo
Run npm run build
Create a deployment script on the learn.getdbt.com repo that moves the build files into the _site/ directory
Access at learn.getdbt.com/tutorial/getting-started

For now, this is a draft PR so you can comment on the changes

Check it out here

This is looking good. Are we going to share it with students using the Netlify link? I'm fine with that.
We should adjust or remove the "Deploy your project" section. The big unanswered question there is: Should we connect a single "main" project repo to the dbtlearn Cloud account, and students just put in their Snowflake credentials? Should each student connect their own repo + create their own environment in the dbtlearn Cloud account, so that they can use the IDE to edit their own project?

@jtcohen6 — can you review this now?


In development?

Hi dev!
Is this still in development?  Is it likely to be far off working?  Because I just tried installing / using.  I got as far as installing:
$ sudo pip install dwdweather
Downloading/unpacking dwdweather
  Downloading dwdweather-0.7.tar.gz
  Running setup.py (path:/tmp/pip_build_root/dwdweather/setup.py) egg_info for package dwdweather

Installing collected packages: dwdweather
  Running setup.py install for dwdweather

	Installing dwdweather script to /usr/local/bin
Successfully installed dwdweather
Cleaning up...

But then running a basic command line fails:
$ dwdweather stations
Traceback (most recent call last):
  File "/usr/local/bin/dwdweather", line 9, in <module>
	load_entry_point('dwdweather==0.7', 'console_scripts', 'dwdweather')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 351, in load_entry_point
	return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2363, in load_entry_point
	return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2093, in load
	raise ImportError("%r has no %r attribute" % (entry,attr))
ImportError: <module 'dwdweather' from '/usr/local/lib/python2.7/dist-packages/dwdweather.pyc'> has no 'main' attribute

I'd really love a simple way of accessing DWD data (for my app), and find the data available from DWD's ftp server almost impossible to understand...
Thanks!

Dear @marians,
while we have not been able to add PostGIS support (#8) yet, we finally have been able to fold all of our recent amendments and improvements into the stable release 0.8.0 and will continue working from there by further enhancing the internal machinery and gradually adding more features.
The new repository url will be [1] and you might enjoy the changelog at [2] already.
Thank you so much for conceiving this fine Python library, we will be happy to follow in your footsteps. We hereby humbly ask you to modify the README to point to the most reasonable current release as addressed in [3]. We also published the current release to PyPI under the updated name dwdweather2 [4].
With kind regards,
Andreas.
[1] https://github.com/hiveeyes/dwdweather2
[2] https://github.com/hiveeyes/dwdweather2/blob/master/CHANGES.rst
[3] https://github.com/marians/dwd-weather/issues/8#issuecomment-461732002
[4] https://pypi.org/project/dwdweather2/

Thanks for you work! I'll add a notice and link to the README to point people to the more useful source.

Thanks, Marian!


Removing sender ID for multiple messages sent by the same person in swift example.

Closing in favor of tracking via #1608


Move datetime parser from doms migration repo to util repo

Introducing DatetimeParser here moved from DOMS-to-preservica project. Code has already been reviewed and used there.

Reluctantly accepted.
Will try push for fix in meta-data.

Yes, that would be ideal!


android demo protobuf-related build error

Environment info
Operating System:
Ubuntu 14.04
Installed version of CUDA and cuDNN:
None
If installed from binary pip package, provide:
Git cloned. Tried several versions of TF. Same result.
Steps to reproduce

Clone repo here : https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android
I installed SDK 24 (part of Android Studio) and NKD 10e.
Also installed build tools 23.0.1. Seemed to be required.
Followed steps on page

What have you tried?

I tried several versions of bazel and tensorflow. The error persists.

Logs or other output that would be helpful
This is my error:
C++ compilation of rule '@protobuf//:protobuf' failed: namespace-sandbox failed: error executing command /home/sander/.cache/bazel/_bazel_sander/577a8dcd97360f56540bc1f3f08ac240/tf-cat-face/_bin/namespace-sandbox ... (remaining 51 argument(s) skipped).
src/main/tools/namespace-sandbox.c:697: execvp(argv[0], argv): No such file or directory
Target //tensorflow/examples/android:tensorflow_demo failed to build
Use --verbose_failures to see the command lines of failed build steps.
Also, here's how I edited the WORKSPACE file.
workspace(name = "org_tensorflow")
android_sdk_repository(
name = "androidsdk",
api_level = 24,
build_tools_version = "23.0.1",
# Replace with path to Android SDK on your system
path = "/home/sander/Android/Sdk/",
)
android_ndk_repository(
name="androidndk",
path="/home/sander/Android/android-ndk-r10e/",
api_level=21)
This error is quite persistent as I've already tried many installations of both TF and Bazel. I also have a little side question: if the build succeeds, what should the output be when there is no camera attached to my PC? Should I build with my android phone plugged in via USB? Thanks!

Andrew, do you have any ideas on what's going wrong here?

@SanderDalm Does it work if you set api_level to 23? If not, can you run again with --verbose_failures and copy the entire failing command please?

Hello Andrew,
If I set api_level to 23, it fails because my SDK is level 24. It gives:
ERROR: missing input file '@androidsdk//:platforms/android-23/android.jar'.
ERROR: /home/sander/tensorflow/tensorflow/examples/android/BUILD:47:1: //tensorflow/examples/android:tensorflow_demo: missing input file '@androidsdk//:platforms/android-23/android.jar'.
I included the output file of the original error I got when running with api_level 24.
Could it be possible that the demo only works with SDK 23?
Thanks for your time!
____Loading package: tensorflow/examples/android ____Loading... ____Loading package: @bazel_tools//tools/cpp ____Loading package: @androidsdk// ____Loading package: @local_config_cc// ____Loading package: @androidndk// ____Loading complete.  Analyzing... ____Loading package: @bazel_tools//tools/python ____Loading package: @bazel_tools//third_party/py/concurrent ____Loading package: third_party/eigen3 WARNING: /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/external/re2/WORKSPACE:1: Workspace name in /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/external/re2/WORKSPACE (@__main__) does not match the name given in the repository's definition (@re2); this will cause a build error in future versions. WARNING: /home/sander/tensorflow/google/protobuf/BUILD:59:16: in includes attribute of cc_library rule //google/protobuf:protobuf_lite: 'src/' resolves to 'google/protobuf/src' not in 'third_party'. This will be an error in the future. WARNING: /home/sander/tensorflow/google/protobuf/BUILD:124:16: in includes attribute of cc_library rule //google/protobuf:protobuf: 'src/' resolves to 'google/protobuf/src' not in 'third_party'. This will be an error in the future. WARNING: /home/sander/tensorflow/google/protobuf/BUILD:266:16: in includes attribute of cc_library rule //google/protobuf:protoc_lib: 'src/' resolves to 'google/protobuf/src' not in 'third_party'. This will be an error in the future. ____Loading package: @eigen_archive// WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:avgpooling_op.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:bounds_check.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_activations.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_attention.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_backward_cuboid_convolutions.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_backward_spatial_convolutions.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_cuboid_convolution.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_patch_3d.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_pooling.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_softmax.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_spatial_convolutions.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:maxpooling_op.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:ops_util.cc' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:ops_util.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:pooling_ops_common.cc' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:pooling_ops_common.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/util/ctc:ctc_beam_entry.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/util/ctc:ctc_beam_scorer.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/util/ctc:ctc_beam_search.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/util/ctc:ctc_decoder.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:636:9: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/util/ctc:ctc_loss_util.h' directly. You should either move the file to this package or depend on an appropriate rule there. ____Found 1 target... ____Building... ____[0 / 1] BazelWorkspaceStatusAction stable-status.txt ____[4 / 25] Executing genrule @androidsdk//:zipalign_runner [for host] ____[12 / 40] Creating source manifest for @bazel_tools//third_party/java/apkbuilder:embedded_apkbuilder [for host] ____[17 / 76] Writing file google/protobuf/libprotobuf.a-2.params [for host] ____[32 / 605] Compiling google/protobuf/src/google/protobuf/any.cc [for host] ____[32 / 605] Compiling external/re2/util/logging.cc ____[32 / 605] Compiling google/protobuf/src/google/protobuf/util/internal/utility.cc ____[32 / 605] Compiling google/protobuf/src/google/protobuf/util/internal/type_info.cc ____[32 / 605] Compiling external/re2/re2/perl_groups.cc ERROR: /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/external/re2/BUILD:9:1: C++ compilation of rule '@re2//:re2' failed: namespace-sandbox failed: error executing command    (cd /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/execroot/tensorflow && \   exec env - \     PATH=/home/sander/anaconda2/bin:/home/sander/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games \   /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/execroot/tensorflow/_bin/namespace-sandbox @/home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/execroot/tensorflow/bazel-sandbox/f3e4c8b8-47aa-4c62-8afe-8ad94e178795-6.params -- external/androidndk/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -fstack-protector-strong -fpic -ffunction-sections -funwind-tables -no-canonical-prefixes -fno-canonical-system-headers '-march=armv7-a' '-mfpu=vfpv3-d16' '-mfloat-abi=softfp' '-frandom-seed=bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/bin/external/re2/_objs/re2/external/re2/util/logging.o' -iquote external/re2 -iquote bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/genfiles/external/re2 -iquote external/bazel_tools -iquote bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/genfiles/external/bazel_tools -isystem external/re2 -isystem bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/genfiles/external/re2 -isystem external/bazel_tools/tools/cpp/gcc3 '--sysroot=external/androidndk/ndk/platforms/android-21/arch-arm' -isystem external/androidndk/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9/include -isystem external/androidndk/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9/include-fixed -isystem external/androidndk/ndk/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem external/androidndk/ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem external/androidndk/ndk/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -MD -MF bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/bin/external/re2/_objs/re2/external/re2/util/logging.d -c external/re2/util/logging.cc -o bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/bin/external/re2/_objs/re2/external/re2/util/logging.o). src/main/tools/namespace-sandbox.c:707: execvp(argv[0], argv): No such file or directory ____[32 / 605] Compiling google/protobuf/src/google/protobuf/descriptor.pb.cc ____Building complete. Target //tensorflow/examples/android:tensorflow_demo failed to build ____Elapsed time: 8.188s, Critical Path: 2.50s

I just checked, and it builds fine for me with API 24. In any case you're running into native compilation errors, not a Java problem, so it should be a non-issue.
The error in your log output seems to be re2-related (@protobuf appears nowhere in the pasted log). Because the failing module varies, this could be a general workspace issue, with the error depending on which module it tries to build first.
How did you initialize your repo? I just tested, and the following works for me at API 24:
git clone --recursive https://github.com/tensorflow/tensorflow
cd tensorflow
<edit WORKSPACE>
bazel build -s //tensorflow/examples/android:tensorflow_demo -s --verbose_failures

Hello Andrew,
I cloned the repo, downloaded the inception model (and the label file) into examples/android/assets and edited the WORKSPACE file in home/tensorflow like this by including this at the top:

workspace(name = "org_tensorflow")

android_sdk_repository(
    name = "androidsdk",
    api_level = 24,
    build_tools_version = "23.0.1",
    # Replace with path to Android SDK on your system
    path = "/home/sander/Android/Sdk/",
)

android_ndk_repository(
    name="androidndk",
    path="/home/sander/Android/android-ndk-r10e/",
    api_level=21)

What are the exact commands you use to clone and build?
I would try removing the trailing slashes for the NDK and SDK paths in your WORKSPACE file, sometimes those can cause issues.

Hello Andrew,
I followed exactly the steps on this page (build from source version, bazel version 0.3.0):
https://www.tensorflow.org/versions/r0.9/get_started/os_setup.html
I just did a full re-install and ended up getting this error. It looks like a slightly different one? Removing the trailing slashes unfortunately did not help.
____Loading... WARNING: /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/external/protobuf/WORKSPACE:1: Workspace name in /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/external/protobuf/WORKSPACE (@__main__) does not match the name given in the repository's definition (@protobuf); this will cause a build error in future versions. WARNING: /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/external/highwayhash/WORKSPACE:1: Workspace name in /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/external/highwayhash/WORKSPACE (@__main__) does not match the name given in the repository's definition (@highwayhash); this will cause a build error in future versions. WARNING: /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/external/re2/WORKSPACE:1: Workspace name in /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/external/re2/WORKSPACE (@__main__) does not match the name given in the repository's definition (@re2); this will cause a build error in future versions. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:avgpooling_op.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:bounds_check.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_activations.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_attention.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_backward_cuboid_convolutions.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_backward_spatial_convolutions.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_cuboid_convolution.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_patch_3d.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_pooling.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_softmax.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_spatial_convolutions.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:maxpooling_op.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:ops_util.cc' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:ops_util.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:pooling_ops_common.cc' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:pooling_ops_common.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/util/ctc:ctc_beam_entry.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/util/ctc:ctc_beam_scorer.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/util/ctc:ctc_beam_search.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/util/ctc:ctc_decoder.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/util/ctc:ctc_loss_util.h' directly. You should either move the file to this package or depend on an appropriate rule there. ____Found 1 target... ____[0 / 17] BazelWorkspaceStatusAction stable-status.txt ____[0 / 143] Compiling external/protobuf/src/google/protobuf/compiler/zip_writer.cc [for host] ____[0 / 114] Compiling external/protobuf/src/google/protobuf/util/time_util.cc [for host] ____[1 / 191] Compiling external/protobuf/src/google/protobuf/compiler/java/java_lazy_message_field_lite.cc [for host] ____[0 / 105] Compiling external/protobuf/src/google/protobuf/io/zero_copy_stream.cc [for host] ____[0 / 100] Compiling external/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_msvc.cc [for host] ____[0 / 94] Compiling external/protobuf/src/google/protobuf/stubs/statusor.cc [for host] ____[0 / 88] Compiling external/protobuf/src/google/protobuf/wire_format_lite.cc [for host] ____[2 / 279] Compiling external/protobuf/src/google/protobuf/util/message_differencer.cc ____[2 / 309] Compiling external/protobuf/src/google/protobuf/util/internal/utility.cc ____[3 / 315] Compiling external/protobuf/src/google/protobuf/generated_message_reflection.cc ____[2 / 305] Compiling external/protobuf/src/google/protobuf/service.cc ____[4 / 331] Compiling external/protobuf/src/google/protobuf/field_mask.pb.cc ____[5 / 338] Compiling external/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc ____[4 / 331] Compiling external/protobuf/src/google/protobuf/stubs/status.cc ____[5 / 346] Compiling external/protobuf/src/google/protobuf/empty.pb.cc ____[5 / 352] Compiling external/protobuf/src/google/protobuf/io/coded_stream.cc ____[8 / 399] Compiling external/protobuf/src/google/protobuf/stubs/stringprintf.cc ERROR: /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/external/protobuf/BUILD:111:1: C++ compilation of rule '@protobuf//:protobuf' failed: arm-linux-androideabi-gcc failed: error executing command    (cd /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/execroot/tensorflow && \   exec env - \     PATH=/home/sander/anaconda2/bin:/home/sander/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games \   external/androidndk/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -fstack-protector-strong -fpic -ffunction-sections -funwind-tables -no-canonical-prefixes -fno-canonical-system-headers '-march=armv7-a' '-mfpu=vfpv3-d16' '-mfloat-abi=softfp' '-frandom-seed=bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/bin/external/protobuf/_objs/protobuf/external/protobuf/src/google/protobuf/any.o' -iquote external/protobuf -iquote bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/genfiles/external/protobuf -iquote external/bazel_tools -iquote bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/genfiles/external/bazel_tools -isystem external/protobuf/src -isystem bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/genfiles/external/protobuf/src -isystem external/bazel_tools/tools/cpp/gcc3 -DHAVE_PTHREAD -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare '-Wno-error=unused-function' '--sysroot=external/androidndk/ndk/platforms/android-21/arch-arm' -isystem external/androidndk/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9/include -isystem external/androidndk/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9/include-fixed -isystem external/androidndk/ndk/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem external/androidndk/ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem external/androidndk/ndk/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -MD -MF bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/bin/external/protobuf/_objs/protobuf/external/protobuf/src/google/protobuf/any.d -c external/protobuf/src/google/protobuf/any.cc -o bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/bin/external/protobuf/_objs/protobuf/external/protobuf/src/google/protobuf/any.o): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1. process-wrapper: execvp("external/androidndk/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc", ...): No such file or directory ____Building complete. Target //tensorflow/examples/android:tensorflow_demo failed to build ____Elapsed time: 4.974s, Critical Path: 3.93s

The workspace name mismatches are worrisome -- I'm not sure why you'd be getting those. Perhaps clear your bazel cache and make sure you don't have any hidden bazel config files or env variables that might be messing things up?
Can you please verify that you have
android_ndk_repository(
    name="androidndk",
    path="/home/sander/Android/android-ndk-r10e",
    api_level=21)

in your WORKSPACE file, and that
/home/sander/Android/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
exists?
What are the exact commands you use to clone and build?

Hello Andrew,
Success! I looks like the build is now error free. After the complete re-install the bazel error disappeared and a less serious NKD error popped up. Building from source using the newest version of TF and bazel did the trick. The build and clone commands were these:
git clone https://github.com/tensorflow/tensorflow
- bazel already installed -
 bazel build -c opt //tensorflow/tools/pip_package:build_pip_package
bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
sudo pip install /tmp/tensorflow_pkg/tensorflow-0.9.0-py2-none-any.whl
cd /home/sander/tensorflow
bazel clean
'bazel build //tensorflow/examples/android:tensorflow_demo'
The NDK error was quickly fixed. I followed your advise to confirm the existence of the folders and it turned out the 10e NDK was a darwin version rather than a linux version. I switched to the already installed NDK 12 linux version and now my output looks better (see below).
Thanks a lot for helping me out so patiently!
If you don't mind me asking one last question. As I have little experience integrating resources like these into Android apps, could you quickly point out the steps to actually deploying this on my phone and/or publishing an app using TF? Can I simply use the jar-file in Android Studio? A link to a helpful page would be awesome.
Kind regards and thanks again!
Sander
____Loading... WARNING: Bazel Android NDK crosstools are based on Android NDK revision 11. The revision of the Android NDK given in android_ndk_repository rule 'androidndk' is '12.0.2931149'. WARNING: /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/external/protobuf/WORKSPACE:1: Workspace name in /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/external/protobuf/WORKSPACE (@__main__) does not match the name given in the repository's definition (@protobuf); this will cause a build error in future versions. WARNING: /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/external/highwayhash/WORKSPACE:1: Workspace name in /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/external/highwayhash/WORKSPACE (@__main__) does not match the name given in the repository's definition (@highwayhash); this will cause a build error in future versions. WARNING: /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/external/re2/WORKSPACE:1: Workspace name in /home/sander/.cache/bazel/_bazel_sander/748832a8b72d340071e33de307f082db/external/re2/WORKSPACE (@__main__) does not match the name given in the repository's definition (@re2); this will cause a build error in future versions. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:avgpooling_op.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:bounds_check.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_activations.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_attention.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_backward_cuboid_convolutions.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_backward_spatial_convolutions.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_cuboid_convolution.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_patch_3d.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_pooling.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_softmax.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:eigen_spatial_convolutions.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:maxpooling_op.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:ops_util.cc' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:ops_util.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:pooling_ops_common.cc' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/kernels:pooling_ops_common.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/util/ctc:ctc_beam_entry.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/util/ctc:ctc_beam_scorer.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/util/ctc:ctc_beam_search.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/util/ctc:ctc_decoder.h' directly. You should either move the file to this package or depend on an appropriate rule there. WARNING: /home/sander/tensorflow/tensorflow/core/BUILD:612:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/util/ctc:ctc_loss_util.h' directly. You should either move the file to this package or depend on an appropriate rule there. ____Found 1 target... ____Building... ____[0 / 1] BazelWorkspaceStatusAction stable-status.txt Target //tensorflow/examples/android:tensorflow_demo up-to-date:   bazel-bin/tensorflow/examples/android/tensorflow_demo_deploy.jar   bazel-bin/tensorflow/examples/android/tensorflow_demo_unsigned.apk   bazel-bin/tensorflow/examples/android/tensorflow_demo.apk ____Elapsed time: 2.841s, Critical Path: 0.00s

Glad it's working!
Bazel outputs tensorflow_demo as an apk (Android package), so it's actually already a full Android application -- no need to do anything else with it at that point but install and run.
Assuming you have device connected with adb debugging enabled (run adb devices to check), you can install it via adb install -r bazel-bin/tensorflow/examples/android/tensorflow_demo.apk.
You can find the adb tool under your /platform-tools directory.
bazel mobile-install -c opt tensorflow/examples/android:tensorflow_demo --start_app will also build, install, and start the app in a single command, which you may find more convenient.


New Translation: Русский

ru-RU.zip
My nickname: xak666
My Github Porifle: https://github.com/xak666

Hi @xak666,
thanks for your contribution, there are many russian users that will appreciate this translation!
@all-contributors please add @xak666 for translation.


Add flatten for operators

I.e. A*(B+D) -> AB + AD.  This will help for PDE solve.

I think this is defunct: \ will default to the new block-wise way of writing PDE operators, when this is working.  Tests indicate that O(n^3) complexity can be maintained using LAPack (see Julien–Watson paper), without using schur factorizations and without requiring PDE rank-2.
schurfact will remain for users to specify, when they know its rank-2.


Add tox to python review actions and fix formatting

I noticed that we're not running tox during our github actions?  When I run tox -e check-formatting locally it's failing black formatting checks
$ tox -e check-formatting
check-formatting: commands[0]> black tests --diff --check
--- /Users/markkoh/spotify/voyager/python/tests/test_index_recreation.py	2023-11-10 17:53:56.849930+00:00
+++ /Users/markkoh/spotify/voyager/python/tests/test_index_recreation.py	2023-11-10 17:54:05.819796+00:00
@@ -36,20 +36,26 @@
     [voyager.Space.Euclidean, voyager.Space.Cosine],
     ids=lambda x: x.name if hasattr(x, "name") else str(x),
 )
 @pytest.mark.parametrize(
     "storage_data_type",
-    [voyager.StorageDataType.E4M3, voyager.StorageDataType.Float8, voyager.StorageDataType.Float32],
+    [
....
....
....
Oh no! 💥 💔 💥
4 files would be reformatted, 2 files would be left unchanged.
check-formatting: exit 1 (0.48 seconds) /Users/markkoh/spotify/voyager/python> black tests --diff --check pid=26135
  check-formatting: FAIL code 1 (0.53=setup[0.05]+cmd[0.48] seconds)
  evaluation failed :( (0.63 seconds)

This PR adds a github action to run tox during review and master builds.


Show the number of threads used in the startup message

This can be useful, especially when using the default hardware concurrency, to
see how many threads does the server actually use in the logs.

Thank you for the PR. Yes, this is useful.


added DominikReichl.KeePass 2.56.0

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @mluckam,
This manifest removes Apps and Features entries that are present in previous PR versions. Should these entries also be added to this version?
(Automated response - build 701.)

When updating using wingetcreate, the entries DisplayName and UpgradeCode were not updated.

Unless it's an MSI / MSIX, these registry values cannot be fetched directly from the installer file. One needs to install the package first, and wingetcreate doesn't have the ability to do that

Any thoughts as to these changes having consequences?

These are additional values that help in package correlation for WinGet. Having incorrect values may have adverse effects. The existing metadata already looks enough for correlation since we have an exact match on ProductCode and Publisher values. Sure, the inno installer the MSI do have a different DisplayName (inno -> KeePass Password Safe <version> and msi -> KeePass <version>), but I believe the fuzzy matching for PackageName, and having an exact match on ProductCode and Publisher will still provide good correlation.
The manifest creators don't have the ability yet to update these AppsAndFeaturesEntries automatically, so for simplifying package updates / contributions to the package, we have more value in removing these entries entirely (unless someone reports an issue where the package isn't getting matched correctly, then we'll add these back in)

Duplicate of https://github.com/microsoft/winget-pkgs/pull/138277


Problem with port22 and connection to VM

What happened?
Hi,
I have problem to not connect to the VM. I receive the error :  "Connection timed out"

Should I change something in my local machine?
Thanks!
Minimal Complete Verifiable Example
No response
Relevant log output
No response
Anything else we need to know?
No response
Environment

Okay, thanks.

Looks like the VM is back


Remove flash message after login, clean up controller and views

Removed flash message after successful login
Moved error messages on failed login into a persistent alert instead of auto dismissing flash
Made forms slightly wider at sm size
Move buttons to be right aligned since that seems to be a more common placement
Update 5.3 arrays to 5.4 format
Drop some facade usage in favor of helper functions

👍


handleRedirectPromise() in MSAL2.0 clears all hash values regardless of the fragment name

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.17.0
Wrapper Library
Not Applicable
Wrapper Library Version
N/A
Description
handleRedirectPromise() in MSAL2.0 clears all hash values regardless of the fragment name
Access a SPA (built with Angular) with any url containing a hash, e.g. https://adf.azure.com/en-us/authoring?factory=xxx#myCustomziedHash=xxx, the hash fragment (#myCustomziedHash=xxx) got cleared after we are redirected back from the login page.
Error Message
N/A
Msal Logs
N/A
MSAL Configuration
{
            auth: {
                clientId: 'xxxxxx',
                authority: 'https://login.microsoftonline.com/organizations',
                redirectUri: window.location.origin,
                postLogoutRedirectUri: window.location.origin + baseHref,
                navigateToLoginRequestUrl: true
            },
            cache: {
                storeAuthStateInCookie: false,
                cacheLocation: 'sessionStorage'
            }
        };

How do we invoke loginRedirect function:

public loginRedirect(): void {
        const request: RedirectRequest = {
            redirectStartPage: window.location.href,
            scopes: ['openid']
        };
        this._msalInstance.loginRedirect(request);
    }

Relevant Code Snippets
In microsoft-authentication-library-for-js\lib\msal-browser\src\interaction_client\RedirectClient.ts, async handleRedirectPromise(hash?: string): Promise<AuthenticationResult | null>

            try {
                state = this.validateAndExtractStateFromHash(responseHash, InteractionType.Redirect);
                BrowserUtils.clearHash(window);
                this.logger.verbose("State extracted from hash");
            } catch (e) {
                this.logger.info(`handleRedirectPromise was unable to extract state due to: ${e}`);
                this.browserStorage.cleanRequestByInteractionType(InteractionType.Redirect);
                return null;
            }

Reproduction Steps

in our app, call this._msalInstance.handleRedirectPromise() to get the login result.

Expected Behavior
Access a SPA (built with Angular) with URL https://adf.azure.com/en-us/authoring?factory=xxx#myCustomziedHash=xxx_, the hash fragment (#myCustomziedHash=xxx)_ should be well-reserved after we are redirected back from the login page.
Identity Provider
Azure AD / MSA
Browsers Affected (Select all that apply)
Chrome, Edge
Regression
No
Source
Internal (Microsoft)

@Miwa199739 I am not able to reproduce this on my end, however, I do see there is potential room for improvement here. The hash should be re-added to the url a few lines further down. Is that not happening? Can you provide a minimal reproduction?

validateAndExtractStateFromHash is supposed to throw if the hash doesn't contain a number of known properties, so I mind it surprising that a value like myCustomizedHash=xxx wouldn't throw.

Thanks for replying.
Yes, I can see that the hash got added soon, but these two location hashChange events (one clears and one added back) cause the Angular router to behave incorrectly. The phenomenon in our app is that all the query parameters got cleared.

I created a reproduced app and have sent the link to you via Teams, please check, thanks for your helping!

Thanks for your effort! @tnorling


Comment in the pool! macro does not propagate to the struct

Example:
pool!(
    /// Pool allocator for the DMA engine running the transfers,
    /// where each node in the allocator is an `MyPoolNode`
    #[allow(non_upper_case_globals)]
    MyPool: MyPoolNode
);

The attribute propagates properly, but the comment does not.
This makes it difficult to document and show examples connected to the pool.

how about doc attribute?

It falls down on the internal static, and is not visible to the public struct.
I gave it a try to fix like this, but the macros complain about ambiguity:
#[macro_export]
macro_rules! pool {
     ($(#[doc = $doc:expr])* $(#[$($attr:tt)*])* $ident:ident: $ty:ty) => {
        $(#[doc = $doc])*
        pub struct $ident;

        impl $crate::pool::singleton::Pool for $ident {
            type Data = $ty;

            fn ptr() -> &'static $crate::pool::Pool<$ty> {
                $(#[$($attr)*])*
                static $ident: $crate::pool::Pool<$ty> = $crate::pool::Pool::new();

                &$ident
            }
        }
    };
}

Not sure how to get around that.


Create Run with Raspberry

Zenbot run with raspberry pi

can this be incorporated into https://github.com/DeviaVir/zenbot/blob/unstable/docs/installation/raspberrypi.md as well?

sure i will


Update repositories.txt

Closing as duplicate of https://github.com/arduino/library-registry/pull/2618


Updatestream

Will squash everything into a single commit before merge.
Anthony, this is starting to be big, and this is probably a good review point. I have a few FIXMEs in there that are next on my list.

LGTM with one comment, could be a TODO.

@enisoc I squashed everything into a single commit, and made the change you proposed in a subsequent commit (that also has a small context change in there). Once you LGTM the last change, I'll squash it too and merge. Will work on import from this PR next.

LGTM


Idea box - for feedback and suggestions

Add your ideas or suggestions for this project here! Great solution? New feature? Possible collaboration? Anything goes!

perhaps a facet of this project could be automated. I'm thinking of that line in a research paper that usually says something like "further research is necessary on..." I wonder if there would be a way to crawl open access papers for that phrase, and set up a twitter bot to post them.

Hi Micah, that's a great idea, thank you! Right now we're focusing on capturing ideas of reviewers and readers which don't get to be shared or published, but your idea could help to combine them with already published ideas and build on them.


Upgrade react-native-vector-icons

Some icons couldn't be rendered with<EMAIL_ADDRESS>on Android.
Fixed it by upgrading it to 6.3.0 as specified in this issue https://github.com/oblador/react-native-vector-icons/issues/961

Finally 6.3 didn't seem to fix the problem but 6.6 did

At v7.0.0 in the latest version


ADD new school

ADD new school (Phuketthaihua Asean Wittaya School)

@sakulrat Pull request merged. Thank you!


Enable provider teams to create WCs in an automated way

Acceptance criteria:

[ ] There is a Tekton pipeline than can create a CAPI cluster on all relevant providers
[ ] Initially these will be "vanilla" clusters, meaning that users won't be able to overwrite any user values and the default ones from cluster-<provider> will be used
[ ] Pipeline can be triggered via a PR

This will be included as part of https://github.com/giantswarm/tekton-resources/pull/24/
Specifically the capi-create-cluster.yaml task that takes in two generic values.yaml files (one for the cluster app and the other for the default-apps app)


Knative probes are failing after deploying sample sk-learn model, not able to call the URL

/kind bug
What steps did you take and what happened:
Installed https://github.com/kubeflow/kfserving/tree/master/docs/samples/sklearn in on-premise Kubernetes cluster
Created a sample services, all containers are up and running (istio-init, sklearnserving, storageInitizer etc).
I have installed default Kfserving with kubeflow cluster
What did you expect to happen:
I expect the inference service to be in "ready" state
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Followed the debugging guide
Environment:
Installed using Installed using - https://github.com/kubeflow/kfctl/releases/tag/v1.1.0

Istio Version:
Knative Version:
KFServing Version:
Kubeflow version:
Kfdef:[k8s_istio/istio_dex/gcp_basic_auth/gcp_iap/aws/aws_cognito/ibm]
Minikube version:
Kubernetes version: (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.3", GitCommit:"2e7996e3e2712684bc73f0dec0200d64eec7fe40", GitTreeState:"clean", BuildDate:"2020-05-20T12:52:00Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.6", GitCommit:"7015f71e75f670eb9e7ebd4b5749639d42e20079", GitTreeState:"clean", BuildDate:"2019-11-13T11:11:50Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

OS (e.g. from /etc/os-release):

Logs::
NAME              URL                                                                        READY   DEFAULT TRAFFIC   CANARY TRAFFIC   AGE
sklearn-iris-v2   http://sklearn-iris-v2.mmskubeflow.example.com/v1/models/sklearn-iris-v2   True    100                                81m

Logs from Autoscaler;
{"level":"error","ts":"2020-10-21T13:41:21.808Z","logger":"autoscaler.collector","caller":"autoscaler/collector.go:276","msg":"Failed to scrape metrics","commit":"c9be0ab","knative.dev/key":"mmskubeflow/sklearn-iris-v2-predictor-default-clrb4","error":"unsuccessful scrape, sampleSize=1: Get http://sklearn-iris-v2-predictor-default-clrb4-private.mmskubeflow:9090/metrics: dial tcp <IP_ADDRESS>:9090: connect: connection refused","stacktrace":"knative.dev/serving/pkg/autoscaler.newCollection.func1\n\t/home/prow/go/src/knative.dev/serving/pkg/autoscaler/collector.go:276"}

Logs from Activator:
{"level":"error","ts":"2020-10-21T14:03:11.081Z","logger":"activator","caller":"net/revision_backends.go:285","msg":"Failed to probe clusterIP <IP_ADDRESS>:80","commit":"c9be0ab","knative.dev/controller":"activator","knative.dev/pod":"activator-648766d5d-txt7n","error":"error roundtripping http://<IP_ADDRESS>:80: dial tcp <IP_ADDRESS>:80: connect: connection refused","stacktrace":"knative.dev/serving/pkg/activator/net.(*revisionWatcher).checkDests\n\t/home/prow/go/src/knative.dev/serving/pkg/activator/net/revision_backends.go:285\nknative.dev/serving/pkg/activator/net.(*revisionWatcher).run\n\t/home/prow/go/src/knative.dev/serving/pkg/activator/net/revision_backends.go:326"}

Additional Information

My cluster is running using Rancher, the kfserving is deployed with kubeflow 1.1 default installation
All revisions, KVC, VS are shown as ready
Istio Ingress gateway is configured as NodePort and does not have external IP, I am able to open kubeflow dashboard on said NodePort
Sometimes the InferenceService is shown as Ready=False with error IngressNotConfigured, however restarting network-istio and cluster-gateway-local Pod it starts working. sometimes the inferenceservice also requires a restart.
IP resolved in above is exactly same as Pod IPs

KLindly help as I have reached to wits end as to why is this happening.

My Kubeflow installation is 1.1 and it is installed on premise no Dex is configured still I am getting 403 error, can you suggest if installing separate gateway is the only option here?
@yuzisun - apologies for tagging but is there any other solution to this?
{"level":"error","ts":"2020-10-23T10:54:55.113Z","logger":"activator","caller":"net/revision_backends.go:251","msg":"Failed probing","commit":"c9be0ab","knative.dev/controller":"activator","knative.dev/pod":"activator-7b6b444684-zjq9v","error":"unexpected body: want \"queue\", got \"RBAC: access denied\"","stacktrace":"knative.dev/serving/pkg/activator/net.(*revisionWatcher).checkDests\n\t/home/prow/go/src/knative.dev/serving/pkg/activator/net/revision_backends.go:251\nknative.dev/serving/pkg/activator/net.(*revisionWatcher).run\n\t/home/prow/go/src/knative.dev/serving/pkg/activator/net/revision_backends.go:326"}
{"level":"error","ts":"2020-10-23T10:54:55.113Z","logger":"activator","caller":"net/revision_backends.go:285","msg":"Failed to probe clusterIP <IP_ADDRESS>:80","commit":"c9be0ab","knative.dev/controller":"activator","knative.dev/pod":"activator-7b6b444684-zjq9v","error":"unexpected body: want \"queue\", got \"RBAC: access denied\"","stacktrace":"knative.dev/serving/pkg/activator/net.(*revisionWatcher).checkDests\n\t/home/prow/go/src/knative.dev/serving/pkg/activator/net/revision_backends.go:285\nknative.dev/serving/pkg/activator/net.(*revisionWatcher).run\n\t/home/prow/go/src/knative.dev/serving/pkg/activator/net/revision_backends.go:326"}
{"level":"error","ts":"2020-10-23T10:54:55.125Z","logger":"activator","caller":"net/revision_backends.go:251","msg":"Failed probing","commit":"c9be0ab",

@kd303 Do you have istio sidecar injected in the inference service pod? I think you have istio security turned on in the cluster and so istio is blocking the request to hitting the inference service main container.

@yuzisun I have side care injected pls see the output, i dont think I have any security turned out its a plain cluster where I dont have to provide the logons to kubeflow dashboard..
kubectl -n mmskubeflow logs sklearn-iris-predictor-default-xtnds-deployment-7f948994d4p9zbz -c istio-proxy

[2020-10-26 11:44:11.387][20][warning][filter] [src/envoy/http/authn/http_filter_factory.cc:102] mTLS PERMISSIVE mode is used, connection can be either plaintext or TLS, and client cert can be omitted. Please consider to upgrade to mTLS STRICT mode for more secure configuration that only allows TLS connection with client cert. See https://istio.io/docs/tasks/security/mtls-migration/
[2020-10-26 11:44:11.390][20][warning][config] [external/envoy/source/common/config/grpc_mux_subscription_impl.cc:81] gRPC config for type.googleapis.com/envoy.api.v2.Listener rejected: Error adding/updating listener(s) <IP_ADDRESS>_9090: Found header(name: "kubeflow-userid"
exact_match<EMAIL_ADDRESS>) rule,not supported by RBAC network filter, virtualInbound: Found header(name: "kubeflow-userid"
exact_match<EMAIL_ADDRESS>) rule,not supported by RBAC network filter
[2020-10-26 11:49:11.422][20][debug][http2] [external/envoy/source/common/http/http2/codec_impl.cc:742] [C23] stream closed: 0
[2020-10-26 11:49:11.422][20][warning][config] [bazel-out/k8-opt/bin/external/envoy/source/common/config/_virtual_includes/grpc_stream_lib/common/config/grpc_stream.h:87] gRPC config stream closed: 13,
[2020-10-26 11:49:11.731][20][warning][filter] [src/envoy/http/authn/http_filter_factory.cc:102] mTLS PERMISSIVE mode is used, connection can be either plaintext or TLS, and client cert can be omitted. Please consider to upgrade to mTLS STRICT mode for more secure configuration that only allows TLS connection with client cert. See https://istio.io/docs/tasks/security/mtls-migration/
[2020-10-26 11:49:11.735][20][warning][filter] [src/envoy/http/authn/http_filter_factory.cc:102] mTLS PERMISSIVE mode is used, connection can be either plaintext or TLS, and client cert can be omitted. Please consider to upgrade to mTLS STRICT mode for more secure configuration that only allows TLS connection with client cert. See https://istio.io/docs/tasks/security/mtls-migration/
[2020-10-26 11:49:11.737][20][warning][filter] [src/envoy/http/authn/http_filter_factory.cc:102] mTLS PERMISSIVE mode is used, connection can be either plaintext or TLS, and client cert can be omitted. Please consider to upgrade to mTLS STRICT mode for more secure configuration that only allows TLS connection with client cert. See https://istio.io/docs/tasks/security/mtls-migration/
[2020-10-26 11:49:11.737][20][warning][filter] [src/envoy/http/authn/http_filter_factory.cc:102] mTLS PERMISSIVE mode is used, connection can be either plaintext or TLS, and client cert can be omitted. Please consider to upgrade to mTLS STRICT mode for more secure configuration that only allows TLS connection with client cert. See https://istio.io/docs/tasks/security/mtls-migration/
[2020-10-26 11:49:11.739][20][warning][config] [external/envoy/source/common/config/grpc_mux_subscription_impl.cc:81] gRPC config for type.googleapis.com/envoy.api.v2.Listener rejected: Error adding/updating listener(s) <IP_ADDRESS>_9090: Found header(name: "kubeflow-userid"
exact_match<EMAIL_ADDRESS>) rule,not supported by RBAC network filter, virtualInbound: Found header(name: "kubeflow-userid"
exact_match<EMAIL_ADDRESS>) rule,not supported by RBAC network filter

ok, I am just going dump my logs of various pods, order of which is
networking-istio
The IP in the below logs <IP_ADDRESS> is cluster IP of istio-ingressgateay
{"level":"error","ts":"2020-10-26T11:59:04.965Z","logger":"istiocontroller.ingress-controller.status-manager","caller":"ingress/status.go:365","msg":"Probing of http://sklearn-iris-predictor-default.mmskubeflow:80/ failed, IP: <IP_ADDRESS>:80, ready: false, error: unexpected status code: want 200, got 404 (depth: 0)","commit":"c9be0ab","knative.dev/controller":"ingress-controller","stacktrace":"knative.dev/serving/pkg/reconciler/ingress.(*StatusProber).processWorkItem\n\t/home/prow/go/src/knative.dev/serving/pkg/reconciler/ingress/status.go:365\nknative.dev/serving/pkg/reconciler/ingress.(*StatusProber).Start.func1\n\t/home/prow/go/src/knative.dev/serving/pkg/reconciler/ingress/status.go:268"}
{"level":"info","ts":"2020-10-26T11:59:06.775Z","logger":"istiocontroller.ingress-controller.status-manager","caller":"ingress/status.go:331","msg":"Processing probe for http://sklearn-iris-predictor-default.mmskubeflow.example.com:80/, IP: <IP_ADDRESS>:80 (depth: 0)","commit":"c9be0ab","knative.dev/controller":"ingress-controller"}
{"level":"error","ts":"2020-10-26T11:59:06.986Z","logger":"istiocontroller.ingress-controller.status-manager","caller":"ingress/status.go:365","msg":"Probing of http://sklearn-iris-predictor-default.mmskubeflow.example.com:80/ failed, IP: <IP_ADDRESS>:80, ready: false, error: unexpected status code: want 200, got 404 (depth: 0)","commit":"c9be0ab","knative.dev/controller":"ingress-controller","stacktrace":"knative.dev/serving/pkg/reconciler/ingress.(*StatusProber).processWorkItem\n\t/home/prow/go/src/knative.dev/serving/pkg/reconciler/ingress/status.go:365\nknative.dev/serving/pkg/reconciler/ingress.(*StatusProber).Start.func1\n\t/home/prow/go/src/knative.dev/serving/pkg/reconciler/ingress/status.go:268"}

It seems to me only activator probes are failing because of RBAC, from everywhere else it seems fine, now the only suspect on envoy is it is checking for kubeflow-userid .. could that be an issue?

pasing relevant configs:

 {
             "name": "envoy.filters.http.rbac",
             "typed_config": {
              "@type": "type.googleapis.com/envoy.config.filter.http.rbac.v2.RBAC",
              "rules": {
               "policies": {
                "ns-access-istio": {
                 "permissions": [
                  {
                   "and_rules": {
                    "rules": [
                     {
                      "any": true
                     }
                    ]
                   }
                  }
                 ],
                 "principals": [
                  {
                   "and_ids": {
                    "ids": [
                     {
                      "header": {
                       "name": "kubeflow-userid",
                       "exact_match"<EMAIL_ADDRESS>                      }
                     }
                    ]
                   }
                  }

@yuzisun Pls ignore above logs now, and redeploy the cluster just to be sure
ok, I cleaned all the services everything that was available on the cluster, I no longer get RBAC error, Please see the issue description now:
kubectl get svc -n mmskubeflow

sklearn-iris                                   ExternalName   <none>           cluster-local-gateway.istio-system.svc.cluster.local   <none>                              11m
sklearn-iris-predictor-default                 ExternalName   <none>           cluster-local-gateway.istio-system.svc.cluster.local   <none>                              11m
sklearn-iris-predictor-default-b4kgt           ClusterIP      <IP_ADDRESS>     <none>                                                 80/TCP                              11m
sklearn-iris-predictor-default-b4kgt-private   ClusterIP     **<IP_ADDRESS>**     <none>                                                 80/TCP,9090/TCP,9091/TCP,8022/TCP   11m

activator logs are below:
Failed probing","commit":"c9be0ab","knative.dev/controller":"activator","knative.dev/pod":"activator-564f8996c5-fp5zd","error":"error roundtripping http://<IP_ADDRESS>:8012: dial tcp <IP_ADDRESS>:8012: connect: connection refused","stacktrace":"knative.dev/serving/pkg/activator/net.(*revisionWatcher).checkDests\n\t/home/prow/go/src/knative.dev/serving/pkg/activator/net/revision_backends.go:251\nknative.dev/serving/pkg/activator/net.(*revisionWatcher).run\n\t/home/prow/go/src/knative.dev/serving/pkg/activator/net/revision_backends.go:326"}
{"level":"error","ts":"2020-10-27T07:39:50.224Z","logger":"activator","caller":"net/revision_backends.go:285","msg":"Failed to probe clusterIP <IP_ADDRESS>:80","commit":"c9be0ab","knative.dev/controller":"activator","knative.dev/pod":"activator-564f8996c5-fp5zd","error":"error roundtripping http://<IP_ADDRESS>:80: dial tcp <IP_ADDRESS>:80: connect: connection refused","stacktrace":"knative.dev/serving/pkg/activator/net.(*revisionWatcher).checkDests\n\t/home/prow/go/src/knative.dev/serving/pkg/activator/net/revision_backends.go:285\nknative.dev/serving/pkg/activator/net.(*revisionWatcher).run\n\t/home/prow/go/src/knative.dev/serving/pkg/activator/net/revision_backends.go:326"}
{"level":"error","ts":"2020-10-27T07:39:50.424Z","logger":"activator","caller":"net/revision_backends.go:251","msg":"Failed probing","commit":"c9be0ab","knative.dev/controller":"activator","knative.dev/pod":"activator-564f8996c5-fp5zd","error":"error roundtripping http://<IP_ADDRESS>:8012: dial tcp <IP_ADDRESS>:8012: connect: connection refused","stacktrace":"knative.dev/serving/pkg/activator/net.(*revisionWatcher).checkDests\n\t/home/prow/go/src/knative.dev/serving/pkg/activator/net/revision_backends.go:251\nknative.dev/serving/pkg/activator/net.(*revisionWatcher).run\n\t/home/prow/go/src/knative.dev/serving/pkg/activator/net/revision_backends.go:326"}
{"level":"error","ts":"2020-10-27T07:39:50.424Z","logger":"activator","caller":"net/revision_backends.go:285","msg":"Failed to probe clusterIP <IP_ADDRESS>:80","commit":"c9be0ab","knative.dev/controller":"activator","knative.dev/pod":"activator-564f8996c5-fp5zd","error":"error roundtripping http://<IP_ADDRESS>:80: dial tcp <IP_ADDRESS>:80: connect: connection refused","stacktrace":"knative.dev/serving/pkg/activator/net.(*revisionWatcher).checkDests\n\t/home/prow/go/src/knative.dev/serving/pkg/activator/net/revision_backends.go:285\nknative.dev/serving/pkg/activator/net.(*revisionWatcher).run\n\t/home/prow/go/src/knative.dev/serving/pkg/activator/net/revision_backends.go:326"}

It is trying to probe <IP_ADDRESS> which is my Pod IP, where sk-learn service is deployed, the probe is failing at <IP_ADDRESS>:80 which the IP address of my svc sklearn-iris-predictor-default-b4kgt-private describe gives following:
kubectl get svc sklearn-iris-predictor-default-b4kgt-private -nmmskubeflow -oyaml
apiVersion: v1
kind: Service
metadata:
  annotations:
    autoscaling.knative.dev/class: kpa.autoscaling.knative.dev
    autoscaling.knative.dev/minScale: "1"
    autoscaling.knative.dev/target: "1"
    internal.serving.kubeflow.org/storage-initializer-sourceuri: s3://mms-objects/models/sklearn/iris
    queue.sidecar.serving.knative.dev/resourcePercentage: "20"
    serving.knative.dev/creator: system:serviceaccount:kubeflow:default
  creationTimestamp: "2020-10-27T07:38:53Z"
  labels:
    app: sklearn-iris-predictor-default-b4kgt
    component: predictor
    endpoint: default
    model: sklearn-iris
    networking.internal.knative.dev/serverlessservice: sklearn-iris-predictor-default-b4kgt
    networking.internal.knative.dev/serviceType: Private
    serving.knative.dev/configuration: sklearn-iris-predictor-default
    serving.knative.dev/configurationGeneration: "1"
    serving.knative.dev/revision: sklearn-iris-predictor-default-b4kgt
    serving.knative.dev/revisionUID: 6ec05726-373e-41ae-bd68-4075f4f6e0c4
    serving.knative.dev/service: sklearn-iris-predictor-default
    serving.kubeflow.org/inferenceservice: sklearn-iris
  name: sklearn-iris-predictor-default-b4kgt-private
  namespace: mmskubeflow
  ownerReferences:
  - apiVersion: networking.internal.knative.dev/v1alpha1
    blockOwnerDeletion: true
    controller: true
    kind: ServerlessService
    name: sklearn-iris-predictor-default-b4kgt
    uid: b6a15895-e439-44e2-995d-60e4634dd104
  resourceVersion: "5324563"
  selfLink: /api/v1/namespaces/mmskubeflow/services/sklearn-iris-predictor-default-b4kgt-private
  uid: 2cb891e2-b65f-4eaa-a8b2-21f7fbf4b5c6
spec:
  clusterIP: <IP_ADDRESS>
  ports:
  - name: http
    port: 80
    protocol: TCP
    targetPort: 8012
  - name: queue-metrics
    port: 9090
    protocol: TCP
    targetPort: queue-metrics
  - name: http-usermetric
    port: 9091
    protocol: TCP
    targetPort: http-usermetric
  - name: http-queueadm
    port: 8022
    protocol: TCP
    targetPort: 8022
  selector:
    serving.knative.dev/revisionUID: 6ec05726-373e-41ae-bd68-4075f4f6e0c4
  sessionAffinity: None
  type: ClusterIP
status:
  loadBalancer: {}

It seems when I follow Knative Debugging guide, below step is not as expected, route names are shown in the label
kubectl get ingresses.networking.internal.knative.dev -o=custom-columns='NAME:.metadata.name,LABELS:.metadata.labels' -n mmskubeflow
'NAME                            LABELS
sklearn-iris-predictor-default   <none>

@kd303 looks the inference service is actually in ready state now? Can you actually curl the service ?

@yuzisun the curl returns 404
Response headers::

x-powered-by:
Express
content-security-policy:
default-src 'none'
x-content-type-options:
nosniff
content-type:
text/html; charset=utf-8
content-length:
168
date:
Tue, 27 Oct 2020 18:01:33 GMT
x-envoy-upstream-service-time:
1
server:
istio-envoy

<!DOCTYPE html>

<meta charset="utf-8">
<title>Error</title>

Cannot POST /workflow/deployments/predict

@yuzisun Thanks for all the help, I could resolve the issue however I would like point out the issue so that this helps others and may be included in documentation section page, its been some work all these days.
The failing probes remains a mistry as after couple of re-deployment of knative pods things work fine.
I was testing with Postman and other tools again this is a dev environment where no external domains are configured with Isitio,
The Virtual Service definition created by Inferenceservice is looking for authority header, so if you have any tools like Postman or any similar tools would add additional header, in my case below is the IP address.
Now  ^sklearn-iris\.mmskubeflow\.example\.com(?::\d{1,5})?$ particular regx will not be able to resolve the header and hence the response from envoy would be 404
IMO, either there should be way for development environments etc. to

Either update the VS definitions using matchers like uri or any custom headers
regex should be relaxed to ensure modelname/predictor part should be not at the start (may be remove '^')

HTML Header
':authority', '<IP_ADDRESS>:31380,sklearn-iris-predictor-default.mmskubeflow.example.com'
':path', '/'
':method', 'POST'
'content-type', 'application/json'
'from', 'QWEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFQWEQWARRRRRRRRRRRRRRRR'
'content-length', '148'

kubectl get vs sklearn-iris  -nmmskubeflow -oyaml
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"serving.kubeflow.org/v1alpha2","kind":"InferenceService","metadata":{"annotations":{},"name":"sklearn-iris","namespace":"mmskubeflow"},"spec":{"default":{"predictor":{"serviceAccountName":"miniosa","sklearn":{"storageUri":"s3://mms-objects/models/sklearn/iris"}}}}}
  creationTimestamp: "2020-10-28T10:54:30Z"
  generation: 1
  name: sklearn-iris
  namespace: mmskubeflow
  ownerReferences:
  - apiVersion: serving.kubeflow.org/v1alpha2
    blockOwnerDeletion: true
    controller: true
    kind: InferenceService
    name: sklearn-iris
    uid: 580f4551-50ca-4263-a7e6-dee2ac4c2d5d
  resourceVersion: "5873888"
  selfLink: /apis/networking.istio.io/v1alpha3/namespaces/mmskubeflow/virtualservices/sklearn-iris
  uid: 6dc418fd-8882-4c79-9a7c-fc3360ac6b8b
spec:
  gateways:
  - kubeflow-gateway.kubeflow
  - knative-serving/cluster-local-gateway
  hosts:
  - sklearn-iris.mmskubeflow.example.com
  - sklearn-iris.mmskubeflow.svc.cluster.local
  http:
  - match:
    - authority:
        regex: ^sklearn-iris\.mmskubeflow\.example\.com(?::\d{1,5})?$
      gateways:
      - kubeflow-gateway.kubeflow
      uri:
        prefix: /v1/models/sklearn-iris:predict
    - authority:
        regex: ^sklearn-iris\.mmskubeflow(\.svc(\.cluster\.local)?)?(?::\d{1,5})?$
      gateways:
      - knative-serving/cluster-local-gateway
      uri:
        prefix: /v1/models/sklearn-iris:predict
    retries:
      attempts: 3
      perTryTimeout: 600s
    route:
    - destination:
        host: cluster-local-gateway.istio-system.svc.cluster.local
        port:
          number: 80
      headers:
        request:
          set:
            Host: sklearn-iris-predictor-default.mmskubeflow.svc.cluster.local
      weight: 100

@yuzisun further updates, my other hunch is ClusterRbacConfig has only istio-system name-space in exclusion (by default even on a non-dex on-remise cluster, so one may have to add the namespace where the KFServing models are getting deployed.
I think some updates to the KfServing Debugging documentation may be necessary.

Just ran into this issue as well. To clarify for future me who googles this next time:
kubectl edit clusterrbacconfig default and add the model namespace to the list

Ran into the same issue while performing e2e tests for net-istio:
TestIstioProbing: stream.go:248: E 08:31:32.699 networking-istio-7d9c95f99c-299ws [istio-ingress-controller] [serving-tests/istio-probing-http-leiilaxl] Probing of http://istio-probing-http-notmuhkt.example.com:80 failed , ready: false, error: unexpected status code: want 200, got 404 (depth: 0)

@yuzisun further updates, my other hunch is ClusterRbacConfig has only istio-system name-space in exclusion (by default even on a non-dex on-remise cluster, so one may have to add the namespace where the KFServing models are getting deployed.
I think some updates to the KfServing Debugging documentation may be necessary.

Good catch! Can you help add this to the debugging guide?

@yuzisun May be I am bit confused about ClusterRbac part , we installed a new cluster with Dex and RBAC and again ran into same issue, and the problem got resolved with changing ClusterRbacConfig and adding the namespace in the ON_WITH_EXCLUSION list, now what is puzzling is there are ServiceRole and ServiceRoleBindings are created so why would we still have to add to ON_WITH_EXCLUSION?
I would be happy to add this debugging guide :)

@yuzisun May be I am bit confused about ClusterRbac part , we installed a new cluster with Dex and RBAC and again ran into same issue, and the problem got resolved with changing ClusterRbacConfig and adding the namespace in the ON_WITH_EXCLUSION list, now what is puzzling is there are ServiceRole and ServiceRoleBindings are created so why would we still have to add to ON_WITH_EXCLUSION?
I would be happy to add this debugging guide :)

@kd303 does the service role and service rolebinding created cover for inference service ? Can you paste the output of the istio rbac?

@yuzisun May be I am bit confused about ClusterRbac part , we installed a new cluster with Dex and RBAC and again ran into same issue, and the problem got resolved with changing ClusterRbacConfig and adding the namespace in the ON_WITH_EXCLUSION list, now what is puzzling is there are ServiceRole and ServiceRoleBindings are created so why would we still have to add to ON_WITH_EXCLUSION?
I would be happy to add this debugging guide :)

@kd303 does the service role and service rolebinding created cover for inference service ? Can you paste the output of the istio rbac?

Closing the staled issue.


WIP: Import CGD fixtures

Purpose
This PR adds a management command to import CGD chromosomal features as data/Entry collection (for the CGD Repository).
Reference file to import:
http://www.candidagenome.org/download/chromosomal_feature_files/C_glabrata_CBS138/C_glabrata_CBS138_current_chromosomal_feature.tab
Roadmap

[x] Implement CGD chromosome feature tab parser (ChrFeatureParser)
[x] Test the ChrFeatureParser
[x] Add CGD entries loader command
[x] Test this new command
[ ] Write documentation

Coverage increased (+0.06%) to 99.034% when pulling f38b08ead101fc78442ce52cb9a1e21b6ed5d047 on import-cgd-fixtures into fdc3a8cae1e830e7a7b5703ed5c77f22226e8ffc on master.

Coverage increased (+0.07%) to 99.049% when pulling 3e219059849540f7f84b934f03f422e5398cc2aa on import-cgd-fixtures into fdc3a8cae1e830e7a7b5703ed5c77f22226e8ffc on master.

Coverage increased (+0.07%) to 99.05% when pulling 657a331653f5535c3e5723008009851ffd464897 on import-cgd-fixtures into fdc3a8cae1e830e7a7b5703ed5c77f22226e8ffc on master.


Dev/henry/9604 make verifiable event

Renamed eventhelpers -> verifiableevent and updated the type
name to be more descriptive
Updated VerifyList to accept VerifiableEvents rather than the
raw event JSON, in an effort to standardise the types passed
around. Updated VerifiableEvent builder functions.
Updated the integration tests to handle this new format
Updated VerifyEvent to accept a VerifiableEvent rather than the raw
JSON, which gets taken at the edge
Updated the integration tests

paired with @henry739 LGTM


[WIP] fill out multibase table

DO NOT MERGE, we need to talk about this.

@lgierth, @whyrusleeping, @kumavis, @jbenet
So, we need to figure out how to make multibase a proper multicodec (or if we even want to do that). As-is, we have a lot of conflicts.


.Net 4 does not work.

First of all great project, This is very much needed to SQLite-EF users!
As mentioned in other issues when downgrading to .Net 4 the code breaks due to App.config changes.
However, using the same App.config from here will not work either.
After a few trials and errors I have managed to make it work.
Below is the final app.config that worked for me.
Can you add steps to overcome this issue in the Readme.md file so that other may use it as well.
(I think the only difference is in the connections string)
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  </configSections>
  <connectionStrings>
    <add name="footballDb" connectionString="data source=.\footballDb.sqlite" providerName="System.Data.SQLite.EF6" />
  </connectionStrings>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
  </startup>
  <system.data>
    <DbProviderFactories>
      <remove invariant="System.Data.SQLite.EF6" />
      <add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
    </DbProviderFactories>
  </system.data>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
      <parameters>
        <parameter value="mssqllocaldb" />
      </parameters>
    </defaultConnectionFactory>
    <providers>
      <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
      <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
      <provider invariantName="System.Data.SQLite" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
    </providers>
  </entityFramework>
</configuration>

Thanks,
Harel M.

Hello Harel
Thank you for your contribution!
I just tried it by myself. Here is what I did:

Change the Project "SQLite.CodeFirst" to .NET 4.0
In Package Manager Console "Update-Package –reinstall System.Data.SQLite"
Change the Project "SQLite.CodeFirst.Console" to .NET 4.0
In Package Manager Console "Update-Package –reinstall System.Data.SQLite"
Close Visual Studio and delete the Package, bin and obj folders
Restart Visual Studio and restore the packages
Runned the console project -> Does not work due the "corrupted" app.config
Restore the old App.config but change to ""
Runned the console project -> Succeeded

I tried your app.config which also worked for me.
Which error do you get when you are trying to run the project with the "pre-.net4.0* app.config?
Greetings Marc

It's probably something I did after updating the Nuget package references along with the altered "bad" app.config.
In any case I also managed to do it using the VS nuget package manager UI, Without closing VS, deleting the package, bin and obj folders.
I would be glad if you could add a note in the Readme.md file so that other developers would pay attention to the app.config as it is fragile.
You can mark this ticket as closed as far as I'm concerned.
Are you planning on adding this library to Nuget?
Thanks a lot for all the hard work and quick response.
Keep up the good work!
Harel M.

Okay, I'll add a note to the readme file.
Yes since today :) but currently only for .NET 4.5.
https://www.nuget.org/packages/SQLite.CodeFirst/
I'm going to include the link to the NuGet Package into the readme file as well.

NuGet package: https://github.com/msallin/SQLiteCodeFirst/commit/ef140642822f18cbe8af8f83e7afc7440c08c7c2
Hint about app.config: https://github.com/msallin/SQLiteCodeFirst/commit/f85bcca439a81fbe8505a1c78fd0cb58f838bc6c

This is an example of the in-memory SQLite v3 database connection string to use. It took me a bit of time to track down Pooling=True is needed.
<connectionStrings>

  <add name="memDb"
    connectionString="Data Source=:memory:;Version=3;Pooling=True;"
    providerName="System.Data.SQLite.EF6" />

...