Docker build fails

Describe the bug A clear and concise description of what the bug is.
To Reproduce Information to reproduce the behavior, including:

current master as of 14.03.2023
proxmox VM Ubuntu 20.04
clone git and executed docker build --no-cache -t openthread/otbr -f etc/docker/Dockerfile .
Network topology

Expected behavior
Docker image should build
Console/log output
[+] Building 218.1s (12/13)
 => [internal] load build definition from Dockerfile                                                                                0.3s
 => => transferring dockerfile: 4.33kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.2s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for docker.io/library/ubuntu:bionic                                                                       2.1s
 => [internal] load build context                                                                                7.1s
 => => transferring context: 240.58MB                                                                                2.0s
 => [1/9] FROM docker.io/library/ubuntu:bionic@sha256:1e32b9c52e8f22769df41e8f61066c77b2b35b0a423c4161c0e48eca2fd24f75                 0.4s
 => => resolve docker.io/library/ubuntu:bionic@sha256:1e32b9c52e8f22769df41e8f61066c77b2b35b0a423c4161c0e48eca2fd24f75                 0.2s
 => => sha256:1e32b9c52e8f22769df41e8f61066c77b2b35b0a423c4161c0e48eca2fd24f75 1.33kB / 1.33kB                                         0.0s
 => => sha256:3420178c357dc693532d8c2e592784d0c7f27ce2412cfb029bbbd618fe6ab39d 424B / 424B                                             0.0s
 => => sha256:b89fba62bc15f5e402dfc9e1cb0056e72d392301c324359e486d0a043286f642 2.30kB / 2.30kB                                         0.0s
 => [2/9] RUN env                                                                                6.7s
 => [3/9] RUN apt-get update   && apt-get install --no-install-recommends -y sudo python3 git ca-certificates   && ([ "0" != "1" ] |  40.8s
 => [4/9] COPY ./script /app/script                                                                                0.3s
 => [5/9] WORKDIR /app                                                                                0.5s
 => [6/9] RUN ./script/bootstrap                                                                                157.2s
 => [7/9] COPY . .                                                                                7.6s
 => ERROR [8/9] RUN ./script/setup                                                                                2.0s
------
 > [8/9] RUN ./script/setup:
#0 0.530 +++ dirname ./script/setup
#0 0.531 ++ cd ./script/..
#0 0.532 ++ [[ ! -n x ]]
#0 0.532 ++ echo 'Current platform is ubuntu'
#0 0.532 Current platform is ubuntu
#0 0.532 ++ with BORDER_ROUTING
#0 0.532 ++ local value
#0 0.532 +++ printenv BORDER_ROUTING
#0 0.534 ++ value=1
#0 0.534 ++ [[ -z 1 ]]
#0 0.534 ++ [[ 1 == 1 ]]
#0 0.534 ++ with DHCPV6_PD
#0 0.534 ++ local value
#0 0.534 +++ printenv DHCPV6_PD
#0 0.535 ++ value=
#0 0.535 ++ [[ -z '' ]]
#0 0.535 ++ [[ -f examples/platforms/ubuntu/default ]]
#0 0.535 +++ . examples/platforms/ubuntu/default
#0 0.535 ++++ NAT64=1
#0 0.535 ++++ DNS64=0
#0 0.535 ++++ DHCPV6_PD=0
#0 0.535 ++++ NETWORK_MANAGER=0
#0 0.535 ++++ BACKBONE_ROUTER=1
#0 0.535 ++++ BORDER_ROUTING=1
#0 0.535 ++++ WEB_GUI=1
#0 0.535 ++++ REST_API=1
#0 0.535 +++ eval echo '${DHCPV6_PD-}'
#0 0.535 ++++ echo 0
#0 0.535 ++ value=0
#0 0.536 ++ [[ 0 == 1 ]]
#0 0.536 ++ with BORDER_ROUTING
#0 0.536 ++ local value
#0 0.536 +++ printenv BORDER_ROUTING
#0 0.537 ++ value=1
#0 0.537 ++ [[ -z 1 ]]
#0 0.537 ++ [[ 1 == 1 ]]
#0 0.537 ++ with NETWORK_MANAGER
#0 0.537 ++ local value
#0 0.537 +++ printenv NETWORK_MANAGER
#0 0.538 ++ value=
#0 0.538 ++ [[ -z '' ]]
#0 0.538 ++ [[ -f examples/platforms/ubuntu/default ]]
#0 0.539 +++ . examples/platforms/ubuntu/default
#0 0.539 ++++ NAT64=1
#0 0.539 ++++ DNS64=0
#0 0.539 ++++ DHCPV6_PD=0
#0 0.539 ++++ NETWORK_MANAGER=0
#0 0.539 ++++ BACKBONE_ROUTER=1
#0 0.539 ++++ BORDER_ROUTING=1
#0 0.539 ++++ WEB_GUI=1
#0 0.539 ++++ REST_API=1
#0 0.539 +++ eval echo '${NETWORK_MANAGER-}'
#0 0.539 ++++ echo 0
#0 0.539 ++ value=0
#0 0.539 ++ [[ 0 == 1 ]]
#0 0.539 ++ STAGE_DIR=/app/stage
#0 0.539 ++ BUILD_DIR=/app/build
#0 0.539 ++ [[ -d /app/stage ]]
#0 0.539 ++ [[ -d /app/build ]]
#0 0.539 ++ export PATH=/app/stage/usr/bin:/app/stage/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#0 0.539 ++ PATH=/app/stage/usr/bin:/app/stage/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#0 0.540 +++ basename ./script/setup
#0 0.542 ++ TASKNAME=setup
#0 0.542 ++ BEFORE_HOOK=examples/platforms/ubuntu/before_setup
#0 0.542 ++ AFTER_HOOK=examples/platforms/ubuntu/after_setup
#0 0.542 ++ [[ ! -f examples/platforms/ubuntu/before_setup ]]
#0 0.542 ++ BEFORE_HOOK=/dev/null
#0 0.542 ++ [[ ! -f examples/platforms/ubuntu/after_setup ]]
#0 0.542 ++ AFTER_HOOK=/dev/null
#0 0.542 + . script/_border_routing
#0 0.542 ++ INFRA_IF_NAME=eth0
#0 0.542 ++ readonly INFRA_IF_NAME
#0 0.542 ++ SYSCTL_ACCEPT_RA_FILE=/etc/sysctl.d/60-otbr-accept-ra.conf
#0 0.542 ++ readonly SYSCTL_ACCEPT_RA_FILE
#0 0.542 ++ DHCPCD_CONF_FILE=/etc/dhcpcd.conf
#0 0.543 ++ readonly DHCPCD_CONF_FILE
#0 0.543 ++ DHCPCD_CONF_BACKUP_FILE=/etc/dhcpcd.conf.orig
#0 0.543 ++ readonly DHCPCD_CONF_BACKUP_FILE
#0 0.543 + . script/_otbr
#0 0.543 ++ OTBR_TOP_BUILDDIR=/app/build/otbr
#0 0.544 ++ readonly OTBR_TOP_BUILDDIR
#0 0.544 ++ OTBR_OPTIONS=
#0 0.544 ++ readonly OTBR_OPTIONS
#0 0.544 ++ REFERENCE_DEVICE=0
#0 0.544 ++ readonly REFERENCE_DEVICE
#0 0.544 + . script/_ipforward
#0 0.544 ++ SYSCTL_IP_FORWARD=/etc/sysctl.d/60-otbr-ip-forward.conf
#0 0.544 + . script/_nat64
#0 0.545 ++ NAT64_SERVICE=openthread
#0 0.545 ++ TAYGA_DEFAULT=/etc/default/tayga
#0 0.545 ++ TAYGA_CONF=/etc/tayga.conf
#0 0.545 ++ TAYGA_IPV4_ADDR=<IP_ADDRESS>
#0 0.545 ++ TAYGA_IPV6_ADDR=fdaa:bb:1::1
#0 0.545 ++ TAYGA_TUN_V6_ADDR=fdaa:bb:1::2
#0 0.545 ++ NAT64_PREFIX=64:ff9b::/96
#0 0.545 ++ DYNAMIC_POOL=<IP_ADDRESS>/24
#0 0.545 ++ NAT44_SERVICE=/etc/init.d/otbr-nat44
#0 0.545 ++ WLAN_IFNAMES=eth0
#0 0.545 + . script/_dns64
#0 0.546 ++ BIND_CONF_OPTIONS=/etc/bind/named.conf.options
#0 0.546 ++ NAT64_PREFIX=64:ff9b::/96
#0 0.546 ++ DNS64_NAMESERVER_ADDR=<IP_ADDRESS>
#0 0.547 +++ echo 64:ff9b::/96
#0 0.547 +++ tr '"/"' '"/"'
#0 0.548 ++ DNS64_CONF='dns64 64:ff9b::/96 { clients { thread; }; recursive-only yes; };'
#0 0.548 ++ without NAT64
#0 0.548 ++ with NAT64
#0 0.548 ++ local value
#0 0.549 +++ printenv NAT64
#0 0.549 ++ value=1
#0 0.550 ++ [[ -z 1 ]]
#0 0.550 ++ [[ 1 == 1 ]]
#0 0.550 ++ without DNS64
#0 0.550 ++ with DNS64
#0 0.550 ++ local value
#0 0.550 +++ printenv DNS64
#0 0.551 ++ value=0
#0 0.551 ++ [[ -z 0 ]]
#0 0.551 ++ [[ 0 == 1 ]]
#0 0.551 ++ '[' ubuntu = raspbian ']'
#0 0.551 ++ '[' ubuntu = beagleboneblack ']'
#0 0.551 ++ '[' ubuntu = ubuntu ']'
#0 0.551 ++ RESOLV_CONF_HEAD=/etc/resolvconf/resolv.conf.d/head
#0 0.552 + . script/_dhcpv6_pd
#0 0.552 ++ '[' ubuntu = ubuntu ']'
#0 0.552 ++ WAN_INTERFACE=enp0s3
#0 0.552 ++ WLAN_INTERFACE=wlan0
#0 0.552 ++ WPAN_INTERFACE=wpan0
#0 0.552 ++ DHCPCD_CONF=/etc/dhcpcd.conf
#0 0.552 ++ DHCPCD_CONF_BACKUP=/etc/dhcpcd.conf.orig
#0 0.552 ++ NCP_STATE_NOTIFIER=/usr/sbin/ncp_state_notifier
#0 0.552 ++ NCP_STATE_DISPATCHER=/etc/ncp_state_notifier/dispatcher.d
#0 0.552 ++ NCP_STATE_NOTIFIER_SERVICE_NAME=ncp_state_notifier.service
#0 0.552 ++ NCP_STATE_NOTIFIER_SERVICE=/etc/systemd/system/ncp_state_notifier.service
#0 0.552 ++ DHCPCD_RELOADER=/etc/ncp_state_notifier/dispatcher.d/dhcpcd_reloader
#0 0.552 ++ without DHCPV6_PD
#0 0.552 ++ with DHCPV6_PD
#0 0.552 ++ local value
#0 0.553 +++ printenv DHCPV6_PD
#0 0.554 ++ value=
#0 0.554 ++ [[ -z '' ]]
#0 0.554 ++ [[ -f examples/platforms/ubuntu/default ]]
#0 0.554 +++ . examples/platforms/ubuntu/default
#0 0.554 ++++ NAT64=1
#0 0.554 ++++ DNS64=0
#0 0.554 ++++ DHCPV6_PD=0
#0 0.554 ++++ NETWORK_MANAGER=0
#0 0.554 ++++ BACKBONE_ROUTER=1
#0 0.554 ++++ BORDER_ROUTING=1
#0 0.554 ++++ WEB_GUI=1
#0 0.554 ++++ REST_API=1
#0 0.554 +++ eval echo '${DHCPV6_PD-}'
#0 0.554 ++++ echo 0
#0 0.555 ++ value=0
#0 0.555 ++ [[ 0 == 1 ]]
#0 0.555 + . script/_network_manager
#0 0.555 ++ AP_CONN=BorderRouter-AP
#0 0.555 ++ ETH_CONN=BorderRouter-Eth
#0 0.555 ++ AP_HELPER_SCRIPT=/etc/NetworkManager/dispatcher.d/ap-helper
#0 0.555 ++ DHCPV6_HELPER_SCRIPT=/etc/NetworkManager/dispatcher.d/dhcpv6-helper
#0 0.556 + . script/_rt_tables
#0 0.556 + . script/_swapfile
#0 0.556 ++ SWAP_REQUIRED=false
#0 0.556 ++ SWAP_FILENAME=/swapfile
#0 0.556 ++ SWAP_BLOCK_SIZE=1M
#0 0.556 ++ SWAP_BLOCK_CNT=1024
#0 0.556 + . script/_sudo_extend
#0 0.556 ++ ETC_SUDOERS=/etc/sudoers
#0 0.556 ++ SUDO_EXTEND_TIME=false
#0 0.556 ++ SUDO_EXTEND_TIME_AMOUNT=120
#0 0.556 + . script/_disable_services
#0 0.557 + . script/_firewall
#0 0.557 ++ FIREWALL_SERVICE=/etc/init.d/otbr-firewall
#0 0.557 ++ sudo modprobe ip6table_filter
#0 0.569 sudo: modprobe: command not found
#0 0.569 ++ true
#0 0.569 + main
#0 0.570 + . /dev/null
#0 0.570 + extend_sudo_timeout
#0 0.570 + local _why
#0 0.570 + _why=Disabled
#0 0.570 + false
#0 0.570 + false
#0 0.570 + echo 'sudo-timeout: Not extending, Disabled'
#0 0.570 sudo-timeout: Not extending, Disabled
#0 0.570 + setup_swapfile
#0 0.570 + false
#0 0.570 + echo 'Swapfile: not required'
#0 0.570 + disable_services
#0 0.570 + case $PLATFORM in
#0 0.570 + echo 'Nothing to disable'
#0 0.570 + otbr_uninstall
#0 0.570 + have systemctl
#0 0.570 + command -v systemctl
#0 0.570 Swapfile: not required
#0 0.570 + sudo killall otbr-web otbr-agent
#0 0.573 sudo: killall: command not found
#0 0.574 + true
#0 0.574 + cd /app/build/otbr
#0 0.575 script/_otbr: line 52: cd: /app/build/otbr: No such file or directory
#0 0.575 + have systemctl
#0 0.575 + command -v systemctl
#0 0.575 + border_routing_uninstall
#0 0.575 + with BORDER_ROUTING
#0 0.575 + local value
#0 0.576 ++ printenv BORDER_ROUTING
#0 0.576 + value=1
#0 0.576 + [[ -z 1 ]]
#0 0.576 + [[ 1 == 1 ]]
#0 0.576 + accept_ra_uninstall
#0 0.576 + test '!' -f /etc/sysctl.d/60-otbr-accept-ra.conf
#0 0.576 + dhcpcd_enable_ipv6
#0 0.577 + '[' -f /etc/dhcpcd.conf.orig ']'
#0 0.577 + network_manager_uninstall
#0 0.577 + with NETWORK_MANAGER
#0 0.577 + local value
#0 0.577 ++ printenv NETWORK_MANAGER
#0 0.578 + value=
#0 0.578 + [[ -z '' ]]
#0 0.578 + [[ -f examples/platforms/ubuntu/default ]]
#0 0.578 ++ . examples/platforms/ubuntu/default
#0 0.578 +++ NAT64=1
#0 0.578 +++ DNS64=0
#0 0.578 +++ DHCPV6_PD=0
#0 0.579 +++ NETWORK_MANAGER=0
#0 0.579 +++ BACKBONE_ROUTER=1
#0 0.579 +++ BORDER_ROUTING=1
#0 0.579 +++ WEB_GUI=1
#0 0.579 +++ REST_API=1
#0 0.579 ++ eval echo '${NETWORK_MANAGER-}'
#0 0.579 +++ echo 0
#0 0.579 + value=0
#0 0.579 + [[ 0 == 1 ]]
#0 0.579 + return 0
#0 0.579 + dhcpv6_pd_uninstall
#0 0.579 + with DHCPV6_PD
#0 0.579 + local value
#0 0.579 ++ printenv DHCPV6_PD
#0 0.580 + value=
#0 0.580 + [[ -z '' ]]
#0 0.580 + [[ -f examples/platforms/ubuntu/default ]]
#0 0.580 ++ . examples/platforms/ubuntu/default
#0 0.580 +++ NAT64=1
#0 0.580 +++ DNS64=0
#0 0.581 +++ DHCPV6_PD=0
#0 0.581 +++ NETWORK_MANAGER=0
#0 0.581 +++ BACKBONE_ROUTER=1
#0 0.581 +++ BORDER_ROUTING=1
#0 0.581 +++ WEB_GUI=1
#0 0.581 +++ REST_API=1
#0 0.581 ++ eval echo '${DHCPV6_PD-}'
#0 0.581 +++ echo 0
#0 0.581 + value=0
#0 0.581 + [[ 0 == 1 ]]
#0 0.581 + return 0
#0 0.581 + nat64_uninstall
#0 0.581 + with NAT64
#0 0.581 + local value
#0 0.582 ++ printenv NAT64
#0 0.582 + value=1
#0 0.582 + [[ -z 1 ]]
#0 0.582 + [[ 1 == 1 ]]
#0 0.582 + nat64_stop
#0 0.582 + with NAT64
#0 0.582 + local value
#0 0.583 ++ printenv NAT64
#0 0.583 + value=1
#0 0.583 + [[ -z 1 ]]
#0 0.583 + [[ 1 == 1 ]]
#0 0.583 + '[' openthread = tayga ']'
#0 0.584 + nat44_stop
#0 0.584 + with DOCKER
#0 0.584 + local value
#0 0.584 ++ printenv DOCKER
#0 0.585 + value=1
#0 0.585 + [[ -z 1 ]]
#0 0.585 + [[ 1 == 1 ]]
#0 0.585 + service otbr-nat44 stop
#0 0.587 otbr-nat44: unrecognized service
#0 0.587 + true
#0 0.587 + '[' openthread = tayga ']'
#0 0.587 + nat44_uninstall
#0 0.587 + have systemctl
#0 0.587 + command -v systemctl
#0 0.588 + have update-rc.d
#0 0.588 + command -v update-rc.d
#0 0.588 + sudo update-rc.d otbr-nat44 remove
#0 0.641 + test '!' -f /etc/init.d/otbr-nat44
#0 0.641 + dns64_uninstall
#0 0.642 + with NAT64
#0 0.642 + local value
#0 0.642 ++ printenv NAT64
#0 0.643 + value=1
#0 0.643 + [[ -z 1 ]]
#0 0.643 + [[ 1 == 1 ]]
#0 0.643 + with DNS64
#0 0.643 + local value
#0 0.644 ++ printenv DNS64
#0 0.644 + value=0
#0 0.644 + [[ -z 0 ]]
#0 0.644 + [[ 0 == 1 ]]
#0 0.644 + return 0
#0 0.644 + rt_tables_uninstall
#0 0.644 + with BACKBONE_ROUTER
#0 0.644 + local value
#0 0.644 ++ printenv BACKBONE_ROUTER
#0 0.645 + value=1
#0 0.645 + [[ -z 1 ]]
#0 0.645 + [[ 1 == 1 ]]
#0 0.645 + sudo sed -i.bak '/88\s\+openthread/d' /etc/iproute2/rt_tables
#0 0.674 + ipforward_uninstall
#0 0.674 + test '!' -f /etc/sysctl.d/60-otbr-ip-forward.conf
#0 0.674 + firewall_uninstall
#0 0.674 + firewall_stop
#0 0.674 + with DOCKER
#0 0.674 + local value
#0 0.674 ++ printenv DOCKER
#0 0.675 + value=1
#0 0.675 + [[ -z 1 ]]
#0 0.675 + [[ 1 == 1 ]]
#0 0.675 + service otbr-firewall stop
#0 0.677 otbr-firewall: unrecognized service
#0 0.677 + true
#0 0.677 + have systemctl
#0 0.677 + command -v systemctl
#0 0.677 + have update-rc.d
#0 0.677 + command -v update-rc.d
#0 0.677 + sudo update-rc.d otbr-firewall remove
#0 0.688 + test '!' -f /etc/init.d/otbr-firewall
#0 0.688 + firewall_install
#0 0.688 + sudo cp script/otbr-firewall /etc/init.d/otbr-firewall
#0 0.697 + sudo chmod a+x /etc/init.d/otbr-firewall
#0 0.702 + have systemctl
#0 0.702 + command -v systemctl
#0 0.702 + ipforward_install
#0 0.702 + sudo tee /etc/sysctl.d/60-otbr-ip-forward.conf
#0 0.708 net.ipv6.conf.all.forwarding = 1
#0 0.708 net.ipv4.ip_forward = 1
#0 0.709 + without DOCKER
#0 0.709 + with DOCKER
#0 0.709 + local value
#0 0.709 ++ printenv DOCKER
#0 0.710 + value=1
#0 0.710 + [[ -z 1 ]]
#0 0.710 + [[ 1 == 1 ]]
#0 0.710 + rt_tables_install
#0 0.710 + with BACKBONE_ROUTER
#0 0.710 + local value
#0 0.711 ++ printenv BACKBONE_ROUTER
#0 0.711 + value=1
#0 0.711 + [[ -z 1 ]]
#0 0.711 + [[ 1 == 1 ]]
#0 0.711 + rt_tables_uninstall
#0 0.711 + with BACKBONE_ROUTER
#0 0.711 + local value
#0 0.712 ++ printenv BACKBONE_ROUTER
#0 0.712 + value=1
#0 0.712 + [[ -z 1 ]]
#0 0.712 + [[ 1 == 1 ]]
#0 0.712 + sudo sed -i.bak '/88\s\+openthread/d' /etc/iproute2/rt_tables
#0 0.718 + sudo sh -c 'echo "88 openthread" >>/etc/iproute2/rt_tables'
#0 0.723 + without DOCKER
#0 0.723 + with DOCKER
#0 0.723 + local value
#0 0.723 ++ printenv DOCKER
#0 0.724 + value=1
#0 0.724 + [[ -z 1 ]]
#0 0.724 + [[ 1 == 1 ]]
#0 0.724 + nat64_install
#0 0.724 + with NAT64
#0 0.724 + local value
#0 0.724 ++ printenv NAT64
#0 0.725 + value=1
#0 0.725 + [[ -z 1 ]]
#0 0.725 + [[ 1 == 1 ]]
#0 0.725 + '[' openthread = tayga ']'
#0 0.725 + nat44_install
#0 0.725 + sudo tee /etc/init.d/otbr-nat44
#0 0.729 #! /bin/sh
#0 0.729 #
#0 0.729 #  Copyright (c) 2017, The OpenThread Authors.
#0 0.729 #  All rights reserved.
#0 0.729 #
#0 0.729 #  Redistribution and use in source and binary forms, with or without
#0 0.729 #  modification, are permitted provided that the following conditions are met:
#0 0.729 #  1. Redistributions of source code must retain the above copyright
#0 0.729 #     notice, this list of conditions and the following disclaimer.
#0 0.729 #  2. Redistributions in binary form must reproduce the above copyright
#0 0.729 #     notice, this list of conditions and the following disclaimer in the
#0 0.729 #     documentation and/or other materials provided with the distribution.
#0 0.729 #  3. Neither the name of the copyright holder nor the
#0 0.729 #     names of its contributors may be used to endorse or promote products
#0 0.729 #     derived from this software without specific prior written permission.
#0 0.729 #
#0 0.729 #  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
#0 0.729 #  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
#0 0.729 #  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
#0 0.729 #  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
#0 0.729 #  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
#0 0.729 #  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
#0 0.729 #  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
#0 0.729 #  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
#0 0.729 #  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
#0 0.729 #  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
#0 0.729 #  POSSIBILITY OF SUCH DAMAGE.
#0 0.729 #
#0 0.729 ### BEGIN INIT INFO
#0 0.729 # Provides:          otbr-nat44
#0 0.729 # Required-Start:
#0 0.729 # Required-Stop:
#0 0.729 # Should-Start:
#0 0.729 # Should-Stop:
#0 0.729 # Default-Start:     2 3 4 5
#0 0.729 # Default-Stop:
#0 0.729 # Short-Description: iptables NAT44
#0 0.729 # Description:       NAT44 is require for OpenThread border router
#0 0.729 #                    to connect to arbitrary IPv4 endpoints.
#0 0.729 ### END INIT INFO
#0 0.729
#0 0.729 . /lib/lsb/init-functions
#0 0.729 . /lib/init/vars.sh
#0 0.729
#0 0.729 case "$1" in
#0 0.729     start)
#0 0.730 + '[' openthread = tayga ']'
#0 0.730 + sudo tee -a /etc/init.d/otbr-nat44
#0 0.730 + echo '        iptables -t nat -A POSTROUTING -s "<IP_ADDRESS>/24" -j MASQUERADE'
#0 0.734         iptables -t nat -A POSTROUTING -s "<IP_ADDRESS>/24" -j MASQUERADE
#0 0.735 + for IFNAME in $WLAN_IFNAMES
#0 0.735 + sudo tee -a /etc/init.d/otbr-nat44
#0 0.735 + echo '        iptables -t filter -A FORWARD -o eth0 -j ACCEPT'
#0 0.739         iptables -t filter -A FORWARD -o eth0 -j ACCEPT
#0 0.740 + echo '        iptables -t filter -A FORWARD -i eth0 -j ACCEPT'
#0 0.740 + sudo tee -a /etc/init.d/otbr-nat44
#0 0.743         iptables -t filter -A FORWARD -i eth0 -j ACCEPT
#0 0.744 + sudo tee -a /etc/init.d/otbr-nat44
#0 0.748         ;;
#0 0.748     restart|reload|force-reload)
#0 0.748         echo "Error: argument '$1' not supported" >&2
#0 0.748         exit 3
#0 0.748         ;;
#0 0.748     stop|status)
#0 0.748         # No-op
#0 0.748         ;;
#0 0.748     *)
#0 0.748         echo "Usage: $0 start|stop" >&2
#0 0.748         exit 3
#0 0.748         ;;
#0 0.748 esac
#0 0.749 + sudo chmod a+x /etc/init.d/otbr-nat44
#0 0.754 + have systemctl
#0 0.754 + command -v systemctl
#0 0.754 + dns64_install
#0 0.754 + with NAT64
#0 0.754 + local value
#0 0.757 ++ printenv NAT64
#0 0.757 + value=1
#0 0.757 + [[ -z 1 ]]
#0 0.757 + [[ 1 == 1 ]]
#0 0.757 + with DNS64
#0 0.757 + local value
#0 0.757 ++ printenv DNS64
#0 0.757 + value=0
#0 0.757 + [[ -z 0 ]]
#0 0.757 + [[ 0 == 1 ]]
#0 0.757 + return 0
#0 0.757 + network_manager_install
#0 0.757 + with NETWORK_MANAGER
#0 0.757 + local value
#0 0.757 ++ printenv NETWORK_MANAGER
#0 0.758 + value=
#0 0.758 + [[ -z '' ]]
#0 0.758 + [[ -f examples/platforms/ubuntu/default ]]
#0 0.758 ++ . examples/platforms/ubuntu/default
#0 0.758 +++ NAT64=1
#0 0.758 +++ DNS64=0
#0 0.758 +++ DHCPV6_PD=0
#0 0.758 +++ NETWORK_MANAGER=0
#0 0.758 +++ BACKBONE_ROUTER=1
#0 0.758 +++ BORDER_ROUTING=1
#0 0.758 +++ WEB_GUI=1
#0 0.758 +++ REST_API=1
#0 0.758 ++ eval echo '${NETWORK_MANAGER-}'
#0 0.758 +++ echo 0
#0 0.759 + value=0
#0 0.759 + [[ 0 == 1 ]]
#0 0.759 + return 0
#0 0.759 + dhcpv6_pd_install
#0 0.759 + with DHCPV6_PD
#0 0.759 + local value
#0 0.759 ++ printenv DHCPV6_PD
#0 0.760 + value=
#0 0.760 + [[ -z '' ]]
#0 0.760 + [[ -f examples/platforms/ubuntu/default ]]
#0 0.760 ++ . examples/platforms/ubuntu/default
#0 0.761 +++ NAT64=1
#0 0.761 +++ DNS64=0
#0 0.761 +++ DHCPV6_PD=0
#0 0.761 +++ NETWORK_MANAGER=0
#0 0.761 +++ BACKBONE_ROUTER=1
#0 0.761 +++ BORDER_ROUTING=1
#0 0.761 +++ WEB_GUI=1
#0 0.761 +++ REST_API=1
#0 0.761 ++ eval echo '${DHCPV6_PD-}'
#0 0.761 +++ echo 0
#0 0.761 + value=0
#0 0.761 + [[ 0 == 1 ]]
#0 0.761 + return 0
#0 0.761 + border_routing_install
#0 0.761 + with BORDER_ROUTING
#0 0.761 + local value
#0 0.761 ++ printenv BORDER_ROUTING
#0 0.762 + value=1
#0 0.762 + [[ -z 1 ]]
#0 0.762 + [[ 1 == 1 ]]
#0 0.762 + dhcpcd_disable_ipv6
#0 0.762 + '[' -f /etc/dhcpcd.conf ']'
#0 0.762 + accept_ra_install
#0 0.762 + sudo tee /etc/sysctl.d/60-otbr-accept-ra.conf
#0 0.766 net.ipv6.conf.eth0.accept_ra = 2
#0 0.766 net.ipv6.conf.eth0.accept_ra_rt_info_max_plen = 64
#0 0.767 + without DOCKER
#0 0.767 + with DOCKER
#0 0.767 + local value
#0 0.768 ++ printenv DOCKER
#0 0.768 + value=1
#0 0.768 + [[ -z 1 ]]
#0 0.769 + [[ 1 == 1 ]]
#0 0.769 + otbr_install
#0 0.769 + otbr_options=()
#0 0.769 + local otbr_options
#0 0.769 + [[ -n '' ]]
#0 0.769 + otbr_options=("-DBUILD_TESTING=OFF" "-DCMAKE_INSTALL_PREFIX=/usr" "-DOTBR_DBUS=ON" "-DOTBR_DNSSD_DISCOVERY_PROXY=ON" "-DOTBR_SRP_ADVERTISING_PROXY=ON" "-DOTBR_INFRA_IF_NAME=${INFRA_IF_NAME}" "-DOTBR_MDNS=${OTBR_MDNS:=mDNSResponder}" "-DOTBR_VERSION=" "-DOT_PACKAGE_VERSION=" "${otbr_options[@]}")
#0 0.769 + with WEB_GUI
#0 0.769 + local value
#0 0.769 ++ printenv WEB_GUI
#0 0.770 + value=1
#0 0.770 + [[ -z 1 ]]
#0 0.770 + [[ 1 == 1 ]]
#0 0.770 + otbr_options+=("-DOTBR_WEB=ON")
#0 0.770 + with BORDER_ROUTING
#0 0.770 + local value
#0 0.771 ++ printenv BORDER_ROUTING
#0 0.771 + value=1
#0 0.771 + [[ -z 1 ]]
#0 0.771 + [[ 1 == 1 ]]
#0 0.771 + otbr_options+=("-DOTBR_BORDER_ROUTING=ON")
#0 0.771 + with REST_API
#0 0.771 + local value
#0 0.772 ++ printenv REST_API
#0 0.772 + value=1
#0 0.772 + [[ -z 1 ]]
#0 0.772 + [[ 1 == 1 ]]
#0 0.772 + otbr_options+=("-DOTBR_REST=ON")
#0 0.772 + with BACKBONE_ROUTER
#0 0.772 + local value
#0 0.773 ++ printenv BACKBONE_ROUTER
#0 0.773 + value=1
#0 0.774 + [[ -z 1 ]]
#0 0.774 + [[ 1 == 1 ]]
#0 0.774 + otbr_options+=("-DOTBR_BACKBONE_ROUTER=ON")
#0 0.774 + [[ 0 == \1 ]]
#0 0.774 + [[ 0 == \1 ]]
#0 0.774 + with NAT64
#0 0.774 + local value
#0 0.774 ++ printenv NAT64
#0 0.775 + value=1
#0 0.775 + [[ -z 1 ]]
#0 0.775 + [[ 1 == 1 ]]
#0 0.775 + [[ openthread == \o\p\e\n\t\h\r\e\a\d ]]
#0 0.775 + otbr_options+=("-DOTBR_NAT64=ON" "-DOT_POSIX_NAT64_CIDR=${NAT64_DYNAMIC_POOL:-<IP_ADDRESS>/24}")
#0 0.775 + ./script/cmake-build -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr -DOTBR_DBUS=ON -DOTBR_DNSSD_DISCOVERY_PROXY=ON -DOTBR_SRP_ADVERTISING_PROXY=ON -DOTBR_INFRA_IF_NAME=eth0 -DOTBR_MDNS=mDNSResponder -DOTBR_VERSION= -DOT_PACKAGE_VERSION= -DOTBR_WEB=ON -DOTBR_BORDER_ROUTING=ON -DOTBR_REST=ON -DOTBR_BACKBONE_ROUTER=ON -DOTBR_NAT64=ON -DOT_POSIX_NAT64_CIDR=<IP_ADDRESS>/24
#0 0.778 +++ dirname ./script/cmake-build
#0 0.779 ++ cd ./script/..
#0 0.779 ++ [[ ! -n x ]]
#0 0.779 ++ echo 'Current platform is ubuntu'
#0 0.779 Current platform is ubuntu
#0 0.779 ++ with BORDER_ROUTING
#0 0.779 ++ local value
#0 0.780 +++ printenv BORDER_ROUTING
#0 0.781 ++ value=1
#0 0.781 ++ [[ -z 1 ]]
#0 0.781 ++ [[ 1 == 1 ]]
#0 0.781 ++ with DHCPV6_PD
#0 0.781 ++ local value
#0 0.781 +++ printenv DHCPV6_PD
#0 0.782 ++ value=
#0 0.782 ++ [[ -z '' ]]
#0 0.782 ++ [[ -f examples/platforms/ubuntu/default ]]
#0 0.782 +++ . examples/platforms/ubuntu/default
#0 0.783 ++++ NAT64=1
#0 0.783 ++++ DNS64=0
#0 0.783 ++++ DHCPV6_PD=0
#0 0.783 ++++ NETWORK_MANAGER=0
#0 0.783 ++++ BACKBONE_ROUTER=1
#0 0.783 ++++ BORDER_ROUTING=1
#0 0.783 ++++ WEB_GUI=1
#0 0.783 ++++ REST_API=1
#0 0.783 +++ eval echo '${DHCPV6_PD-}'
#0 0.783 ++++ echo 0
#0 0.783 ++ value=0
#0 0.783 ++ [[ 0 == 1 ]]
#0 0.783 ++ with BORDER_ROUTING
#0 0.783 ++ local value
#0 0.783 +++ printenv BORDER_ROUTING
#0 0.784 ++ value=1
#0 0.784 ++ [[ -z 1 ]]
#0 0.784 ++ [[ 1 == 1 ]]
#0 0.784 ++ with NETWORK_MANAGER
#0 0.784 ++ local value
#0 0.785 +++ printenv NETWORK_MANAGER
#0 0.786 ++ value=
#0 0.786 ++ [[ -z '' ]]
#0 0.786 ++ [[ -f examples/platforms/ubuntu/default ]]
#0 0.786 +++ . examples/platforms/ubuntu/default
#0 0.786 ++++ NAT64=1
#0 0.786 ++++ DNS64=0
#0 0.786 ++++ DHCPV6_PD=0
#0 0.786 ++++ NETWORK_MANAGER=0
#0 0.786 ++++ BACKBONE_ROUTER=1
#0 0.786 ++++ BORDER_ROUTING=1
#0 0.786 ++++ WEB_GUI=1
#0 0.786 ++++ REST_API=1
#0 0.786 +++ eval echo '${NETWORK_MANAGER-}'
#0 0.787 ++++ echo 0
#0 0.787 ++ value=0
#0 0.787 ++ [[ 0 == 1 ]]
#0 0.787 ++ STAGE_DIR=/app/stage
#0 0.787 ++ BUILD_DIR=/app/build
#0 0.787 ++ [[ -d /app/stage ]]
#0 0.787 ++ [[ -d /app/build ]]
#0 0.787 ++ export PATH=/app/stage/usr/bin:/app/stage/usr/sbin:/app/stage/usr/bin:/app/stage/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#0 0.787 ++ PATH=/app/stage/usr/bin:/app/stage/usr/sbin:/app/stage/usr/bin:/app/stage/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#0 0.787 +++ basename ./script/cmake-build
#0 0.788 ++ TASKNAME=cmake-build
#0 0.788 ++ BEFORE_HOOK=examples/platforms/ubuntu/before_cmake-build
#0 0.789 ++ AFTER_HOOK=examples/platforms/ubuntu/after_cmake-build
#0 0.789 ++ [[ ! -f examples/platforms/ubuntu/before_cmake-build ]]
#0 0.789 ++ BEFORE_HOOK=/dev/null
#0 0.789 ++ [[ ! -f examples/platforms/ubuntu/after_cmake-build ]]
#0 0.789 ++ AFTER_HOOK=/dev/null
#0 0.789 + OTBR_TOP_SRCDIR=/app
#0 0.789 + readonly OTBR_TOP_SRCDIR
#0 0.789 + OTBR_TOP_BUILD_DIR=/app/build/otbr
#0 0.789 + readonly OTBR_TOP_BUILD_DIR
#0 0.789 + OTBR_TARGET=
#0 0.789 + main -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr -DOTBR_DBUS=ON -DOTBR_DNSSD_DISCOVERY_PROXY=ON -DOTBR_SRP_ADVERTISING_PROXY=ON -DOTBR_INFRA_IF_NAME=eth0 -DOTBR_MDNS=mDNSResponder -DOTBR_VERSION= -DOT_PACKAGE_VERSION= -DOTBR_WEB=ON -DOTBR_BORDER_ROUTING=ON -DOTBR_REST=ON -DOTBR_BACKBONE_ROUTER=ON -DOTBR_NAT64=ON -DOT_POSIX_NAT64_CIDR=<IP_ADDRESS>/24
#0 0.790 + local builddir=/app/build/otbr
#0 0.790 + mkdir -p /app/build/otbr
#0 0.793 + cd /app/build/otbr
#0 0.793 + cmake -GNinja /app -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr -DOTBR_DBUS=ON -DOTBR_DNSSD_DISCOVERY_PROXY=ON -DOTBR_SRP_ADVERTISING_PROXY=ON -DOTBR_INFRA_IF_NAME=eth0 -DOTBR_MDNS=mDNSResponder -DOTBR_VERSION= -DOT_PACKAGE_VERSION= -DOTBR_WEB=ON -DOTBR_BORDER_ROUTING=ON -DOTBR_REST=ON -DOTBR_BACKBONE_ROUTER=ON -DOTBR_NAT64=ON -DOT_POSIX_NAT64_CIDR=<IP_ADDRESS>/24
#0 0.909 -- The C compiler identification is GNU 7.5.0
#0 1.046 -- The CXX compiler identification is GNU 7.5.0
#0 1.049 -- Check for working C compiler: /usr/bin/cc
#0 1.093 -- Check for working C compiler: /usr/bin/cc -- works
#0 1.094 -- Detecting C compiler ABI info
#0 1.140 -- Detecting C compiler ABI info - done
#0 1.145 -- Detecting C compile features
#0 1.276 -- Detecting C compile features - done
#0 1.279 -- Check for working CXX compiler: /usr/bin/c++
#0 1.333 -- Check for working CXX compiler: /usr/bin/c++ -- works
#0 1.334 -- Detecting CXX compiler ABI info
#0 1.387 -- Detecting CXX compiler ABI info - done
#0 1.391 -- Detecting CXX compile features
#0 1.641 -- Detecting CXX compile features - done
#0 1.645 -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
#0 1.645 -- Checking for module 'dbus-1'
#0 1.659 --   Found dbus-1, version 1.12.2
#0 1.684 -- OTBR package name: OpenThread_BorderRouter
#0 1.712 -- Version: 0.3.0-c012ce8e61
#0 1.715 -- Checking for module 'systemd'
#0 1.717 --   No package 'systemd' found
#0 1.719 CMake Error at third_party/openthread/CMakeLists.txt:95 (add_subdirectory):
#0 1.719   The source directory
#0 1.719
#0 1.719     /app/third_party/openthread/repo
#0 1.719
#0 1.719   does not contain a CMakeLists.txt file.
#0 1.719
#0 1.719
#0 1.719 CMake Error at third_party/openthread/CMakeLists.txt:97 (target_compile_definitions):
#0 1.719   Cannot specify compile definitions for target "ot-config" which is not
#0 1.719   built by this project.
#0 1.719
#0 1.719
#0 1.719 CMake Error at third_party/openthread/CMakeLists.txt:106 (target_compile_definitions):
#0 1.719   Cannot specify compile definitions for target "ot-config" which is not
#0 1.719   built by this project.
#0 1.719
#0 1.719
#0 1.720 CMake Error at third_party/cJSON/CMakeLists.txt:34 (add_subdirectory):
#0 1.720   The source directory
#0 1.720
#0 1.720     /app/third_party/cJSON/repo
#0 1.720
#0 1.720   does not contain a CMakeLists.txt file.
#0 1.720
#0 1.720
#0 1.720 CMake Error at third_party/cJSON/CMakeLists.txt:36 (target_include_directories):
#0 1.720   Cannot specify include directories for target "cjson" which is not built by
#0 1.720   this project.
#0 1.720
#0 1.720
#0 1.723 -- Checking for module 'libsystemd'
#0 1.725 --   No package 'libsystemd' found
#0 1.731 -- Checking for module 'jsoncpp'
#0 1.740 --   Found jsoncpp, version 1.7.4
#0 1.797 -- Boost version: 1.65.1
#0 1.797 -- Found the following Boost libraries:
#0 1.797 --   filesystem
#0 1.797 --   system
#0 1.817 -- Configuring incomplete, errors occurred!
#0 1.817 See also "/app/build/otbr/CMakeFiles/CMakeOutput.log".
------
Dockerfile:95
--------------------
  93 |     RUN ./script/bootstrap
  94 |     COPY . .
  95 | >>> RUN ./script/setup
  96 |
  97 |     RUN ([ "${DNS64}" = "0" ] || chmod 644 /etc/bind/named.conf.options) \
--------------------
ERROR: failed to solve: process "/bin/sh -c ./script/setup" did not complete successfully: exit code: 1

Additional context Add any other context about the problem here.

#0 1.719 CMake Error at third_party/openthread/CMakeLists.txt:95 (add_subdirectory):
#0 1.719   The source directory
#0 1.719
#0 1.719     /app/third_party/openthread/repo
#0 1.719
#0 1.719   does not contain a CMakeLists.txt file.

I wonder if you have initialized your git submodules? Check your local repository if anything is in third_party/openthread/repo/. If not, you may need to initialize the submodules: git submodule update --init.

it was after the initial checkout, so there should be nothing missing, but I can check that  again

@Apollon77 Did you fix the problem?

not really, missed to update here. I ended up in using a VM instead of container

I see the same issue even after I initialize the submodules. Any ideas on what I can do to resolve the issue?

I try just now and I have no problems:
cd /tmp
git clone https://github.com/openthread/ot-br-posix.git
cd ot-br-posix/
git submodule update --init --recursive
docker build --no-cache -t openthread/otbr -f etc/docker/Dockerfile .

Attached you will find the full logs.
otbr-docker-logs.txt
As suggested by @superwhd the problem is probably due to the fact that the submodules are not pulled correctly.
Please check if you have something in ot-br-posix/third_party/openthread/repo
Try to execute my commands as-is

Sure, will try and get back to you!

It worked when I checked out the modules recursively: git submodule update --init --recursive.
Thank you!
I recommend updating the guide, it does not mention this step: https://openthread.io/guides/border-router/docker#build_the_dockerfile

I recommend updating the guide, it does not mention this step: https://openthread.io/guides/border-router/docker#build_the_dockerfile

@adis-ikea , the Dockerfile should already do this:
https://github.com/openthread/ot-br-posix/blob/b6299f3d7830a0a7f703689a21b0d0c28f5bb4b1/etc/docker/Dockerfile#L93
https://github.com/openthread/ot-br-posix/blob/b6299f3d7830a0a7f703689a21b0d0c28f5bb4b1/script/bootstrap#L171

Can confirm that running git submodule update --init --recursive solve the problem

@jwhui - I know above you mentioned the docker file does this, but I ran into the same issue. Whatever the docker file is supposed to do, is not doing it when I try to build. I got the same exact error as the person who posted this issue. I had to manually run git submodule update --init to proceed. I created a log file of the docker build command and here is what I saw:
#11 0.159 ++ [[ -d /app/build ]]
#11 0.159 ++ mkdir -v -p /app/build
#11 0.159 mkdir: created directory '/app/build'
#11 0.159 ++ export PATH=/app/stage/usr/bin:/app/stage/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#11 0.159 ++ PATH=/app/stage/usr/bin:/app/stage/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#11 0.160 +++ basename ./script/bootstrap
#11 0.160 ++ TASKNAME=bootstrap
#11 0.160 ++ BEFORE_HOOK=examples/platforms/ubuntu/before_bootstrap
#11 0.160 ++ AFTER_HOOK=examples/platforms/ubuntu/after_bootstrap
#11 0.160 ++ [[ ! -f examples/platforms/ubuntu/before_bootstrap ]]
#11 0.160 ++ BEFORE_HOOK=/dev/null
#11 0.160 ++ [[ ! -f examples/platforms/ubuntu/after_bootstrap ]]
#11 0.160 ++ AFTER_HOOK=/dev/null
#11 0.160 + NAT64_SERVICE=openthread
#11 0.160 + FIREWALL=1
#11 0.160 + main
#11 0.160 + . /dev/null
#11 0.160 + git submodule update --init --recursive --depth 1
#11 0.166 fatal: not a git repository (or any of the parent directories): .git
#11 0.166 + true
#11 0.166 + install_packages
#11 0.166 + have apt-get
#11 0.166 + command -v apt-get
#11 0.166 + install_packages_apt
#11 0.166 + sudo apt-get update

@krbvroc1 , did you  git clone the ot-br-posix repo?
#11 0.166 fatal: not a git repository (or any of the parent directories): .git

Using git clone should result in having a .git directory.

@jwhui I followed the instructions listed here EXACTLY:
https://openthread.io/guides/border-router/docker#build_the_dockerfile
And it resulted in the issue I posted (as well as several other people apparently). So something is not working properly. Maybe that script/bootstrap is running in the wrong directory under docker?
When I clone I do see:
drwxr-xr-x  8 1001 1001  4096 Feb 12 14:46 .git
drwxr-xr-x  4 1001 1001  4096 Feb 12 14:46 .github
-rw-r--r--  1 1001 1001  1612 Feb 12 14:46 .gitignore
-rw-r--r--  1 1001 1001   389 Feb 12 14:46 .gitmodules

@jwhui Per some quick google - I see that docker does NOT copy directories that start with a '.' into a build environment by default.
I modified the Dockerfile to add explicit copies of the folders that contain '.' and it works.
COPY .git .git
COPY .github .github
COPY .gitignore .gitignore
COPY .gitmodules .gitmodules
RUN ./script/bootstrap
COPY . .
RUN ./script/setup

Note sure if it needs all of those.
How has this been working for you guys? I had this same issue the last time I tried to build in 2021.

Hello,
The problem is because in the Dockerfile only some folders are copied. In my opinion we should copy everything.
0001-Fix-docker-build-isssue.patch:
From 22e0cdebbc9a8be022b203eb067d839f76a6ed4a Mon Sep 17 00:00:00 2001
From: caipiblack<EMAIL_ADDRESS>Date: Mon, 12 Feb 2024 21:11:04 +0100
Subject: [PATCH] Fix docker build isssue

---
 etc/docker/Dockerfile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/etc/docker/Dockerfile b/etc/docker/Dockerfile
index eef7a948d8..27b91dfcf5 100644
--- a/etc/docker/Dockerfile
+++ b/etc/docker/Dockerfile
@@ -89,12 +89,10 @@ RUN apt-get update \
   && ([ "${OT_BACKBONE_CI}" != "1" ] || apt-get install --no-install-recommends -y $OTBR_OT_BACKBONE_CI_DEPS) \
   && ln -fs /usr/share/zoneinfo/UTC /etc/localtime

-COPY ./script /app/script
-COPY ./third_party/mDNSResponder /app/third_party/mDNSResponder
+COPY . /app
 WORKDIR /app

 RUN ./script/bootstrap
-COPY . .
 RUN ./script/setup

 RUN ([ "${DNS64}" = "0" ] || chmod 644 /etc/bind/named.conf.options) \
--
2.34.1

Also, I think the person who set this line COPY ./third_party/mDNSResponder /app/third_party/mDNSResponder see the problem, but maybe did not understand what was missing.

With this patch the build succeed but I did not check if it works as expected, (don't have time right now).

@caipiblack Yes the resulting image works. As a further optimization, combine all the RUN commands into a single run. It saves about 800MB in the resulting image. Diff below.
diff --git a/etc/docker/Dockerfile b/etc/docker/Dockerfile
index eef7a948d8..aa53f829fc 100644
--- a/etc/docker/Dockerfile
+++ b/etc/docker/Dockerfile
@@ -84,20 +84,18 @@ ENV OTBR_OT_BACKBONE_CI_DEPS curl lcov wget build-essential python3-dbus python3
 ENV OTBR_NORELEASE_DEPS \
   cpputest-dev

-RUN apt-get update \
-  && apt-get install --no-install-recommends -y $OTBR_DOCKER_REQS $OTBR_DOCKER_DEPS \
-  && ([ "${OT_BACKBONE_CI}" != "1" ] || apt-get install --no-install-recommends -y $OTBR_OT_BACKBONE_CI_DEPS) \
-  && ln -fs /usr/share/zoneinfo/UTC /etc/localtime
-
 COPY ./script /app/script
 COPY ./third_party/mDNSResponder /app/third_party/mDNSResponder
+COPY . /app
 WORKDIR /app

-RUN ./script/bootstrap
-COPY . .
-RUN ./script/setup
-
-RUN ([ "${DNS64}" = "0" ] || chmod 644 /etc/bind/named.conf.options) \
+RUN apt-get update \
+  && apt-get install --no-install-recommends -y $OTBR_DOCKER_REQS $OTBR_DOCKER_DEPS \
+  && ([ "${OT_BACKBONE_CI}" != "1" ] || apt-get install --no-install-recommends -y $OTBR_OT_BACKBONE_CI_DEPS) \
+  && ln -fs /usr/share/zoneinfo/UTC /etc/localtime \
+  && ./script/bootstrap \
+  && ./script/setup \
+  && ([ "${DNS64}" = "0" ] || chmod 644 /etc/bind/named.conf.options) \
   && ([ "${OT_BACKBONE_CI}" = "1" ] || ( \
     mv ./script /tmp \
     && mv ./etc /tmp \
 && mv ./etc /tmp \

Note that in my original patch i removed these lines:
-COPY ./script /app/script
-COPY ./third_party/mDNSResponder /app/third_party/mDNSResponder

They are not useful anymore as we copy everything here:
+COPY . /app
 WORKDIR /app

Closing stale issue.


Fixing lint issues found on Go report card.

Pull Request Test Coverage Report for Build 1105

13 of 13 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 92.563%

Totals

Change from base Build 1103:
0.07%

Covered Lines:
7119

Relevant Lines:
7691

💛  - Coveralls


examples: Remove examples build tags after Debian Bookworm with Go 1.19 is released

The examples build tag is to prevent users from install example binaries unexpectedly. However, as installing with a version will be must outside a module, and ... like go install foo/bar/... will no longer be recommended (not sure, let me double-check), we might not need the tag any more.
https://tip.golang.org/doc/go1.16#go-command

Module-aware mode is enabled by default, regardless of whether a go.mod file is present in the current working directory or a parent directory. More precisely, the GO111MODULE environment variable now defaults to on. To switch to the previous behavior, set GO111MODULE to auto.
[...]
go install now accepts arguments with version suffixes (for example, go install example.com/cmd@v1.0.0). This causes go install to build and install packages in module-aware mode, ignoring the go.mod file in the current directory or any parent directory, if there is one. This is useful for installing executables without affecting the dependencies of the main module.
go install, with or without a version suffix (as described above), is now the recommended way to build and install packages in module mode. go get should be used with the -d flag to adjust the current module's dependencies without building packages, and use of go get to build and install packages is deprecated. In a future release, the -d flag will always be enabled.

Hi, just started trying out ebiten for first time and it looks like the 'examples' build tag is removed? Is that correct? I tried the following command:
go version
go version go1.15.6 linux/amd64
go run -tags=example github.com/hajimehoshi/ebiten/v2/examples/rotate
cannot find package "github.com/hajimehoshi/ebiten/v2/examples/rotate" in any of:
/usr/lib64/golang/src/github.com/hajimehoshi/ebiten/v2/examples/rotate (from $GOROOT)
/home/avillanueva/Development/go/src/github.com/hajimehoshi/ebiten/v2/examples/rotate (from $GOPATH)
If the tag is removed, what's the method to install the Ebiten?
Thank you.

Hi, just started trying out ebiten for first time and it looks like the 'examples' build tag is removed? Is that correct? I tried the following command:
go version
go version go1.15.6 linux/amd64
go run -tags=example github.com/hajimehoshi/ebiten/v2/examples/rotate
cannot find package "github.com/hajimehoshi/ebiten/v2/examples/rotate" in any of:
/usr/lib64/golang/src/github.com/hajimehoshi/ebiten/v2/examples/rotate (from $GOROOT)
/home/avillanueva/Development/go/src/github.com/hajimehoshi/ebiten/v2/examples/rotate (from $GOPATH)
If the tag is removed, what's the method to install the Ebiten?
Thank you.

Hi, just started trying out ebiten for first time and it looks like the 'examples' build tag is removed?

Not yet.

Hi, just started trying out ebiten for first time and it looks like the 'examples' build tag is removed?

Not yet.

If the tag is removed, what's the method to install the Ebiten?

You mean the examples? Just -tags=example will be no longer required.

If the tag is removed, what's the method to install the Ebiten?

You mean the examples? Just -tags=example will be no longer required.

yeah .so I just need to do 'go get github.com/hajimehoshi/ebiten ? '

yeah .so I just need to do 'go get github.com/hajimehoshi/ebiten ? '

You don't need to do go get as long as you use Go modules. go run or go build already automatically download necessary files.

You don't need to do go get as long as you use Go modules. go run or go build already automatically download necessary files.

Then, let's keep the build tag until the next Debian stable version is released and we can give up supporting Go 1.15-1.17 :-)


WIP: Add API for making it possible to block loading of SSR only static content components with vue-lazy-hydration

So this is a very rough proof-of-concept of an API for vue-lazy-hydration to register static components that should not be prefetched and loaded on the client.
I'm aware that this probably can't be the final implementation of this but I'd be happy to get feedback and further improve the pull request!
In Nuxt 3 I made the following changes to make this work:
 // app/plugins/preload.server.ts
 export default <Plugin> function preload ({ app }) {
   app.mixin({
     beforeCreate () {
-      const { _registeredComponents } = this.$nuxt.ssrContext
-      const { __moduleIdentifier } = this.$options
-      _registeredComponents.push(__moduleIdentifier)
+      const { _registeredComponents, _staticComponents } = this.$nuxt.ssrContext
+      const { __moduleIdentifier, __lazyHydrationTiming } = this.$options

+      if (!__lazyHydrationTiming) {
+        _registeredComponents.push(__moduleIdentifier)
+      } else if (__lazyHydrationTiming === 'NEVER') {
+        _staticComponents.push(__moduleIdentifier)
+      }
     }
   })
 }

closing as I think this is not needed and it's still a work in progress
if there's an ongoing need or you have any updates please feel free to reopen 🙏


Upgrade dependencies

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b5adef4) 73.93% compared to head (99a835c) 73.92%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #523      +/-   ##
==========================================
- Coverage   73.93%   73.92%   -0.02%
==========================================
  Files          71       71
  Lines        5844     5844
==========================================
- Hits         4321     4320       -1
  Misses       1134     1134
- Partials      389      390       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Make changes to support windows using npipe

Purpose

Change dockerhost for windows to use npipe.

Codecov Report

Merging #275 into master will increase coverage by 0.14%.
The diff coverage is 50%.

@@             Coverage Diff              @@
##             master     #275      +/-   ##
============================================
+ Coverage      77.1%   77.24%   +0.14%
- Complexity      654      656       +2
============================================
  Files            56       56
  Lines          2830     2830
  Branches        288      288
============================================
+ Hits           2182     2186       +4
+ Misses          516      512       -4
  Partials        132      132

Impacted Files
Coverage Δ
Complexity Δ

...org/ballerinax/kubernetes/KubernetesConstants.java
92.3% <ø> (ø)
0 <0> (ø)
:arrow_down:

...ava/org/ballerinax/kubernetes/models/JobModel.java
65.43% <50%> (+2.46%)
25 <0> (+1)
:arrow_up:

.../ballerinax/kubernetes/models/DeploymentModel.java
75.86% <50%> (+1.72%)
45 <0> (+1)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4e63cf6...b612928. Read the comment docs.


Take advantage of Slurm job arrays in the async execution policy for dependent tests

If the job backend is Slurm.
FYI: @boegel .

:+1:
Let me know if there's something I can do to help, having this supported should allow me to start using ReFrame for the EasyBuild regression test...

With the new runtime and the asynchronous builds, I don't think that this is needed for the moment.


Defined initializer system including environment variable initializer

This PR makes it possible to set Widget parameters by setting parameters via the commandline.
For instance, using:
PARAMNB_INIT=`echo '{"example":{"p1":3}}' | python -mjson.tool` jupyter notebook

Allows you to change a parameter value from its default of 1 to 3:

This design should make it easy to specify multiple sets of parameters for multiple different notebooks using a single environment variable (called PARAMNB_INIT by default) as long as unique targets are specified ('example' in the above screenshot).

The file support seems good. One could imagine wanting to specify the filename to read from within the notebook itself, always looking for the same file (which may be different contents each time), without having to use environment variables at all.  But I don't know if that's worth doing.

At this point shouldn't it be called JSONInit?

I agree, JSONInit is clearer now.  Last bit: what about the "isinstance" code above?

what about the "isinstance" code above?

Which bit are you referring to?

You just addressed it; never mind.  Shall I merge it?

If you are happy with it, go ahead! :-)


Sorts Not Working - Admin

On the admin side, the sort functions are not working properly on the ticket management page. The filters work, but the sorts do not.

Fixed this


SerializableCoder#structuredValue returns the object itself

Based on discussion<EMAIL_ADDRESS>

R: kennknowles@

retest this please

The gradle failure looked like a known flake and the maven failure looked like a known problem with master that should be fixed. I think re-running Jenkins will re-merge with the latest master. If the archetypes fail again, then rebase to confirm it is green. Just today I think we got to a point where we can count on real green results...

I've added some more structuralValue  changes, please take a look

@tgroh thank you for the review! Unfortunately, I can't think of a better definition of a structuralValue for SerializableCoder. In my experience, figuring out flakiness in the serialized representation is more challenging than overriding equals.

retest this please

LGTM, can you squash the history?
I've made a minor change to the control flow that I much prefer, but via github so I'm only pretty sure it's correct.

Updated, thank you for reviewing this!

Ping?

Build timed out (after 240 minutes). Marking the build as aborted.

Retest this please

Run Java PostCommit


Crash when changing road speed limit during tutorial

Tried to complete the "edit a road" section during the tutorial, tried changing a speed limit to 70 mph and game crashed.
output.txt
("edits_during_crash.json", couldnt upload thru github) https://www.mediafire.com/file/aq8jvd647fhfzr7/edits_during_crash.json/file

Thanks for reporting, and sorry it took so long to get to this! It's fixed now, and will be in the next downloadable release / web version on Sunday.
No comment on the strategy of making a tiny residential road 70mph...


Weird midi file events since migrating to 5.2.2 (5.0.0 was ok)

Weird midi file events since migrating to 5.2.2
I use exactly the same piano midi files I was using in audio kit 5.0.0 and it was working perfectly. Since migrating ro 5.2.2, some Note On events are skipped (I have noticed that it seems to happened when two same notes are following)
To precise the expected behavior : Note A ON -> Note A OFF -> Note A ON. The bug behavior : last Note A ON is skipped
To Reproduce
Load a midi file from AppleSequencer(filename: filename)
sequencer.setGlobalMIDIOutput(self.midiIn)
subscribe to MIDICallbackInstrument delegates, some notes event will be skipped.
Additional context
I experience the bug every time, but not always at the same moment of the midi file sequence
Once again everything is ok on Audiokit 5.0.0 or Garageband
How can I help to debug ?
What can I do to fix this ?
Thanks

So, you can't use 5.0.0 because it won't compile on modern Xcode right? So we have to figure out if its a change in AudioKit or a change in MIDI that may have occurred along the way right?

It's because I need DunneAudiokit which depends on Audiokit 5.2
Do you want me to test each version since 5.0.0 to see were the bug comes from ?

I think there are versions of DunneAudioKit for each release of AudioKit, but it may not be perfect. It would be of course amazing if you could narrow down at which version it still worked and what version it stopped working.

5.0.1 -> Ok
5.1.0 -> buggy

Already any updates on this? I'm having the same issue. Also, the callback is only called for the lowest note of a chord.
For example, for a MIDI file containing one track with chords Bbm Cm Bbm Ab
The callback only triggers the very first "noteOn" event and then only "noteOff" events AND only for the bass notes.
noteOn noteNumber: 46
noteOff noteNumber: 46
noteOff noteNumber: 36
noteOff noteNumber: 46

I'm loading the MIDI file like this
let sequencer = AppleSequencer()

sequencer.loadMIDIFile(fromURL: pathToMidiFile)

The sequencer is playing the file correctly if connected to, for example, a MIDISampler. Meaning there is probably something wrong with MIDICallbackInstrument
When adding a track and events manually, the callback triggers fine.
Thanks for any help!


feat: Updated nri-flex to v1.3.6

Main new feature for flex is HTML parsing. Have checked the diff between v1.3.6 and v1.3.5 and happy that changes should not affect existing behavior. There are some changes to experimental functions though.

Pull Request Test Coverage Report for Build 378783644

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.02%) to 58.242%

Files with Coverage Reduction
New Missed Lines
%

internal/agent/event_sender_vortex.go
1
73.21%

Totals

Change from base Build 374219060:
0.02%

Covered Lines:
11236

Relevant Lines:
19292

💛  - Coveralls


Ship custom windows event log entries

Summary
Ability to ship specific list of windows event logs
Description
A users defines a custom list of events they want to ship using the windows event viewer:

Saving this custom view will generate an xml file containing the filter query:
<QueryNode>
	<Name>ASP.NET</Name>
	<QueryList>
		<Query Id="0" Path="Application">
			<Select<EMAIL_ADDRESS>Runtime' or @Name='ASP.NET 4.0.30319.0'] and (Level=1  or Level=2 or Level=3 or Level=4 or Level=0 or Level=5)]]</Select>
		</Query>
	</QueryList>
</QueryNode>

Can we use this query to configure nslog to ship event logs that pass this filter?
A cursory google suggests we can:
http://serverfault.com/questions/543494/query-specific-logs-from-event-log-using-nxlog

https://github.com/cityindex/LogSearchShipper/pull/138


call ParseConfigFile with path from restore command

fixes #2506
for some reason the restore command called ParseConfig with a path rather than calling ParseConfigFile

anyone got an idea how to add a regression test for this?

i'm guessing that the CI failure is not related to my change

Thanks @neonstalwart -- looks good. We should merge this shortly.
@corylanou @benbjohnson

+1  Thanks @neonstalwart!


Printing Certification

Describe the Issue
It would be nice to have the option to save and print the certifications as an pdf or png.
Affected Page
https://www.freecodecamp.org/
Steps to Reproduce

Go to 'https://www.freecodecamp.org/'
Click on 'your profile'
Scroll down to 'certifications'
See certification without the option to print or save.

Expected behavior
I would expect to save and print the certification i worked so hard for.
Screenshots
No response
System

Device: [Laptop]
OS: [Windows 10]
Browser: [Chrome]
Version: [109.0.5414.120 (Official Build) (64-bit)]

Additional context
No response

Many people already talked about this feature and found a workaround with screenshot. But I think it would improve fCC's UX.


Validate

Validate login.php , register.php and recharge.php

Hi, do you mean cleaning the data, that is to be sent to the database?

@Brijesh097 i want to take this one

@rmoswela Yes, validate it and send a PR.

@everyone Validation is now done!


Overlay broken links on websites

Hi there! Awesome firefox plugin. One feature suggestion:
I sometimes browse websites that are quite old and most of the links are broken. It would be very nice if the links could show that information up front, and ideally also only show the caches that contain related information (not always all of them)
Anyways , just as a suggestion.
Thanks, awesome plugin

It would have to try to fetch every single thing ever linked to, to know if the link is broken or not.  No plans to do that.  (Same for which is available: it would require hitting every site, which I don't want to do.)


Configuration for using braces in a switch statement

Some example code:
switch (test) {
    case 5: { return 5; }
    case 6: {
        return 6;
    }
    case 7:
        return 7;
}

This would tie into the "useBraces" configuration and could be turned off by setting switchCase.useBraces to false.

This has a semantic impact on the code. For example, the following:

switch (test) {
    case 5:
        const t = 5; // error, duplicate
        break;
    case 6:
        const t = 6; // error, duplicate
        break;
    case 7: {
        const u = 7; // ok
        break;
    }
    case 8: {
        const u = 7; // ok
        break;
    }
}

This is also one of those configurations that people will likely turn off by default.
For these reasons, I won't be implementing this one.


feature/FI-1614-options-clean

Updates options page to use the same layout as the landing page. Redesign may come later, this is mainly for usability.

Codecov Report

Merging #222 (0932539) into main (500f2c5) will decrease coverage by 0.03%.
The diff coverage is 23.52%.

:exclamation: Current head 0932539 differs from pull request most recent head 119baad. Consider uploading reports for the commit 119baad to get more accurate results

@@            Coverage Diff             @@
##             main     #222      +/-   ##
==========================================
- Coverage   76.28%   76.25%   -0.04%
==========================================
  Files         184      184
  Lines        4289     4278      -11
  Branches      415      413       -2
==========================================
- Hits         3272     3262      -10
+ Misses       1014     1013       -1
  Partials        3        3

Impacted Files
Coverage Δ

...c/components/SuiteOptionsPage/SuiteOptionsPage.tsx
3.03% <0.00%> (+0.08%)
:arrow_up:

client/src/components/SuiteOptionsPage/styles.tsx
0.00% <ø> (ø)

client/src/components/TestSuite/TestSession.tsx
44.80% <ø> (ø)

client/src/components/LandingPage/LandingPage.tsx
45.45% <80.00%> (ø)

dev_suites/dev_options_suite/options_suite.rb
96.22% <0.00%> (-0.14%)
:arrow_down:

lib/inferno/entities/input.rb
100.00% <0.00%> (ø)

lib/inferno/apps/web/serializers/test.rb
100.00% <0.00%> (ø)

lib/inferno/apps/web/serializers/input.rb
100.00% <0.00%> (ø)

lib/inferno/apps/web/serializers/test_group.rb
100.00% <0.00%> (ø)

lib/inferno/apps/web/serializers/test_suite.rb
100.00% <0.00%> (ø)

... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 500f2c5...119baad. Read the comment docs.


[ja] Remove stale information about pod selector

pod-selector is represented as follow:

The .spec.selector must match the .spec.template.metadata.labels. Config with these two not matching will be rejected by the API.

/lgtm


Replaced any references to old wiki pages to the proper documentation page

Signed-off-by: Miquel Sabaté Solà<EMAIL_ADDRESS>

The "New registry" page has been slightly updated too:
Before

After

It looks good to me. I just wonder what we could do for customers using the on-premise version and working on a isolated network.

I got carried away while deleting branches ...

@flavio Well, we already had this same problem before, no? Maybe the issue #289 can help with this ?

@mssola you are right


TreeMultiset needs to be renamed to TreeMultimap.

Describe the bug
TreeMultiset needs to be renamed to TreeMultimap.

In version 1.42.4, we resolved this issue


Implement new Home page

What is the purpose of the change

ClickUp Task
ClickUp Task URL
Brief Changelog

Testing and Verifying

Documentation and Release Note

TODO: add translation labels

@fabryscript @DavideSegullo Can we close this PR? I think we are starting the new homepage designs from scratch


Easy way to copy and paste screens to my project from demo app

💬 Question
Hello, I want to use some of the screens which are shown on kitten tricks app, is there any way to copy and paste simple and not build it just by using components.
I created my react native app by the expo and then added kitten by the expo.
I have also cloned the demo app git@github.com:akveo/kittenTricks.git to just copy screens but there are a lot of hardcoded components that are used by screens and I need to take all the components to manually and paste to my project.
UI Kitten and Eva version

Package
Version

@eva-design/eva
1.3.1

@ui-kitten/components
4.3.2

Thanks for report @tokomeno, we realize this problem and this app is going to be completely refactored soon. Let's keep this issue open so we can track it


GitHub Actions Automatically Build

[x] Linux;
[x] Mac;
[x] Web;
[x] Windows;

Template: https://gist.github.com/201flaviosilva/99a16a6b7805e01e6b457cfbd02b54e1

https://github.com/201flaviosilva/Minder-Shooter/blob/Godot-3-Version/.github/workflows/Godot-Build.yml


[[FIX]] Allow more escapes with RegExp u flag

Coverage remained the same at 100.0% when pulling b0b72e42c727216457259ae972902917eb9d3a65 on jugglinmike:regexp-u-more-escapes into 0a60c9eb55758891f5b544315563044513913232 on jshint:master.


Test class vcl::Vector

So many lines of code developed now -> should be tested right before completing all the rest of the implementation of the vectors part of module vcl::Utils.

Completed as per #19 .
Module implementation now abandonned.


Video Starts from beginning after Midroll On Iphone

A few months ago there wasn't such a Issue.
What ever happens is: preroll runs, video starts running until 15 seconds, midrolls run, after last midroll the video begins from the start(time 0:00).
I have even tested on the samples:https://googleads.github.io/videojs-ima/examples/simple/.
Your Iphone sample doesn't have a midroll so I copied the code to the following link:http://player.sport5.co.il/vidclean/adstest/testads3.html?v=3 and added the tag with midrolls.
I have tested on Iphone 6 and Iphone 5, furthermore the bug seems to happen also on the chrome emulator when the device is set to Iphone 5 or 6.

Thanks for the report - we're aware of this one and it's an issue in the IMA SDK that will be fixed in the next release. This won't require a new release of the plugin - we'll automatically pick up the fix when IMA releases it.

FYI this should now be fixed - let me know if you're still seeing it.


Editor Format On Save messing up paragraph

Issue Type: Bug
I have a very simple startup html boilerplate document. Considering I only add sample 3 or 4 lines of paragraph , when I hit save, those lines of paragraph go crazy with some random lines breaking up. The change is also undoable. So I know something is doing it, like an extra step.
I also tried disabled 'beautify' extension. Restarted VScode. Still the same issue.
Also with Whiteviz. Did same thing. Still same issue.
Disabled both. Restarted. Still same issue.
yes, I have ticked the checkbox on 'Editor: Format on Save' because that's a required step for me to maximize the said extensions. So if I untick this option, I don't have this issue, but I can't maximize the extensions mentioned.
I think that 'Editor: Format on Save' is the real bug.
See the problem in action:
http://recordit.co/DIfsVIRTIq
VS Code version: Code 1.32.3 (a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4, 2019-03-14T23:43:35.476Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 x 3392)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
7.94GB (3.59GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

htmltagwrap
bra
0.0.7

bracket-pair-colorizer-2
Coe
0.0.28

vscode-eslint
dba
1.8.2

beautify
Hoo
1.4.9

vscode-autoprefixer
mrm
2.2.0

color-highlight
nau
2.3.0

material-icon-theme
PKi
3.6.3

vscode-css-peek
pra
2.2.0

LiveServer
rit
5.5.1

whiteviz
spy
0.6.1

(1 theme extensions excluded)

So if I untick this option, I don't have this issue, but I can't maximize the extensions mentioned.

Please file this issue against the extension. VS Code is more or less applying what it returns


add github-actions with tflint to all sak repositories

What would you like to be added:
Add Tflint github-actions to all sak repositories (except incubator)
Why is this needed:`.
Keep clean terraform code-style and remove redundant code

UPD
New version for tflint is available.
I applied new configuration of tflint and tflint-github-action for following modules:

sak-nginx
sak-kubernetes
sak-external-dns
sak-argocd

Apply same configuration for rest modules.


Add constraint validation

Purpose
$Subject
Fixes: https://github.com/ballerina-platform/ballerina-standard-library/issues/3328
Examples
Checklist

[x] Linked to an issue
[ ] Updated the changelog
[ ] Added tests
[ ] Updated the spec

Shall we add a test case

Shall we add a test case

It is difficult to test that because ballerina validate the int and decimal values.  We get the string value in the impl. So, we are using this method to change the value to number format.

Shall we add a test case

Added test in https://github.com/ballerina-platform/module-ballerina-cache/pull/639


ModuleNotFoundError when executing docformatter with Python 3.10.8

I am trying to execute docformatter v1.5.0 with Python 3.10.8 and it raises the following exception:
Traceback (most recent call last):
  File "/home/user/.cache/pre-commit/repokrg4ehr2/py_env-python3.10/bin/docformatter", line 8, in <module>
    sys.exit(main())
  File "/home/user/.cache/pre-commit/repokrg4ehr2/py_env-python3.10/lib/python3.10/site-packages/docformatter.py", line 1145, in main
    return _main(
  File "/home/user/.cache/pre-commit/repokrg4ehr2/py_env-python3.10/lib/python3.10/site-packages/docformatter.py", line 1017, in _main
    return _format_files(
  File "/home/user/.cache/pre-commit/repokrg4ehr2/py_env-python3.10/lib/python3.10/site-packages/docformatter.py", line 1117, in _format_files
    result = format_file(
  File "/home/user/.cache/pre-commit/repokrg4ehr2/py_env-python3.10/lib/python3.10/site-packages/docformatter.py", line 957, in format_file
    encoding = detect_encoding(filename)
  File "/home/user/.cache/pre-commit/repokrg4ehr2/py_env-python3.10/lib/python3.10/site-packages/docformatter.py", line 940, in detect_encoding
    from lib2to3.pgen2 import tokenize as lib2to3_tokenize
ModuleNotFoundError: No module named 'lib2to3'

I'm having the same issue with Ubuntu 20.04 and a fresh install from Python 3.10.8.
I could solve it when i installed this package: sudo apt install python3.10-lib2to3, but there is probably a better solution :D

lib2to3 is part of the standard library.  It's marked for deprecation, I believe, in the 3.12 release.  I ran the test suite against v1.5.0 using a fresh install of Python 3.10.8 and all tests passed.  Given this and the solution posted by @h3nry-1, I would guess Ubuntu doesn't package lib2to3 with Python likely in preparation of it's impending deprecation.  As of now, at least on Ubuntu and derivatives, that is the solution.  Other distributions may or may not have the issue depending on package maintenance practices.
The ultimate solution as far as docformatter is concerned is to remove the use of the lib2to3 module.  This will happen with the next release.

@martacasa and @h3nry-1 could you try the latest 1.5.1 release to see if your lib2to3 problem is resolved?

@weibullguy i removed the installation of python3.10-lib2to3 and updated the docformatter to version 1.5.1: everything is working fine for me. Thank you for answering and resolving the issue


Detect support for country flags

Hi!
Windows 10 does not, as it appears, natively support country flag emojis. I'm not 100% sure whether this holds for all Windows 10 installations and whether it can be fixed, but it holds for mine. Here's a screenshot from my computer (this is Edge on Windows 10)

Chrome behaves the same, Firefox does not - it shows nice flags like you'd expect. It looks like they have a special code path for country flags.
I'm no emoji guru, but to my understanding, country flags are actually part of Emoji 1.0, which means that Windows not supporting them breaks emoji-picker-element's assumption that if one emoji in a version is supported, all the others are too.
This PR is an attempt of mine to address this - it's really just an exploration and I'm happy to solve it in a different direction or simply throw it all away and turn this PR into a bug report. I tried to maintain your spirit of "trying to skate where the puck is going", ie simply not show country flag emojis if the system doesn't support them yet. (That said, some redditors suggest that Windows will never support country flags because they want to stay out of hot geopolitical debates, so maybe this puck isn't really going anywhere)
Fortunately, the weird 2-letter country capitals ("AL" etc) are correctly detected by your existing code as "not a color emoji", so this was pretty easy to add - I simply had to add an additional dimension to the concept of the "emoji support level".
I'm not sure how to best add test coverage for this.
With this PR applied, it looks like this:

Thanks for raising this issue. I was aware of the Windows flag problem (still not solved in Windows 11 amazingly!) but wasn't aware that Firefox had their own code path for flag emoji. (I imagine they are using mozilla/twemoji-colr for this.)
I haven't seen any public statement from Microsoft on why they don't support flag emoji. Sadly it also looks like Chromium folks consider this a "WontFix", so they won't be using the Firefox workaround apparently.
Assuming that Microsoft and Google never solve this problem, I'd prefer not to hide the flag emoji. People clearly want to use the flag emoji, and it's unfortunate that e.g. those trying to show support for Ukraine end up saying "UA" on Windows (and nobody knows what it means).
I think a reasonable response is either:

Keep things as-is. Annoy Windows users to the point where they raise a stink and convince Microsoft to implement it. (Or convince Chromium to implement it.)
Detect missing flag emoji on Windows (e.g. using is-emoji-supported), fall back to Twemoji in that case. It's a performance hit, but it only affects Chromium-on-Windows users.

Thanks for raising the issue in the PR though! I'll open a separate issue to track this.

I like option 2 a lot better than my solution, thanks!
Out of curiosity, why are you opposed to building that solution direction (or something that resembles it, but only for the flag emojis) into the main repo? After all, Chromium-on-Windows is the most used desktop platform out there. I'd be happy to contribute a PR in that direction but something tells me you'd rather not merge it :-)

@eteeselink When I first built emoji-picker-element two years ago, I was trying to "skate to where the puck is going." Emoji seemed to be stabilizing across OSes and browsers. IE11 and Windows 7 were fading away. Native emoji seemed to be the way to go.
Flags on Windows seem to be the last remaining holdout. I'm not ready to give up on native emoji, though. Maybe I should add a comment in that Chromium thread to try to convince them to change their minds.

Commented! Maybe this deserves a whole blog post. :slightly_smiling_face:

@eteeselink When I first built emoji-picker-element two years ago, I was trying to "skate to where the puck is going." Emoji seemed to be stabilizing across OSes and browsers. IE11 and Windows 7 were fading away. Native emoji seemed to be the way to go.
Flags on Windows seem to be the last remaining holdout. I'm not ready to give up on native emoji, though.

I full agree, and in fact your "skate where the puck is going" attitude has been a primary reason for me to go with emoji-picker-element
I explored a solution based on your gist, but replacing only the country flags with twemoji images, instead of all emojis in the picker like your gist does. This way, the performance isn't much affected (even on Chromium+Windows), until you open the flags category. The downside is that the country flags look different from the other flags, but IMO that's an acceptable tradeoff. In fact, it looks exactly like it does in Firefox.
I didn't like how long it took visually for the country flags to show up though (as the image files were downloaded), and I'm now exploring a solution based on the Twemoji Mozilla font you linked to. It seems promising: I found a tool (pyftsubset, from fonttools) that lets me cut the font down to only the flag characters. This makes it ~77kb, which I think is pretty decent for a (desktop-only) polyfill. The tool can only output woff and woff2, but Chromium supports those for a long time already, so that's good enough I think. I simply only load the webfont if flag emojis aren't supported.
The result is visually identical to the MutationObserver-based image injection hack (and to Firefox), but it loads instantly. I'd contribute this result somehow (either to you or an independent country-flags-polyfill package of sorts) but I'm still pondering how to best do that :-)
Amazingly well-considered comment btw. I considered piling on but I have nothing to add than "me too!", which I bet is not appreciated, so I better stay out of it.

That's awesome. I wasn't aware there was a way to load color fonts in Chromium such that it actually works. :slightly_smiling_face: If you have a demo, let me know and I'd be happy to add it to the README. The existing demos are just index.html files from Gist hosts on bl.ocks.org.

Ah, I see. The twemoji-colr README says:

Note that the resulting font will only be useful on systems that support layered color TrueType fonts; this includes Windows 8.1 and later, as well as Mozilla Firefox and other Gecko-based applications running on any platform.

I take it this means it works in Chromium on Windows.
Unfortunately it looks like they don't support Emoji 14.0 yet (https://github.com/mozilla/twemoji-colr/issues/64), but that shouldn't matter for the flags, since no flags were added in 14.0.
In any case, this is a neat solution. It's definitely way better than the MutationObserver approach, in terms of performance and simplicity.

I take it this means it works in Chromium on Windows.

Yep! That makes it from a webfont compat hellscape into pretty smooth sailing. I'm blatantly assuming that if it works on my machine, it'll work on most. Not sure how to test that better other than waiting for community complaints.
I was also pretty happy that fonttools didn't choke on the weird color font that it is. I didnt want to include the entire Twemoji Mozilla font as it's pretty huge. Also I saw that they have a PR open adding Emoji 14.0 so with a bit of luck that gets solved soon too. But yeah, not needed for flags.
I'm currently spending some effort to see if I can package it up as an NPM package which uses is-emoji-supported (or some simpler check that only works on a single flag) and if so, injects a style tag with some kind of jsdeliver url (by default) to the twemoji subset font. I'm a noob at this stuff, but I think I'm figuring it out :-) If that works, then it's just a matter for users to import the package and prefixing the font name  (egTwemojiMozillaCountryFlags) to all relevant font-family lists.
I'll ping you if I get it to work :-)

OK, I've updated the Twemoji fallback demo to use your technique. I didn't trim out the non-flag emoji from the WOFF2 file; I'm just using the twemoji-colr-font package as-is. (Trimming would definitely be better though!)
Only the flags are replaced; everything else is Windows' built-in Segoe UI font:

In order to only replace the flags, I use a unicode range to identify flag emoji. This is the trickiest part:
      @font-face {
          /* Use Apple Color Emoji because emoji-picker-element places that first in the font-family list */
          font-family: "Apple Color Emoji";
          src<EMAIL_ADDRESS>format("woff2");
          unicode-range:
                  /* Regional Indicator Symbol Letters A to Z, e.g. "U" and "S" for the US flag */
                  U+1F1E6-1F1FF,
                  /* The following are required to match England, Scotland, and Wales flags */
                  /* Waving Black Flag */
                  U+1F3F4,
                  /* Latin small letters a to z */
                  U+E0061-E007A,
                  /* Cancel tag */
                  U+E007F
      }

Unfortunately, I also had to name it "Apple Color Emoji" since the font-family list puts Segoe UI before Mozilla Twemoji:
https://github.com/nolanlawson/emoji-picker-element/blob/58b1569068ddfcd127d8fdb185673d1d2314928c/src/picker/constants.js#L26-L27
I should probably add better support for custom fonts (#82), e.g. having a "My Super Cool Custom Font" that is listed first and always wins.
But there is a working solution that works today! :tada: Thanks a lot for pointing out this much-improved solution. :bowing_man:
I would use it for my generic "Twemoji" example, but sadly the Twemoji COLR font doesn't work everywhere (like MacOS/iOS I suppose?), and also it doesn't support Emoji v14 yet. So I think for folks who want 100% Twemoji, they're still better off with the MutationObserver approach.

I'm currently spending some effort to see if I can package it up as an NPM package which uses is-emoji-supported (or some simpler check that only works on a single flag) and if so, injects a style tag with some kind of jsdeliver url (by default) to the twemoji subset font.

Great minds think alike; looks like we just posted at the same time. :wink:

Yeah I was like, wow you're fast :D
Why not name the font something else entirely, eg TwemojiCountryFlags, and prepend it to the font-family list? Instead of the Apple font name I mean. I can't think up any downside to a nonexistent font being listed first, right? Ie on the platforms where the web font isn't loaded.

Mad props at the England, Scotland, and Wales flags nuance btw, I hadn't noticed those yet.

Why not name the font something else entirely, eg TwemojiCountryFlags, and prepend it to the font-family list?

Sure yes, you could do this. Although you'd have to hack around the picker internals a bit to set the custom property:
@font-face {
    font-family: "Custom Mozilla Twemoji";
    /* ... */
}

const pickerInternal = document.querySelector('emoji-picker').shadowRoot.querySelector('.picker')
const fontFamily = getComputedStyle(pickerInternal).getPropertyValue('--font-family')
pickerInternal.style.setProperty('--font-family', '"Custom Mozilla Twemoji",' + fontFamily)

Just tested this out, and it does indeed work (demo).
Overall though, it sorta feels like I need a better solution for custom fonts… (#82) The Windows flag situation is really demonstrating a need for it. :slightly_smiling_face:

Mad props at the England, Scotland, and Wales flags nuance btw, I hadn't noticed those yet.

Looks like Firefox hasn't either! They all render like a black flag (in the Segoe UI style) on Firefox/Windows :-)

Yeah, there appear to be two issues with Firefox on Windows.
Issue 1: England, Scotland, and Wales render as black flags:

Issue 2: Emoji v14 emoji (such as "smiling face with tear" and "transgender flag") render as Twemoji or as double-emoji (in the case of the transgender flag):

I'll look into this.

FYI I published the subsetted font (plus a little polyfill feature detection script) here: https://github.com/talkjs/country-flag-emoji-polyfill.

Awesome, I love your technique. Updated my demo to just use country-flag-emoji-polyfill directly.

Cool! Amazing that you could just <script type="module" it straight in. I have no idea how to package things up to allow that, microbundle is fantastic.

Running microbundle --external 'none' will bundle your external dependencies into the built files. :slightly_smiling_face:

I considered that, but I can also imagine that users who use emojis might be using is-emoji-supported elsewhere too. if that's the same version, iirc it only gets bundled once and that'd save some code size maybe. not sure, this is the first time i'm packaging up web code like this so i'm very open to your thoughts :)

One strategy is to build separate bundles for Node and the browser. But yeah there aren't any great solutions or conventions for this.


Add skaffold support

Signed-off-by: Martin Jansa<EMAIL_ADDRESS>

Thanks a lot Martin :+1:


some answers not correct, any ways to check it out?

this one for example, is "rag" in video
 "video": "video_7982.mp4",         "question": "What is the order of the letters at the end?",         "candidates": [             "gra",             "arg",             "rag"         ],         "answer": "gra"

Since the question is about the letter order, the answer is randomly generated. By the way, the answer is directly copied from Perception Test.


[staging] sqlite: 3.33.0 -> 3.34.0

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

sqlalchemy built successfully

doesn't look like any breaking changes
https://www.sqlite.org/changes.html


Filter plot test argument choices includes invalid sample rates

See the line below. The legal sample rates are now [24, 48, 96, and 192]. We removed the 16 and 32kHz cases when we switched to all IIR filters, which perform better when all decimation ratios have only divide-by-2's in them. 384kHz is not included as a valid choice for the filter tests because we don't do any filtering for this special case.
To fix, simply remove 16 and 32 from the list of choices. While you're at it fix the README as well.
https://github.com/JordanAceto/Magpie/blob/710b1f07e04fe3cf03bed5014f1b3d6927cb5d44/main_microcontroller_firmware/test/integration_tests/filter_tests/filter_test_main.py#L20

Fixed in f180c88


Update Gateway API Implementations page with Envoy Gateway details

Description:
Gateway API has an Implementations Page page, we should list Envoy Gateway on there.
This issue covers adding a listing there that covers we are working on EG, we will update as part of releasing v0.2.0 final.

I've created kubernetes-sigs/gateway-api#1464 for this.

Thanks @youngnick

https://gateway-api.sigs.k8s.io/implementations/#envoy-gateway booyah!

https://github.com/envoyproxy/gateway/issues/624 for adding a return ref ;-)


Store ships and dusts positions in grid, loop on positions instead of the whole grid

This PR implements #61 to improve battle speeds.
Cairo steps for a full battle on a 10*10 grid in tests decreased from 697599 to 195318, which is ~3.5 times faster !
Try run protostar test contracts/core/battle to compare.
And the bigger the grid, the bigger this multiple should be.
I also squashed the grid dict at the end of a battle (in core/battle/library) to prevent malicious prover actions.

Very nice improvement 💪


The convergence of the sample mean may be shown in logscale

In the "Expectation Convergence Analysis", the convergence of the sample mean is shown depending on the sample size:

But the CLT states that the rate of convergence is 1/sqrt(n). Hence, to divide the absolute error by 2, we have to multiply the sample size by 4. This is why I would suggest to plot the X axis (i.e. the sample size) using the logarithmic scale. A checkbutton may be used to disable this option if required.
This is not an issue but a suggestion for improvement.

Great!


Property 'nextTrack' does not exist on type '{ lastIndex?: number | undefined; lastTrack?: Track | undefined; lastPosition: number

useTrackPlayerEvents([Event.PlaybackActiveTrackChanged], async (event) => {
switch (event.type) {
case Event.PlaybackActiveTrackChanged:
const playingTrack = await TrackPlayer.getTrack(event.nextTrack);
setTrack(playingTrack);
break;
}
});
Environment Info:
System:
OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
Memory: 458.32 MB / 7.65 GB
Shell:
version: 5.0.17
path: /bin/bash
Binaries:
Node:
version: 19.6.0
path: ~/.nvm/versions/node/v19.6.0/bin/node
Yarn: Not Found
npm:
version: 9.7.2
path: ~/.nvm/versions/node/v19.6.0/bin/npm
Watchman: Not Found
SDKs:
Android SDK:
API Levels:
- "33"
- "34"
Build Tools:
- 33.0.1
- 34.0.0
- 35.0.0
System Images:
- android-33 | Google APIs Intel x86_64 Atom
Android NDK: Not Found
IDEs:
Android Studio: Not Found
Languages:
Java:
version: 17.0.10
path: /usr/bin/javac
Ruby:
version: 2.7.0
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.5
wanted: 0.73.5
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: false
"react-native-track-player": "^4.0.1",

if u come across the docs ud notice, nextTrack indeed doesnt exist on Event.PlaybackActiveTrackChanged.
https://rntp.dev/docs/api/events#playbackactivetrackchanged

Yes.
what can be done to get next track ?

currentindex +1?? its not like shuffle is nqtively supported yet
On Wed, Mar 6, 2024, 8:31 AM Jackie-gurung @.***> wrote:

Yes.
what can be done to get next track ?
—
Reply to this email directly, view it on GitHub
https://github.com/doublesymmetry/react-native-track-player/issues/2263#issuecomment-1981274075,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZMOVVXBT5M57AZHGVSQLCTYW5AFNAVCNFSM6AAAAABEJI7LB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBRGI3TIMBXGU
.
You are receiving this because you commented.Message ID:
@.***
com>


envoy_reloadable_features_sanitize_te deprecation

Your change #30535 (http: clear hop by hop TE header) introduced a runtime guarded feature. It has been 6 months since the new code has been exercised by default, so it's time to remove the old code path. This issue tracks source code cleanup so we don't forget.

This flag is temporarily blocked by google testing
co-assigning to @krajshiva


Implement a new feature. (Cell outline changement.)

Normally on vanilla, growing a massive amount of mass in 1 piece 'mediumly speed' grows the outline from`the cell's old size to it's actual size. in medium speed
I have a comparison on what I mean.
https://streamable.com/336zn
Please, I really want this feature.
@Megabyte918
@Andrews54757

It's client-side?

No it's not, as this can be added to the cell.js file, so it's server sided actually.

@AlexHGaming Dont tag me (Dont do @andrews54757). I am not doing Ogar anymore.

@AlexHGaming  In fact if possible without implementing anything, "minor zoom" in the browser may be the solution (usually happens because the pc is too sh * t) xD The same as mine is D:

@AlexHGaming That's a client feature. Protocol 5 Cigar does this too when the cell isn't in smooth render mode.

client-side here's the piece of code that does it
function Rc(a) {
if (null == a || 0 == a.length) return null;
if ("%" == a[0]) {
if (!c.MC || !c.MC.getSkinInfo) return null;
a = c.MC.getSkinInfo("skin_" + a.slice(1));
if (null == a) return null;
for (a = (+a.color).toString(16); 9 > a.length;) a = "0" + a;
return  "#"+ a
}
return null
}

@MartincoderMlg That's for skins

@MartincoderMlg That code will only work on v72 client

:[

@AlexHGaming  stop wasting ur time making issues if you want to learn to code it's never too late ...

@MartincoderMlg Well making issues can get the person learning. Also learning from pull requests can get you learning.

Or actually making it yourself.

@MastaCoder True, I really do need to learn Javascript lol

@MastaCoder That's how I learned lol, trial and error over and over again

@Megabyte918 same 😄  I usually just look at other people's code and try to learn from it. Then I play around with console until something happens. Not a good strategy, but hey, it's fun!

kekness = 6900
bugs = 0

@MastaCoder same lol xD

@MastaCoder But, only on clients xDD

@MastaCoder Omg same, I know what var is now 😂, well I kinda knew it for a long time. What language are clients written in? Is it css or something like that?

@AlexHGaming Html + CSS + Javascript and maybe PHP

No PHP unless if you're working with server side things as well. (Getting files, MySQL, etc)

change smoothrender to .3


The program shows a white screen and crashes upon opening

Is there an existing issue for this?

[X] I have searched the existing issues.

What's the problem?
The program shows a white screen and crashes upon opening
I have installed npcap and configured the npcap SDK environment
I try to set the environment variable ICED_BACKEND=tiny-skia but it still crashes.
use the sniffnet Windows_64-bit.msi v1.3.1

no log output

How did you install the app?
downloaded one of the provided packages
Operating System
Windows
Additional context
Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz
Windows 10  21H2 19044.1826

I'm sorry to see that also setting the ICED_BACKEND isn't helping 😞
You don't see any output because of #578, but actually it'd be interesting to see some error trace in this case...

Hey @swola I just built a new version of the app for you.
Here you are: Sniffnet_Windows_64-bit.msi.zip
It is built against commit https://github.com/GyulyVGC/sniffnet/commit/0c67e7e6366eb63ef58cc6621845ec7e3cfbad4c on the windows-debug branch, and using this one you should be able to see some logs in your terminal so that hopefully we can understand and fix the issue.

Thank you

It looks like libpcap returned invalid UTF-8 when list device or something wrong in CStr::from_ptr

I try to use pcap:Device in rust but failed,maybe it neet to install visual studio (I don't know how to use Rust)

Mm, it seems that your Npcap installation still have some problems.
Are you sure you installed Npcap in WinPcap compatible mode as described in the guide?
However, the Npcap SDK and visual studio are only required for the build, but you don't need them to run the .exe app.
Only Npcap is required.
Another thing you can do to solve the UTF-8 error is to check the box "Beta : use unicode utf8 format" in windows regional options, as described in #120.

Thank for you help it works by checking the box "Beta : use unicode utf8 format" in windows regional options


Track UI interactions in order to measure user acceptance

This issue aims to track and measure the user acceptance.
Especially the user interaction gives hints of the usage of Smarti and the relevance of suggestions, need to be tracked. So we are able to get indicators to improve product adoption and result relevance.
First, we focus on product adoption. The main question will be: Do users employ the knowledge base in any manner (clicks, refinements)? How often do they use it?
Acceptance criteria

[ ] Tracing of every interaction with the Knowledge base for all conversation
[ ] The log has to be linked with the conversation and users
[ ] Feedback loop (were the suggestions helpful?) is implemented
[ ] Technology stack is defined

@tkurz: Piwik looks fine and seems to match-up with requirements

Hi. Here are the suggestions for the implementation. Piwik is limited in fields that can be stored for actions (actually only 4, 3 times string, 1 time numeric). But I think the suggestions are a good basis for a solid analysis:

Category
Action
Name
Value (numric)
Goal

{RockatChatId).knowledgebase
dialog.start
RoomID
-
chat duration

{RockatChatId).knowledgebase
dialog.end
RoomID
-
chat duration

{RockatChatId).knowledgebase
sidebar.open
RoomID
-
usage of smarti

{RockatChatId).knowledgebase
sidebar.close
RoomID
-
usage of smarti

{RockatChatId).knowledgebase
token.extracted
RoomID
numberOfTokens
analysis successfu

{RockatChatId).knowledgebase
conversation.found
RoomID
numberOfConversations
value of former conversations

{RockatChatId).knowledgebase
conversation.post
RoomID
rankingNumberOfConversation
value of former conversations

{RockatChatId).knowledgebase
conversation.part.open
RoomID
rankingNumberOfConversation
value of former conversations

{RockatChatId).knowledgebase
conversation.part.close
RoomID
rankingNumberOfConversation
value of former conversations

{RockatChatId).knowledgebase
conversation.part.post
RoomID
rankingNumberOfConversation
value of former conversations

{RockatChatId).knowledgebase
search.{provider}.tag.add
RoomID
-
extraction quality

{RockatChatId).knowledgebase
search.{provider}.tag.remove
RoomID
-
extraction quality

{RockatChatId).knowledgebase
search.{provider}
RoomID
numOfResults
search usage

{RockatChatId).knowledgebase
search.{provider}.request.duration
RoomID
durationInSeconds
search performance

{RockatChatId).knowledgebase
search.{provider}.result.post
RoomID
numberOfResult
result quality

{RockatChatId).knowledgebase
search.{provider}.result.paging
RoomID
page
result quality

@janrudolph @ruKurz @mrsimpson what do you think. As you might see, the user is missing. We could change the roomId to a concatenation roomId:user, but then you cannot filter only on room anymore. What do you think.
Regards
Thomas

After a second check it seems like user and rockchatid can set outside of the eventscope. So that is not a problem.

Since multiple clients can run on the same Smarti instance.  It is important to have a report that distinguishes those clients (knowledge domains).

@mistay The list has been updated

sidebar.open event is not easy to track as the interaction is also fired automatically when entering a room with knowledgebase enabled.

Implemented and merged to develop branch

Default case on mobile devices: sidebar is closed when opening a channel


Problem with RNN with multiple states

I'm trying to create a custom RNN cell that takes in a list of input tensors (e.g. feature blocks from a convolutional layer) and has multiple tensors in its state (with the same dimensions as the inputs). My approach for doing this was to create a custom RNN cell and pass it to the RNN layer. However, an error occurs because RNN.input_spec is set to [None] rather than the actual size of the input. Looking through source code of RNN and it's super class, I don't see anywhere where this input_spec would be correctly set, so I'm wondering if this is a bug in its implementation. The code to reproduce it is copied below. It doesn't seem to have anything to do with the custom RNN cell I wrote, so for brevity I replaced it with SimpleRNNCell (even though the architecture this gives probably won't work for other reasons).
from tensorflow import keras as ks
from pyramid_rnn import PyramidRNNCell

# Build initial featurizer which takes an image as an input and outputs a list of features
inputs = ks.layers.Input(shape=(512, 512, 1))
outputs = [ks.layers.Conv2D(32, 5)(inputs), ks.layers.Conv2D(54, 10)(inputs)]
featurizer = ks.models.Model(inputs=inputs, outputs=outputs)
feature_shapes = [tensor.shape for tensor in featurizer.outputs]

# make list of time series for inputs to RNN
time_series_input = ks.layers.Input(shape=(None, 512, 512, 1))
rnn_inputs = []
# apply TimeDistributed to each feature block
for feature_block in featurizer.outputs:
    rnn_inputs.append(ks.layers.TimeDistributed(
        ks.models.Model(featurizer.input, feature_block))(time_series_input))

# create initial state for RNN, which are same dimensionality as inputs
rnn_initial_state = []
for shapes in feature_shapes:
    rnn_initial_state.append(ks.layers.Input(shape=shapes[1:]))

cell = ks.layers.SimpleRNNCell(10)
rnn_output = ks.layers.RNN(cell)([rnn_inputs, *rnn_initial_state])

@qlzh727 Thanks for your help! I was able to get this working by switching over to a dictionary instead of a list as you suggested.
I did find one part of the code that could be improved though. My initial thought when switching to to use a dictionary was to just make the keys of that dictionary integer strings, as in:
{'0': TensorShape([Dimension(None), Dimension(None), Dimension(24), Dimension(24)]),
 '1': TensorShape([Dimension(None), Dimension(None), Dimension(48), Dimension(48)]),
 '2': TensorShape([Dimension(None), Dimension(None), Dimension(96), Dimension(96)])}

However, this gives a confusing error, because, the in code at line 591 in recurrent:
  try:
      input_shape = tensor_shape.as_shape(input_shape)
    except (ValueError, TypeError):
      # A nested tensor input
      pass

tensor_shape.as_shape fails to raise an exception, instead returning:
TensorShape([Dimension(0), Dimension(1), Dimension(2), Dimension(3), Dimension(4)])

I fixed this by switching to different strings as keys, i.e.
{'a': TensorShape([Dimension(None), Dimension(None), Dimension(24), Dimension(24)]),
 'b': TensorShape([Dimension(None), Dimension(None), Dimension(48), Dimension(48)]),
 'c': TensorShape([Dimension(None), Dimension(None), Dimension(96), Dimension(96)])}

but it might be useful to make a more robust way to check for nested inputs

Thanks for the information. I think tensor_shape.as_shape just get all the keys of the dict, which then convert the 0, 1, 2 to actual shape. I will send a fix for that separately.
Assume the multi state issue is solved here, I am closing this bug for now. Feel free to reopen this issue if you hit any further problems.
Thanks.


fix: resolve worker file correctly

A relative path is resolved relative to cwd. So outside of this repo, the worker cannot be instantiated.
Passing an absolute path fixes it

Released https://github.com/prettier/prettier-synchronized/releases/tag/v0.1.0

Thanks!


Cleanup NetBeans license header for module extbrowser

Review and cleanup the license header in extbrowser
Oracle donated NetBeans to the Apache Software Foundation.
Your task now is to replace the old license header that has Oracle (and/or Sun Microsystems
and/or NetBeans) in it with the standard Apache Software Foundation license header.
For an empty file that supports headers you must add the Apache license header.
Note that you have to use the proper license header for Java, .properties or HTML files.
Look at the nearby files for templates and copy-paste the license header.
When done commit the changes with a commit message that starts with first line
"[NETBEANS-54] Module Review " and a message body describing your review.
See a longer explanation about what we are doing here: https://cwiki.apache.org/confluence/display/NETBEANS/List+of+Modules+to+Review
Please announce in a comment when you have started work.
Files that need to be looked at in extbrowser:
extbrowser/test/unit/src/org/netbeans/modules/extbrowser/data/mac_defaults_chrome.txt
extbrowser/test/unit/src/org/netbeans/modules/extbrowser/data/mac_defaults_firefox.txt
extbrowser/test/unit/src/org/netbeans/modules/extbrowser/data/mac_defaults_opera.txt
extbrowser/test/unit/src/org/netbeans/modules/extbrowser/data/mac_defaults_safari.txt

On it.


Manage access packages and their assignment policies with Bicep.

Suggestion
Which Microsoft Graph resource is this request for?
Add the ability to directly declare and thus manage access packages and their assignment policies with Bicep.
Value
The added value is to enforce consistency, use declarative definitions and deploy access packages configuration directly.
Microsoft Graph API REST reference
Reference: https://learn.microsoft.com/en-us/graph/tutorial-access-package-api?tabs=powershell.
Resource type references:  https://learn.microsoft.com/en-us/graph/api/resources/accesspackage?view=graph-rest-1.0 & https://learn.microsoft.com/en-us/graph/api/resources/accesspackageassignmentpolicy?view=graph-rest-1.0

Thanks for the suggestion @T-potjes

This would be a really useful feature


Update cidr_expression to match changes in pySigma

Morning, while generating a new backend I noticed that the cidr_* fields were outdated. Updated it to match the recent changes in TextQueryBackend

Great, thanks!

Glad to be able to contribute :) As a side note, this cookiecutter template and the way TextQueryBackend is structured makes developing a backend such a pleasant experience. Thank you for all the effort put into pySigma.

Thanks a lot for your kind words! Good feedback is a great motivation 😊


fix: use class for head cell menu btn & export it

Because we using Id for head cell menu buttons, there is a limitation about id's must be unique through entire document. and since we can have multiple head cell menus for both SNT and PVT, then this PR replaces that usage with class name and exposes the class name to be used in both tables.

:tada: This PR is included in version 2.6.1 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket: