Local Run App fails with Error: Tools for managing Python virtual environments are not installed

Opening the server.R file and clicking Run App produces the following error in the R console:
> runApp()

Listening on http://<IP_ADDRESS>:7450
Warning: Error in : Tools for managing Python virtual environments are not installed.

Install pip with:
$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
$ python3 get-pip.py

Install virtualenv with:
$ python3 -m pip install --upgrade --user virtualenv

  50: stop
  49: virtualenv_module
  48: reticulate::virtualenv_create
  47: server [/home/mtg/r-projects/shiny-reticulate-app/server.R#18]
Error : Tools for managing Python virtual environments are not installed.

Install pip with:
$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
$ python3 get-pip.py

Install virtualenv with:
$ python3 -m pip install --upgrade --user virtualenv

This is odd as running the following from the terminal shows that I have virtualenv?
(base) mtg@mtg-ThinkPad-P53:~/r-projects/shiny-reticulate-app$ python3 -m pip install --upgrade --user virtualenv
Requirement already satisfied: virtualenv in /home/mtg/.pyenv/versions/3.6.0/lib/python3.6/site-packages (20.4.2)
Requirement already satisfied: importlib-resources>=1.0 in /home/mtg/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from virtualenv) (5.1.0)
Requirement already satisfied: filelock<4,>=3.0.0 in /home/mtg/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from virtualenv) (3.0.12)
Requirement already satisfied: importlib-metadata>=0.12 in /home/mtg/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from virtualenv) (1.6.1)
Requirement already satisfied: six<2,>=1.9.0 in /home/mtg/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from virtualenv) (1.15.0)
Requirement already satisfied: appdirs<2,>=1.4.3 in /home/mtg/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from virtualenv) (1.4.3)
Requirement already satisfied: distlib<1,>=0.3.1 in /home/mtg/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from virtualenv) (0.3.1)
Requirement already satisfied: zipp>=0.5 in /home/mtg/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from importlib-metadata>=0.12->virtualenv) (3.1.0)

Not sure if the error is being produced by VIRTUALENV_NAME as:
> virtualenv_dir = Sys.getenv('VIRTUALENV_NAME')
> python_path = Sys.getenv('PYTHON_PATH')
> virtualenv_dir
[1] "example_env_name"
> python_path
[1] "python3"

The reticulate::virtualenv_root() seems to show: [1] "~/.virtualenvs".
Any idea what the problem is?

Not sure what I changed but now getting this error:
> runApp()

Listening on http://<IP_ADDRESS>:7450
virtualenv: example_env_name
Using virtual environment 'example_env_name' ...
Warning in system2(python, c("-c", shQuote(command)), stdout = TRUE, stderr = TRUE) :
  running command ''/home/mtg/.virtualenvs/example_env_name/bin/python' -c 'import sys; import pip; sys.stdout.write(pip.__version__)' 2>&1' had status 1
Warning in if (idx != -1) version <- substring(version, 1, idx - 1) :
  the condition has length > 1 and only the first element will be used
Warning: Error in : invalid version specification ‘’, ‘  ’
  52: stop
  51: .make_numeric_version
  50: numeric_version
  49: pip_version
  48: reticulate::virtualenv_install
  47: server [/home/mtg/r-projects/shiny-reticulate-app/server.R#19]
Error : invalid version specification ‘’, ‘  ’

Hi @moldach , couple thoughts.
It looks like you're creating the virtualenv but pip might not be getting installed into it, which means there might be a version/path mismatch. First, install pip3 and confirm that it's installed under Python 3:
python3 -m pip install --upgrade pip
pip3 --version

Then install virtualenv with pip3 install virtualenv.
Then change the VIRUTALENV_NAME at the top of the included .Rprofile file to something different so that a new environment will be created. (Whatever name you give it here will be the name of the directory created in the reticulate::virtualenv_root() directory). Then try running the app again!
If you still get the same error, I'd recommend going in the virtualenv and confirming whether pip is installed correctly into the environment. For example:
cd ~/.virtualenvs/YOUR_ENV_NAME/
source bin/activate
pip3 freeze   # should output a few packages

Hi @ranikay, thanks for the advice. I tried the following:
Terminal
(base) mtg@mtg-ThinkPad-P53:~/r-projects/shiny-reticulate-app$ python3 -m venv ~/mattsNewENV
(base) mtg@mtg-ThinkPad-P53:~/r-projects/shiny-reticulate-app$ source ~/mattsNewENV/bin/activate
(mattsNewENV) (base) mtg@mtg-ThinkPad-P53:~/r-projects/shiny-reticulate-app$ python3 -m pip install --upgrade pip
Cache entry deserialization failed, entry ignored
Collecting pip
  Using cached https://files.pythonhosted.org/packages/fe/ef/60d7ba03b5c442309ef42e7d69959f73aacccd0d86008362a681c4698e83/pip-21.0.1-py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 9.0.1
    Uninstalling pip-9.0.1:
      Successfully uninstalled pip-9.0.1
Successfully installed pip-21.0.1
(mattsNewENV) (base) mtg@mtg-ThinkPad-P53:~/r-projects/shiny-reticulate-app$ pip3 --version
pip 21.0.1 from /home/mtg/mattsNewENV/lib/python3.6/site-packages/pip (python 3.6)

If you still get the same error, I'd recommend going in the virtualenv and confirming whether pip is installed correctly into the environment.

Might as well just do this to confirm:
(base) mtg@mtg-ThinkPad-P53:~/r-projects/shiny-reticulate-app$ cd ~/mattsNewENV/
(base) mtg@mtg-ThinkPad-P53:~/mattsNewENV$ source bin/activate
(mattsNewENV) (base) mtg@mtg-ThinkPad-P53:~/mattsNewENV$ pip3 freeze
appdirs==1.4.4
distlib==0.3.1
filelock==3.0.12
importlib-metadata==3.4.0
importlib-resources==5.1.0
six==1.15.0
typing-extensions==<IP_ADDRESS>
virtualenv==20.4.2
zipp==3.4.0

Change .Rprofile included with repo
# Edit this name if desired when starting a new app
VIRTUALENV_NAME = 'shiny-reticulate-test'

Save, Restart R (Ctrl + Shift + F10), and then try and run the app.
RunApp
> shiny::runApp()
Loading required package: shiny

Listening on http://<IP_ADDRESS>:7450

Attaching package: ‘DT’

The following objects are masked from ‘package:shiny’:

    dataTableOutput, renderDataTable

Warning: Error in : Tools for managing Python virtual environments are not installed.

Install pip with:
$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
$ python3 get-pip.py

Install virtualenv with:
$ python3 -m pip install --upgrade --user virtualenv

  50: stop
  49: virtualenv_module
  48: reticulate::virtualenv_create
  47: server [/home/mtg/r-projects/shiny-reticulate-app/server.R#18]
Error : Tools for managing Python virtual environments are not installed.

 The overall process we're trying to achieve here should be just 1) create a virtualenv in the ~/.virtualenvs directory, 2) tell R to use that virtualenv when executing Python code.
It looks like you already have an environment that you were introspecting called mattsNewENV. It doesn't matter whether the virtualenv package is installed in this environment just as long as it has pip, which it appears to have since pip3 freeze worked. You'll also want to install pip3 install numpy into mattsNewENV since it's a requirement for this app tutorial.
Then, since you already have that environment with pip and numpy installed and working, in your .Rprofile you should be able to define VIRTUALENV_NAME = 'mattsNewENV' instead of VIRTUALENV_NAME = 'shiny-reticulate-test' as you had it written. This will tell R to use the (already created) mattsNewENV environment.
P.S. Thanks for calling out that you always need to restart your R session after making changes, as this is required to re-load the .Rprofile file.

Python inception ... 🤔 No... sorry, not on purpose.

My solution - comment out the section of your code that said not too 🤣
  # ------------------ App virtualenv setup (Do not edit) ------------------- #

  # virtualenv_dir = Sys.getenv('VIRTUALENV_NAME')
  # python_path = Sys.getenv('PYTHON_PATH')
  #
  # # Create virtual env and install dependencies
  # reticulate::virtualenv_create(envname = virtualenv_dir, python = python_path)
  # reticulate::virtualenv_install(virtualenv_dir, packages = PYTHON_DEPENDENCIES, ignore_installed=TRUE)
  # reticulate::use_virtualenv(virtualenv_dir, required = T)
  # ------------------ App server logic (Edit anything below) --------------- #

  reticulate::use_condaenv("ranikay")

You can either create virtualenv (python3 -m venv ~/myEnv) followed by installing numpy with pip, or using conda, and use the use_virtualenv() or use_conda() instead.
P.S. Nice snowboarding profile picture BTW - have fun shredding this season - cheers, from an avid rider 🤙

Ha, sometimes the best solutions include breaking rules and forging your own path 😉 🤙
Glad you got it figured out!


RequirementSpecification is not correctly documented

RequirementSpecification  parameter is not an integer, and it provides certain settings that need to be documentated
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fa66caf7-f362-ce17-a1f5-877e42d2dae0
Version Independent ID: 96958b56-53b8-7b21-166c-7b70b0a1df95
Content: Search resource availability and create bookings for requirement groups in Universal Resource Scheduling in Dynamics 365 Customer Service
Content Source: ce/customer-service/universal-resource-scheduling.md
Service: dynamics-365-customerservice
GitHub Login: @lalexms
Microsoft Alias: laalexan

The default behavior of msdyn_fromdate, msdyn_todate, msdyn_duration, msdyn_organizationalunit, msdyn_TimeGroup can be override by this parameter, the examples covered  msdyn_fromdate, msdyn_todate, msdyn_organizationalunit but not msdyn_duration and msdyn_TimeGroup


Search form - homepage

@willmowlam thank you for doing this!! I've linked up to home page search.


vvenc does not build with C++17

Hi!
I tried to build the project by using CMAKE_CXX_STANDARD 17 and it does not work. There is a deprecated feature related to std::iterator. Is there any change by support C++17 too as a superset?
Environment
OS: Mac OSX 13.4.1
Compiler: Clang 14.0.3
CPU: aarch64 (Mac M1)
Steps
sed -i '' 's/CMAKE_CXX_STANDARD 14/CMAKE_CXX_STANDARD 17/g' CMakeLists.txt
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=ON -DBUILD_SHARED_LIBS=ON
cmake --build build/

Build log
% cmake --build build
...
cd /tmp/vvenc-1.8.0/build/source/Lib/vvenc && /Library/Developer/CommandLineTools/usr/bin/c++ -DMISSING_INTRIN_mm256_zeroupper -DVVENC_DYN_LINK -DVVENC_SOURCE -Dvvenc_EXPORTS -I/tmp/vvenc-1.8.0/source/Lib/vvenc/../../../include -I/tmp/vvenc-1.8.0/build -I/tmp/vvenc-1.8.0/source/Lib/vvenc/. -I/tmp/vvenc-1.8.0/source/Lib/vvenc/.. -I/tmp/vvenc-1.8.0/source/Lib/vvenc/../DecoderLib -I/tmp/vvenc-1.8.0/source/Lib/vvenc/../EncoderLib -I/tmp/vvenc-1.8.0/source/Lib/vvenc/../CommonLib -I/tmp/vvenc-1.8.0/source/Lib/vvenc/../CommonLib/x86 -I/tmp/vvenc-1.8.0/source/Lib/vvenc/../apputils -I/tmp/vvenc-1.8.0/source/Lib/vvenc/../../../thirdparty/nlohmann_json/single_include -isystem /tmp/vvenc-1.8.0/source/Lib/vvenc/../../../thirdparty -DTARGET_SIMD_X86 -DVVENC_ENABLE_THIRDPARTY_JSON -DVVENC_ENABLE_THIRDPARTY_JSON -O3 -DNDEBUG -std=gnu++17 -flto=thin -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -Wno-deprecated-register -Wno-unused-const-variable -Wno-unknown-attributes -MD -MT source/Lib/vvenc/CMakeFiles/vvenc.dir/__/CommonLib/DepQuant.cpp.o -MF CMakeFiles/vvenc.dir/__/CommonLib/DepQuant.cpp.o.d -o CMakeFiles/vvenc.dir/__/CommonLib/DepQuant.cpp.o -c /tmp/vvenc-1.8.0/source/Lib/CommonLib/DepQuant.cpp
[ 41%] Building CXX object source/Lib/vvenc/CMakeFiles/vvenc.dir/__/CommonLib/InterPrediction.cpp.o
cd /tmp/vvenc-1.8.0/build/source/Lib/vvenc && /Library/Developer/CommandLineTools/usr/bin/c++ -DMISSING_INTRIN_mm256_zeroupper -DVVENC_DYN_LINK -DVVENC_SOURCE -Dvvenc_EXPORTS -I/tmp/vvenc-1.8.0/source/Lib/vvenc/../../../include -I/tmp/vvenc-1.8.0/build -I/tmp/vvenc-1.8.0/source/Lib/vvenc/. -I/tmp/vvenc-1.8.0/source/Lib/vvenc/.. -I/tmp/vvenc-1.8.0/source/Lib/vvenc/../DecoderLib -I/tmp/vvenc-1.8.0/source/Lib/vvenc/../EncoderLib -I/tmp/vvenc-1.8.0/source/Lib/vvenc/../CommonLib -I/tmp/vvenc-1.8.0/source/Lib/vvenc/../CommonLib/x86 -I/tmp/vvenc-1.8.0/source/Lib/vvenc/../apputils -I/tmp/vvenc-1.8.0/source/Lib/vvenc/../../../thirdparty/nlohmann_json/single_include -isystem /tmp/vvenc-1.8.0/source/Lib/vvenc/../../../thirdparty -DTARGET_SIMD_X86 -DVVENC_ENABLE_THIRDPARTY_JSON -DVVENC_ENABLE_THIRDPARTY_JSON -O3 -DNDEBUG -std=gnu++17 -flto=thin -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -Wno-deprecated-register -Wno-unused-const-variable -Wno-unknown-attributes -MD -MT source/Lib/vvenc/CMakeFiles/vvenc.dir/__/CommonLib/InterPrediction.cpp.o -MF CMakeFiles/vvenc.dir/__/CommonLib/InterPrediction.cpp.o.d -o CMakeFiles/vvenc.dir/__/CommonLib/InterPrediction.cpp.o -c /tmp/vvenc-1.8.0/source/Lib/CommonLib/InterPrediction.cpp
In file included from /tmp/vvenc-1.8.0/source/Lib/CommonLib/InterPrediction.cpp:48:
In file included from /tmp/vvenc-1.8.0/source/Lib/vvenc/../CommonLib/InterPrediction.h:48:
In file included from /tmp/vvenc-1.8.0/source/Lib/vvenc/../CommonLib/InterpolationFilter.h:51:
/tmp/vvenc-1.8.0/source/Lib/vvenc/../CommonLib/Unit.h:441:34: error: 'iterator<std::forward_iterator_tag, vvenc::TransformUnit>' is deprecated [-Werror,-Wdeprecated-declarations]
class UnitIterator : public std::iterator<std::forward_iterator_tag, T>
                                 ^
/tmp/vvenc-1.8.0/source/Lib/CommonLib/InterPrediction.cpp:1903:21: note: in instantiation of template class 'vvenc::UnitIterator<vvenc::TransformUnit>' requested here
  for (auto& currPU : CU::traverseTUs(cu))
                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__iterator/iterator.h:24:29: note: 'iterator<std::forward_iterator_tag, vvenc::TransformUnit>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
                            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__config:837:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
#    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
                                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__config:810:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
1 error generated.
make[2]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir/__/CommonLib/InterPrediction.cpp.o] Error 1
make[1]: *** [source/Lib/vvenc/CMakeFiles/vvenc.dir/all] Error 2
make: *** [all] Error 2

Full build log
build.log

C++ development committee, making life hard for people every day...
I guess this is possible to fix fairly easily by manually implementing the iterator traits: https://stackoverflow.com/questions/43268146/why-is-stditerator-deprecated
We have an internal pre-release code freeze, so this will probably only be addressed later, not in time for v1.9.0.

@adamjw24 thank you for your quick answer!


cannot open monaco-editor on chrome which version under version 79

monaco-editor version: 0.25.2
**Browser: chrome under 79
OS:
error message: unexpected token ??
it seems that not support Nullish coalescing operator,  but core use it

Unfortunately, we only support the latest version of Chrome.


uuid.Must method requires two argments.

I build getting-started/bookshelf by docker after modified config.go.
$ git diff config.go| grep ^+
+++ b/getting-started/bookshelf/config.go
+	DB, err = configureDatastoreDB("project-id")
+	StorageBucketName = "project-id"
+	StorageBucket, err = configureStorage(StorageBucketName)
+	PubsubClient, err = configurePubsub("project-id")

I got below build log.
$ docker build -t gcr.io/<my-project-id>/bookshelf .
...
go get -v github.com/GoogleCloudPlatform/golang-samples/getting-started/bookshelf/...
# github.com/GoogleCloudPlatform/golang-samples/getting-started/bookshelf/app
src/github.com/GoogleCloudPlatform/golang-samples/getting-started/bookshelf/app/app.go:215:19: not enough arguments in call to uuid.Must
	have (uuid.UUID)
	want (uuid.UUID, error)
src/github.com/GoogleCloudPlatform/golang-samples/getting-started/bookshelf/app/auth.go:43:24: not enough arguments in call to uuid.Must
	have (uuid.UUID)
	want (uuid.UUID, error)

uuid.Must requires two argments.
https://github.com/satori/go.uuid/blob/36e9d2ebbde5e3f13ab2e25625fd453271d6522e/uuid.go#L156-L161
func Must(u UUID, err error) UUID {
	if err != nil {
		panic(err)
	}
	return u
}

I added argument to all uuid.Must calls.
$ egrep -nr  'uuid.Must'. ./
.//appengine_flexible/analytics/analytics.go:68:		"cid": {uuid.Must(uuid.NewV4()).String()},
.//getting-started/bookshelf/app/app.go:215:	name := uuid.Must(uuid.NewV4(), nil).String() + path.Ext(fh.Filename)
.//getting-started/bookshelf/app/auth.go:43:	sessionID := uuid.Must(uuid.NewV4(), nil).String()

Sorry, this problem occurs only in my local.
https://github.com/satori/go.uuid/blob/master/generator.go#L166
https://travis-ci.org/GoogleCloudPlatform/golang-samples/jobs/338833551

You probably had an old version of uuid in your GOPATH. :)

I appreciate your helpful comment. I had installed uuid library by dep command. As a result, the installed library was old version.
I resume study Go on GCP with this repository.
Regards,

ありがとう, please reach out if you have any questions or feedback along the way!


WIP fix: open files on doubleclick

Proposed Changes
Now you can double-click files on your Finder or Explorer and Alva opens them.
To do:

[x] Parse open-file correctly fi Alva is not running yet
[x] Parse open-file correctly if Alva is already running
[ ] Receive OpenFileRequest correctly in Electron

Deployed at: https://alva-issues-674.surge.sh


refactor(v2): replace h1 tag with h2 in blog list pages

Motivation
A continuation of #1962.
The h1 tag should always be one on a page, so only h2 should be used in posts lists.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
See HTML markup, no UI changes.

@yangshun I don’t see this: lists smth usually do not use h1, this is bad for SEO because the web page should not have more than one h1 element. Refusing h1 on the doc item page is also bad, this tag is important.


[scitos_docking] fails to build on jenkins

This is the output:
[ 97%] Building CXX object CMakeFiles/visual_charging.dir/src/scitos_docking/docking.cpp.o
/usr/bin/x86_64-linux-gnu-g++   -DROSCONSOLE_BACKEND_LOG4CXX -DROS_PACKAGE_NAME=\"scitos_docking\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -I/tmp/buildd/ros-indigo-scitos-docking-0.0.15-0trusty-20150319-1122/obj-x86_64-linux-gnu/devel/include -I/tmp/buildd/ros-indigo-scitos-docking-0.0.15-0trusty-20150319-1122/include -I/opt/ros/indigo/include    -o CMakeFiles/visual_charging.dir/src/scitos_docking/docking.cpp.o -c /tmp/buildd/ros-indigo-scitos-docking-0.0.15-0trusty-20150319-1122/src/scitos_docking/docking.cpp
In file included from /opt/ros/indigo/include/ros/ros.h:40:0,
                 from /tmp/buildd/ros-indigo-scitos-docking-0.0.15-0trusty-20150319-1122/include/scitos_docking/CTransformation.h:15,
                 from /tmp/buildd/ros-indigo-scitos-docking-0.0.15-0trusty-20150319-1122/src/scitos_docking/docking.cpp:5:
/tmp/buildd/ros-indigo-scitos-docking-0.0.15-0trusty-20150319-1122/src/scitos_docking/docking.cpp: In function 'void mainLoop()':
/opt/ros/indigo/include/ros/console.h:342:176: error: format not a string literal and no format arguments [-Werror=format-security]
     ::ros::console::print(filter, __rosconsole_define_location__loc.logger_, __rosconsole_define_location__loc.level_, __FILE__, __LINE__, __ROSCONSOLE_FUNCTION__, __VA_ARGS__)
                                                                                ^
/opt/ros/indigo/include/ros/console.h:345:5: note: in expansion of macro 'ROSCONSOLE_PRINT_AT_LOCATION_WITH_FILTER'
     ROSCONSOLE_PRINT_AT_LOCATION_WITH_FILTER(0, __VA_ARGS__)
     ^
/opt/ros/indigo/include/ros/console.h:375:7: note: in expansion of macro 'ROSCONSOLE_PRINT_AT_LOCATION'
       ROSCONSOLE_PRINT_AT_LOCATION(__VA_ARGS__); \
       ^
/opt/ros/indigo/include/ros/console.h:516:35: note: in expansion of macro 'ROS_LOG_COND'
 #define ROS_LOG(level, name, ...) ROS_LOG_COND(true, level, name, __VA_ARGS__)
                                   ^
/opt/ros/indigo/include/rosconsole/macros_generated.h:98:23: note: in expansion of macro 'ROS_LOG'
 #define ROS_INFO(...) ROS_LOG(::ros::console::levels::Info, ROSCONSOLE_DEFAULT_NAME, __VA_ARGS__)
                       ^
/tmp/buildd/ros-indigo-scitos-docking-0.0.15-0trusty-20150319-1122/src/scitos_docking/docking.cpp:710:4: note: in expansion of macro 'ROS_INFO'
    ROS_INFO(status);
    ^
cc1plus: some warnings being treated as errors

Damn, wrong repository. Why do we have two apps repos :(


[Question] Injecting custom reader into worker factory.

Hello,
Is there any way to inject a custom reader into WorkerFactory/Worker?
We're switching over to temporal and I'd like to register the old activities/workflows using our old logic for now and move over to Temporal attributes as new activites/workflows appear.
But it seems, cause of all the final classes the only way to do this would be to copy over the WorkerFactory completely.
Is this https://github.com/temporalio/sdk-php/issues/88 dealing with the same issue?
Thanks for help!

Can you elaborate? What are you trying to achieve?
You have to manually register each activity, so you can pull it from any DI container.

Yes sure, here's an example:
#!/usr/bin/env php
<?php

use Temporal\WorkerFactory;

class SimpleWorker
{
    public function simpleActivityMethod(): string
    {
        return 'simple_string';
    }
}

$existingData = [
    SimpleWorker::class => [
        'methodNames' => [
            'simpleActivityMethod' => 'simpleMethod'
        ],
        'prefix' => 'simple_'
    ]
];

$factory = WorkerFactory::create();
$worker = $factory->newWorker();

// How do I register the activity, without PHP8 attributes, so that its info gets loaded from
// $existingData variable ?
$worker->registerActivityImplementations(new SimpleWorker());

$factory->run();

And a more elaborate explanation:  lets say I'm adding an Activity object to a Worker using registerActivityImplementations. It reads the activity method groups, names and other info based on PHP 8 style attributes. Since the Worker is created using Worker Factory it has a fixed reader implementation (currently SelectiveReader or AttributeReader).
Lets say I have the activity method names list and activity prefixes in some array parameter in my DI (not PHP8 style attributes). How do I force ActivityReader to read it from the array parameter instead of the PHP8 attributes?
I was postulating that you could inject your own Reader instance into the WorkerFactory. But it's final and impossible. The only other two solutions I could think off would be:

Copying the whole WorkerFactory over to my application, so I could inject my own Reader.
Using Ocramius proxies  to create stub classes with PHP8 attributes generated.

Both of these solutions seem to have issues with maintenance and simplicity.
I'm doing this in order to let our old style activities remain the same, while registering them with temporal.We have lots of activites and adding attributes to each and every one would be bothersome. Though, if it can't be helped we will do it :)
I hope this is clearer, thank you!

We are talking internally about how to expose it easier for you. For now, I can recommend you to wrap activities.

Can making Factory non final help you to solve your case for now?

Hello, sorry for the late replied missed the notification.
It definitely would! I would then be able to specify my own reader.

Just double checked it and found another issuue. I would also need
    /**
     * @return ReaderInterface
     */
    private function createReader(): ReaderInterface
    {
        if (\interface_exists(Reader::class)) {
            return new SelectiveReader([new AnnotationReader(), new AttributeReader()]);
        }

        return new AttributeReader();
    }

To be protected, to be able to override it and inject my own reader nicely. The best option of course would be if I could override the default reader with my own through constructor, just like it's done with DataConverter currently.
    public static function create(
        DataConverterInterface $converter = null,
        RPCConnectionInterface $rpc = null
    ): WorkerFactoryInterface {
        return new self(
            $converter ?? DataConverter::createDefault(),
            $rpc ?? Goridge::create()
        );
    }

Proposed:
    public static function create(
        DataConverterInterface $converter = null,
        RPCConnectionInterface $rpc = null,
        ReaderInterface $reader = null
    ): WorkerFactoryInterface {
        return new self(
            $converter ?? DataConverter::createDefault(),
            $rpc ?? Goridge::create(),
            $reader ?? self::createReader() // This method can be static since it doesn't use anything from the instance anyways.
        );
    }

We would gladly appreciate a PR for this issue :)

Will do one ;)


Add CSS variable label-white-space

This pull request aims to add a new CSS variable to the widget.
This CSS variable allows the user to change the way labels are wrapped.
So users may change this when labels are overlapping on smaller screens.
For more info see issue #7.

Merged, thanks!

Merged, thanks!


longitude labels go wrong in 'npaeqd' projection

Description
When I set proj='npaeqd', proplot 0.9.7 does not show all longitude labels, but only far bottom label 0°.  This problem does not exists in 0.9.5.post332.
import proplot as pplt
import numpy as np

fig, ax = pplt.subplots(ncols=2, nrows=2, proj='npaeqd', share=False)
ax.format(labels=True, coast=True,
          lonlocator=np.arange(-180,180+30,30))

Steps to reproduce
import proplot as pplt
import numpy as np

fig, ax = pplt.subplots(ncols=2, nrows=2, proj='npaeqd', share=False)
ax.format(labels=True, coast=True,
          lonlocator=np.arange(-180,180+30,30))

Expected behavior:

show longitude labels as in proplot 0.9.5.post332

By the way, how can I make longitude labels like this as in cartopy？ ( showing far top label 180°  compared to picture 2)

import matplotlib.pyplot as plt
import cartopy.crs as ccrs
import matplotlib.path as mpath
import numpy as np

fig = plt.figure(figsize=[10, 5])
ax1 = fig.add_subplot(1, 2, 1, projection=ccrs.NorthPolarStereo())

leftlon, rightlon, lowerlat, upperlat = (-180,180,0,90)
ax1.set_extent([leftlon, rightlon, lowerlat, upperlat], ccrs.PlateCarree())

# add labels
ax1.gridlines(crs=ccrs.PlateCarree(), draw_labels=True,
              xlocs = np.arange(-180,180+30,30),
              linewidth=1, color='grey',linestyle='--')

# set the boundary
theta = np.linspace(0, 2*np.pi, 100)
center, radius = [0.5, 0.5], 0.5
verts = np.vstack([np.sin(theta), np.cos(theta)]).T
circle = mpath.Path(verts * radius + center)
ax1.set_boundary(circle, transform=ax1.transAxes)

Actual behavior: Only showing the far bottom label as in picture 1.
Equivalent steps in matplotlib
import proplot as pplt
import numpy as np

fig, ax = pplt.subplots(ncols=2, nrows=2, proj='npaeqd',share=False)
ax.format(labels=True, coast=True,
          lonlocator=np.arange(-180,180+30,30))

Proplot version
matplotlib 3.4.3
proplot 0.9.7
cartopy 0.20.2

Hi there -- it's a little confusing, but the 0.9.5.postXYZ versions you get from installing "dev" are actually newer than 0.9.7. I just created 0.9.7 by going back in the version history to the last release, creating a branch, and enforcing a maximum matplotlib version in setup.cfg on that branch, so that people installing stable versions of proplot for the first time get compatible matplotlib versions (see #309 -- think this is common practice for other packages... but took me a long time to figure out). It doesn't show 0.9.7.postXYZ when you install "dev" just because 0.9.7 lives on a separate branch.
So, this is already fixed :). And re: cartopy grid labels, you can pass rotatelabels=True to format() or set pplt.rc['grid.rotatelabels'] = True. Proplot just picks a different default behavior there.

Hi there -- it's a little confusing, but the 0.9.5.postXYZ versions you get from installing "dev" are actually newer than 0.9.7. I just created 0.9.7 by going back in the version history to the last release, creating a branch, and enforcing a maximum matplotlib version in setup.cfg on that branch, so that people installing stable versions of proplot for the first time get compatible matplotlib versions (see #309 -- think this is common practice for other packages... but took me a long time to figure out). It doesn't show 0.9.7.postXYZ when you install "dev" just because 0.9.7 lives on a separate branch.
So, this is already fixed :). And re: cartopy grid labels, you can pass rotatelabels=True to format() or set pplt.rc['grid.rotatelabels'] = True. Proplot just picks a different default behavior there.

Thanks a lot! I do not know much about branch management and sorry for bothering.
What I am actually confused in my second question is that proplot lost the far top longitude label 180°. If there is a way to add 180° as in Cartopy?

Hmm not sure about that. I'll re-open


Update learning.py mode function

In the mode function in learning.py, there is a problem in this the line:
(item, count) = Counter(data).most_common(1)
That's because the most_common method returns a list. Therefore, the unpacking fails. That's the reason the build is currently failing as well. This MR fixes that and adds a test for the mode function

Silly mistake on my part -- thanks for correcting it. It was also corrected in another change.

@norvig There is just one small problem left: missing import on utils.py for the Counter class.


Can't map array to List

Regarding closed issue https://github.com/npgsql/Npgsql.EntityFrameworkCore.PostgreSQL/issues/266,
I tried 2.1.0-rc1 - encountered blocking scaffolding problem. When i tried to install unstable version from nuget, i got error from PM:
Install-Package : NU1102: Unable to find package Microsoft.EntityFrameworkCore with version (>= 2.1.0-rtm-30736)

Found 25 version(s) in nuget.org [ Nearest version: 2.1.0-rc1-final ]
Found 0 version(s) in Microsoft Visual Studio Offline Packages
At line:1 char:1

Install-Package Npgsql.EntityFrameworkCore.PostgreSQL -Version 2.1.0- ...

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Install-Package : NU1102: Unable to find package Microsoft.EntityFrameworkCore.Abstractions with version (>= 2.1.0-rtm-30736)

Found 2 version(s) in nuget.org [ Nearest version: 2.1.0-rc1-final ]
Found 0 version(s) in Microsoft Visual Studio Offline Packages
At line:1 char:1

Install-Package Npgsql.EntityFrameworkCore.PostgreSQL -Version 2.1.0- ...

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Install-Package : NU1102: Unable to find package Microsoft.EntityFrameworkCore.Relational with version (>= 2.1.0-rtm-30736)

Found 25 version(s) in nuget.org [ Nearest version: 2.1.0-rc1-final ]
Found 0 version(s) in Microsoft Visual Studio Offline Packages
At line:1 char:1

Install-Package Npgsql.EntityFrameworkCore.PostgreSQL -Version 2.1.0- ...

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Install-Package : Package restore failed. Rolling back package changes for 'PodunavljeHR'.
At line:1 char:1

Install-Package Npgsql.EntityFrameworkCore.PostgreSQL -Version 2.1.0- ...

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

At least for me, still not possible to map array from db to List, or maybe there is few more steps in between to set up environment to work with this unstable version?

I intend to release an rc2 soon, which should make everything much easier.
If you want to use the unstable packages from the myget feed, you also need to add the myget feeds for .NET Core daily builds. Try dropping the following in your NuGet.Config:
<add key="DotnetCore" value="https://dotnet.myget.org/f/dotnet-core" />
<add key="AspNetCoreDev" value="https://dotnet.myget.org/f/aspnetcore-dev" />
<add key="NpgsqlUnstable" value="https://www.myget.org/F/npgsql-unstable/api/v3/index.json" />


Missing wheel for libsass in Shiny for Python's Pyodide distribution

ui.Theme's dependency on libsass is problematic for the Shiny for Python environment, c.f.
ImportError: The 'libsass' package is required to compile custom themes. Please install it with `pip install {pkg}` or `pip install "shiny[theme]"`.

Adding a requirements.txt file with:
pip install libsass

Yields:
ValueError: Can't find a pure Python 3 wheel for 'libsass'.
See: https://pyodide.org/en/stable/usage/faq.html#why-can-t-micropip-find-a-pure-python-wheel-for-a-package
You can use `await micropip.install(..., keep_going=True)` to get a list of all packages with missing wheels.

Shiny app demo: Playground

[!NOTE]
I do not believe it's possible to use shiny["theme"] inside of requirements.txt within the playground itself due to how the shiny package has to be started.

Thanks @coatless, we're tracking in posit-dev/shinylive#160. The following workaround still works but as you noted we need to bring the wheel into the shinylive Python bundle.
# requirements.txt
https://pkg.garrickadenbuie.com/libsass-python/libsass-0.23.0-cp312-abi3-pyodide_2024_0_wasm32.whl
shiny[theme]

Ugh, sorry for the duplicate ticket. In the future, just put anything wasm related under shinylive?

No worries! shinylive issues are very hard to place, I don't mind moving them or having duplicates that might provide links that help other find their way to the right place. But you're probably right, posit-dev/shinylive is a good starting place for anything WASM-related.


[Compute] az vm extension show: Add new parameters --instance-view to support track the vm extension progress

Description

az cli equivalent of Get-AzureRmVMExtension https://github.com/Azure/azure-cli/issues/21393
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Compute


Which local version of ligpargen does the website version correspond to

I encountered compatibility problems when using feprepare
https://feprepare.vi-seem.eu/

Hey Lumen97,
Fepprepare is created and maintained by the Cournia lab. They obtained a version of LigParGen used in the server from Leela's GitHub repository. As far as I know, they implemented the FEP part from scratch and use LigParGen only to generate the initial parameters of each molecule.


Broadcast getMapObjects prototype

This snippet of code use Android Intent to broadcast getMapObject response data.
Note:

while a preference object has been added, no interface to Snorlax UI has been added.
the getMapObject content is not complete; so far there is only a few keys

Eh, I merged from an old build of a few days ago. Things have change in the package? I'll try to recompile.

Yes, i see what you trying to do! I guess theres still data to be gathered, like MapPokemon and FortData (disk pokemon)
Remember I'm going to tweak the code a little

Well, development is stopped until there's a new way to bypass SafetyNet


Translate concepts/overview/working-with-objects/labels.md in Japanese

This is a Feature Request

What would you like to be added

Translate concepts/overview/working-with-objects/labels.md in Japanese.
Why is this needed
This document is not translated in Japanese.
Comments
Copy a file from en contents to content/ja/docs/concepts/overview/working-with-objects/labels.md and translate it into Japanese.

/language ja

/close


iconImage can also be a string, but not according to Typescript

https://github.com/rnmapbox/maps/blob/edbbea8dfe5e82ef326e4996e08f87644a7d8658/javascript/utils/MapboxStyles.d.ts#L700
If I understand it correctly, we can pass a string to iconImage when using an Images component to define assets.
However, the Typescript definition of iconImage doesn't accept a string

Can you please provide an example of the string you are trying to use?

with locationBlue and locationDark in the Images component, this works, but fails typecheck.
  style={{
    iconImage: selectedLocality
      ? [
          "match",
          ["get", "localityCode"],
          selectedLocality?.localityCode,
          "locationBlue",
          "locationDark",
        ]
      : "locationDark",
  }}

I think the mapbox way to do it would be: iconImage: ['image', 'IMAGE_KEY'] which works


Error VipsJpeg Corrupt JPEG data from CCTV Image Snapshot

Possible bug
Is this a possible bug in a feature of sharp, unrelated to installation?

[x] Running yarn add sharp completes without error.
[x] Running node -e "require('sharp')" completes without error.

If you cannot confirm both of these, please open an installation issue instead.
Are you using the latest version of sharp?

[x] I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.

If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp that is not the latest, please open an issue against that package instead.
What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?

Does this problem relate to file caching?
The default behaviour of libvips is to cache input files, which can lead to EBUSY or EPERM errors on Windows.

[x] Adding sharp.cache(false) does not fix this problem.

Does this problem relate to images appearing to have been rotated by 90 degrees?
Images that contain EXIF Orientation metadata are not auto-oriented. By default, EXIF metadata is removed.

To auto-orient pixel values use the parameter-less rotate() operation.

To retain EXIF Orientation use keepExif().

[x] Using rotate() or keepExif() does not fix this problem.

What are the steps to reproduce?

What is the expected behaviour?

Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem

    try {
        const image = sharp('filesample.jpg');
        image.jpeg({ mozjpeg: true, chromaSubsampling: '4:4:4' });
        const buff = await image.toBuffer();
        console.log(buff);
    } catch (err) {
        console.error(err);
    }

Then the error is
Error: VipsJpeg: Corrupt JPEG data: 608 extraneous bytes before marker 0xfe
VipsJpeg: Corrupt JPEG data: 608 extraneous bytes before marker 0xfe
    at Sharp.toBuffer (/path-to-project/node_modules/sharp/lib/output.js:161:17)

Please provide sample image(s) that help explain this problem

This JPEG is invalid, please use the failOn property if you trust the source of your input images.
https://sharp.pixelplumbing.com/api-constructor
- const image = sharp('filesample.jpg');
+ const image = sharp('filesample.jpg', { failOn: 'truncated' });

cool. thanks for the information 🙌

This JPEG is invalid, please use the failOn property if you trust the source of your input images.
https://sharp.pixelplumbing.com/api-constructor
- const image = sharp('filesample.jpg');
+ const image = sharp('filesample.jpg', { failOn: 'truncated' });

Why is the picture invalid and what are the criteria for judging it?

@justyouhappy Attempting to process the sample image with Imagemagick generates the following error:

Corrupt JPEG data: 608 extraneous bytes before marker 0xfe


uv.lock local cache path which causes sync fail when cache is empty

Environment
Platform: MacOS (M2)
Python: 3.13.1
UV: 0.5.10
Commands Run
uv init

uv add git+https://github.com/vmware/vsphere-automation-sdk-python.git --tag v<IP_ADDRESS>

