RDP session using Entra ID (AAD) authentication frequently fails with a timeout error

Describe the bug
When using the Entra ID authentication flow, RDPing into a remote machine frequently (but not always) fails with a timeout error.
To Reproduce

Provision a Windows machine in Microsoft Azure. It must have a system assigned identity, and login with active directory enabled.
Ensure the user you are logging in with has the Virtual Machine Administrator Login role on the VM.
On the machine you are attempting to RDP from, edit the /etc/hosts file so that the target machine can be referred to simply by its name rather than its fully-qualified domain name. This is necessary so that FreeRDP generates a URL with the correct value for name to be pasted into the brower.
Attempt an RDP connection to the remote machine using a command similar to xfreerdp /sec:aad<EMAIL_ADDRESS>/v:VM_NAME_IN_AZURE /log-level:DEBUG
Paste the URL printed by FreeRDP into the browser and attempt to go to it.
Paste the URL from the browser back into FreeRDP.

Expected behavior

An RDP session is established.

Observed behavior

In the instances where the connection blocks after printing the lines

[20:25:52:791] [712778:000ae04b] [DEBUG][com.freerdp.utils.http] - [freerdp_http_request]: headers:
POST /common/oauth2/v2.0/token HTTP/1.1
Host: login.microsoftonline.com
Content-Type: application/x-www-form-urlencoded
Content-Length: 24

[20:25:52:835] [712778:000ae04b] [DEBUG][com.freerdp.utils.http] - [freerdp_http_request]: body:
grant_type=srv_challenge
[20:25:52:870] [712778:000ae04b] [DEBUG][com.freerdp.core.rdp] - [rdp_client_transition_to_state][0x557ebf0a4e20]: CONNECTION_STATE_NEGO --> CONNECTION_STATE_AAD

After some time it then prints
[20:26:52:927] [712778:000ae04b] [ERROR][com.freerdp.core.connection] - [rdp_client_wait_for_activation]: Timeout waiting for activation
[20:26:52:927] [712778:000ae04b] [ERROR][com.freerdp.core] - [rdp_client_wait_for_activation]: ERRCONNECT_ACTIVATION_TIMEOUT [0x0002001C]
[20:26:52:928] [712778:000ae04b] [DEBUG][com.freerdp.core.rdp] - [rdp_finalize_reset_flags][0x557ebf0a4e20]: [CONNECTION_STATE_AAD] reset finalize_sc_pdus
[20:26:52:928] [712778:000ae04b] [DEBUG][com.freerdp.core.rdp] - [rdp_client_transition_to_state][0x557ebf0a4e20]: CONNECTION_STATE_AAD --> CONNECTION_STATE_INITIAL

Application details

FreeRDP version (xfreerdp /version): This is FreeRDP version 3.2.0 (3.2.0) (tried with the version off Flathub as well as building locally from main and the 3.2.0 tag)
Command line used (some information anonymized): xfreerdp /sec:aad<EMAIL_ADDRESS>/v:VM_NAME_IN_AZURE /log-level:DEBUG
Output of xfreerdp /buildconfig:

This is FreeRDP version 3.2.0 (3.2.0)
Build configuration: BUILD_TESTING=OFF WINPR_HAVE_AIO_H=1 WINPR_HAVE_EXECINFO_BACKTRACE=1 WINPR_HAVE_EXECINFO_BACKTRACE_SYMBOLS=1 WINPR_HAVE_EXECINFO_BACKTRACE_SYMBOLS_FD=1 WINPR_HAVE_EXECINFO_HEADER=1 WINPR_HAVE_FCNTL_H=1 WINPR_HAVE_GETLOGIN_R=1 WINPR_HAVE_GETPWUID_R=1 WINPR_HAVE_INTTYPES_H=1 WINPR_HAVE_POLL_H=1 WINPR_HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIB=1 WINPR_HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIBS= WINPR_HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL=1 WINPR_HAVE_STDBOOL_H=1 WINPR_HAVE_STDINT_H=1 WINPR_HAVE_STRNDUP=1 WINPR_HAVE_SYSLOG_H=1 WINPR_HAVE_SYS_EVENTFD_H=1 WINPR_HAVE_SYS_FILIO_H= WINPR_HAVE_SYS_SELECT_H=1 WINPR_HAVE_SYS_SOCKIO_H= WINPR_HAVE_SYS_TIMERFD_H=1 WINPR_HAVE_TM_GMTOFF=1 WINPR_HAVE_UNISTD_H=1 WINPR_HAVE_UNWIND_H=1 WITH_AAD=1 WITH_ABSOLUTE_PLUGIN_LOAD_PATHS=ON WITH_ADD_PLUGIN_TO_RPATH=OFF WITH_ALSA=ON WITH_BINARY_VERSIONING=OFF WITH_CAIRO=OFF WITH_CCACHE=ON WITH_CHANNELS=ON WITH_CLANG_FORMAT=ON WITH_CLIENT=ON WITH_CLIENT_AVAILABLE=1 WITH_CLIENT_CHANNELS=ON WITH_CLIENT_CHANNELS_AVAILABLE=1 WITH_CLIENT_COMMON=ON WITH_CLIENT_INTERFACE=OFF WITH_CLIENT_SDL=ON WITH_CLIENT_SDL_AVAILABLE=1 WITH_CUPS=ON WITH_DEBUG_ALL=OFF WITH_DEBUG_CAPABILITIES=OFF WITH_DEBUG_CERTIFICATE=OFF WITH_DEBUG_CHANNELS=OFF WITH_DEBUG_CLIPRDR=OFF WITH_DEBUG_CODECS=OFF WITH_DEBUG_DVC=OFF WITH_DEBUG_EVENTS=OFF WITH_DEBUG_KBD=OFF WITH_DEBUG_LICENSE=OFF WITH_DEBUG_MUTEX=OFF WITH_DEBUG_NEGO=OFF WITH_DEBUG_NLA=OFF WITH_DEBUG_NTLM=OFF WITH_DEBUG_RAIL=OFF WITH_DEBUG_RDP=OFF WITH_DEBUG_RDPDR=OFF WITH_DEBUG_RDPEI=OFF WITH_DEBUG_RDPGFX=OFF WITH_DEBUG_REDIR=OFF WITH_DEBUG_RFX=OFF WITH_DEBUG_RINGBUFFER=OFF WITH_DEBUG_SCARD=OFF WITH_DEBUG_SCHANNEL=OFF WITH_DEBUG_SDL_EVENTS=OFF WITH_DEBUG_SDL_KBD_EVENTS=OFF WITH_DEBUG_SND=OFF WITH_DEBUG_SVC=OFF WITH_DEBUG_SYMBOLS=OFF WITH_DEBUG_THREADS=OFF WITH_DEBUG_TIMEZONE=OFF WITH_DEBUG_TRANSPORT=OFF WITH_DEBUG_TSG=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_TSMF_AVAILABLE=0 WITH_DEBUG_URBDRC=OFF WITH_DEBUG_WND=OFF WITH_DEBUG_X11=OFF WITH_DEBUG_X11_LOCAL_MOVESIZE=OFF WITH_DEBUG_XV=OFF WITH_DSP_EXPERIMENTAL=OFF WITH_DSP_FFMPEG=ON WITH_DSP_FFMPEG_AVAILABLE=1 WITH_EVENTFD_READ_WRITE=1 WITH_FAAC=OFF WITH_FAAD2=OFF WITH_FFMPEG=ON WITH_FREERDP_DEPRECATED=OFF WITH_FREERDP_DEPRECATED_COMMANDLINE=OFF WITH_FUSE=ON WITH_GFX_H264=ON WITH_GPROF=OFF WITH_GSM=OFF WITH_INTERNAL_MD4=OFF WITH_INTERNAL_MD5=OFF WITH_INTERNAL_RC4=OFF WITH_IPP=OFF WITH_JPEG=OFF WITH_KRB5=ON WITH_KRB5_NO_NTLM_FALLBACK=OFF WITH_LAME=OFF WITH_LIBRARY_VERSIONING=ON WITH_LIBRESSL=OFF WITH_LODEPNG=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO_AVAILABLE=0 WITH_MANPAGES=ON WITH_MBEDTLS=OFF WITH_NATIVE_SSPI=OFF WITH_NEON=OFF WITH_OPAQUE_SETTINGS=OFF WITH_OPENCL=OFF WITH_OPENH264=OFF WITH_OPENSC_PKCS11_LINKED=OFF WITH_OPENSSL=ON WITH_OPUS=OFF WITH_OSS=ON WITH_PCSC=OFF WITH_PKCS11=ON WITH_PLATFORM_SERVER=ON WITH_POLL=ON WITH_PROFILER=OFF WITH_PROXY=ON WITH_PROXY_APP=ON WITH_PROXY_EMULATE_SMARTCARD=OFF WITH_PROXY_MODULES=ON WITH_PULSE=OFF WITH_RDTK=ON WITH_SAMPLE=ON WITH_SANITIZE_ADDRESS=OFF WITH_SANITIZE_ADDRESS_AVAILABLE=1 WITH_SANITIZE_MEMORY=OFF WITH_SANITIZE_MEMORY_AVAILABLE=1 WITH_SANITIZE_THREAD=OFF WITH_SANITIZE_THREAD_AVAILABLE=1 WITH_SDL_IMAGE_DIALOGS=OFF WITH_SDL_LINK_SHARED=ON WITH_SERVER=ON WITH_SERVER_CHANNELS=ON WITH_SERVER_INTERFACE=ON WITH_SHADOW=ON WITH_SMARTCARD_EMULATE=ON WITH_SMARTCARD_INSPECT=OFF WITH_SMARTCARD_PCSC=ON WITH_SOXR=OFF WITH_SSE2=OFF WITH_SWSCALE=ON WITH_SYSTEMD=OFF WITH_THIRD_PARTY=OFF WITH_UNICODE_BUILTIN=OFF WITH_URIPARSER=OFF WITH_VAAPI=OFF WITH_VAAPI_AVAILABLE=1 WITH_VALGRIND_MEMCHECK=OFF WITH_VALGRIND_MEMCHECK_AVAILABLE=1 WITH_VERBOSE_WINPR_ASSERT=ON WITH_VIDEO_FFMPEG=ON WITH_VIDEO_FFMPEG_AVAILABLE=1 WITH_WAYLAND=ON WITH_WEBVIEW=ON WITH_WEBVIEW_QT=OFF WITH_WINPR_DEPRECATED=OFF WITH_WINPR_TOOLS=ON WITH_WIN_CONSOLE=ON WITH_X11=ON WITH_XCURSOR=ON WITH_XEXT=ON WITH_XFIXES=ON WITH_XI=ON WITH_XINERAMA=ON WITH_XRANDR=ON WITH_XRENDER=ON WITH_XV=ON
Build type:
CFLAGS:               -Wall -Wpedantic -Wno-padded -Wno-cast-align -Wno-declaration-after-statement -fPIC -Wall -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -g -fno-omit-frame-pointer
Compiler:            GNU, 12.2.0
Target architecture: x64

OS version connecting to (server side): Windows (Windows Server 2022 Datacenter Azure Edition)
Did my own local build with the 3.2.0 tag, dependencies installed from Debian, passing -D-DWITH_AAD=1 to cmake when generating build files.

Environment (please complete the following information):

OS: Linux
Version/Distribution: Debian bookworm, but ended up installing some packages from testing/unstable to do a local build. Also installed the version from Flatpak, which had a similar timeout issue.
Architecture: [amd64, arm]: amd64.

Additional context
My success of achieving an RDP connection while attempting to debug this was maybe 1-2 successful connections in an hour, but the fact it sometimes succeeded seems to indicate that the usage itself is correct. I saw no obvious difference between the logs in terms of URLs printed between a successful and non-successful connection. The client appeared to be blocked in rdp_client_wait_for_activation. I edited the source and increased FreeRDP_TcpAckTimeout and FreeRDP_TcpConnectTimeout with no success.

@s-p-k-m @FrancisRussell anyone of you can share a log? (if public is not possible, you can message me privately @akallabeth:matrix.org in our matrix chat)

ok, most likely a configuration thing, log shared via matrix did not reveal anything.
best guess the configuration requires UDP transport as the connection hangs in autodetect/multitransport state.


Some wagtailforms cleanup

Code cleanup in wagtailforms models
Added get_form_class and get_form methods

I brother, i think that you can add a required tag for the inputs and a placeholder with the help_text value for the case that we can't use help-text label.


Selection highlight colors is indistinguishable

For some reason, C/C++ language support create 2 types of highlight when user select substring of a symbol:

Highlight of symbol
Highlight of substring

What I've got with Dark+ (default dark) theme:

for me, it looks like proper behavior.
What I've got with Verdandi themes

On every picture, I select substring act in symbol action.
Interesting fact, that in an inactive window (for example when editor split in two) these colors are muted in different proportions, so highlights look like they should:

Could it be that some of the transplanted colors overlap or merge?
Took the colors from the file https://github.com/be5invis/vsc-theme-verdandi/blob/master/themes/verdandi-alter.json


Modified task status flow

Date: 14 Mar 24

Developer Name: @skv93-coder

Issue Ticket Number

https://github.com/Real-Dev-Squad/website-my/issues/554
Description

This PR adds restrictions for task status change according to this issue ticket https://github.com/Real-Dev-Squad/website-my/issues/554
Documentation Updated?

[ ] Yes
[x] No

Under Feature Flag

[x] Yes
[ ] No

Database Changes

[ ] Yes
[x] No

Breaking Changes

[ ] Yes
[x] No

Development Tested?

[x] Yes
[ ] No

Screenshots
Screencast from 14-03-24 06:55:19 AM IST.webm

Screenshot 1

Test Coverage
Unit tests

Integration tests

Screenshot 1

Additional Notes

can we have better PR title

Done


Figure out what to do with Grafana (new licensing)

Feedback
Grafana has switched their licensing to AGPL. Which raises a question for whether we can repackage and distribute Grafana in TCE.

Handed this issue over to @seemiller to work with various teams and determine what we're going to do via the license change.

Due to the concerns with bundling/distributing a package containing AGPL-3.0 licensed software, we will not be providing a package with any Grafana 8.x versions.
In light of this, options are as follows:

Continue to update the current Grafana package to utilize the latest versions of the 7.5.x release branch.
Retire the Grafana package
Adopt a suitable alternative to Grafana
Allow the community to create and publish a Grafana 8.x package

Given these options, we will continue to update the existing Grafana package with the latest 7.5.x releases.

@seemiller have we checked with our user community if we have a large community of users of Grafana? Wondering if it's something we can fully remove in case it isn't heavily used?


Add class name to tests for internal class methods

Describe the bug
Currently when it finds methods like __init__.py it will create a test - test____init__.py but for class methods we want this to be test_[class_name]__init__.py.
To Reproduce
Steps to reproduce the behavior:

Run generate_tests_from_db

Code to edit
add_test_to_db in code_management.code_database

Done with #23 .


TextEditingValue selection bug

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Create a TextFormField.
Add TextController.
Add a custom button with GestureDetector above the TextFormField via Stack.
onTap: () => _textController.text = '';
TextFormField is cleared.
Try to input some text

Expected results
You can input the text.
Actual results
Focus is still on the TextFormField, but input no longer works, until I tap to the TextFormField once more.
It works though if I change to _textController.clear();
The reason behind is https://api.flutter.dev/flutter/services/TextEditingValue/TextEditingValue.html
Selection remains the same, while text now is empty string and length is 0.
Code sample

OutlinedLabeledTextField code fragment:
           Stack(
            children: [
              TextFormField(
                controller: widget.textController,
                enabled: !widget.isLocked,
                initialValue: widget.initialValue,
                textCapitalization: widget.textCapitalization,
                inputFormatters: widget.inputFormatters,
                keyboardType: widget.keyboardType,
                textInputAction: widget.textInputAction,
                onChanged: widget.onChanged,
                onFieldSubmitted: widget.onSubmitted,
                maxLines: widget.maxLines,
                ),
              ),
              SizedBox(
                height: 44,
                child: Align(
                  alignment: Alignment.centerRight,
                  child: Builder(
                    builder: (context) {
                      if (widget.hasEraseButton) {
                        return Padding(
                          padding: const EdgeInsets.only(right: 12),
                          child: GestureDetector(
                            onTap: widget.onErase,
                            child: Assets.icons.clearFill.svg(package: Strings.packageName),
                          ),
                        );
                      }
                      return const SizedBox.shrink();
                    },
                  ),
                ),
              ),
            ],
          ),

Screenshots or Video
https://github.com/flutter/flutter/assets/12999702/bae8308e-a6ff-4bab-bd9f-f3df73aea602
Logs
?
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.5, on macOS 13.0.1 22A400 darwin-arm64, locale ru-RU)
    • Flutter version 3.10.5 on channel stable at /opt/homebrew/Caskroom/flutter/3.3.10/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 796c8ef792 (8 days ago), 2023-06-13 15:51:02 -0700
    • Engine revision 45f6e00911
    • Dart version 3.0.5
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/svmolchan1/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.79.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.66.0

[✓] Connected device (3 available)
    • M2101K9AG (mobile) • cc706425 • android-arm64  • Android 13 (API 33)
    • macOS (desktop)    • macos    • darwin-arm64   • macOS 13.0.1 22A400 darwin-arm64
    • Chrome (web)       • chrome   • web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

• No issues found!

This is working as expected (although not quite intuitive). The text field does not know where to insert the text you just entered if you set the selection to (-1, -1).  Consider setting the selection to const TextSelection.collapsed(offset: 0) instead.

You may log the error to the console "attempting to insert text with the selection set to (-1, -1)", so it's easier for users to spot the problem.
You may use setter on the "text" property to reset the selection, if the user inputs an empty string.

@subzero911 Thanks for the feedback.
You may file a new proposal request highlighting the points you made, that'll help to properly track the issue.
If the solution helps to resolve your issue, you may close this one.

I'm not quite happy with this "solution", it's not intuitive as @LongCatIsLooong said.
I proposed two considerations, how you can improve the experience.
Why to close this one, if it's directly related to the problem?

I believe it should be documented somewhere that one should use _textController.clear() instead of _textController.text = ''. This is because in my case, while the software keyboard ( it is basicly a touch screen app ) functioned correctly, the hardware keyboard did not.

Using the TextEditingController.text setter should be discouraged in the documentation.

Assigning @victorsanni to make a docs improvement here.

Actually, I'm unable to reproduce this bug. I believe the various platform embedders no longer allow -1 selection (did you make that change @LongCatIsLooong?), so they send it back as 0, and the bug no longer happens. Previously, I think this behavior was inconsistent among the different platforms.
I tried the code below on Android and iOS with both hardware and software keyboards, and on Linux, and Mac with a hardware keyboard, and I never saw the bug.
@victorsanni's PR may still go through to make the docs more clear, otherwise I think this issue should be closed, unless anyone else is still seeing this bug.