cat uv.lock | grep .cache
  source = { path = "../../../.cache/uv/git-v0/checkouts/3a7c78869eb8297a/0e0b932/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-4.2.0-py2.py3-none-any.whl" }
  source = { path = "../../../.cache/uv/git-v0/checkouts/3a7c78869eb8297a/0e0b932/lib/nsx-python-sdk/nsx_python_sdk-4.2.0-py2.py3-none-any.whl" }
  source = { path = "../../../.cache/uv/git-v0/checkouts/3a7c78869eb8297a/0e0b932/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-<IP_ADDRESS>.1-py2.py3-none-any.whl" }
  source = { path = "../../../.cache/uv/git-v0/checkouts/3a7c78869eb8297a/0e0b932/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-<IP_ADDRESS>.1-py2.py3-none-any.whl" }
  source = { path = "../../../.cache/uv/git-v0/checkouts/3a7c78869eb8297a/0e0b932/lib/vmwarecloud-aws/vmwarecloud_aws-1.64.1-py2.py3-none-any.whl" }
  source = { path = "../../../.cache/uv/git-v0/checkouts/3a7c78869eb8297a/0e0b932/lib/vmwarecloud-draas/vmwarecloud_draas-1.23.1-py2.py3-none-any.whl" }

rm -rf .venv

uv sync
Using CPython 3.13.1
Creating virtual environment at: .venv
Resolved 24 packages in 1ms
Installed 23 packages in 325ms
 + certifi==2024.12.14
 + cffi==1.17.1
 + charset-normalizer==3.4.0
 + cryptography==44.0.0
 + idna==3.10
 + lxml==5.3.0
 + nsx-policy-python-sdk==4.2.0 (from file:///Users/testuser/.cache/uv/git-v0/checkouts/3a7c78869eb8297a/0e0b932/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-4.2.0-py2.py3-none-any.whl)
 + nsx-python-sdk==4.2.0 (from file:///Users/testuser/.cache/uv/git-v0/checkouts/3a7c78869eb8297a/0e0b932/lib/nsx-python-sdk/nsx_python_sdk-4.2.0-py2.py3-none-any.whl)
 + nsx-vmc-aws-integration-python-sdk==<IP_ADDRESS>.1 (from file:///Users/testuser/.cache/uv/git-v0/checkouts/3a7c78869eb8297a/0e0b932/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-<IP_ADDRESS>.1-py2.py3-none-any.whl)
 + nsx-vmc-policy-python-sdk==<IP_ADDRESS>.1 (from file:///Users/testuser/.cache/uv/git-v0/checkouts/3a7c78869eb8297a/0e0b932/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-<IP_ADDRESS>.1-py2.py3-none-any.whl)
 + pycparser==2.22
 + pyopenssl==24.3.0
 + pyvmomi==<IP_ADDRESS>.1
 + requests==2.32.3
 + setuptools==75.6.0
 + six==1.17.0
 + urllib3==2.2.3
 + vmware-vapi-common-client==2.52.0
 + vmware-vapi-runtime==2.52.0
 + vmware-vcenter==<IP_ADDRESS>
 + vmwarecloud-aws==1.64.1 (from file:///Users/testuser/.cache/uv/git-v0/checkouts/3a7c78869eb8297a/0e0b932/lib/vmwarecloud-aws/vmwarecloud_aws-1.64.1-py2.py3-none-any.whl)
 + vmwarecloud-draas==1.23.1 (from file:///Users/testuser/.cache/uv/git-v0/checkouts/3a7c78869eb8297a/0e0b932/lib/vmwarecloud-draas/vmwarecloud_draas-1.23.1-py2.py3-none-any.whl)
 + vsphere-automation-sdk==1.87.0 (from git+https://github.com/vmware/vsphere-automation-sdk-python.git@0e0b9321122e404cb49f6812dcea5bea792c49b2)

rm -rf .venv

uv cache clean

uv sync
Using CPython 3.13.1
Creating virtual environment at: .venv
Resolved 24 packages in 0.80ms
error: Failed to determine installation plan
  Caused by: Distribution not found at: file:///Users/testuser/.cache/uv/git-v0/checkouts/3a7c78869eb8297a/0e0b932/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-4.2.0-py2.py3-none-any.whl

The paths you're seeing are indicative of a bug. We should never be writing relative paths to the cache like that. Can you come up with a reproduction that we can use to debug?

uv init
uv add git+https://github.com/vmware/vsphere-automation-sdk-python.git --tag v<IP_ADDRESS>
uv cache clean
uv sync

Thanks, I'll take a look.

Ah yeah, this is known -- there's a TODO for it, but we don't have any way to represent "local wheel file within a Git repository" today. (The problem is the references to the wheels in lib.)

Thank you! Is there an alternative installing method to work around this issue bar you know of?

Unfortunately I think we just need to fix it. A long-shot option is that you could use URL sources for your pre-built wheels instead of path sources... That would probably work, but it's pretty inconvenient.

I looked into this a bit more and unfortunately I misdiagnosed the issue. There is a real limitation to relying on wheel paths in Git repositories, which I've fixed in #10072. But the repo you linked is doing something very specific that I doubt we'll be able to support, in that the metadata it generates on-the-fly encodes the current working directory: https://github.com/vmware/vsphere-automation-sdk-python/blob/145786b88fec3c0f59335d7dd683c1017a1fe626/setup.py#L20-L25 (e.g., vmwarecloud-aws @ file://localhost/{}/lib/vmwarecloud-aws/vmwarecloud_aws-1.64.1-py2.py3-none-any.whl'.format(os.getcwd())).
That will always encode the path to the build directory. In some sense pip suffers from the same problem, if you look at the direct_url.json -- it just doesn't appear in pip because they don't write a lockfile:
❯ cat bar/lib/python3.12/site-packages/vmwarecloud_aws-1.64.1.dist-info/direct_url.json
{"archive_info": {"hash": "sha256=91a153af25eb52cad950ecddf5b53caaf09777cc0ed4d313c9aa58635551b6e6", "hashes": {"sha256": "91a153af25eb52cad950ecddf5b53caaf09777cc0ed4d313c9aa58635551b6e6"}}, "url": "file://localhost//private/var/folders/nt/6gf2v7_s3k13zq_t3944rwz40000gn/T/pip-req-build-uavdf4zk/lib/vmwarecloud-aws/vmwarecloud_aws-1.64.1-py2.py3-none-any.whl"}

But it does show up in pip freeze:
❯ bar/bin/pip freeze
certifi==2024.12.14
cffi==1.17.1
charset-normalizer==3.4.0
cryptography==44.0.0
idna==3.10
lxml==5.3.0
nsx-vmc-aws-integration-python-sdk @ file://localhost//private/var/folders/nt/6gf2v7_s3k13zq_t3944rwz40000gn/T/pip-req-build-uavdf4zk/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-<IP_ADDRESS>.1-py2.py3-none-any.whl#sha256=94db4bb6720c28a4fdfb7a55197b0dec97cb01a384bddcf51927f9694071d65d
nsx-vmc-policy-python-sdk @ file://localhost//private/var/folders/nt/6gf2v7_s3k13zq_t3944rwz40000gn/T/pip-req-build-uavdf4zk/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-<IP_ADDRESS>.1-py2.py3-none-any.whl#sha256=a1f5a3153d4eb3282fb6b3b409343ce6e260cf4555c22f1e381a1bc8acfbc4b8
nsx_policy_python_sdk @ file://localhost//private/var/folders/nt/6gf2v7_s3k13zq_t3944rwz40000gn/T/pip-req-build-uavdf4zk/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-4.2.0-py2.py3-none-any.whl#sha256=cb37240933b391d903ef83b5e0658661aba691ff05822f929f399ba7b5d27fe8
nsx_python_sdk @ file://localhost//private/var/folders/nt/6gf2v7_s3k13zq_t3944rwz40000gn/T/pip-req-build-uavdf4zk/lib/nsx-python-sdk/nsx_python_sdk-4.2.0-py2.py3-none-any.whl#sha256=c40cedaaad3637947625e858f81f305d048625cd4459ce970bf3ef69dc17bb5f
pycparser==2.22
pyOpenSSL==24.3.0
pyvmomi==<IP_ADDRESS>.1
requests==2.32.3
setuptools==75.6.0
six==1.17.0
urllib3==2.3.0
vmware-vapi-common-client==2.52.0
vmware-vapi-runtime==2.52.0
vmware_vcenter==<IP_ADDRESS>
vmwarecloud-aws @ file://localhost//private/var/folders/nt/6gf2v7_s3k13zq_t3944rwz40000gn/T/pip-req-build-uavdf4zk/lib/vmwarecloud-aws/vmwarecloud_aws-1.64.1-py2.py3-none-any.whl#sha256=91a153af25eb52cad950ecddf5b53caaf09777cc0ed4d313c9aa58635551b6e6
vmwarecloud-draas @ file://localhost//private/var/folders/nt/6gf2v7_s3k13zq_t3944rwz40000gn/T/pip-req-build-uavdf4zk/lib/vmwarecloud-draas/vmwarecloud_draas-1.23.1-py2.py3-none-any.whl#sha256=d979e1a5335d1c5144591c916fc9404781456d669b92e494c31ab0975949f351
vsphere-automation-sdk @ git+https://github.com/vmware/vsphere-automation-sdk-python.git@145786b88fec3c0f59335d7dd683c1017a1fe626

So I think this is something that needs to change in the package itself, unfortunately.


Update switch.py

Added Gen 3 compatibility.

Codecov Report

Merging #1445 (1d15477) into dev (df9bdca) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #1445   +/-   ##
=======================================
  Coverage   80.46%   80.46%
=======================================
  Files         226      226
  Lines        6584     6584
=======================================
  Hits         5298     5298
  Misses       1286     1286

Impacted Files
Coverage Δ

zhaquirks/thirdreality/switch.py
100.00% <ø> (ø)

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 df9bdca...1d15477. Read the comment docs.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.468%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5298

Relevant Lines:
6584

💛  - Coveralls

Please run black on the file and commit the changes.

please rebase this pr as well

Stale


Issue with Federal states of Germany

Describe the bug
If Federal states are enabled, the log will be spammed with
coronavirus-statistics.0 | 2020-03-24 19:09:57.649 | warn | (2047) State attribute definition missing for + deathsPerOneMillion
coronavirus-statistics.0 | 2020-03-24 19:09:57.503 | warn | (2047) State attribute definition missing for + deathsPerOneMillion
coronavirus-statistics.0 | 2020-03-24 19:09:57.314 | warn | (2047) State attribute definition missing for + deathsPerOneMillion
coronavirus-statistics.0 | 2020-03-24 19:09:57.125 | warn | (2047) State attribute definition missing for + deathsPerOneMillion
coronavirus-statistics.0 | 2020-03-24 19:09:56.997 | warn | (2047) State attribute definition missing for + deathsPerOneMillion
coronavirus-statistics.0 | 2020-03-24 19:09:56.895 | warn | (2047) State attribute definition missing for + deathsPerOneMillion

To Reproduce
Steps to reproduce the behavior:

Enable "Federal states" (and "Get every federal state", not sure if this is the English translation, I use ioBroker in German language)
Stop, Start, Reload Corona-Adapter
Open log

Expected behavior
No warnings in the log file :D
Screenshots & Logfiles
see above.
Versions:

Adapter version: 0.4.0
JS-Controller version: 2.2.9
Node version: v10.19.0
Operating system: Raspbian Buster

Additional context
Looks like this line is involved: https://github.com/iobroker-community-adapters/ioBroker.coronavirus-statistics/blob/147324ecba3f7ac85b34ec84c5f9872afc56dc12/main.js#L258

Solved => 0.4.2


New version: OpenMedia.4KVideoDownloaderPlus version <IP_ADDRESS>6

Pull request has been created with komac v2.6.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978334972
2024-10-11 06:20:30.914 [CLI ] No suitable installer found for manifest Microsoft.VCRedist.2015+.x64 with version 14.40.33810.0
2024-10-11 06:15:36.315 [CLI ] No suitable installer found for manifest Microsoft.VCRedist.2015+.x86 with version 14.40.33810.0

Automated error analysis suggests -1978334972 may mean This package has a dependency missing from your system.
(Automated response - build 896.)

#152555

This means I can manually validate. Please feel free to @ me in the future.


build: use npm ci

npm ci can be faster and is meant for CI. This PR is meant for evaluating the new ci command and testig the performance and compare the logs of Travis CI.
https://docs.npmjs.com/cli/ci
http://blog.npmjs.org/post/171556855892/introducing-npm-ci-for-faster-more-reliable

Performances:

npm install: 113s

npm ci: 58s (95% faster)


Prerequisites

[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.

Criteria

[X] Reasonably well-known and widely used (e.g. if it's a GitHub project, it should have at least 100 stars and/or 50 forks)
[X] English interface (or at least English documentation)
[X] Latest stable version
[X] Full version (i.e. not a trial version)
[X] Fairly standard install (e.g. uses a version-specific download URL, no elaborate pre/post install scripts)

Name
aws-nuke (ekristen-fork)
Description
Allows deleting all resources of an AWS account. Actively maintained fork of aws-nuke.
Homepage
https://github.com/ekristen/aws-nuke
Download Link(s)
https://github.com/ekristen/aws-nuke/releases
Some Indication of Popularity/Repute
110 stars.
It's a fork of aws-nuke (which is no longer actively maintained), and is recommended as the go-to by the original aws-nuke package.

Unsure how best to name this -
ekristen-aws-nuke, aws-nuke-ekristen, or just aws-nuke 👀


[JAVA] When reading old Spark-generated files with INT96, stats are reported as valid when they aren't

Found that the condition here is missing a check for INT96. Since INT96 statis are also corrupt with old versions of Parquet, the code here shouldn't short-circuit return.
Reporter: Jacques Nadeau / @jacques-n
Assignee: Zoltan Ivanfi / @zivanfi
Note: This issue was originally created as PARQUET-1028. Please see the migration documentation for further details.

Ryan Blue / @rdblue:
This was fixed by PARQUET-1065. The expected sort order for INT96 is now UNKNOWN, so stats are discarded.


图片无法上传。系统报错权限被拒绝。

ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 408, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in call
await super().call(scope, receive, send)
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/starlette/applications.py", line 123, in call
await self.middleware_stack(scope, receive, send)
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in call
raise exc
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in call
await self.app(scope, receive, _send)
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/gradio/route_utils.py", line 695, in call
await self.simple_response(scope, receive, send, request_headers=headers)
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/gradio/route_utils.py", line 711, in simple_response
await self.app(scope, receive, send)
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 65, in call
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/starlette/routing.py", line 756, in call
await self.middleware_stack(scope, receive, send)
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/starlette/routing.py", line 776, in app
await route.handle(scope, receive, send)
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/starlette/routing.py", line 297, in handle
await self.app(scope, receive, send)
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/starlette/routing.py", line 77, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/starlette/routing.py", line 72, in app
response = await func(request)
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/fastapi/routing.py", line 278, in app
raw_response = await run_endpoint_function(
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/site-packages/gradio/routes.py", line 998, in upload_file
directory.mkdir(exist_ok=True, parents=True)
File "/home/yushen/micromamba/envs/MiniCPMV/lib/python3.10/pathlib.py", line 1175, in mkdir
self._accessor.mkdir(self, mode)
PermissionError: [Errno 13] Permission denied: '/tmp/gradio/0115b4a4eb57645c024a02f1a08e62fa7924d5aa'

是否必须root用户？

不必须root，请把/tmp目录改成公共可写权限

感谢帮助，确实是gradio目录的权限问题，使用以下命令后恢复正常了~
sudo chmod a+w /tmp/gradio


make hsvd work for discrete systems

Codecov Report

Merging #48 (e41db60) into master (6c51163) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #48      +/-   ##
==========================================
- Coverage   89.99%   89.96%   -0.04%
==========================================
  Files          17       17
  Lines        2519     2520       +1
==========================================
  Hits         2267     2267
- Misses        252      253       +1

Impacted Files
Coverage Δ

src/reduction.jl
92.68% <0.00%> (-0.57%)
:arrow_down:

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 6c51163...e41db60. Read the comment docs.


HADOOP-17199. S3A Directory Marker backport to branch-3.2

This is a backport of part of #2149 for listing compatibility
This is only the minimal set of list changes; no intent of changing marker retention policy. It should be transparent to all clients

list/getFileStatus changes
backwards compatible test of new algorithm
new tests to verify marker handling
marker rename bug  (HADOOP-17200) surfacing in testing

It's only a subset of the main PR and critical for compat, so I'm not expecting reviews here, though if someone wants to critique my code, they are always welcome :). What is key is that unless it's backport-specific, the change should go into trunk and then be pulled in here

testing -s3 london only just done the new/changed tests

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
10m 50s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 7 new or modified test files.

_ branch-3.2 Compile Tests _

+0 :ok:
mvndep
3m 18s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
26m 58s
branch-3.2 passed

+1 :green_heart:
compile
19m 28s
branch-3.2 passed

+1 :green_heart:
checkstyle
2m 57s
branch-3.2 passed

+1 :green_heart:
mvnsite
2m 25s
branch-3.2 passed

+1 :green_heart:
shadedclient
21m 41s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m 53s
branch-3.2 passed

+0 :ok:
spotbugs
1m  9s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m 30s
branch-3.2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 26s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 40s
the patch passed

+1 :green_heart:
compile
18m 44s
the patch passed

+1 :green_heart:
javac
18m 44s
the patch passed

-0 :warning:
checkstyle
2m 56s
root: The patch generated 19 new + 5 unchanged - 0 fixed = 24 total (was 5)

+1 :green_heart:
mvnsite
2m 17s
the patch passed

-1 :x:
whitespace
0m  0s
The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

+1 :green_heart:
shadedclient
15m 15s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m 46s
the patch passed

+1 :green_heart:
findbugs
3m 53s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
10m 16s
hadoop-common in the patch passed.

+1 :green_heart:
unit
4m 56s
hadoop-aws in the patch passed.

+1 :green_heart:
asflicense
0m 46s
The patch does not generate ASF License warnings.

155m 31s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2210

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 8dfb940af6e6 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
branch-3.2 / 17d18a2

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~16.04-b01

checkstyle
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/1/artifact/out/diff-checkstyle-root.txt

whitespace
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/1/artifact/out/whitespace-eol.txt

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/1/testReport/

Max. process+thread count
1300 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/1/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
15m 21s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 7 new or modified test files.

_ branch-3.2 Compile Tests _

+0 :ok:
mvndep
3m 19s
Maven dependency ordering for branch

-1 :x:
mvninstall
10m 39s
root in branch-3.2 failed.

-1 :x:
compile
6m  1s
root in branch-3.2 failed.

-0 :warning:
checkstyle
1m 58s
The patch fails to run checkstyle in root

-1 :x:
mvnsite
0m 27s
hadoop-aws in branch-3.2 failed.

-1 :x:
shadedclient
7m 42s
branch has errors when building and testing our client artifacts.

-1 :x:
javadoc
0m 12s
hadoop-aws in branch-3.2 failed.

+0 :ok:
spotbugs
2m  7s
Used deprecated FindBugs config; considering switching to SpotBugs.

-1 :x:
findbugs
0m 12s
hadoop-aws in branch-3.2 failed.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 22s
Maven dependency ordering for patch

-1 :x:
mvninstall
0m 10s
hadoop-aws in the patch failed.

-1 :x:
compile
6m  1s
root in the patch failed.

-1 :x:
javac
6m  1s
root in the patch failed.

-0 :warning:
checkstyle
1m 52s
The patch fails to run checkstyle in root

-1 :x:
mvnsite
0m 13s
hadoop-aws in the patch failed.

-1 :x:
whitespace
0m  0s
The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

-1 :x:
shadedclient
3m 41s
patch has errors when building and testing our client artifacts.

-1 :x:
javadoc
0m 12s
hadoop-aws in the patch failed.

-1 :x:
findbugs
0m 12s
hadoop-aws in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
9m  6s
hadoop-common in the patch passed.

-1 :x:
unit
0m 12s
hadoop-aws in the patch failed.

+1 :green_heart:
asflicense
0m 27s
The patch does not generate ASF License warnings.

76m 47s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2210

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 2ae72db1e4f4 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.2 / 42c71a5

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~16.04-b01

mvninstall
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/artifact/out/branch-mvninstall-root.txt

compile
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/artifact/out/branch-compile-root.txt

checkstyle
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/artifact/out/buildtool-branch-checkstyle-root.txt

mvnsite
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/artifact/out/branch-mvnsite-hadoop-tools_hadoop-aws.txt

javadoc
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/artifact/out/branch-javadoc-hadoop-tools_hadoop-aws.txt

findbugs
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/artifact/out/branch-findbugs-hadoop-tools_hadoop-aws.txt

mvninstall
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/artifact/out/patch-mvninstall-hadoop-tools_hadoop-aws.txt

compile
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/artifact/out/patch-compile-root.txt

javac
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/artifact/out/patch-compile-root.txt

checkstyle
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/artifact/out/buildtool-patch-checkstyle-root.txt

mvnsite
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/artifact/out/patch-mvnsite-hadoop-tools_hadoop-aws.txt

whitespace
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/artifact/out/whitespace-eol.txt

javadoc
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/artifact/out/patch-javadoc-hadoop-tools_hadoop-aws.txt

findbugs
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/artifact/out/patch-findbugs-hadoop-tools_hadoop-aws.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/artifact/out/patch-unit-hadoop-tools_hadoop-aws.txt

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/testReport/

Max. process+thread count
1347 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/2/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 10s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+0 :ok:
markdownlint
0m  0s
markdownlint was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 7 new or modified test files.

_ branch-3.2 Compile Tests _

+0 :ok:
mvndep
87m 15s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
32m 43s
branch-3.2 passed

+1 :green_heart:
compile
17m 14s
branch-3.2 passed

+1 :green_heart:
checkstyle
2m 46s
branch-3.2 passed

+1 :green_heart:
mvnsite
2m  1s
branch-3.2 passed

+1 :green_heart:
shadedclient
19m 14s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m 38s
branch-3.2 passed

+0 :ok:
spotbugs
1m  3s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m 19s
branch-3.2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 23s
Maven dependency ordering for patch

-1 :x:
mvninstall
0m 17s
hadoop-aws in the patch failed.

-1 :x:
compile
15m 36s
root in the patch failed.

-1 :x:
javac
15m 36s
root in the patch failed.

-0 :warning:
checkstyle
2m 45s
root: The patch generated 20 new + 9 unchanged - 0 fixed = 29 total (was 9)

-1 :x:
mvnsite
0m 31s
hadoop-aws in the patch failed.

-1 :x:
whitespace
0m  0s
The patch has 3 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

+1 :green_heart:
shadedclient
13m 24s
patch has no errors when building and testing our client artifacts.

-1 :x:
javadoc
0m 32s
hadoop-aws in the patch failed.

-1 :x:
findbugs
0m 28s
hadoop-aws in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
10m 14s
hadoop-common in the patch passed.

-1 :x:
unit
0m 29s
hadoop-aws in the patch failed.

+1 :green_heart:
asflicense
0m 42s
The patch does not generate ASF License warnings.

218m 12s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2210

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle markdownlint

uname
Linux 968346e9e383 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.2 / 94723bf

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~16.04-b01

mvninstall
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/4/artifact/out/patch-mvninstall-hadoop-tools_hadoop-aws.txt

compile
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/4/artifact/out/patch-compile-root.txt

javac
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/4/artifact/out/patch-compile-root.txt

checkstyle
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/4/artifact/out/diff-checkstyle-root.txt

mvnsite
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/4/artifact/out/patch-mvnsite-hadoop-tools_hadoop-aws.txt

whitespace
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/4/artifact/out/whitespace-eol.txt

javadoc
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/4/artifact/out/patch-javadoc-hadoop-tools_hadoop-aws.txt

findbugs
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/4/artifact/out/patch-findbugs-hadoop-tools_hadoop-aws.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/4/artifact/out/patch-unit-hadoop-tools_hadoop-aws.txt

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/4/testReport/

Max. process+thread count
1347 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/4/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 13s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s
No case conflicting files found.

+0 :ok:
markdownlint
0m  0s
markdownlint was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 7 new or modified test files.

_ branch-3.2 Compile Tests _

+0 :ok:
mvndep
93m 38s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
33m 19s
branch-3.2 passed

+1 :green_heart:
compile
17m 25s
branch-3.2 passed

+1 :green_heart:
checkstyle
2m 44s
branch-3.2 passed

+1 :green_heart:
mvnsite
2m  2s
branch-3.2 passed

+1 :green_heart:
shadedclient
19m 19s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m 39s
branch-3.2 passed

+0 :ok:
spotbugs
1m  3s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m 22s
branch-3.2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 23s
Maven dependency ordering for patch

-1 :x:
mvninstall
0m 18s
hadoop-aws in the patch failed.

-1 :x:
compile
15m 26s
root in the patch failed.

-1 :x:
javac
15m 26s
root in the patch failed.

-0 :warning:
checkstyle
2m 44s
root: The patch generated 20 new + 9 unchanged - 0 fixed = 29 total (was 9)

-1 :x:
mvnsite
0m 29s
hadoop-aws in the patch failed.

-1 :x:
whitespace
0m  0s
The patch has 3 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

+1 :green_heart:
shadedclient
13m 31s
patch has no errors when building and testing our client artifacts.

-1 :x:
javadoc
0m 32s
hadoop-aws in the patch failed.

-1 :x:
findbugs
0m 29s
hadoop-aws in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
10m 10s
hadoop-common in the patch passed.

-1 :x:
unit
0m 27s
hadoop-aws in the patch failed.

+1 :green_heart:
asflicense
0m 42s
The patch does not generate ASF License warnings.

225m 31s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2210

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle markdownlint

uname
Linux 98c586545eab 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.2 / 94723bf

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~16.04-b01

mvninstall
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/3/artifact/out/patch-mvninstall-hadoop-tools_hadoop-aws.txt

compile
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/3/artifact/out/patch-compile-root.txt

javac
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/3/artifact/out/patch-compile-root.txt

checkstyle
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/3/artifact/out/diff-checkstyle-root.txt

mvnsite
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/3/artifact/out/patch-mvnsite-hadoop-tools_hadoop-aws.txt

whitespace
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/3/artifact/out/whitespace-eol.txt

javadoc
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/3/artifact/out/patch-javadoc-hadoop-tools_hadoop-aws.txt

findbugs
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/3/artifact/out/patch-findbugs-hadoop-tools_hadoop-aws.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/3/artifact/out/patch-unit-hadoop-tools_hadoop-aws.txt

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/3/testReport/

Max. process+thread count
1346 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/3/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

tested: S3A london; latest branch is happy for all except those DDB tests which expect throttling/don't expect a DDB capacity of 0.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
10m 20s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s
No case conflicting files found.

+0 :ok:
markdownlint
0m  0s
markdownlint was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 8 new or modified test files.

_ branch-3.2 Compile Tests _

+0 :ok:
mvndep
3m 21s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
22m 56s
branch-3.2 passed

+1 :green_heart:
compile
14m 25s
branch-3.2 passed

+1 :green_heart:
checkstyle
2m 31s
branch-3.2 passed

+1 :green_heart:
mvnsite
2m  6s
branch-3.2 passed

+1 :green_heart:
shadedclient
18m 31s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m 51s
branch-3.2 passed

+0 :ok:
spotbugs
1m  2s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m  2s
branch-3.2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 23s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 25s
the patch passed

+1 :green_heart:
compile
13m 27s
the patch passed

+1 :green_heart:
javac
13m 27s
the patch passed

-0 :warning:
checkstyle
2m 29s
root: The patch generated 21 new + 9 unchanged - 0 fixed = 30 total (was 9)

+1 :green_heart:
mvnsite
2m  4s
the patch passed

-1 :x:
whitespace
0m  0s
The patch has 4 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

+1 :green_heart:
shadedclient
12m 33s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m 49s
the patch passed

+1 :green_heart:
findbugs
3m 12s
the patch passed

_ Other Tests _

-1 :x:
unit
8m 43s
hadoop-common in the patch failed.

+1 :green_heart:
unit
4m 33s
hadoop-aws in the patch passed.

+1 :green_heart:
asflicense
0m 51s
The patch does not generate ASF License warnings.

131m  5s

Reason
Tests

Failed junit tests
hadoop.ipc.TestRPC

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/6/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2210

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle markdownlint

uname
Linux d24490e55813 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.2 / 956c097

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~16.04-b01

checkstyle
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/6/artifact/out/diff-checkstyle-root.txt

whitespace
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/6/artifact/out/whitespace-eol.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/6/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/6/testReport/

Max. process+thread count
1397 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/6/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
20m 46s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s
No case conflicting files found.

+0 :ok:
markdownlint
0m  0s
markdownlint was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 8 new or modified test files.

_ branch-3.2 Compile Tests _

+0 :ok:
mvndep
3m 22s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
27m 44s
branch-3.2 passed

+1 :green_heart:
compile
17m 31s
branch-3.2 passed

+1 :green_heart:
checkstyle
2m 28s
branch-3.2 passed

+1 :green_heart:
mvnsite
2m  6s
branch-3.2 passed

+1 :green_heart:
shadedclient
18m 12s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m 50s
branch-3.2 passed

+0 :ok:
spotbugs
1m  3s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m  2s
branch-3.2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 22s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 25s
the patch passed

+1 :green_heart:
compile
13m 31s
the patch passed

+1 :green_heart:
javac
13m 31s
the patch passed

-0 :warning:
checkstyle
2m 29s
root: The patch generated 21 new + 9 unchanged - 0 fixed = 30 total (was 9)

+1 :green_heart:
mvnsite
2m  4s
the patch passed

-1 :x:
whitespace
0m  0s
The patch has 4 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

+1 :green_heart:
shadedclient
12m 33s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m 47s
the patch passed

+1 :green_heart:
findbugs
3m 13s
the patch passed

_ Other Tests _

-1 :x:
unit
8m 48s
hadoop-common in the patch failed.

+1 :green_heart:
unit
4m 46s
hadoop-aws in the patch passed.

+1 :green_heart:
asflicense
0m 52s
The patch does not generate ASF License warnings.

149m 30s

Reason
Tests

Failed junit tests
hadoop.util.TestReadWriteDiskValidator

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/5/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2210

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle markdownlint

uname
Linux da5efd02a342 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.2 / 956c097

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~16.04-b01

checkstyle
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/5/artifact/out/diff-checkstyle-root.txt

whitespace
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/5/artifact/out/whitespace-eol.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/5/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/5/testReport/

Max. process+thread count
1375 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/5/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Test failures are in TestReadWriteDiskValidator; absolutely unrelated

Test runs against s3 london; all good but those DDB ones which fail with 0 read capacity. New tests are all happy.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
10m 49s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+0 :ok:
markdownlint
0m  0s
markdownlint was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 9 new or modified test files.

_ branch-3.2 Compile Tests _

+0 :ok:
mvndep
3m 18s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
23m 12s
branch-3.2 passed

+1 :green_heart:
compile
15m 19s
branch-3.2 passed

+1 :green_heart:
checkstyle
2m 35s
branch-3.2 passed

+1 :green_heart:
mvnsite
2m  3s
branch-3.2 passed

+1 :green_heart:
shadedclient
18m  6s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m 41s
branch-3.2 passed

+0 :ok:
spotbugs
1m  2s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m  2s
branch-3.2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 24s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 26s
the patch passed

+1 :green_heart:
compile
14m  9s
the patch passed

+1 :green_heart:
javac
14m  9s
the patch passed

-0 :warning:
checkstyle
2m 24s
root: The patch generated 21 new + 11 unchanged - 0 fixed = 32 total (was 11)

+1 :green_heart:
mvnsite
2m  1s
the patch passed

-1 :x:
whitespace
0m  0s
The patch has 10 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

+1 :green_heart:
shadedclient
12m 19s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m 43s
the patch passed

+1 :green_heart:
findbugs
3m 24s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
9m 20s
hadoop-common in the patch passed.

+1 :green_heart:
unit
4m 45s
hadoop-aws in the patch passed.

+1 :green_heart:
asflicense
0m 53s
The patch does not generate ASF License warnings.

132m 54s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/7/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2210

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle markdownlint

uname
Linux 75745b111902 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.2 / d06f0de

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~16.04-b01

checkstyle
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/7/artifact/out/diff-checkstyle-root.txt

whitespace
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/7/artifact/out/whitespace-eol.txt

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/7/testReport/

Max. process+thread count
1545 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/7/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 41s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+0 :ok:
markdownlint
0m  0s
markdownlint was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 9 new or modified test files.

_ branch-3.2 Compile Tests _

+0 :ok:
mvndep
3m 17s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
23m 29s
branch-3.2 passed

+1 :green_heart:
compile
14m 23s
branch-3.2 passed

+1 :green_heart:
checkstyle
2m 31s
branch-3.2 passed

+1 :green_heart:
mvnsite
2m  8s
branch-3.2 passed

+1 :green_heart:
shadedclient
18m 11s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m 49s
branch-3.2 passed

+0 :ok:
spotbugs
1m  2s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
2m 59s
branch-3.2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 22s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 25s
the patch passed

+1 :green_heart:
compile
13m 37s
the patch passed

+1 :green_heart:
javac
13m 37s
the patch passed

-0 :warning:
checkstyle
2m 28s
root: The patch generated 21 new + 11 unchanged - 0 fixed = 32 total (was 11)

+1 :green_heart:
mvnsite
2m  6s
the patch passed

-1 :x:
whitespace
0m  0s
The patch has 10 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

+1 :green_heart:
shadedclient
12m 19s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m 46s
the patch passed

+1 :green_heart:
findbugs
3m 14s
the patch passed

_ Other Tests _

-1 :x:
unit
8m 38s
hadoop-common in the patch failed.

+1 :green_heart:
unit
4m 47s
hadoop-aws in the patch passed.

+1 :green_heart:
asflicense
0m 50s
The patch does not generate ASF License warnings.

121m 37s

Reason
Tests

Failed junit tests
hadoop.util.TestDiskChecker

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/8/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2210

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle markdownlint

uname
Linux 11dc89056fb7 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.2 / a3f12f7

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~16.04-b01

checkstyle
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/8/artifact/out/diff-checkstyle-root.txt

whitespace
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/8/artifact/out/whitespace-eol.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/8/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/8/testReport/

Max. process+thread count
1605 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2210/8/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

OK, I'm happy that the backport took. Merging.
I will do a much more minimal backport to 3.1, as I don't plan to backport the path capabilities API first. All we need to do there is

change getFileStatus/list
change bucket-info to take -markers aware & -markers delete
compatibility test
current docs


Possible issue with New Update Notifications

I'm not 100% sure if this is an issue yet, but since updating to the latest Windows version 7.1.202 I've had 3 popup notifications that my TogglDesktop is "already up to date". It may be checking every hour or so, but I'll need to track it to see if there's a pattern.
Has this code changed? I haven't been manually checking for updates.

It just happened again, it does appear to be every hour or so.

Probably due to this commit:
https://github.com/toggl/toggldesktop/commit/a672bc68bb4ce8c08ed34f261c785b96b2bc9174
So the code doesn't seem to know the different between manually checking for updates (which should display the popup) and automatically checking (which shouldn't popup unless a new version exists).

Yes this was changed. Will look into it.


Adding Tommy to authors list

Coverage remained the same at 99.471% when pulling eecab2b6af8879b9547a2a79736f9520c350c82d on add-tommy-to-authors into b434d94451a1af722c4093e06a19d5ab81b704ca on master.


Dev/transformations

Thanks a lot for the extra review @runenordmo! It's good to also have a review from someone who understands the domain and libraries involved.

Another suggestion is to change the name of the cpp file to something more self-explanatory, e.g. PoseConversions RobotPoseConversions

This sample looks really good now!

I would squash the two remaining commits too, because:

The first commit is broken. We don't want broken commits in the git history (it breaks if people want to investigate old code, breaks git bisect etc.)
It just complicates the history to first do something the wrong way and then do it the right way. Since it hasn't been merged yet, it's better to just introduce the right thing right away.

Wait, it's not actually broken, it's the version that checks both Eigen and OpenCV. Sorry about that, my mistake! The second point still applies though, and you have to rebase on master before merging anyway, so might as well do it then.


[WIP] Test Cases for JMX -> Prom Exporter Regexps

Instructions:
This PR adds test cases to validate the regexps used to translate JMX metrics to Prom consumable format by the JMX->Prom exporter. Ref: https://github.com/prometheus/jmx_exporter.
The test case validates the following:

All meters/gauges/timers defined in ServerMeter.java, ServerGauge.java or ServerTimer.java are exported. This gives use some level of confidence while adding any new metric to code, that it is being exported (we will still need to add a test case for asserting on the different labels, etc).

Existing metrics have the right name and labels.

This is a WIP PR. I have raised it early to get some early feedback.

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

Project coverage is 0.00%. Comparing base (59551e4) to head (86c32bc).
Report is 1131 commits behind head on master.

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (86c32bc). Click for more details.
HEAD has 53 uploads less than BASE

Flag
BASE (59551e4)
HEAD (86c32bc)

integration
7
1

integration2
3
1

temurin
12
1

java-21
7
1

skip-bytebuffers-true
3
0

skip-bytebuffers-false
7
1

unittests
5
0

unittests1
2
0

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #14155       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436        3     -2433
  Lines        133233        6   -133227
  Branches      20636        0    -20636
=============================================
- Hits          82274        0    -82274
+ Misses        44911        6    -44905
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <ø> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <ø> (ø)

java-11
?

java-21
0.00% <ø> (-61.63%)
:arrow_down:

skip-bytebuffers-false
0.00% <ø> (-61.75%)
:arrow_down:

skip-bytebuffers-true
?

temurin
0.00% <ø> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

can we loop over the enums to ensure all the metrics are tested, which is also future proof?

Yes, that's the ideal way to do it. However, exported metric names are not standardised so it's not possible to derive it from the enum names. Further, metrics accept different kind of arguments for labelling. For example, some accept rawTableName, some accept tableNameWithType and some accept clientId (tableNameWithType-partition-topic). Determining these would be on a case-to-case basis.

it won't be able to capture newly added metrics automatically

For this, I have added a check in each test case that basically asserts on the count of metrics exported. For any newly added metric, this check would fail. It's not fool-proof but does provide a basic check.

Where is the agent being added?

@gortiz Explained in the PR.

@Jackie-Jiang We're looping through all the enums now, so this should catch any newly added metrics.


Fixing ELK and custom data publishing issues due to missing fields

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues in the following format: Resolves issue1, issue2, etc.

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Codecov Report

Merging #94 (dc4b1dd) into main (1279c5f) will decrease coverage by 0.25%.
The diff coverage is 0.00%.

Additional details and impacted files

@@             Coverage Diff              @@
##               main      #94      +/-   ##
============================================
- Coverage     42.48%   42.24%   -0.25%
- Complexity      164      165       +1
============================================
  Files            54       54
  Lines          1271     1283      +12
  Branches        116      117       +1
============================================
+ Hits            540      542       +2
- Misses          673      683      +10
  Partials         58       58

Flag
Coverage Δ

unit_tests
42.24% <0.00%> (-0.25%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...tics/publisher/reporter/GenericInputValidator.java
66.66% <ø> (ø)

...ublisher/reporter/cloud/DefaultInputValidator.java
88.88% <ø> (ø)

...orter/cloud/DefaultResponseMetricEventBuilder.java
83.01% <0.00%> (+8.01%)
:arrow_up:

...ytics/publisher/reporter/elk/ELKCounterMetric.java
0.00% <0.00%> (ø)

.../publisher/reporter/elk/ELKMetricEventBuilder.java
0.00% <0.00%> (ø)

...tics/publisher/reporter/elk/ELKMetricReporter.java
0.00% <0.00%> (ø)

...nalytics/publisher/reporter/moesif/EventQueue.java
40.90% <0.00%> (-13.64%)
:arrow_down:


(PUP-10724) Issue a deprecation warning if func3x_check is disabled

The setting will be removed in puppet 7, so deprecate setting it to false in 6.x

CLA signed by all contributors.