Code
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatelessWidget {
  MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  final TextEditingController controller = TextEditingController();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            TextField(
              controller: controller,
              decoration: InputDecoration(
                suffixIcon: IconButton(
                  onPressed: () {
                    controller.text = '';
                  },
                  icon: const Icon(Icons.phonelink_erase),
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }
}

I talked to @LongCatIsLooong and he was not aware of a deliberate change to how any of these embedders handle -1 selection. However, I think we should still close this issue when https://github.com/flutter/flutter/pull/146151 is merged. If anyone can still reproduce this, please leave a comment explaning how and I'll be happy to reopen this and take a look.


Sql Server WithDataBindMount Failed To Start

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Adding SqlServer using WithDataBindMount failed to start.
I use Windows 10 and think SqlServer has some issues with mount volume to the Windows host (see: https://stackoverflow.com/a/66238175).
Expected Behavior
The container starts without any errors.
Steps To Reproduce
Just add SqlServerServerResource using WithDataBindMount
var builder = DistributedApplication.CreateBuilder(args);

var sqlserver = builder.AddSqlServer("sqlserver")
.WithDataBindMount("C:\\sqldata");

builder.Build().Run();

Exceptions (if any)
No response

### .NET Version info
.NET SDK:
Version:           8.0.303
Commit:            29ab8e3268
Workload version:  8.0.300-manifests.280f8661
MSBuild version:   17.10.4+10fbfbf2e
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.19045
OS Platform: Windows
RID:         win-x64
Base Path:   C:\Program Files\dotnet\sdk\8.0.303\
.NET workloads installed:
[android]
Installation Source: SDK 8.0.300, VS 17.10.34916.146
Manifest Version:    34.0.95/8.0.100
Manifest Path:       C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.android\34.0.95\WorkloadManifest.json
Install Type:        FileBased
[aspire]
Installation Source: SDK 8.0.300, VS 17.10.34916.146
Manifest Version:    8.0.1/8.0.100
Manifest Path:       C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.aspire\8.0.1\WorkloadManifest.json
Install Type:        FileBased
[ios]
Installation Source: SDK 8.0.300, VS 17.10.34916.146
Manifest Version:    17.2.8053/8.0.100
Manifest Path:       C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.ios\17.2.8053\WorkloadManifest.json
Install Type:        FileBased
[maccatalyst]
Installation Source: SDK 8.0.300, VS 17.10.34916.146
Manifest Version:    17.2.8053/8.0.100
Manifest Path:       C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.maccatalyst\17.2.8053\WorkloadManifest.json
Install Type:        FileBased
[maui-windows]
Installation Source: SDK 8.0.300, VS 17.10.34916.146
Manifest Version:    8.0.21/8.0.100
Manifest Path:       C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.maui\8.0.21\WorkloadManifest.json
Install Type:        FileBased
Host:
Version:      8.0.7
Architecture: x64
Commit:       2aade6beb0
.NET SDKs installed:
8.0.300 [C:\Program Files\dotnet\sdk]
8.0.303 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.19 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.30 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.19 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.30 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.19 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.7 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86   [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download

Anything else?
Container Logs:
SQL Server 2022 will run as non-root by default.
This container is running as user mssql.
To learn more visit https://go.microsoft.com/fwlink/?linkid=2099216.
** ERROR: [AppLoader] Failed to load LSA: 0xc0070102
AppLoader: Exiting with status=0xc0070102
This program has encountered a fatal error and cannot continue running at Wed Jul 24 18:28:29 2024
The following diagnostic information is available:
Reason: 0x00000006
Message: Termination of \SystemRoot\system32\AppLoader.exe was due to fatal error 0xC0000001
Address: 0x3fff99a6a868
Stack Trace:
file://package6/windows/system32/sqlpal.dll+0x0000000000209C12
file://package6/windows/system32/sqlpal.dll+0x0000000000208156
file://package6/windows/system32/sqlpal.dll+0x000000000026A9D0
file://package6/windows/system32/sqlpal.dll+0x000000000026A868
file://package6/windows/system32/sqlpal.dll+0x0000000000269296
file://package6/windows/system32/sqlpal.dll+0x0000000000201F6E
file://package6/windows/system32/sqlpal.dll+0x00000000003A02FB
file:///windows/system32/ntdll.dll+0x00000000000F64AF
file:///windows/system32/AppLoader.exe+0x0000000000002ED7
file:///windows/system32/AppLoader.exe+0x000000000000301D
file:///windows/system32/AppLoader.exe+0x000000000000303D
file:///windows/system32/AppLoader.exe+0x000000000000A378
file:///Windows/SYSTEM32/KERNEL32.DLL+0x0000000000017AF4
file:///windows/system32/ntdll.dll+0x00000000000244A1
Process: 10 - sqlservr
Thread: 52 (application thread 0xa4)
Instance Id: 9f17bc3e-874d-455e-b7a0-1a24219be74a
Crash Id: 486aeaae-86b9-4d81-b764-71c32ea25e64
Build stamp: d986b523c576d701c33a57ed10ecb573fee0027b11dee759032623389580414d
Distribution: Ubuntu 22.04.4 LTS
Processors: 4
Total Memory:<PHONE_NUMBER>0 bytes
Timestamp: Wed Jul 24 18:28:29 2024
Capturing a dump of 10
Successfully captured dump: /var/opt/mssql/log/core.sqlservr.7_24_2024_18_28_29.10
Executing: /opt/mssql/bin/handle-crash.sh with parameters
handle-crash.sh
/opt/mssql/bin/sqlservr
10
/opt/mssql/bin
/var/opt/mssql/log/
9f17bc3e-874d-455e-b7a0-1a24219be74a
486aeaae-86b9-4d81-b764-71c32ea25e64
/var/opt/mssql/log/core.sqlservr.7_24_2024_18_28_29.10
Ubuntu 22.04.4 LTS
Capturing core dump and information to /var/opt/mssql/log...
/bin/cat: /proc/10/maps: Permission denied
cat: /proc/10/environ: Permission denied
find: '/proc/10/map_files': Permission denied
find: '/proc/10/map_files': Permission denied
find: '/proc/10/map_files': Permission denied
find: '/proc/10/map_files': Permission denied
dmesg: read kernel buffer failed: Operation not permitted
timeout: failed to run command 'journalctl': No such file or directory
timeout: failed to run command 'journalctl': No such file or directory
Wed Jul 24 18:28:40 UTC 2024 Capturing program information
Dump already generated: /var/opt/mssql/log/core.sqlservr.7_24_2024_18_28_29.10, moving to /var/opt/mssql/log/core.sqlservr.10.temp/core.sqlservr.10.gdmp
Moving logs to /var/opt/mssql/log/core.sqlservr.10.temp/log/paldumper-debug.log
Wed Jul 24 18:28:40 UTC 2024 Capturing program binaries
Wed Jul 24 18:28:41 UTC 2024 Not compressing the dump files, moving instead to: /var/opt/mssql/log/core.sqlservr.07_24_2024_18_28_38.10.d

I got the same issue here. I think the problem is that files under the data volume are mounted under the wrong permissions (wrong owner). But not sure how I can fix that using Windows (my files are not inside of WSL2).

you can map subdirectory /var/opt/mssql/data , which holds the db files, it is working.
https://stackoverflow.com/questions/65307784/mssql-container-fails-to-start-when-mapping-volumes-after-upgrading-to-wsl2/66238175#66238175


Choose kernel and reconnect to running kernel

For #7014 , #3763
Fixes the requested changes on #7015 and adds the ability the select the remote kernel to connect to. This was done together since the kernel uuid is passed down using IJupyterKernelSpec instead of setting a different setting just for the kernel UUID.

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] Has a news entry file (remember to thank yourself!)
[x] Appropriate comments and documentation strings in the code
[x] Has sufficient logging.
[x] Has telemetry for enhancements.
[ ] ~Unit tests & system/integration tests are added/updated
[x] ~Test plan is updated as appropriate~
[x] ~package-lock.json has been regenerated by running npm install (if dependencies have changed)~
[ ] The wiki is updated with any design decisions/details.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: hochshi sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Hi @rchiodo,
Any news on this? I'm willing to put in extra work to make this happen quicker.
The rest of my team could really use these enhancements and I'd rather do it through the appropriate procedure.
Thanks

Wasn't sure if you were continuing to work on this or not? Unfortunately we aren't going to take it up anytime soon as we're all heads down on supporting notebooks at the moment.
In order to submit this you might have to refactor some stuff as we've changed quite a bit for notebook support.
If you want to try updating, we're happy to review it again. I think we were all okay with the extra setting for picking the remote kernel.

Great.
I'll get to it :)

It was easier to re-implement than play around with trying to merge the changes.
Same features are available at #7790 .


Issue with #493 when commit is not required, response None

Describe the bug
Was OK before 02/2024
With Ansible, when I commit to Panorama I have this issue. This is related to the pan-os-python as
The full traceback is:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/panos/base.py", line 4899, in _commit
    jobid = commit_response.find("./result/job").text
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'text'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/root/.ansible/tmp/ansible-tmp-1719845283.5125809-203-3565473327147/AnsiballZ_panos_commit_panorama.py", line 107, in <module>
    _ansiballz_main()
  File "/root/.ansible/tmp/ansible-tmp-1719845283.5125809-203-3565473327147/AnsiballZ_panos_commit_panorama.py", line 99, in _ansiballz_main
    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
  File "/root/.ansible/tmp/ansible-tmp-1719845283.5125809-203-3565473327147/AnsiballZ_panos_commit_panorama.py", line 47, in invoke_module
    runpy.run_module(mod_name='ansible_collections.paloaltonetworks.panos.plugins.modules.panos_commit_panorama', init_globals=dict(_module_fqn='ansible_collections.paloaltonetworks.panos.plugins.modules.panos_commit_panorama', _modlib_path=modlib_path),
  File "<frozen runpy>", line 226, in run_module
  File "<frozen runpy>", line 98, in _run_module_code
  File "<frozen runpy>", line 88, in _run_code
  File "/tmp/ansible_paloaltonetworks.panos.panos_commit_panorama_payload_p38osrq0/ansible_paloaltonetworks.panos.panos_commit_panorama_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/modules/panos_commit_panorama.py", line 222, in <module>
  File "/tmp/ansible_paloaltonetworks.panos.panos_commit_panorama_payload_p38osrq0/ansible_paloaltonetworks.panos.panos_commit_panorama_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/modules/panos_commit_panorama.py", line 200, in main
  File "/usr/local/lib/python3.11/site-packages/panos/base.py", line 4803, in commit
    return self._commit(
           ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/panos/base.py", line 4906, in _commit
    commit_response_msg = commit_response.find("./msg/line").text
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'text'
fatal: [oppano21s.net.meshcore.net]: FAILED! => {
    "changed": false,
    "module_stderr": "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.11/site-packages/panos/base.py\", line 4899, in _commit\n    jobid = commit_response.find(\"./result/job\").text\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: 'NoneType' object has no attribute 'text'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/root/.ansible/tmp/ansible-tmp-1719845283.5125809-203-3565473327147/AnsiballZ_panos_commit_panorama.py\", line 107, in <module>\n    _ansiballz_main()\n  File \"/root/.ansible/tmp/ansible-tmp-1719845283.5125809-203-3565473327147/AnsiballZ_panos_commit_panorama.py\", line 99, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/root/.ansible/tmp/ansible-tmp-1719845283.5125809-203-3565473327147/AnsiballZ_panos_commit_panorama.py\", line 47, in invoke_module\n    runpy.run_module(mod_name='ansible_collections.paloaltonetworks.panos.plugins.modules.panos_commit_panorama', init_globals=dict(_module_fqn='ansible_collections.paloaltonetworks.panos.plugins.modules.panos_commit_panorama', _modlib_path=modlib_path),\n  File \"<frozen runpy>\", line 226, in run_module\n  File \"<frozen runpy>\", line 98, in _run_module_code\n  File \"<frozen runpy>\", line 88, in _run_code\n  File \"/tmp/ansible_paloaltonetworks.panos.panos_commit_panorama_payload_p38osrq0/ansible_paloaltonetworks.panos.panos_commit_panorama_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/modules/panos_commit_panorama.py\", line 222, in <module>\n  File \"/tmp/ansible_paloaltonetworks.panos.panos_commit_panorama_payload_p38osrq0/ansible_paloaltonetworks.panos.panos_commit_panorama_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/modules/panos_commit_panorama.py\", line 200, in main\n  File \"/usr/local/lib/python3.11/site-packages/panos/base.py\", line 4803, in commit\n    return self._commit(\n           ^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/panos/base.py\", line 4906, in _commit\n    commit_response_msg = commit_response.find(\"./msg/line\").text\n                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: 'NoneType' object has no attribute 'text'\n",
    "module_stdout": "",
    "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
    "rc": 1
}

Expected behavior
It should work with a message Commit not needed
No issues when modification are there to commit to the device.
Current behavior
Python error
 commit_response_msg = commit_response.find(\"./msg/line\").text\nAttributeError: 'NoneType' object has no attribute 'text'\n",

Possible solution
Change line on /panos/base.py (https://github.com/PaloAltoNetworks/pan-os-python/blob/62bcff3bca86a5ff745eae3e92635d109673963a/panos/base.py#L4906C1-L4906C78)
to add a try except
                try:
                    commit_response_msg = commit_response.find("./msg/line").text
                except AttributeError:
                    commit_response_msg = "No message in commit response"
                self._logger.debug("No job id. Msg: " + commit_response_msg)

Steps to reproduce

Commit without changes

Screenshots

Context
Issue is with last version of ansible, and pan-os-python
Your Environment
antoinekh# ansible --version
ansible [core 2.17.1]
  config file = /home/w132231/w132231/ansible_performance/ansible.cfg
  configured module search path = ['/home/w132231/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/w132231/.local/lib/python3.10/site-packages/ansible
  ansible collection location = /home/w132231/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/w132231/.local/bin/ansible
  python version = 3.10.13 (main, Aug 25 2023, 13:20:03) [GCC 9.4.0] (/usr/bin/python3.10)
  jinja version = 3.1.2
  libyaml = True

antoinekh# pip3 freeze
pan-os-python==1.12.1
pan-python==0.17.0

Maybe similar to #471

I have tried with success to add the following lines and this fix the issue
L4906 on base.py
    try:
        commit_response_msg = commit_response.find("./msg/line").text
    except AttributeError:
        commit_response_msg = "No message in commit response"
    self._logger.debug("No job id. Msg: " + commit_response_msg)

the problem has been added here  #493

Pull request #557

I can confirm that it works in pan-os-python 1.11.0


[fix] Fixed an issue where the plugin could not be built on Xcode Cloud.

Cause.
Error when using the .atomic option when generating files in the plugin's working directory.
The following PR is a solution to the same problem.
https://github.com/mac-cain13/R.swift/pull/879
The LicenseProvider then generates the file without passing any options to "Data.write(to:options:)". The default options for this method are "[]".
https://github.com/zunda-pixel/LicenseProvider/blob/main/Sources/LicenseProviderExec/main.swift#L61
Changes.
Removed option argument from "Data.write(to:options:)".

@Kyome22 (?)
I'm sorry to bother you, but any response would be appreciated.

@charlie-dev-ios

@Kyome22 (?) I'm sorry to bother you, but any response would be appreciated.

Sorry for the late reply. Your PR looks good for us, so I'll merge it.


[C++][Parquet] Improve code reuse and reduce redundancy between Arrow and Parquet C++ build systems

I would like to see if it's possible to modularize the build system in Apache Arrow sufficiently to use it as a git submodule dependency of parquet-cpp. Most of the build system would therefore live in Apache Arrow (which is already a hard build dependency for Parquet).
In an ideal world, the Parquet codebase would live in a common monorepo with the Arrow codebase, but this might hopefully be the next best thing
Reporter: Wes McKinney / @wesm
Assignee: Wes McKinney](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=wesm) / @wesm
Note: This issue was originally created as PARQUET-1306. Please see the migration documentation for further details.

Wes McKinney / @wesm:
Addressed by monorepo merge


Lwm2m swmgmt

https://docs.google.com/spreadsheets/d/1sjT5Kc5ppcTw8WSy-7MW0bAh8wYRG2vvqUGvnNTYNhs/edit#gid=0
Test case list

Closing and continuing in https://github.com/voiapp/zephyr/pull/8


pos can quant?

have you tried pos quant?

Hi. Yes, we did try position quantization. However, it does not work well since the required number of unique position values is very high and thus hard to quantize. Results are in table 6 (effect of quantization on different Gaussian parameters) of the paper.


Msvc compilation

details explained in issue #85

I see compilation succeeded, but generating docs failed, will try to check what's going on


Cannot open a project made in Windows on a Mac

Godot version:
v3.0.6.stable.official.8314054
OS/device including version:
macOS 10.13.6 and Windows 10
Issue description:
Cannot open a project made in Windows on a Mac
Steps to reproduce:

Put together a 3D Godot project with some simple scripts
Run it
Zip up the whole project
Download on a Mac, unzip, and then try to open the project in Godot editor

Result is that the Godot editor terminates without indication about why. I was unsuccessful when searching for logs that might provide clues.
Minimal reproduction project:
Sample File

Your project.godot file has config_version=4, which means that it was made with Godot 3.1 / a nightly build, so it's not compatible with 3.0.6 that you use on the Mac.

Thanks for the quick feedback! Our team will do a better job at synchronizing versions moving forward.


Bug: The rollback function attempts to _changeItemState on items that do not exist in the database

Two error messages:
Transaction (...) was cancelled after being inactive for 5 seconds.

Exception in setTimeout callback: MongoError: Cannot create field 'state' in element {4: null}

The second is very puzzling, and I think it can be handled better. More importantly, my transaction failed and was incorrectly rolled back.
The cause of the second error message:
My own code threw an unrelated error after performing some inserts, updates, and deletes, but before tx.commit was called. Some of these inserts, updates, and deletes were called with instant: true, and some weren't. From looking at transactions-common.js, I can see that the instant operations are recorded in the database as soon as they are called, whereas non-instant operations are not recorded in the database until tx.commit is called. All operations, whether instant or not, are recorded in memory on the server in self._items. This means that there is some time, between performing an operation and calling tx.commit, during which the server's record of performed operations might contain more items than the transaction document in the database. But in my case, and due to my own code error, tx.commit was never called, so this difference in record-keeping persisted. It persisted beyond the 5-second inactivity timeout, which called rollback, and this became a problem.
The rollback method uses self._items as its record of operations that need to be reversed. rollback attempted to loop over 6 items, 4 of which weren't recorded in the database because they weren't done instantly (remember the difference I just described). The following was called 6 times, once for each item stored in self._items:
      self._changeItemState({
        txid: self._transaction_id,
        index: (items.length - 1) - index, // Because order was reversed for rollback
        state: "rolledBack"
      });

_changeItemState writes to the transaction document like so:
Transact.prototype._changeItemState = function (data) {
  // Need to make a write to the transaction record, marking this action as `done`
  var m = {};
  m["items." + data.index + ".state"] = data.state;
  Transactions.update({_id: data.txid}, {$set: m});
}

Looking at the intended behavior, the first write to the transaction document will be to index 5 of the items array, because the rollbacks are done in reverse order. Next will be 4, then 3, and so on, down to 0. Since items[5] does not exist in the database, however, the array will have to be expanded from containing 2 items to containing 6 items, making index 5 available. Mongo seems to do this automatically by writing null to indexes 2, 3, and 4, and writing to index 5 correctly. So far, no error. But on the next iteration of the loop, it's time to write to items[4]. Do you see the problem? Right -- items[4] is now null, and you can't write a property such as .state to null. Read the second error message again, and this time it should make sense!
The solution:
The most obvious thing I should have done is not write buggy code. And yet it happened, triggering an incomplete rollback of the transaction, and a very cryptic error message. Can someone comment on the feasibility of somehow getting self._items to sync up with the items array on the transactions document in the database, even when commit doesn't get called? Perhaps this can be done at the beginning of the rollback function?

Thank you for the comprehensive analysis of the problem and my apologies for the weakness in the package. This certainly needs addressing. If possible, can I take a look at the database record (in the tx.transactions collection) for this particular transaction. Also, just to confirm, still you're using tx.softDelete = false; (the default setting), right?

Thanks so much for your quick response, and for this very useful package! Yes, we are using the default tx.softDelete = false.
If it's relevant, we are using Simple Schema, and I can send you the schemas for all of our collections if you would like. We made sure each of them includes the following (see https://github.com/JackAdams/meteor-transactions/issues/2):
    'transaction_id': {
        type: String,
        regEx: SimpleSchema.RegEx.Id,
        optional: true
    },
    deleted: {
        type: Number,
        optional: true
    }

I'd be happy to share the document in tx.transactions, but it is fairly large and I'd rather avoid searching manually for any sensitive information that we would not like to post publicly. Is there a way I can send this data to you privately?

This is just a for-the-record, and has no impact on the issue at hand, but at some stage, I changed the schema for deleted from unix timestamp to ISO Date. So the package tries to extend the simpleSchema definitions automatically for each collection with:
deleted: {
  type: Date,
  label: "Deleted",
  optional: true
},
transaction_id: {
  type: String,
  label: "transaction_id",
  optional: true
}

That's all right about sending the document in tx.transactions.  I think I've got a pretty good idea of what's happening, based on your thorough description above.
Not sure when I'll be able to roll out a fix - I'm pretty slammed at the moment - but it's now on the to-do list.

Oh nice! So I don't have to manually extend my schemas with that, it sounds like.
Let me know if you have a general idea of what should be done, and I can ty to put together a pull request.

Right. The package should automatically extend any schema for you.
I'm going to try to reproduce the error with test and then go from there.
I'd thought the whole items array was written to the database at the start of a transaction, regardless of whether the writes are instant or have been made or not made, meaning it was always consistent with the in-memory version, but it seems this isn't always the case.
Let me do some poking around and I'll give a call out if I could use some help.

Thank you! Please let me know if I can help out at all.


Fail to deploy using az functionapp deployment source config-zip

CLI version
2.0.81
Describe the bug
When deploying a local function app content to Azure Functions on Linux, the deployment can possibly fails if it requires changes in app settings.
There's a race condition here:

If the app settings are changed before the deployment is initiated, the build succeeds.
If the app settings are changed at the same time as the deployment is initiated, the /deployments/latest endpoint will return 5xx errors due to KuduLite restart.
If the app settings are changed after the deployment is started, the build will be interrupted and marked as failed deployment.

To Reproduce

Create a Python Function App in Linux Premium Plan
Prepare a simple Python app content, and compress it into a zip file.
Run the command az functionapp deployment source config-zip -g <resource_group> -n <app_name> --src <local_zip_file>
Wait a while and will see the deployment failure error

Expected behavior
The deployment should succeed.

Please assign this issue to me. This issue is for tracking.

@Hazhzeng is there any update on the issue ?

I am still facing this issue while using Ubuntu 16.04 DevOps Hosted Agent. See az --version
azure-cli                          2.2.0
command-modules-nspkg              2.0.3
core                               2.2.0
nspkg                              3.0.4
telemetry                          1.0.4
Extensions:
azure-devops                      0.17.0
Python location '/opt/az/bin/python3'
Extensions directory '/opt/az/azcliextensions'
Python (Linux) 3.6.5 (default, Mar  6 2020, 14:41:35)
[GCC 5.4.0 20160609]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.


Sync assignments 2 and 3

Clean up assignment 2 and 3 UI, and synchronise profile and user management for both assignments.

Close #11
Close #12

LGTM


How to proceed after .elf file is no more?

Hello,
I am using a ZCU106 board, so I am using a custom platform flow. I am using the VITIS-flow, and now with VITIS-AI 1.3 some changes came, such as that the .elf file is no more.
Usually my workflow was the following:

Start Docker (gpu-latest)
Use the vitis-ai-tensorflow conda env
Run dlet with my system.hwh
Adapt the arch.json according to my dcf file / DPU architecture
Compile it using vai_c_tensorflow
Use the created .elf file and copy it into my src folder of the VITIS DPU Application
Include the .elf file via GCC Host Linker Settings
Build project

This led to creation of the sd_card folder within the DPU Application, but now I am missing the .elf file due to the change to the xmodel, how can I proceed after step 6 ?
Thank you for your help

Hi @kevinkit
The .elf file is replaced by xmodel file. There is no need to include xmodel file via GCC host linker setting.
After you compile the model into xmodel file, you need to copy the xmodel file to your target. Then build your application. The xmodel file will be used as an input parameter to the application.
You can refer to https://github.com/Xilinx/Vitis-AI/tree/master/demo/VART/resnet50
Note that you need to install VART before you run the program.

Hi @kevinkit
Since we haven't received your reply for a long time, we assume you have solved this issue and I'm going to close it. If you still have any questions, please feel free to reopen it. Thank you very much.


Add button to close uploader after error

right now it gets stuck open in that case

Needs to check if this is still a problem with the blazor uploader component.

Added in the blazor reimplementation.


feat: add enums for geometry-type and typeof, and integrate LayerPropertyEnum into EnumValue

#114  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Implement streaming decode

Copies streaming decode from
rlp-js
If stream is enabled, it will just decode the first rlp sequence

@InoMurko one more pr. code review plz


[Text Extractor] OCR doesn't recognize numbers only

Microsoft PowerToys version
0.62.0
Running as admin

[ ] Yes

Area(s) with issue?
TextExtractor
Steps to reproduce

Open Notepad
Enter any set of numbers eg. 123456789
Begin TextExtractor and select the area with numbers

✔ Expected Behavior
Text Extraction mode should disappear and the number should be in the clipboard
❌ Actual Behavior
Text Extraction mode remained. No number in clipboard.
Other Software
Windows 11 x64
AMD Ryzen 2700 CPU

What's your Windows version? It works on my Windows 10 x64, but doesn't work on Windows 10 arm64, see https://github.com/microsoft/PowerToys/issues/20278
/needinfo

Im using Windows 11 x64. Updated original issue with more detail.

I just tried this and worked.  123456789 was from text extractor.

Ok. After further testing, it seems like it works for numbers too.
But seems to depend on the font size + area size selected.
Closing this issue and following up on #20331


Just install any missing tools in bootstrap

It seems silly for the bootstrap script to fail if xctool and cmake are not installed but then to go ahead and install other things through Homebrew.

I'd rather not increase our dependency on homebrew. Could we just print out a command to install through homebrew instead, to let the user have the option? I think it's kinda rude to install things like this anyway.

Running brew install xctool cmake libssh2 libtool autoconf automake pkg-config would do it.

So, the bootstrap script currently does 4 things:

Stop with error if xctool or cmake are not installed (but they are available through Homebrew)
Install libssh2 libtool autoconf automake pkg-config through Homebrew
Symlink libssh2 library and headers into /usr/local if brew --prefix is something nonstandard
Update submodules

Right now it's heavily dependent on Homebrew.

I don't have strong feelings. I don't use homebrew, so it probably doesn't affect me either way. :smile:

Made a couple minor changes after taking @mdiep's POV into account

Abort script early with helpful message if Homebrew isn't installed
Update submodules first in case script aborts

Here's what the message looks like if Homebrew isn't installed:
$ script/bootstrap
*** Updating submodules...
*** Checking dependencies...

Homebrew is not installed (http://brew.sh). You will need to manually ensure the following tools are installed:
  xctool cmake libssh2 libtool autoconf automake pkg-config

Additionally, the following libssh2 files must be symlinked under /user/local:
  lib/libssh2.a include/libssh2.h include/libssh2_sftp.h include/libssh2_publickey.h

This looks great to me, but someone else who has Homebrew installed should test it out. :+1:

:metal:


shieldcoinbase

Investigate why the shielding is made with z_sendmany instead of shieldcoinbase

I believe z_shieldcoinbase didn't exist at the time. We have a task for this in s-nomp, I believe.

in this case we can close this issue when that is done.


README: fix statement about test file locations

hs-source-dirs may contain multiple directories, which are not subdirectories of each other. For example, the following is perfectly fine:
hs-source-dirs: tests/ anotherTestDir/

tasty-discover will not find tests in anotherTestDir (if  Tasty.hs is in tests/Tasty.hs), so the previous statement about the location of tests was wrong.

Ah yes, thanks for clearing that up :+1:


Expose Table Aliases to Sub Queries in Where Clauses

When there is a sub query in a where clause (either with an exists clause or a sub query to column condition) it is very common to reference columns in the "outer" query. With this change, if the outer table has an alias, then the alias will automatically be applied to columns in the sub query. This makes it possible to reference outer query columns without having to re specify and alias.
Resolves #437

Coverage remained the same at 100.0% when pulling 25af53f91b6a1b1abee4d85a683f15f46578e066 on jeffgbutler:gh-437 into 440be159c13539bc25ae8efa06d9fbacef11b2e9 on mybatis:master.


feat(test): deterministic testing for more crates

What's changed and what's your intention?
This PR makes deterministic testing available for more crates.
Now developers can try it with the following command:
RUSTFLAGS="--cfg madsim" cargo test --target-dir target/sim -p risingwave_stream

(Setting a new target-dir to avoid conflicts with normal builds)
Changes in details:

Fix simulation build of the prost crate.
Remove all sim features and switch to a global #[cfg(madsim)] way.

Redirect tokio to madsim-tokio in all Cargo.toml files.
It works just like tonic. Developers can directly use tokio API instead of rewriting them to madsim.
So I also reverted all #[madsim::test] to #[tokio::test] in the stream crate.

Remove TcpListener in the meta service since it's not supported in the simulation.
This change, however, will lead to a panic in the playground. The reason is that other services won't wait for the meta service to be ready. So I added a short sleep there to fix that.

Add available deterministic testings to CI.
Now some of them will fail so I added a continue-on-error flag to ignore these errors.
My intention is to only run these tests but not make it a required check.
I'm not sure whether I'm doing it right and efficiently. @skyzh plz take a look.

Next step
Currently, it still does not work with the frontend and meta crate. They depend on pgwire, which depends on TCP which is not yet implemented in madsim. This is a blocker to e2e simulation testing. We can either support simulating TCP or bypass pgwire in tests.
Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests

Refer to a related PR or issue link (optional)
Following #2477

Despite the cargo vendor solution, any other idea to make deterministic test easier to be maintained? 🤪

For the CI, I think we can separate the deterministic test into a new job, running in parallel with others?

Simply redirecting the dependencies to madsim might make commands like cargo update harder to catch up with upstream.

I think adding a new 'madsim' layer between our crate and tokio/tonic does not affect cargo update. It can always bump tokio/tonic version to the latest v1.x / v0.7.x. If someday tonic releases v0.8, there may be API changes according to the semver. So to upgrade tonic to v0.8, we should first update the simulation code and release a new version of madsim-tonic, then bump its version and make necessary adaptations in risingwave.
This is the best solution I can ever think of to minimize the impact on normal development while making it easy to run simulation tests. 😢
I have tried using [patch] in Cargo.toml. But it requires exactly the same name and version of two crates. It seems not possible to patch a crate with another published crate because they have different names. (

Oh, the CI result shows another problem: previously in order to make it friendly to code analysis, we moved generated code from OUT_DIR back to src in #2581. Then we can no longer use tonic::include_proto! and have to introduce a sim feature to risingwave_pb to select normal or simulated files.
This feature makes trouble. If we write it as sim = [], building with --all-features will fail. If we change it to sim = ["tonic/sim"], workspace-hack will contain the sim feature and the normal build will fail. I don't know how to make cargo-hakari ignore this feature. 😇

After thinking, I decided to switch the way to enable simulation from #[cfg(feature = "sim")] to #[cfg(madsim)], which avoids trouble with features and allows us to do some special handlings in our code. As an example, #2779 introduced a new tokio runtime which is not allowed in the simulation. So we can use #[cfg(madsim)] to temporarily work around it.
@skyzh plz take a look again to see whether it is ready to merge.

That's cool! I'll take a look :)


test: adjust declaration to be portable (NFCI)

long is teated as Int32 on Windows x86_64.  intptr_t will be
mapped to Int and Int64.  This fixes the failing test on Windows
which is LLP64 and should be equivalent on LP64 targets.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please smoke test

@swift-ci please test Windows platform

CC: @xedin

Thank you!


E/BufferQueueProducer: dequeueBuffer: BufferQueue has been abandoned

Hello,
my project has a problem mentioned in the title above and I am not able to solve it. I don't have much knowledge of kotlin and I have no idea what is going on to generate this error. In the research I did, the only important thing I discovered is that it has to do with not finding the place where it should be open to receive the video. I tried some changes to synchronize the time to leave and enter each user in the room and I still couldn't solve it. I know it's not exactly an opentok error, but I'm not finding a solution anywhere, so I'm asking for help here.
Just below is the simplified project based on this one, which makes it possible to reproduce the error. In my project is something similar, I will explain.
https://github.com/jttuboi/flutter_training_other_projects/tree/main/app40/sample-video-flutter-app-main
First, to reproduce the error in this simplified project, I ran the project and there is only 1 button (one to one). When you click on it, you enter the screen with the video of the cell phone user showing in a small square. When adding a subscriber, it appears behind a window that takes up almost the entire screen. After that, I clicked back, waited a bit, and clicked again. Note: do not disconnect the subscriber from the room.
The error starts to generate a little after returning to the screen that should show the same as before.
Use flutter 3.3.8 and opentok 2.24.0.
In my project, it's a little different, but the same error happens with dequeueBuffer. The 2 are already in the room, but the subscriber leaves, so when he returns, the error occurs. You can see that the error happens when entering the page and showing the videos again with the "new" users.
If you just want to see the generated log, it's just below.

Log
```
Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
I/flutter_samples(18048): Late-enabling -Xcheck:jni
W/flutter_samples(18048): type=1400 audit(0.0:234): avc: denied { read } for name="max_map_count" dev="proc" ino=368000 scontext=u:r:untrusted_app:s0:c158,c256,c512,c768 tcontext=u:object_r:proc_max_map_count:s0 tclass=file permissive=0 app=com.vonage.tutorial.opentok.opentok_flutter_samples
W/flutter_samples(18048): Accessing hidden method Landroid/view/accessibility/AccessibilityNodeInfo;->getSourceNodeId()J (unsupported,test-api, reflection, allowed)
W/flutter_samples(18048): Accessing hidden method Landroid/view/accessibility/AccessibilityRecord;->getSourceNodeId()J (unsupported, reflection, allowed)
W/flutter_samples(18048): Accessing hidden field Landroid/view/accessibility/AccessibilityNodeInfo;->mChildNodeIds:Landroid/util/LongArray; (unsupported, reflection, allowed)
W/flutter_samples(18048): Accessing hidden method Landroid/util/LongArray;->get(I)J (unsupported, reflection, allowed)
Connecting to VM Service at ws://<IP_ADDRESS>:53564/NRDsZNVBWkk=/ws
E/SurfaceSyncer(18048): Failed to find sync for id=0
W/Parcel  (18048): Expecting binder but got null!
V/com.opentok.android: ***** OpenTok Android SDK | Version/Revision: android-2.24.0/7316208e3bf83c855acb8a31765dff7b2b6a2b57 | Library built on: Oct 31 2022 | Copyright 2022 Vonage | https://www.vonage.com/legal/communications-apis/terms-of-use/
D/        (18048): OneToOneVideo.session.onConnected(SESSION_TOKEN)
I/CameraManagerGlobal(18048): Connecting to camera service
I/PlatformViewsController(18048): Hosting view in a virtual display for platform view: 0
W/PlatformViewsController(18048): Unexpected platform view context for view ID 0; some functionality may not work correctly. When constructing a platform view in the factory, ensure that the view returned from PlatformViewFactory#create returns the provided context from getContext(). If you are unable to associate the view with that context, consider using Hybrid Composition instead.
D/HostConnection(18048): createUnique: call
D/HostConnection(18048): HostConnection::get() New Host Connection established 0xb400007797e20b10, tid 18131
D/HostConnection(18048): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
D/DefaultVideoRenderer(native): VideoRenderOpenGles20: id 0
D/DefaultVideoRenderer(native): Setup: width 303, height 495
D/DefaultVideoRenderer(native): Setup: number of textures 16, size 16384
W/Parcel  (18048): Expecting binder but got null!
D/        (18048): OneToOneVideo.publisher.onStreamCreated(EA54931C-0238-491A-B16B-2459BD63E901, EA54931C-0238-491A-B16B-2459BD63E901)
D/        (18048): OneToOneVideo.session.onStreamReceived(SESSION_TOKEN, 5743400b-3315-469d-ad56-e96ddaf3fe04)
D/HostConnection(18048): createUnique: call
D/HostConnection(18048): HostConnection::get() New Host Connection established 0xb400007797e253d0, tid 18183
D/HostConnection(18048): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
D/DefaultVideoRenderer(native): VideoRenderOpenGles20: id 0
D/DefaultVideoRenderer(native): Setup: width 1080, height 1107
D/DefaultVideoRenderer(native): Setup: number of textures 16, size 16384
W/AudioManager(18048): Use of stream types is deprecated for operations other than volume control
W/AudioManager(18048): See the documentation of requestAudioFocus() for what to use instead with android.media.AudioAttributes to qualify your playback use case
W/AudioTrack(18048): Use of stream types is deprecated for operations other than volume control
W/AudioTrack(18048): See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
D/        (18048): OneToOneVideo.subscriber.onConnected(5743400b-3315-469d-ad56-e96ddaf3fe04)
D/        (18048): OneToOneVideo.session.onConnected(SESSION_TOKEN)
D/        (18048): OneToOneVideo.session.onStreamReceived(SESSION_TOKEN, 5743400b-3315-469d-ad56-e96ddaf3fe04)
D/        (18048): OneToOneVideo.session.onStreamReceived(SESSION_TOKEN, EA54931C-0238-491A-B16B-2459BD63E901)
D/HostConnection(18048): createUnique: call
D/HostConnection(18048): HostConnection::get() New Host Connection established 0xb400007797e23750, tid 18223
D/HostConnection(18048): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
E/CameraCaptureSession(18048): Session 0: Exception while stopping repeating:
E/CameraCaptureSession(18048): android.hardware.camera2.CameraAccessException: CAMERA_DISCONNECTED (2): checkPidStatus:2085: The camera device has been disconnected
E/CameraCaptureSession(18048): 	at android.hardware.camera2.CameraManager.throwAsPublicException(CameraManager.java:1390)
E/CameraCaptureSession(18048): 	at android.hardware.camera2.impl.ICameraDeviceUserWrapper.cancelRequest(ICameraDeviceUserWrapper.java:99)
E/CameraCaptureSession(18048): 	at android.hardware.camera2.impl.CameraDeviceImpl.stopRepeating(CameraDeviceImpl.java:1341)
E/CameraCaptureSession(18048): 	at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:579)
E/CameraCaptureSession(18048): 	at android.hardware.camera2.impl.CameraCaptureSessionImpl$2.onDisconnected(CameraCaptureSessionImpl.java:790)
E/CameraCaptureSession(18048): 	at android.hardware.camera2.impl.CameraDeviceImpl$7.run(CameraDeviceImpl.java:267)
E/CameraCaptureSession(18048): 	at android.os.Handler.handleCallback(Handler.java:942)
E/CameraCaptureSession(18048): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/CameraCaptureSession(18048): 	at android.os.Looper.loopOnce(Looper.java:201)
E/CameraCaptureSession(18048): 	at android.os.Looper.loop(Looper.java:288)
E/CameraCaptureSession(18048): 	at android.app.ActivityThread.main(ActivityThread.java:7898)
E/CameraCaptureSession(18048): 	at java.lang.reflect.Method.invoke(Native Method)
E/CameraCaptureSession(18048): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/CameraCaptureSession(18048): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
E/CameraCaptureSession(18048): Caused by: android.os.ServiceSpecificException: checkPidStatus:2085: The camera device has been disconnected (code 4)
E/CameraCaptureSession(18048): 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3025)
E/CameraCaptureSession(18048): 	at android.os.Parcel.createException(Parcel.java:2995)
E/CameraCaptureSession(18048): 	at android.os.Parcel.readException(Parcel.java:2978)
E/CameraCaptureSession(18048): 	at android.os.Parcel.readException(Parcel.java:2920)
E/CameraCaptureSession(18048): 	at android.hardware.camera2.ICameraDeviceUser$Stub$Proxy.cancelRequest(ICameraDeviceUser.java:648)
E/CameraCaptureSession(18048): 	at android.hardware.camera2.impl.ICameraDeviceUserWrapper.cancelRequest(ICameraDeviceUserWrapper.java:97)
E/CameraCaptureSession(18048): 	... 12 more
D/DefaultVideoRenderer(native): VideoRenderOpenGles20: id 0
D/DefaultVideoRenderer(native): Setup: width 303, height 495
D/DefaultVideoRenderer(native): Setup: number of textures 16, size 16384
E/flutter (18048): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: The Android view returned from PlatformView#getView() was already added to a parent view.
E/flutter (18048): 	at io.flutter.plugin.platform.PlatformViewsController$1.createForTextureLayer(PlatformViewsController.java:238)
E/flutter (18048): 	at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:122)
E/flutter (18048): 	at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:60)
E/flutter (18048): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
E/flutter (18048): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
E/flutter (18048): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319)
E/flutter (18048): 	at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/flutter (18048): 	at android.os.Handler.handleCallback(Handler.java:942)
E/flutter (18048): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/flutter (18048): 	at android.os.Looper.loopOnce(Looper.java:201)
E/flutter (18048): 	at android.os.Looper.loop(Looper.java:288)
E/flutter (18048): 	at android.app.ActivityThread.main(ActivityThread.java:7898)
E/flutter (18048): 	at java.lang.reflect.Method.invoke(Native Method)
E/flutter (18048): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/flutter (18048): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
E/flutter (18048): , null, null)
E/flutter (18048): #0      StandardMethodCodec.decodeEnvelope
E/flutter (18048): #1      MethodChannel._invokeMethod
E/flutter (18048):
E/flutter (18048): #2      TextureAndroidViewController._sendCreateMessage
E/flutter (18048):
E/flutter (18048): #3      AndroidViewController.create
E/flutter (18048):
E/flutter (18048): #4      AndroidViewController.setSize
E/flutter (18048):
E/flutter (18048): #5      RenderAndroidView._sizePlatformView
E/flutter (18048):
E/flutter (18048):
D/        (18048): OneToOneVideo.session.onStreamReceived(SESSION_TOKEN, 94CF63A3-7AD2-4476-ABF2-0C9B8FE246AA)
D/        (18048): OneToOneVideo.publisher.onStreamCreated(94CF63A3-7AD2-4476-ABF2-0C9B8FE246AA, 94CF63A3-7AD2-4476-ABF2-0C9B8FE246AA)
W/System  (18048): A resource failed to call Surface.release.
E/BufferQueueProducer(18048): SurfaceTexture-0-18048-0 dequeueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(18048): SurfaceTexture-0-18048-0 dequeueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(18048): SurfaceTexture-0-18048-0 dequeueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(18048): SurfaceTexture-0-18048-0 dequeueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(18048): SurfaceTexture-0-18048-0 dequeueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(18048): SurfaceTexture-0-18048-0 dequeueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(18048): SurfaceTexture-0-18048-0 dequeueBuffer: BufferQueue has been abandoned
Application finished.
Exited

</details>

Thank you for the report, these examples are "community supported" which means we don't officially support them. However, I will do my best to debug with the sample you have provided (thank you!) and get back to you if I can find the issue.

@devwithzachary
I'm also getting the same issue. I've attached the logs for your reference and after these logs "BufferQueue has been abandoned" log continuously occur. Kindly look into it. Thank you
2022-12-14 00:03:31.201 12170-12823/com.onebarrow.idoctoraccess E/flutter: [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: The Android view returned from PlatformView#getView() was already added to a parent view.         at io.flutter.plugin.platform.PlatformViewsController$1.createForTextureLayer(PlatformViewsController.java:238)         at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:122)         at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:60)         at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)         at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)         at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319)         at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)         at android.os.Handler.handleCallback(Handler.java:938)         at android.os.Handler.dispatchMessage(Handler.java:99)         at android.os.Looper.loop(Looper.java:255)         at android.app.ActivityThread.main(ActivityThread.java:8212)         at java.lang.reflect.Method.invoke(Native Method)         at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632)         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)     , null, null)     #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:653:7)     #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:296:18)     <asynchronous suspension>     #2      TextureAndroidViewController._sendCreateMessage (package:flutter/src/services/platform_views.dart:1146:18)     <asynchronous suspension>     #3      AndroidViewController.create (package:flutter/src/services/platform_views.dart:792:5)     <asynchronous suspension>     #4      AndroidViewController.setSize (package:flutter/src/services/platform_views.dart:819:7)     <asynchronous suspension>     #5      RenderAndroidView._sizePlatformView (package:flutter/src/rendering/platform_view.dart:182:29)     <asynchronous suspension>

@devwithzachary any update ?

As I mentioned above this project is community supported so not something we can provide official support for, and I was on holiday these past 3 weeks so haven't had a chance to look. If/when I do get a chance I will update the ticket accordingly

@devwithzachary @mkashifmehmood7
Did you got any solution?
I am also facing the above issue the call gets successfully connected first time but when user press the back button and trys to rejoin the same call the UI for video does not render in Android and throws:-
 **java.lang.IllegalStateException: The Android view returned from PlatformView#getView() was already added to a parent view.**


Clarify attributes support in API_v3 request query parameters to find traces

Created from https://github.com/jaegertracing/jaeger-idl/pull/76#discussion_r658727503
The current definition:
// Query parameters to find traces.
// Note that some storage implementations do not guarantee the correct implementation of all parameters.
message TraceQueryParameters {
  string service_name = 1;
  string operation_name = 2;
  // Attributes are matched against Span and Resource attributes.
  // At least one span in a trace must match all specified attributes.
  map<string, string> attributes = 3;

@jpkrohling suggests thinking about changing the semantics of attributes.

My preference is to clearly document that the filter parameters represent a conjunction on the same span. Expressing conditions that could apply to multiple spans, like endpoint=X on one span and error=true on any other span, requires non-trivial query language, and is not trivial to support e.g. on ES.

For reference, this is the case I had in mind:

Another way to see this: what would you expect as a user? If you specify two pairs of attributes, would you expect them to exist throughout the trace, or for all attributes to exist as part of the same span? I'm not quite sure I have an answer here... Here's one case advocating for attributes to exist throughout the trace:

root span has "userID=123", no other spans contain this
span (not root span) has error=true
SRE is looking for traces for user 123 with errors in it

requires non-trivial query language, and is not trivial to support e.g. on ES

One more reason to choose one backing storage and make the best tracing solution based on it. What I hear you saying is that we are OK to compromise the user experience in favor of supporting multiple backing stores, settling on the minimum common denominator.

we are OK to compromise the user experience in favor of supporting multiple backing stores

I am not saying that, I am saying that the docs / API must reflect the reality of what we actually support. I am also saying that to support the use case you cite we need not only the support of the backing store, but also a different query language, because in the current API your query simply cannot be expressed without internal contradiction (namely, there is a mandatory serviceName field that is meant to match every span otherwise matching the query). If we want to support matching conditions against more than one span, than I would much rather have that explicitly expressed in the query.

I am saying that the docs / API must reflect the reality of what we actually support.

True. Note that this is a new version of the API (v3), we have the opportunity to change the current behavior and the documentation.

I am also saying that to support the use case you cite we need not only the support of the backing store, but also a different query language, because in the current API your query simply cannot be expressed without internal contradiction (namely, there is a mandatory serviceName field that is meant to match every span otherwise matching the query)

Might be just a way of how we present the search form to users. Keeping the requirement to provide the service name, the query could be "give me traces touching the service X, with spans anywhere in the trace containing the userID=123 and spans anywhere containing an attribute error=false."
By query language, you didn't mean a formal language, right?

this is a new version of the API (v3), we have the opportunity to change the current behavior and the documentation.

(a) are you sure changing the behavior is in scope of what Pavol had in mind for this project? (b) I don't mind evolving the API in such a way as to allow it to express the cross-span queries and then degrade to current behavior with certain restrictions.

Might be just a way of how we present the search form to users.

Well, no, we'd need to change the API itself to be expressive. We actually discuss this in the past that the UI representation of the query may need to be more nuanced, i.e. dependent on the capabilities of the backing store, because a generic search form always leads to confusion when not every combination can be supported.

Keeping the requirement to provide the service name

Ironically, ES implementation does not impose this as a requirement, only our indexing method in Cassandra does.

By query language, you didn't mean a formal language, right?

Right, I just mean the API.
If I were to make a concrete proposal, I would say that the way to address your use case is to make TraceQueryParameters a repeatable field, treating repetition as conjunction (AND) across multiple spans of the same trace, while interpreting all fields within that struct as a conjunction on a single span. The only change, if we did it this way, would be to pull out the time start/end out because the time range should really apply once to the whole query.
This would still not address the aspect of duration being applicable to the whole trace vs. individual spans, but I am not actually convinced that this is a very well defined use case, because in practice I often see that the "root" of the trace is a pretty arbitrary node in the graph, especially in systems that allow upsampling. However, it is actually very easy to support by adding a Boolean rootOnly flag to the struct (although I don't think we'd be able to support that in Cassandra).


Pipeline for 'global-resources' terraform

Part of Epic: Pipelines for terraform deployment
Pipeline for this repo: terraform/global-resources - AWS account, S3 buckets - kops state, Auth0 context?
Every git branch needs a ‘tf plan’. When merged it runs ‘tf apply’.
Deploying live1. (Deploying test clusters is separate to this ticket)

@pwyborn were you working on this story?

Ale says we need a bit of refactor - there are a number of things in the global terraform that are not actually global, like ES, Auth0 config.

For info - before the "firebreak sprint" removed the terraform  GuardDuty config in global-resources  as it was failing on redundant aws accounts (Also GuardDuty is now centrally managed).
Also corrected a problem where Vijay had merged an update - however it was not reflected in the state file.


Issue: Can't mount tape on Ubuntu (SG backend)

Mounting a formatted tape via sg backend breaks
using mkltfs i can format a given tape via the sg backend (sg-ibmtape driver).
Partitions (a and b) are created. Volume UUID is assigned. Volumes capacity is shown.
As stated from the binary the mkltfs call seems completely wrokout.
a following ltfs call terminates with an read block fauillure message (-21719). Driver encounters a length mismatch detection (LTFS30216W) and therefore can't read the label from partition 0. Mounting is aborted.
What did i miss?
Do not hesitate, if you need more/precise information. Thanks
Steps to reproduce the behavior:

running as root (uid=0)
configured /etc/ltfs.conf (namely: plugin tape sg /usr/lib/x86_64-linux-gnu/ltfs/libtape-sg-ibmtape.so, default tape sg)
configured /etc/ltfs.conf.local (namely:  option work_directory /run/user/0/ltfs)
same effect, if i do keep the systemd default (/tmp/ltfs)
calling mkltfs
mkltfs -d /dev/sg9 -f -n tape009 (exit code 0)
create mountpoint (/media/tape)
mkdir -p /media/tape
calling ltfs
ltfs -o devname=/dev/sg9,verbose=2  /media/tape

Expected behavior
the formatted tape should be mounted at /media/tape.
Loggin information

mkltfs call
mkltfs -d /dev/sg9 -f -n tape009
LTFS15000I Starting mkltfs, LTFS version <IP_ADDRESS> (10062), log level 2.
LTFS15041I Launched by "mkltfs -d /dev/sg9 -f -n tape009".
LTFS15042I This binary is built for Linux (x86_64).
LTFS15043I GCC version is 7.3.0.
LTFS17087I Kernel version: Linux version 4.11.0-14-generic (buildd@lcy01-08) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #20~16.04.1-Ubuntu SMP Wed Aug 9 09:06:22 UTC 2017 i386.
LTFS17089I Distribution: NAME="Ubuntu".
LTFS17089I Distribution: DISTRIB_ID=Ubuntu.
LTFS15003I Formatting device '/dev/sg9'.
LTFS15004I LTFS volume blocksize: 524288.
LTFS15005I Index partition placement policy: None.
LTFS11337I Update index-dirty flag (1) - NO_BARCODE (0x0x36ad5a1ac0).
LTFS17085I Plugin: Loading "sg" tape backend.
LTFS30209I Opening a device through sg-ibmtape driver (/dev/sg9).
LTFS30207I Vendor ID is IBM     .
LTFS30208I Product ID is ULTRIUM-HH7     .
LTFS30214I Firmware revision is FA17.
LTFS30215I Drive serial is 10WT030737.
LTFS17160I Maximum device block size is 1048576.
LTFS11330I Loading cartridge.
LTFS30252I Logical block protection is disabled.
LTFS11332I Load successful.
LTFS17157I Changing the drive setting to write-anywhere mode.
LTFS15049I Checking the medium (load).
LTFS30252I Logical block protection is disabled.
LTFS15010I Creating data partition b on SCSI partition 1.
LTFS15011I Creating index partition a on SCSI partition 0.
LTFS17165I Resetting the medium's capacity proportion.
LTFS11097I Partitioning the medium.
LTFS30263I MODESELECT returns Mode Parameters Rounded (-20101) /dev/sg9.
LTFS11100I Writing label to partition b.
LTFS11278I Writing index to partition b.
LTFS17235I Writing index of NO_BARCODE to b (Reason: Format, 0 files) 10WT030737.
LTFS17236I Wrote index of NO_BARCODE (b, 10WT030737).
LTFS11337I Update index-dirty flag (0) - NO_BARCODE (0x0x36ad5a1ac0).
LTFS11100I Writing label to partition a.
LTFS11278I Writing index to partition a.
LTFS17235I Writing index of NO_BARCODE to a (Reason: Format, 0 files) 10WT030737.
LTFS17236I Wrote index of NO_BARCODE (a, 10WT030737).
LTFS15013I Volume UUID is: dbcbe63b-6785-4e2a-8594-0d6565c0aba2.
LTFS15019I Volume capacity is 5732 GB.
LTFS30252I Logical block protection is disabled.
LTFS15024I Medium formatted successfully.

ltfs call
ltfs -o devname=/dev/sg9,verbose=2  /media/tape
104e LTFS14000I LTFS starting, LTFS version <IP_ADDRESS> (10062), log level 2.
104e LTFS14058I LTFS Format Specification version 2.4.0.
104e LTFS14104I Launched by "ltfs -o devname=/dev/sg9,verbose=2 /media/tape".
104e LTFS14105I This binary is built for Linux (x86_64).
104e LTFS14106I GCC version is 7.3.0.
104e LTFS17087I Kernel version: Linux version 4.11.0-14-generic (buildd@lcy01-08) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #20~16.04.1-Ubuntu SMP Wed Aug 9 09:06:22 UTC 2017 i386.
104e LTFS17089I Distribution: NAME="Ubuntu".
104e LTFS17089I Distribution: DISTRIB_ID=Ubuntu.
104e LTFS14063I Sync type is "time", Sync time is 300 sec.
104e LTFS17085I Plugin: Loading "sg" tape backend.
104e LTFS17085I Plugin: Loading "unified" iosched backend.
104e LTFS14095I Set the tape device write-anywhere mode to avoid cartridge ejection.
104e LTFS30209I Opening a device through sg-ibmtape driver (/dev/sg9).
104e LTFS30207I Vendor ID is IBM     .
104e LTFS30208I Product ID is ULTRIUM-HH7     .
104e LTFS30214I Firmware revision is FA17.
104e LTFS30215I Drive serial is 10WT030737.
104e LTFS17160I Maximum device block size is 1048576.
104e LTFS11330I Loading cartridge.
104e LTFS30252I Logical block protection is disabled.
104e LTFS11332I Load successful.
104e LTFS17157I Changing the drive setting to write-anywhere mode.
104e LTFS11005I Mounting the volume.
104e LTFS30252I Logical block protection is disabled.
104e LTFS30216W Length mismatch is detected. (Act = 4096, resid = 0, resid_sense = 4016).
104e LTFS12049E Cannot read: backend call failed (-21716).
104e LTFS11174E Cannot read ANSI label: read failed (-21716).
104e LTFS11170E Failed to read label (-21716) from partition 0.
104e LTFS11009E Cannot read volume: failed to read partition labels.
104e LTFS14013E Cannot mount the volume.
104e LTFS30252I Logical block protection is disabled.

It looks the HBA driver makes a funny behavior. This HBA driver cannot report actual transfer length correctly. What HBA are you using?
May be you can check configuration of the HBA to support the tape device. (Actually some HBA have a configuration but it is not enabled by default.)
The only thing we can do on the code is adding the code like SUPPORT_BUGGY_IF in iokit_ibmtape.c into _cdb_read() in sg_ibm_tape.c. But this change introduce a performance degradation.

We are using an ATTO HBA dedicated for the LTO loader hardware.
Steps taken
Meanwhile I updated to kernel version 4.15.0-22, which is the default supported version for Ubuntu 18.04 (bionic).
I ended up to pull in the ATTO supported device driver (which needed to be compiled for the underlying kernel version) .  The given version loads, devices for loader and tape are offered to the scsi_generic interface.
I ceated an udev-rule to persitently offer /dev/changer (pointing to /dev/sg11) which is used as the default device for mtx. This is working as expected. I'm able to run the needed administrative calls (inventory, status, load, unload, etc).
Again, formatting the tape with mkltfs works out. Mounting via ltfs gives same error ( LTFS30216W,  LTFS12049E)
Driver infos
lscpi -nn  -v | grep ATTO
0b:00.0 Serial Attached SCSI controller [0107]: ATTO Technology, Inc. Device [117c:0042]
Subsystem: ATTO Technology, Inc. Device [117c:0046]
modinfo esas2hba
filename:       /lib/modules/4.15.0-22-generic/kernel/drivers/scsi/esas2hba/esas2hba.ko
version:        2.31.0f1
license:        Proprietary
author:         ATTO Technology
description:    esas2hba: ATTO ExpressSAS 6GB Adapter driver
Next TODO
will recompile and add  your code example to sg_ibm_tape.c. Will send new info once i can test again.

Testing on following hardware:
Hardware name: Dell Inc. PowerEdge T630/0NT78X, BIOS 2.4.2 01/09/2017
g

finaly i could implement the needed patch-set for given code. It compiles it successfully.
I did enriched the new autotools rules. Will send an PR.
I could mount tapes and have written data as expected. Wonderful!

I believe this is resolved in your patch of #52.
Please reopen this if you want to do anything on this issue.


Add implementation of did:web to @web5/dids

Design Guidelines

Support for resolution of did:web DIDs by DidWebMethod implementation.
Test that DidWebMethod can be used with the existing DidResolver implementation.

Feature Proposal Tasks:

[ ] Propose API surface design prior to implementation. This can be done by creating a draft PR for a respective feature and providing prototypal code or proposing the design in the comments
[ ] Approval Required from a minimum of 2 people

Implementation Tasks:

[ ] Produce/update API reference documentation for any/all methods added to the public API surface. documenting private API methods is optional
[ ] Produce/update relevant example usage
[ ] Test coverage must be provided for all public API methods.
[ ] Tests that consume shared test vectors must all be passing

@nitro-neal
Could you please provide further details about this issue, such as specific implementation requirements and the location within the codebase where changes are expected? Your guidance on this matter would be greatly appreciated.
Thank you!

https://github.com/TBD54566975/web5-js/pull/378


[service-bus] Track 2 - port sender.open()

Port the important bits from #8329, which added an .open() method to the Sender for track 1.
The main difference here is that ServiceBusClient calls open() on the sender internally, which means we don't need to expose it on the Sender interface.

/azp run js - servicebus - tests

/azp run js - servicebus - tests

/azp run js - servicebus - tests

/azp run js - servicebus - tests

/azp run js - servicebus - tests

/azp run js - servicebus - tests