ERROR: An exception occurred while executing "benchbot_run"

Hi,When I installed the program and executed "benchbot_run" command.
The following error occurred.
~$ benchbot_run --robot carter_omni --env miniroom:1 --task semantic_slam:passive:ground_truth

################################################################################
################# CHECKING FOR BENCHBOT SOFTWARE STACK UPDATES #################
################################################################################

Checking BenchBot version ...				Up-to-date.
Checking BenchBot API version ...			Up-to-date.
Checking BenchBot Eval version ...			Up-to-date.
Checking BenchBot Supervisor version ...		Up-to-date.
Checking installed BenchBot add-ons are up-to-date ...	Up-to-date.

BenchBot is up-to-date.

################################################################################
###################### CLEANING UP ALL BENCHBOT REMNANTS #######################
################################################################################

Sending stop request to running controller:
{"stop_success":true}

Deleted the following containers:
Total reclaimed space: 0B

Finished cleaning! (use 'benchbot_run -k' for a full clean)

################################################################################
##################### STARTING THE BENCHBOT SOFTWARE STACK #####################
################################################################################

Running the BenchBot system with the following settings:

    Selected task:        semantic_slam:passive:ground_truth
    Task results format:  object_map
    Selected robot:       carter_omni
    Selected environment: miniroom:1
    Scene/s:              miniroom:1, starting @ pose [0.7, 0, 0, -0.7, 1.2, 1.5, 0.3]
                          (map_path = '.sim_data/miniroom_1.usd')
    Simulator required:   Yes (sim_omni)

Creating shared network 'benchbot_network':

Starting persistent container for ROS core:
Skipping (already running)

Starting persistent container for BenchBot Robot Controller (sim_omni):
Skipping (already running)

Starting container for BenchBot Supervisor:
7f1589564ca18af1020a65f1e8e92058aeb3f1d8713aa86eddefaa117818ded4

Starting container for BenchBot Debugging:
d1e6f2eb17d5aa82d63936cf39747199fedc66936cd17844f777473c0eafb263

################################################################################
################### BENCHBOT IS RUNNING (Ctrl^C to exit) ... ###################
################################################################################

Initialising supervisor...

Configuring the supervisor...
Starting a supervisor with the following configuration:

{'environments': [{'_file_path': '/benchbot/addons/benchbot_addons/benchbot-addons/envs_bear_develop_sim_omni/environments/miniroom_1.yaml',
                   'description': 'Mini room environment with all of the base '
                                  'objects in their normal place.\n'
                                  'All of the other mini room environments are '
                                  'based off this with any combination\n'
                                  'of objects, object positions, & lighting '
                                  'changed\n',
                   'map_path': '.sim_data/miniroom_1.usd',
                   'name': 'miniroom',
                   'object_labels': [...],
                   'robots': [...],
                   'start_pose': [...],
                   'trajectory_poses': [...],
                   'type': 'sim_omni',
                   'variant': 1}],
 'results': {'_file_path': '/benchbot/addons/benchbot_addons/benchbot-addons/formats_object_map/formats/object_map.yaml',
             'description': 'The "object map" is a map of the objects in an '
                            'environment. Each object is\n'
                            'represented by a probability distribution '
                            'describing the suggested object\n'
                            "label, and the bounding box's 3D centroid and "
                            'extent. An "object map" also\n'
                            'requires a "class_list", which is used to create '
                            'object label probability\n'
                            'distributions.\n',
             'functions': {'create': 'object_map.create_empty',
                           'create_object': 'object_map.create_empty_object',
                           'validate': 'object_map.validate'},
             'name': 'object_map'},
 'robot': {'_file_path': '/benchbot/addons/benchbot_addons/benchbot-addons/robots_sim_omni/robots/carter_omni.yaml',
           'address': 'http://benchbot_robot:10000',
           'connections': {'image_depth': {...},
                           'image_depth_info': {...},
                           'image_rgb': {...},
                           'image_rgb_info': {...},
                           'laser': {...},
                           'move_angle': {...},
                           'move_distance': {...},
                           'move_next': {...},
                           'poses': {...}},
           'global_frame': 'map',
           'name': 'carter_omni',
           'persistent_cmds': ['/benchbot/benchbot_simulator/run -P 10001 & '
                               'x=$! &&  /isaac-sim/start_nucleus.sh ; sleep 5 '
                               '&& curl -X POST http://localhost:10001/start '
                               '&& wait $x\n',
                               'rosrun benchbot_robot_controller noisify_odom '
                               '\\\n'
                               '  noise_linear:=0.2 noise_angular:=0.1\n'],
           'persistent_status': 'curl -s localhost:10001/started | grep -q '
                                "'true'\n",
           'poses': ['base_link', 'initial_pose', 'camera_left', 'lidar'],
           'robot_frame': 'base_link',
           'run_cmd': 'rostopic pub -1 /odom_start_pose std_msgs/String "data: '
                      '\'$START_POSE\'" && curl -s -o /dev/null '
                      'localhost:10001/open_environment \\\n'
                      '  -H "Content-Type: application/json" \\\n'
                      '  -d \'{"environment": "$ENVS_PATH/$MAP_PATH"}\' &&\n'
                      'curl -s -o /dev/null localhost:10001/place_robot \\\n'
                      '  -H "Content-Type: application/json" \\\n'
                      '  -d \'{"robot": "$ROBOT_PATH/.robot_data/carter.usd", '
                      '"start_pose": "$START_POSE"}\'\n',
           'stop_cmd': 'curl -s -o /dev/null -X POST '
                       'localhost:10001/stop_sim\n',
           'type': 'sim_omni'},
 'task': {'_file_path': '/benchbot/addons/benchbot_addons/benchbot-addons/tasks_ssu/tasks/sslam_pgt.yaml',
          'actions': ['move_next'],
          'description': 'Use a Semantic SLAM algorithm to construct an object '
                         'map of the environment. An object map describes each '
                         'object with a probabilistic label suggestion, '
                         'spatial location, and optional probabilistic state '
                         'change suggestion. This task provides passive robot '
                         'control, and sensor observations with ground truth '
                         'robot pose.\n',
          'localisation': 'ground_truth',
          'name': 'semantic_slam:passive:ground_truth',
          'observations': ['image_depth',
                           'image_depth_info',
                           'image_rgb',
                           'image_rgb_info',
                           'laser',
                           'poses'],
          'results_format': 'object_map',
          'scene_count': 1,
          'type': 'sim_unreal'}}

Supervisor is now available @ 'http://<IP_ADDRESS>:10000' ...

Waiting until a robot controller is found @ 'http://benchbot_robot:10000' ...
	Found
Sending environment data & robot config to controller ...
	Ready
Starting the robot controller ...
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/models.py", line 910, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.6/dist-packages/benchbot_supervisor/__main__.py", line 28, in <module>
    s.run()
  File "/usr/local/lib/python3.6/dist-packages/benchbot_supervisor/benchbot_supervisor.py", line 238, in run
    self._robot('/prepare')
  File "/usr/local/lib/python3.6/dist-packages/benchbot_supervisor/benchbot_supervisor.py", line 71, in _robot
    'json': data
  File "/usr/local/lib/python3.6/dist-packages/requests/models.py", line 917, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: [Errno Expecting value] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>500 Internal Server Error</title>

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

: 0

################################################################################
###################### CLEANING UP ALL BENCHBOT REMNANTS #######################
################################################################################

Sending stop request to running controller:
{"stop_success":true}

Stopped the following containers:
d1e6f2eb17d5

Deleted the following containers:
Deleted Containers:
d1e6f2eb17d5aa82d63936cf39747199fedc66936cd17844f777473c0eafb263
7f1589564ca18af1020a65f1e8e92058aeb3f1d8713aa86eddefaa117818ded4

Total reclaimed space: 189.2kB

Finished cleaning! (use 'benchbot_run -k' for a full clean)

Thanks for reporting @ffgao .
Have you got more context of what was going on when this happened:

had the simulator window popped up?
was this the first run since you installed? Or had previous runs worked on your system?
does this error occur every time you do benchbot_run?
anything interesting about your system setup? Are you running remotely? SSH'ed in? Or sitting directly at the machine?

Struggling to reproduce this locally, so any extra information you may have is helpful.

Thank you for your help @btalb
More information is below:

no simulator window.
first install and do this every time
Running locally
I installed isaac sim 2022 at host

Below is a running record:

And then it was wrong

Hmmm.... sorry about the delay @ffgao , I'm struggling to immediately see what could be causing this (and can't reproduce locally).
I might need a bit deeper in terms of logging:

Can you uncomment this line in your install so benchbot_run doesn't exit immediately after the error: https://github.com/qcr/benchbot/blob/12daa9335e391b10170d372cdfad24df12d0e320/bin/benchbot_run#L398
then send me the entire output of docker logs benchbot_robot_controller

You may have to do a benchbot_run -k to clean up after this.

No benchbot_robot_controller in the list of container.@btalb
The following is my operation.
docker ps CONTAINER ID   IMAGE                         COMMAND                  CREATED          STATUS          PORTS                                                                                NAMES 372aaf8feeb4   benchbot/backend:base         "/bin/bash"              16 minutes ago   Up 16 minutes                                                                                benchbot_debug c555e44fb73c   benchbot/simulator:sim_omni   "/bin/bash -c 'sourc…"   16 minutes ago   Up 16 minutes   3007/tcp, 3009/tcp, 3080/tcp, 3085/tcp, 3333/tcp, 8011-8012/tcp, 8080/tcp, 8211/tcp, 8888/tcp, 8891/tcp, 8899/tcp, 47995-48012/tcp, 47995-48012/udp, 49000-49007/tcp, 49100/tcp, 49000-49007/udp   benchbot_robot 40f0281b23a5   benchbot/backend:base         "/bin/bash -c 'sourc…"   16 minutes ago   Up 16 minutes                                                                                benchbot_ros

Apologies that we have been so slow in fixing problems.
I have also come across this when trying to verify a fix for #82.
 Would you be able to send through what you receive so I can confirm it is the same as what I have been getting?

While current solution is not pretty I have put a hotfix in place that seems to solve this issue for me. A fresh benchbot_install on the main branch should sort this out.
Worse case scenario I have found with the hotfix is that the first benchbot_run seems to fail but all subsequent ones succeed.
I will work to fix this bug but will open a new issue regarding this.
Can you confirm that this fixes the issues you originally encountered?

Local testing seemed to show this issue as fixed. Closing due to inactivity


remove the task attempt id from earlier failed map

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
90
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1
mvninstall
1274
trunk passed

+1
compile
35
trunk passed

+1
checkstyle
23
trunk passed

+1
mvnsite
38
trunk passed

+1
shadedclient
767
branch has no errors when building and testing our client artifacts.

+1
javadoc
24
trunk passed

0
spotbugs
62
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
59
trunk passed

_ Patch Compile Tests _

+1
mvninstall
32
the patch passed

+1
compile
30
the patch passed

+1
javac
30
the patch passed

-0
checkstyle
18
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app: The patch generated 32 new + 81 unchanged - 0 fixed = 113 total (was 81)

+1
mvnsite
33
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
826
patch has no errors when building and testing our client artifacts.

+1
javadoc
22
the patch passed

+1
findbugs
67
the patch passed

_ Other Tests _

+1
unit
608
hadoop-mapreduce-client-app in the patch passed.

+1
asflicense
30
The patch does not generate ASF License warnings.

4062

Subsystem
Report/Notes

Docker
Client=18.09.7 Server=18.09.7 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-456/1/artifact/out/Dockerfile

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

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

uname
Linux 9499236b647e 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / cd967c7

Default Java
1.8.0_212

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/1/artifact/out/diff-checkstyle-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-app.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/1/testReport/

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

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app U: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/1/console

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

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
44
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1
mvninstall
1058
trunk passed

+1
compile
31
trunk passed

+1
checkstyle
23
trunk passed

+1
mvnsite
35
trunk passed

+1
shadedclient
686
branch has no errors when building and testing our client artifacts.

+1
javadoc
21
trunk passed

0
spotbugs
56
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
55
trunk passed

_ Patch Compile Tests _

+1
mvninstall
29
the patch passed

+1
compile
28
the patch passed

+1
javac
28
the patch passed

-0
checkstyle
18
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app: The patch generated 32 new + 81 unchanged - 0 fixed = 113 total (was 81)

+1
mvnsite
30
the patch passed

+1
whitespace
1
The patch has no whitespace issues.

+1
shadedclient
744
patch has no errors when building and testing our client artifacts.

+1
javadoc
18
the patch passed

+1
findbugs
68
the patch passed

_ Other Tests _

-1
unit
579
hadoop-mapreduce-client-app in the patch failed.

+1
asflicense
29
The patch does not generate ASF License warnings.

3575

Reason
Tests

Failed junit tests
hadoop.mapreduce.v2.app.TestFail

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-456/2/artifact/out/Dockerfile

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

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

uname
Linux 8bbe770f49e6 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / c7c7a88

Default Java
1.8.0_212

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/2/artifact/out/diff-checkstyle-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-app.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/2/artifact/out/patch-unit-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-app.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/2/testReport/

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

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app U: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/2/console

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

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
50
Docker mode activated.

_ Prechecks _

+1
dupname
1
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1
mvninstall
1029
trunk passed

+1
compile
30
trunk passed

+1
checkstyle
20
trunk passed

+1
mvnsite
38
trunk passed

+1
shadedclient
677
branch has no errors when building and testing our client artifacts.

+1
javadoc
20
trunk passed

0
spotbugs
56
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
55
trunk passed

_ Patch Compile Tests _

+1
mvninstall
30
the patch passed

+1
compile
28
the patch passed

+1
javac
28
the patch passed

-0
checkstyle
16
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app: The patch generated 32 new + 81 unchanged - 0 fixed = 113 total (was 81)

+1
mvnsite
30
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
681
patch has no errors when building and testing our client artifacts.

+1
javadoc
16
the patch passed

+1
findbugs
72
the patch passed

_ Other Tests _

-1
unit
570
hadoop-mapreduce-client-app in the patch failed.

+1
asflicense
28
The patch does not generate ASF License warnings.

3462

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-456/3/artifact/out/Dockerfile

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

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

uname
Linux 0785a903e8b2 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / c2d00c8

Default Java
1.8.0_212

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/3/artifact/out/diff-checkstyle-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-app.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/3/artifact/out/patch-unit-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-app.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/3/testReport/

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

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app U: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/3/console

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

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
45
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1
mvninstall
1111
trunk passed

+1
compile
29
trunk passed

+1
checkstyle
22
trunk passed

+1
mvnsite
29
trunk passed

+1
shadedclient
672
branch has no errors when building and testing our client artifacts.

+1
javadoc
20
trunk passed

0
spotbugs
54
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
53
trunk passed

_ Patch Compile Tests _

+1
mvninstall
34
the patch passed

+1
compile
22
the patch passed

+1
javac
22
the patch passed

-0
checkstyle
17
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app: The patch generated 32 new + 81 unchanged - 0 fixed = 113 total (was 81)

+1
mvnsite
22
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
732
patch has no errors when building and testing our client artifacts.

+1
javadoc
21
the patch passed

+1
findbugs
54
the patch passed

_ Other Tests _

-1
unit
563
hadoop-mapreduce-client-app in the patch failed.

+1
asflicense
25
The patch does not generate ASF License warnings.

3554

Reason
Tests

Failed junit tests
hadoop.mapreduce.v2.app.webapp.TestAMWebServices

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-456/4/artifact/out/Dockerfile

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

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

uname
Linux d4400b710d6d 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / b0131bc

Default Java
1.8.0_212

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/4/artifact/out/diff-checkstyle-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-app.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/4/artifact/out/patch-unit-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-app.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/4/testReport/

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

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app U: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/4/console

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

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
42
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1
mvninstall
1034
trunk passed

+1
compile
25
trunk passed

+1
checkstyle
19
trunk passed

+1
mvnsite
28
trunk passed

+1
shadedclient
688
branch has no errors when building and testing our client artifacts.

+1
javadoc
21
trunk passed

0
spotbugs
53
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
50
trunk passed

_ Patch Compile Tests _

+1
mvninstall
29
the patch passed

+1
compile
23
the patch passed

+1
javac
23
the patch passed

-0
checkstyle
17
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app: The patch generated 32 new + 81 unchanged - 0 fixed = 113 total (was 81)

+1
mvnsite
26
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
690
patch has no errors when building and testing our client artifacts.

+1
javadoc
18
the patch passed

+1
findbugs
53
the patch passed

_ Other Tests _

+1
unit
577
hadoop-mapreduce-client-app in the patch passed.

+1
asflicense
24
The patch does not generate ASF License warnings.

3439

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-456/5/artifact/out/Dockerfile

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

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

uname
Linux 1f2e81d29023 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / e356e4f

Default Java
1.8.0_222

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/5/artifact/out/diff-checkstyle-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-app.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/5/testReport/

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

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app U: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/5/console

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

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
87
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1
mvninstall
1248
trunk passed

+1
compile
28
trunk passed

+1
checkstyle
22
trunk passed

+1
mvnsite
30
trunk passed

+1
shadedclient
795
branch has no errors when building and testing our client artifacts.

+1
javadoc
27
trunk passed

0
spotbugs
61
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
58
trunk passed

_ Patch Compile Tests _

+1
mvninstall
35
the patch passed

+1
compile
27
the patch passed

+1
javac
27
the patch passed

-0
checkstyle
20
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app: The patch generated 32 new + 81 unchanged - 0 fixed = 113 total (was 81)

+1
mvnsite
32
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
908
patch has no errors when building and testing our client artifacts.

+1
javadoc
23
the patch passed

+1
findbugs
63
the patch passed

_ Other Tests _

-1
unit
607
hadoop-mapreduce-client-app in the patch failed.

+1
asflicense
33
The patch does not generate ASF License warnings.

4143

Reason
Tests

Failed junit tests
hadoop.mapreduce.v2.app.TestMRApp

Subsystem
Report/Notes

Docker
Client=19.03.0 Server=19.03.0 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-456/6/artifact/out/Dockerfile

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

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

uname
Linux 522f4f7bfe66 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 094d736

Default Java
1.8.0_212

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/6/artifact/out/diff-checkstyle-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-app.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/6/artifact/out/patch-unit-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-app.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/6/testReport/

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

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app U: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/6/console

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

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
42
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1
mvninstall
1076
trunk passed

+1
compile
24
trunk passed

+1
checkstyle
18
trunk passed

+1
mvnsite
28
trunk passed

+1
shadedclient
687
branch has no errors when building and testing our client artifacts.

+1
javadoc
23
trunk passed

0
spotbugs
53
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
52
trunk passed

_ Patch Compile Tests _

+1
mvninstall
35
the patch passed

+1
compile
25
the patch passed

+1
javac
25
the patch passed

-0
checkstyle
19
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app: The patch generated 32 new + 81 unchanged - 0 fixed = 113 total (was 81)

+1
mvnsite
27
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
715
patch has no errors when building and testing our client artifacts.

+1
javadoc
20
the patch passed

+1
findbugs
58
the patch passed

_ Other Tests _

+1
unit
591
hadoop-mapreduce-client-app in the patch passed.

+1
asflicense
27
The patch does not generate ASF License warnings.

3541

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-456/7/artifact/out/Dockerfile

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

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

uname
Linux d49bf7cdb260 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 69ddb36

Default Java
1.8.0_222

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/7/artifact/out/diff-checkstyle-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-app.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/7/testReport/

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

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app U: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/7/console

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

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
34
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1
mvninstall
1222
trunk passed

+1
compile
32
trunk passed

+1
checkstyle
22
trunk passed

+1
mvnsite
32
trunk passed

+1
shadedclient
791
branch has no errors when building and testing our client artifacts.

+1
javadoc
26
trunk passed

0
spotbugs
57
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
54
trunk passed

_ Patch Compile Tests _

+1
mvninstall
29
the patch passed

+1
compile
23
the patch passed

+1
javac
23
the patch passed

-0
checkstyle
17
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app: The patch generated 32 new + 81 unchanged - 0 fixed = 113 total (was 81)

+1
mvnsite
27
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
825
patch has no errors when building and testing our client artifacts.

+1
javadoc
19
the patch passed

+1
findbugs
60
the patch passed

_ Other Tests _

+1
unit
607
hadoop-mapreduce-client-app in the patch passed.

+1
asflicense
29
The patch does not generate ASF License warnings.

3926

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-456/8/artifact/out/Dockerfile

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

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

uname
Linux ecaef5838fcb 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 3329257

Default Java
1.8.0_222

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/8/artifact/out/diff-checkstyle-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-app.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/8/testReport/

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

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app U: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/8/console

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

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
44
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1
mvninstall
1093
trunk passed

+1
compile
31
trunk passed

+1
checkstyle
27
trunk passed

+1
mvnsite
33
trunk passed

+1
shadedclient
797
branch has no errors when building and testing our client artifacts.

+1
javadoc
27
trunk passed

0
spotbugs
58
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
55
trunk passed

_ Patch Compile Tests _

+1
mvninstall
35
the patch passed

+1
compile
27
the patch passed

+1
javac
27
the patch passed

-0
checkstyle
24
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app: The patch generated 32 new + 81 unchanged - 0 fixed = 113 total (was 81)

+1
mvnsite
29
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
779
patch has no errors when building and testing our client artifacts.

+1
javadoc
23
the patch passed

+1
findbugs
62
the patch passed

_ Other Tests _

+1
unit
608
hadoop-mapreduce-client-app in the patch passed.

+1
asflicense
32
The patch does not generate ASF License warnings.

3820

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-456/9/artifact/out/Dockerfile

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

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

uname
Linux 6081a28e3513 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
personality/hadoop.sh

git revision
trunk / 915cbc9

Default Java
1.8.0_222

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/9/artifact/out/diff-checkstyle-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-app.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/9/testReport/

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

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app U: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-456/9/console

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

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.


Fix parent directories not included in tar

Actually fixes #1723

Codecov Report

Merging #1925 into master will decrease coverage by 0.06%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1925      +/-   ##
==========================================
- Coverage   47.26%   47.19%   -0.07%
==========================================
  Files          91       91
  Lines        8962     8964       +2
==========================================
- Hits         4236     4231       -5
- Misses       4028     4033       +5
- Partials      698      700       +2

Flag
Coverage Δ

#linux
50.54% <0%> (-0.03%)
:arrow_down:

#windows
42.02% <0%> (-0.06%)
:arrow_down:

Impacted Files
Coverage Δ

archive/tar.go
43.25% <0%> (-0.74%)
:arrow_down:

content/local/store.go
50% <0%> (-0.8%)
: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 afbbe43...d4317a1. Read the comment docs.

LGTM

This PR breaks the differ in almost all real-world cases, for example, try diffing anything on top of alpine.  An error will be produced in https://github.com/containerd/containerd/blob/maaster/archive/tar.go#L391 because "unmodified" events are generated for paths that don't exist.  Based on a quick look the bug is possibly the comparison in https://github.com/containerd/containerd/blob/a921fb65ad68885ad40222e140e3bc3de408c361/fs/diff.go#L347 that doesn't use the right variable(next).
I also found that with the last containerd vendor(from 1.0.0 to master) the diffs contain much more files(even with the commonParents fix) and containers that don't create files don't produce empty diffs but haven't determined if this is related to this PR.

@tonistiigi let's put that in a separate issue and sync up on the best way to fix the original issue and the other diff related oddities in one fix.  I am not opposed to implementing your originally proposed solution, but I also want to understand how the unmodified entries are causing issues on calls to diff.


merge metadata from various sources describing the same resource

Considering 2 documents are identified as describing the same resource
An example is a record harvested from Bonares, also included via cordis-doi-openaire.
How can both metadata sets be merged to a single set

Either go to source, to retrieve latest
Or start with one, for each property add if not exist or if is different

DoD

[ ] 2 documents as identified as duplicate are merged to a single record in the frontend
[ ] the record indicates that the record originates from 2 catalogues

@hugodegrootwurnl , have the following aspects already been finalized?

[ ]  2 documents as identified as duplicate are merged to a single record in the frontend
[ ] the record indicates that the record originates from 2 catalogues

Needs to be split into different tasks


Separate "Privacy, search, and services" Edge Settings in regular articles

Merge this PR at same time as PR https://github.com/MicrosoftDocs/DocsLegal-pr/pull/1648 (Separate "Privacy, search, and services" Edge Settings into "Privacy and security" & "Search and services") in Legal repo.
Rendered articles for review:

tracking-prevention.md

https://review.learn.microsoft.com/microsoft-edge/web-platform/tracking-prevention?branch=pr-en-us-3254#levels-of-tracking-prevention - shows "Privacy and security" 3x.
Before/Live - shows "edge://settings/privacy" 3x.

data-privacy.md

https://review.learn.microsoft.com/microsoft-edge/webview2/concepts/data-privacy?branch=pr-en-us-3254#smartscreen - shows "Privacy and security".
Before/Live - shows "edge://settings/privacy".

Microsoft Edge > Settings and more > Settings > Privacy, search, and services is possibly getting split into two sections:

Privacy and security
Search and services

That change impacts the Microsoft Edge Privacy Whitepaper, which mentions the old combined section, and mentions "edge://settings/privacy" 36 times.  Two other articles also mention "edge://settings/privacy".  Privacy article was moved to Legal repo.
This PR was created by copying changes from the Closed Without Merging PR https://github.com/MicrosoftDocs/edge-developer/pull/3127 (Separate "Privacy, search, and services" into "Privacy and security" & "Search and services") but not for the Privacy article; only for two regular articles.

Closing Without Merging.


Android studio cannot run emulator (AVD)

I don't know why this is, have tried setting _JAVA_AWT_WM_NONPARENTING=1 in hyprland.conf
https://github.com/hyprwm/Hyprland/assets/40895148/576da3a3-e40c-4518-81cf-b50e572703bb
https://github.com/hyprwm/Hyprland/assets/40895148/4d154172-7e71-47d6-9da0-7ec14ae7976a

just add this line in hyprland conf file:
env = QT_QPA_PLATFORM,wayland;xcb


IP Address - Detection

The version number in the package name is getting considered as IP address
This causes a lot of false positives with the data set we are trying to use.
To Reproduce
Steps to reproduce the behavior:

In the log, please add a log with version number
Example - MongoDB v4.4.2
Run Stringlifier
In the output, it shows MongoDB v< IP_ADDR>

This bugfix will take a little bit longer. We generate the training data on the fly and we must retrain everything after we include new types of examples. I will keep you updated.

Sure, that helps.

Closing this issue as this one is fixed.


[EPIC] Upgrade to FlowManager

Currently, specstore is used to, keep simple metadata about flow - such as owner, dataset name, spec content, and creation/update time.  We'd like specstore to be smarter and actually manage whole flow process. We'd like it to keep more information, such as exact flow states,  flow revisions, pipelines and their dependencies.
Acceptance criteria

[x] has it's own DB Models, instead of SourceSpecRegistry taking care of it
[x] One flow is run exactly ones
[x] pipeline dependencies are monitored from flow-manager

Tasks

[x] Create models

Dataset, Dataset-Revision, Pipelines

[x] Actions

create/update
pipeline status update

[x] serve endpoint source/update

[x] controler for updae

[x] tests
[x] rename specstore -> flowmanager in files

Analysis
DB Models
Dataset == flow-spec:

identifier (unique per owner)
owner
a spec
last update time

Dataset-Revision == flow:

dataset==(owner, dataset-identifier)
revision (number, monotonically increasing)
creation time
status
errors
...

Pipelines

pipeline identifier
flow identifier==(dataset, revision)
pipeline datails==(dependencies, steps)
status
errors
last update time
...

Actions
on data push:

create new dataset if needed
create new revision for dataset
use planner for dataset, get list of pipelines

prefix with dataset-name/revision-id/

store new revision
store pipelines in pipelines-db

on pipeline status update (webhook):

update pipeline status in db
update flow status in db accordingly:

all success -> flow success
one failed -> flow failed
one pending -> flow pending

on flow success, delete all its pipelines from pipelines-db

FIXED in 65bd525


Integration with @ngrx/router

What's your idea?
Let's investigate if it would make sense to integrate with @ngrx/router. A possible solution could be using our RouterAdapter infrastructure to pull state from the store and push state by dispatching actions. This would probably be done as a separate package (@ngqp/ngrx-router-adapter).
I have no experience with @ngrx/router, so this is highly theoretical and needs to be checked for feasability.

Hello @Airblader, do you have some news for this?

I haven't worked with ngrx router yet so unfortunately no, there's no progress. I still think the idea of using a custom router adapter in ngqp might work*, and is something that can probably be prototyped fairly easily to see whether it's feasible.
*) The API here is still a bit opionated towards Angular router by using its types, but that should be easy to work around.


Prepare release 0.2.12

Increase helm to version 0.2.12
Increase image version to 0.2.0-M9-multi-tenancy

Let's wait for the image build.


Merge tests defined in extensions

Merge the XCTests and swift-testing tests defined in extensions into their parent TestItems.
This is done as another pass after the TestScanner visitors have walked the tree.
Fixes #1218

@ahoppen this is a pretty naive first pass at a solution. It does outline the expected behaviour with some new tests, which should be helpful going forward.

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test Windows

@swift-ci Please test Windows


Error in atexit._run_exitfuncs and ERROR: Unauthorized 401

Hi
I am trying to run the Z->\mu\mu full analysis example on lxplus7 but I get error messages.
Executing runner.py --cfg example_config.py --test  -o output_test, I get
(myenv) Singularity> runner.py --cfg example_config.py --test  -o output_test
Loading the configuration file...
Traceback (most recent call last):
  File "/afs/cern.ch/user/i/iszanyi/PocketCoffea/myenv/bin/runner.py", line 33, in <module>
    sys.exit(load_entry_point('pocket-coffea', 'console_scripts', 'runner.py')())
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/afs/cern.ch/user/i/iszanyi/PocketCoffea/pocket_coffea/scripts/runner.py", line 74, in run
    config = load_config(cfg, outputdir)
  File "/afs/cern.ch/user/i/iszanyi/PocketCoffea/pocket_coffea/scripts/runner.py", line 23, in load_config
    config_module =  utils.path_import(cfg)
  File "/afs/cern.ch/user/i/iszanyi/PocketCoffea/pocket_coffea/utils/utils.py", line 27, in path_import
    raise Exception(f"Module path {absolute_path} not found!")
Exception: Module path example_config.py not found!
(myenv) Singularity> cd AnalysisConfigs/configs/zmumu/
(myenv) Singularity> runner.py --cfg example_config.py --test  -o output_test
Loading the configuration file...
[INFO    ] Configurator instance:
  - Workflow: <class 'workflow.ZmumuBaseProcessor'>
  - Workflow options: {}
  - N. datasets: 5
   -- Dataset: DATA_SingleMuon_2018_EraA,  Sample: DATA_SingleMuon, N. files: 92, N. events: 241608232
   -- Dataset: DATA_SingleMuon_2018_EraB,  Sample: DATA_SingleMuon, N. files: 51, N. events: 119918017
   -- Dataset: DATA_SingleMuon_2018_EraC,  Sample: DATA_SingleMuon, N. files: 56, N. events: 109986009
   -- Dataset: DATA_SingleMuon_2018_EraD,  Sample: DATA_SingleMuon, N. files: 194, N. events: 513909894
   -- Dataset: DYJetsToLL_M-50_2018,  Sample: DYJetsToLL, N. files: 204, N. events: 195510810
  - Subsamples:
   -- Sample DATA_SingleMuon: StandardSelection ['DATA_SingleMuon'], (1 categories)
   -- Sample DYJetsToLL: StandardSelection ['DYJetsToLL'], (1 categories)
  - Skim: ['nMuon_min1_pt18.0', 'HLT_trigger_SingleMuon']
  - Preselection: ['dilepton']
  - Categories: StandardSelection ['baseline'], (1 categories)
  - Variables:  ['MuonGood_eta_1', 'MuonGood_pt_1', 'MuonGood_phi_1', 'nElectronGood',
'nMuonGood', 'nJets', 'nBJets', 'JetGood_eta_1', 'JetGood_pt_1',
'JetGood_phi_1', 'JetGood_btagDeepFlavB_1', 'JetGood_btagDeepFlavCvL_1',
'JetGood_btagDeepFlavCvB_1', 'JetGood_eta_2', 'JetGood_pt_2', 'JetGood_phi_2',
'JetGood_btagDeepFlavB_2', 'JetGood_btagDeepFlavCvL_2',
'JetGood_btagDeepFlavCvB_2', 'mll']
  - Columns: {'DATA_SingleMuon': {'baseline': []}, 'DYJetsToLL': {'baseline': []}}
  - available weights variations: {'DATA_SingleMuon': ['pileup', 'sf_mu_id', 'nominal', 'sf_mu_iso'],
'DYJetsToLL': ['pileup', 'sf_mu_id', 'nominal', 'sf_mu_iso']}
  - available shape variations: {'DATA_SingleMuon': [], 'DYJetsToLL': []}
Saving config file to output_test/config.json
Running with executor iterative None
Working on sample: DATA_SingleMuon_2018_EraA
[INFO    ] Working on sample: DATA_SingleMuon_2018_EraA
Preprocessing 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2/2 [ 0:00:04 < 0:00:00 | 0.5 file/s ]
Processing 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2/2 [ 0:00:17 < 0:00:00 | 0.1 chunk/s ]
Saving output to output_test/output_DATA_SingleMuon_2018_EraA.coffea
Working on sample: DATA_SingleMuon_2018_EraB
[INFO    ] Working on sample: DATA_SingleMuon_2018_EraB
Preprocessing 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2/2 [ 0:00:03 < 0:00:00 | 0.8 file/s ]
Processing 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2/2 [ 0:00:12 < 0:00:00 | 0.2 chunk/s ]
Saving output to output_test/output_DATA_SingleMuon_2018_EraB.coffea
Working on sample: DATA_SingleMuon_2018_EraC
[INFO    ] Working on sample: DATA_SingleMuon_2018_EraC
Preprocessing 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2/2 [ 0:00:03 < 0:00:00 | 0.7 file/s ]
Processing 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2/2 [ 0:00:17 < 0:00:00 | 0.1 chunk/s ]
Saving output to output_test/output_DATA_SingleMuon_2018_EraC.coffea
Working on sample: DATA_SingleMuon_2018_EraD
[INFO    ] Working on sample: DATA_SingleMuon_2018_EraD
Preprocessing 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2/2 [ 0:00:03 < 0:00:00 | 0.6 file/s ]
Processing 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2/2 [ 0:00:14 < 0:00:00 | 0.1 chunk/s ]
Saving output to output_test/output_DATA_SingleMuon_2018_EraD.coffea
Working on sample: DYJetsToLL_M-50_2018
[INFO    ] Working on sample: DYJetsToLL_M-50_2018
Preprocessing 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2/2 [ 0:00:02 < 0:00:00 | 0.6 file/s ]
Processing 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2/2 [ 0:00:12 < 0:00:00 | 0.2 chunk/s ]
Saving output to output_test/output_DYJetsToLL_M-50_2018.coffea
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/XRootD/client/finalize.py", line 45, in finalize
    if isinstance(obj, File) and obj.is_open():
ReferenceError: weakly-referenced object no longer exists

Then executing runner.py --cfg example_config.py  --full --executor dask@lxplus --run-options custom_run_options.yaml  -o output_dask , I get
[ERROR   ] Task exception was never retrieved
future: <Task finished name='Task-8797' coro=<_wrap_awaitable() done, defined at /usr/local/lib/python3.8/asyncio/tasks.py:688> exception=RuntimeError('Command exited with non-zero exit code.\nExit code: 1\nCommand:\ncondor_submit /tmp/iszanyi/tmp629ryyay.sh\nstdout:\n\nstderr:\n2024/05/20 01:32:51 ERROR: Unauthorized 401 - do you have authentication tokens?\nError "/usr/bin/myschedd.sh |": command terminated with exit code 256\nConfiguration Error Line 0 while reading config source /usr/bin/myschedd.sh |\n\n')>
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/asyncio/tasks.py", line 695, in _wrap_awaitable
    return (yield from awaitable.__await__())
  File "/usr/local/lib/python3.8/site-packages/distributed/deploy/spec.py", line 59, in _
    await self.start()
  File "/usr/local/lib/python3.8/site-packages/dask_jobqueue/core.py", line 325, in start
    out = await self._submit_job(fn)
  File "/usr/local/lib/python3.8/site-packages/dask_jobqueue/core.py", line 308, in _submit_job
    return self._call(shlex.split(self.submit_command) + [script_filename])
  File "/usr/local/lib/python3.8/site-packages/dask_jobqueue/core.py", line 403, in _call
    raise RuntimeError(
RuntimeError: Command exited with non-zero exit code.
Exit code: 1
Command:
condor_submit /tmp/iszanyi/tmp629ryyay.sh
stdout:

stderr:
2024/05/20 01:32:51 ERROR: Unauthorized 401 - do you have authentication tokens?
Error "/usr/bin/myschedd.sh |": command terminated with exit code 256
Configuration Error Line 0 while reading config source /usr/bin/myschedd.sh |

[ERROR   ] Task exception was never retrieved
future: <Task finished name='Task-8795' coro=<_wrap_awaitable() done, defined at /usr/local/lib/python3.8/asyncio/tasks.py:688> exception=RuntimeError('Command exited with non-zero exit code.\nExit code: 1\nCommand:\ncondor_submit /tmp/iszanyi/tmpfnark_ah.sh\nstdout:\n\nstderr:\n2024/05/20 01:32:51 ERROR: Unauthorized 401 - do you have authentication tokens?\nError "/usr/bin/myschedd.sh |": command terminated with exit code 256\nConfiguration Error Line 0 while reading config source /usr/bin/myschedd.sh |\n\n')>
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/asyncio/tasks.py", line 695, in _wrap_awaitable
    return (yield from awaitable.__await__())
  File "/usr/local/lib/python3.8/site-packages/distributed/deploy/spec.py", line 59, in _
    await self.start()
  File "/usr/local/lib/python3.8/site-packages/dask_jobqueue/core.py", line 325, in start
    out = await self._submit_job(fn)
  File "/usr/local/lib/python3.8/site-packages/dask_jobqueue/core.py", line 308, in _submit_job
    return self._call(shlex.split(self.submit_command) + [script_filename])
  File "/usr/local/lib/python3.8/site-packages/dask_jobqueue/core.py", line 403, in _call
    raise RuntimeError(
RuntimeError: Command exited with non-zero exit code.
Exit code: 1
Command:
condor_submit /tmp/iszanyi/tmpfnark_ah.sh
stdout:

stderr:
2024/05/20 01:32:51 ERROR: Unauthorized 401 - do you have authentication tokens?
Error "/usr/bin/myschedd.sh |": command terminated with exit code 256
Configuration Error Line 0 while reading config source /usr/bin/myschedd.sh |

What could be the problem?
Thanks in advance.
Best regards,
Istvan

Hi! Can you please try with lxplus9 and with this command?
apptainer shell -B /afs -B /cvmfs/cms.cern.ch \
                -B /tmp  -B /eos/cms/  -B /etc/sysconfig/ngbauth-submit \
                -B ${XDG_RUNTIME_DIR}  --env KRB5CCNAME="FILE:${XDG_RUNTIME_DIR}/krb5cc"
    /cvmfs/unpacked.cern.ch/gitlab-registry.cern.ch/cms-analysis/general/pocketcoffea:lxplus-cc7-stable

https://pocketcoffea.readthedocs.io/en/latest/installation.html#using-apptainer-to-run-the-analysis
The error is related to missing certificates to connect to condor in the apptainer image.

Sorry I meant to try the latest image:
apptainer shell -B /afs -B /cvmfs/cms.cern.ch \
                -B /tmp  -B /eos/cms/  -B /etc/sysconfig/ngbauth-submit \
                -B ${XDG_RUNTIME_DIR}  --env KRB5CCNAME="FILE:${XDG_RUNTIME_DIR}/krb5cc"
    /cvmfs/unpacked.cern.ch/gitlab-registry.cern.ch/cms-analysis/general/pocketcoffea:lxplus-cc7-latest

The stable version will move to the latest today.

I just checked and the processing was fine for me.
Can you please list exactly your commands or contact me on mattermost?

Resolved after changing lxplus machine. The apptainer image was not able to contact condor.


Question about running original_dst serving traffic from different docker containers

hello! I'm trying to implement an outbound transparent proxy with envoy, running in a different container from the application which sends the traffic to be proxied.
I'm using this configuration:
  "listeners": [
    {
      "address": "tcp://<IP_ADDRESS>:80",
      "bind_to_port": false,
      "filters": [
        {
          "type": "read",
          "name": "http_connection_manager",
          "config": {
            "access_log": [
                {
                "path": "/tmp/envoy.log"
                }
            ],
            "codec_type": "auto",
            "stat_prefix": "forward_http",
            "route_config": {
              "virtual_hosts": [
                {
                  "name": "default_http",
                  "domains": ["*"],
                  "routes": [
                    {
                      "timeout_ms": 0,
                      "prefix": "/",
                      "cluster": "outbound_forward_proxy_http"
                    }
                  ]
                }
              ]
            },
            "filters": [
              {
                "type": "decoder",
                "name": "router",
                "config": {}
              }
            ]
          }
        }
      ]
    },
    {
        "address": "tcp://<IP_ADDRESS>:15001",
        "filters": [],
        "bind_to_port": true,
        "use_original_dst": true
    }
  ],
  "admin": {
    "access_log_path": "/tmp/access_log",
    "address": "tcp://<IP_ADDRESS>:8001"
  },
  "cluster_manager": {
      "clusters": [
          {
              "name": "outbound_forward_proxy_http",
              "connect_timeout_ms": 2500,
              "type": "original_dst",
              "lb_type": "original_dst_lb"
          }
    ]
  }
}

This is an docker-compose example yaml:
version: '2'
services:
  envoy:
    build:
      context: ./envoy
      dockerfile: Dockerfile-envoy
    cap_add:
      - NET_ADMIN
    ports:
      - "80:80"
    expose:
      - "80"
  application:
    build:
      context: ./api
      dockerfile: Dockerfile-api
    cap_add:
      - NET_ADMIN

I use IPTABLES in order to redirect all the traffic outgoing from application to envoy.  If I use locally (the http requester application and envoy are in the same container) it works like a charm.
In the other hand, if I run envoy in a different container, I receive this message from envoy when I redirect the application requests:
upstream connect error or disconnect/reset before headers.
The request arrives to envoy ( I can see in the access_log).
My IPTABLES rules in envoy:
iptables -t nat -N ISTIO_REDIRECT
iptables -t nat -A ISTIO_REDIRECT -p tcp -j REDIRECT --to-port $ENVOY_PORT
iptables -t nat -A PREROUTING -j ISTIO_REDIRECT

iptables -t nat -N ISTIO_OUTPUT
iptables -t nat -A OUTPUT -p tcp -j ISTIO_OUTPUT
iptables -t nat -A ISTIO_OUTPUT -m owner --uid-owner ${ENVOY_UID} -j RETURN
iptables -t nat -A ISTIO_OUTPUT -j ISTIO_REDIRECT.

In application:
iptables -t nat -I OUTPUT -p tcp --dport 80 -j DNAT --to-destination $ENVOY_IP:80
Could you give me an advice on how can I configure envoy as a transparent proxy running in another container?
Thanks in advance!

I'm facing the same issue, any suggestion @mattklein123?

Sorry I don't have any experience w/ the transparent proxy stuff. @lizan @PiotrSikora @kyessenov @rshriram might have some ideas.

Are these two containers in same network namespace? Try putting them in the same namespace to see if it works. My hunch is that the SO_ORIGINAL_DST option works within the same net namespace only


Setting K8s version to the latest

Setting version to the latest instead of hardcoded version.

Tested and it's picking up latest version of k8s.

/lgtm


Cannot plot from different datatypes on the same figure

As I understand it the format for the EVA yaml files is as below:
diagnostics:
- data:
    type: IodaObsSpace

  transforms:

  graphics:

- data:
   type: GsiObsSpace

  transforms:

  graphics:

I.e., the type, transforms and graphics are all under the data header and so you cannot have a figure produced that includes data from both IodaObsSpace and GsiObsSpace
This is something that would be desirable.

@danholdaway is this somethign we should talk about? Our thought of plotting obs and backgrounds together doesn't seem doable right now because of the top level YAML structure


Run only on master branch

/cc @Rajalakshmi-Girish

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: mkumatag
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [mkumatag]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mkumatag: Updated the job-config configmap in namespace prow at cluster default using the following files:

key kubernetes-postsubmit.yaml using file config/jobs/ppc64le-cloud/builds/kubernetes-postsubmit.yaml

In response to this:

/cc @Rajalakshmi-Girish

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Connection refused [tcp://<IP_ADDRESS>:6379]

I have installed tus-php and want to use it with vimeo api. I followed all steps to install tus but went I located to url ....../tus its displaying
Connection refused [tcp://<IP_ADDRESS>:6379]
I am using laravel. So please help me if i need to change some configuration.

@addviu make sure that redis server is running and you are able to connect. Or, you can also switch to file based cache , which is not recommended though.

Closing due to inactivity, please feel free to comment or open a new issue if you need any help.


GA4GH Beacon - clean code

Description
Clean some methods in the Beacon code. This PR is only to clean the code and not change any functionally.
Use case
variant_exists sub was too big and some variables usage could be improved.
Benefits
Make the code easier to read and understand.
Possible Drawbacks
None
Testing
Have you added/modified unit tests to test the changes?
Yes, one test was added to cover one example not tested before.
If so, do the tests pass/fail?
All the tests pass.
Have you run the entire test suite and no regression was detected?
Yes, no regression detected.
Changelog
Are you changing the functionality of an endpoint? If so, please give a one line summary for the public facing changelog.
No

Would like to see this pass variation tests (which means we need variation test db patches) before approving


Check the existence of the user to be added to the group.

A check was added because a 404 error occurred when the user to add to the group was empty

@yuuu LGTM!


MBProgressHUD got a Crash

Hi
Team,
Since i am using this MBProgressHUD i found a crash when using the in mobile application.
-(void)onClick{
[NSThread detachNewThreadSelector:@selector(showLoader) toTarget:self withObject:nil];
//Code something
}
-(void)showLoader {
MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES];
hud.labelText = @"Please Wait";
}
-(void)responseDate:(id)response{
NSLog(@"Response %@",response);
[MBProgressHUD hideHUDForView:self.view animated:YES];
/ /Do something
}
// Update to indeterminate indicator
[indicator removeFromSuperview];
self.indicator = MB_AUTORELEASE([[UIActivityIndicatorView alloc]
initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge]);
[(UIActivityIndicatorView *)indicator startAnimating];
[self addSubview:indicator];
        self.indicator = MB_AUTORELEASE([[UIActivityIndicatorView alloc]

Its happens on occasionally (not on regular internal).
.

What is the crash? Please fix the code formatting as well.

Sorry, I did not save the crash log.
But the crash is happening rarely.  If i am calling it continuously, showLoader method and  responseDate method then its crashing.
i.e,
-(void)showLoader {
MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES];
hud.labelText = @"Please Wait";
}
-(void)responseDate:(id)response{
[MBProgressHUD hideHUDForView:self.view animated:YES];
/ /Do something
}
project runs  on XCode version 6.1.1. ARC

I can't see anything wrong with that code.

I had a crash, but its happens very rarely.

App Crashing in this ilne
effectView.frame = self.bounds;
Method name "updateForBackgroundStyle"
Please guide me


Drop Python 2 support

See http://www.python3statement.org/
cc @hammer @jburos

Including dropping it from Travis, statement about it, etc.

This is done


Use commander for CLI

This updates the probot CLI to use commander.
Notable changes:

Change probot ./script.js to probot run ./script.js
Replaced dotenv-safe (which required a .env.example in every plugin) with plain ol' dotenv, and manually check for missing env vars in CLI.
Prefer CERT environment variable over PRIVATE_KEY (old one is still supported, but won't be doc'd anywhere Reverted

TODO:

[x] Update all existing plugins

[x]  use probot run
[x] PRIVATE_KEY => CERT

[ ] Figure out how to test the CLI

Figure out how to test the CLI

Punting for now.
😉 @lee-dohm

https://github.com/Nader-Zubaid


Unable to find the file generated using translation

I have been able to synthesize the audio file while using speech to speech from one language to the other in python. I am unable to locate the audio file that is generated as a result. Any help?

Thanks for the question,
I do not think you are able to get audio file directly but you can get audio from TranslationSynthesisResult as specified below (example for C#):
https://docs.microsoft.com/en-us/dotnet/api/microsoft.cognitiveservices.speech.translation.translationsynthesisresult.getaudio?view=azure-dotnet#Microsoft_CognitiveServices_Speech_Translation_TranslationSynthesisResult_GetAudio

The synthesized audio is available as the .result.audio property of the event that is delivered to the callback function to the synthesizing callback of a TranslationRecognizer. Please have a look at this example on how to get the data.

@chlandsi this is the exact sample and isn't specifying how I can play or get the audio file generated as a result of the translation.

Playing the synthesized audio from translation is not part of the SDK; how to do this depends on your system. The audio returned in the callback is PCM-encoded WAV audio with a RIFF header in a python bytes object; you can save it to a file and play it from there, or play it from memory with an appropriate audio library. This callback will save the audio to a .wav file:
    def synthesis_callback(evt):
        """
        callback for the synthesis event
        """
        print('SYNTHESIZING {}\n\treceived {} bytes of audio. Reason: {}'.format(
            evt, len(evt.result.audio), evt.result.reason))
        if evt.result.reason == speechsdk.ResultReason.SynthesizingAudio:
            try:
                with open('out.wav', 'wb') as wavfile:
                    wavfile.write(evt.result.audio)
            except Exception as e:
                print(f'could not write to file: {e}')

@chlandsi I'm unable to generate the audio file for the same using this method.

@rohanpandey Can you share some more detailed information about the issue? Is there any output or error message? Is the file created, and if so, what are the contents?

@chlandsi the audio file is getting generated. However, the output is not the file expected. I'm giving a 2-minute audio as input and getting a 6-second file as an output.

Thanks for the clarification. The synthesis_callback is called for each utterance in the input audio, so it is presumably called multiple times for a longer audio file, and if the output file name doesn't change, it is overwritten each time. If that is what actually happens in your case should be visible from the console output (e.g., do you see multiple instances of something like SYNTHESIZING ... Reason: ResultReason.SynthesizingAudio?). How to handle this is up to your application -- probably the easiest way to save all the audio files would be to have a global variable that counts the utterances and include the current count in the file name.
Closing the issue, since this is not an SDK issue.


[FEATURE] Add Copier and Mover tests

Could you please add Copier and Mover test cases?
Thanks!

ping @JinnyYi to take a look.

I have some questions:

How to deal with directories for Copy/Move?
When cp/mv a file/dir to an existing dir, the src file/dir will be copied or moved to be a sub file/dir of the dst. For object storage, wether the dst is an existing file or an existing directory is unkown for us(in the case of the dst is exist). Seems that the existing dst dir will be altered to the src file in the current implementation in go-service-qingstor.
Is it necessary to check MD5 after Copy/Move successfully?
Copy Object Part is unsupported for now, shell we only add copy object test first?

How to deal with directories for Copy/Move?

We don't know the ObjectMode of the dst path, so we don't need to deal with it. Just take the dst path as the final object path.

Is it necessary to check MD5 after Copy/Move successfully?

We don't need to check hash in our service implementations. But we can implement a check in our tests. I think it's better to add a new issue to track it (other tests may need them too).

Copy Object Part is unsupported for now, shell we only add copy object test first?

Yes, we only add copy/move object tests for now.


TypeScript 2.0 Contribution

Hello,
I started using the npm types functionnality of TypeScript 2.0 and noticed PouchDB was there. I've started this project to add what is missing for me, but I would like to contribute back: https://github.com/filionf/pouchdb.tsd.2.
What I've done needs more fine-tuning, but do you have any recommendations for posting it back before I clone the DefinitelyTyped tree and send PRs?

@filionf I believe the geppy fork is the current up to date version in DT. It is worth asking on the slack channel to see what the current protocol for contribs is as I don't think geppy has opened a PR to merge his changes back into here, so this repo is way behind what DT is currently using.

Thanks. I will have a look on slack.
The types-2.0 is a little different from this repo, but I thought you were the originator.
If you want to have a look:

https://github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/pouchdb
https://github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/pouchdb-core

Sorry.  I just commented in the Slack channel that it might be worth replacing this repo with a README that explains the design and that the files are in DT.  I can submit a PR with the latest files here if you'd like, though.

My repo isn't even the latest, other people have contributed PRs directly to DT.

My repo isn't even the latest, other people have contributed PRs directly to DT.

replacing this repo with a README that explains the design and that the files are in DT.

@geppy - potentially that makes this repo redundant, would it not be better to delete it altogether?

@AGBrown I was thinking people in Slack might end up here via links, and also that the approach I took to modularization+augmentation might need to be spelled out for people who don't write lots of typing files.  Also, we can use your idea of having actual tests that we run, but have DT as a submodule or a subtree.


Added template Unity project and removed extra SRS folders

Added Unity template
Removed SRS folders

I attempted to build this template in Unity, but it failed. It shows the following errors. @1Midnight1 has also encountered similar errors. You might need to reupload a functioning template.


fix: Correctly error out on failed remote build

The push command was relying on the output from the builder to indicate
the build status, but this isn't helpful for CI. This commit makes the
remote build module respect the isError flag which the builder sends
in any errors. Any errors which come from the builder indicate the
release will not be deployed.
Change-type: patch
Closes: #947
Signed-off-by: Cameron Diver<EMAIL_ADDRESS>

Closing to rebase onto the v8 branch.


Generalized Version for K-Pattern Program

Hi there, actually even you have merged the commits but on HacktoberFest
website its still not updated. Any idea regarding this?
On Sun, 3 Oct 2021 at 09:12, Prabath96 @.***> wrote:

Merged #159 https://github.com/Hansajith98/hacktoberfest2021/pull/159
into dev.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Hansajith98/hacktoberfest2021/pull/159#event-5399111992,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUPKRL6Q3TYKQLBDWPKLEHLUE7GJ3ANCNFSM5FGWE3CQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


CAMEL-15822: [camel-file] fileExist=Move doesn't use FileMoveExisting…

…Strategy when tempFile is also configured

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] If you're unsure, you can format the pull request title like [CAMEL-XXX] Fixes bug in camel-file component, where you replace CAMEL-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean install -Psourcecheck in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
Below are the contribution guidelines:
https://github.com/apache/camel/blob/master/CONTRIBUTING.md

I am okay with the little duplicate code. However it would be good with a bit of code comments (eg // xxxx) what the purpose is for the code, as it does a bit of path manipulation but it may not be so easy to know why (and git blame may get harder to track down over time)

I did both, I moved the duplicated code in a common utility class and added the javadoc, hope it make sense.

Yeah this is good


EventSource instrumentation in CoreLib

CoreCLR has EventSource tracing for many different subsystems: Tasks, ArrayPool, ... . They are WinRT-specific, stubbed out  or otherwise non-existent in CoreRT.

ArrayPoolEventSource is now complete in CoreRT.


Build doc update proposal during doc-walk

changes
build.md

Update proxy details in example
fix links

sawadm

format of public key

:cry:
FAILED: User 'desktophero' not whitelisted.

😢
FAILED: User 'desktophero' not whitelisted.

I just kicked off the job for you.

I have added you to the whitelist

I think this PR will need to be rebased to pike up some fixes to handle combining the python sdk with signing.

I've borked my local branch - was working through the exit code 100 locally and mishandled the local repo. Closing this with a new PR that's up to date.


rest-tool contact for discussion / next features / etc.

Hello,
I am really interested in rest-tool, since I will need to implement a rest backend in the coming few months.
However I have many questions and I would like to be able to talk about it...
Is there a mailing list where we can discuss ? or how about setting up a https://gitter.im ?
Among my questions are :

What are the differences with swagger ?
I really like the code generation in node.js, with mock data to be able to quickly test a client on it. That's the main thing I am looking for, to be able to develop a client for prototyping without worrying too much about deployment issues at first.

However, how about embracing other projects, like RAML for the format of the configuration ? How about being able to generate a whole server project only from a simple config file ? How about supporting other languages ( python/tornado, erlang/leptus, etc. )
In short I think this is a very interesting project, and it should focus where other project don't, and play nice with them :) So I wanted to hear your thoughts / plans for it.
Anyway, many things to talk about...

Hi,
First of all, thanks for using rest-tool, and thanks for suggesting gitter, that I have just opened for this project.
Short answers to your questions:

The main difference with swagger is that I wanted to follow a language-neutral approach, in the meaning of focusing only on the REST interface and not on objects and classes, because that easily puts someone to the track of thinking in java, and in the OOP way, which accidentally might lead to tight coupling between the providers and consumers of the interface.
The templates makes possible to generate clients not only in JavaScript, but theoretically in any programming languages. Just replace the original templates with yours, or write additional ones and refer them in the service.yml file, then the next test generator will use them.
It is also possible to add server generator, using server-side templates, similar to the test generator.

Anyway, there is an other tool I made for creating project boilerplates, that is https://github.com/tombenke/kickoff. It is a more generic tool, which has similarities with the rest-tool. I may refactor the rest-tool to use the kickoff. We succesfully used these two tools in combination to generate full-stack application including Node.js backend and ExtJS frontend, with automatically generated siesta component tests.

Thanks for the quick answer:)
I am really interested by this multi-language approach. For me Javascript is a very simple and fast way to prototype a new software architecture, no matter the scale. But when you move to actual production, you might want to make other choices, for stability, speed, etc.
I think the key here is language/paradigm agnostic simple protocols, like REST.
As for javascript frameworks, I am used to dojo or jquery mostly, and dont have enough time to evaluate them all, but I ll have a look at kickoff sometime...
Well I guess I ll close this issue and I ll catch you on gitter :)


[UI] Unable to delete nodeTemplates from UI

Version: master-head (v2.3) (9/10/19)
Issue does NOT happen in v2.2.8
What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Create multiple node templates in my case I am using one of many but others don't have any clusters up.
Try to delete any nodeTemplates that are not in use.

Result:
The UI blocks deleting them even though this is completely valid. You can delete them in the API.
Other details that may be helpful:
A user must first delete nodeTempaltes before they may delete cloudCredentials so we must allow this otherwise they also can't delete cloudCredentials.
Sometimes you can delete nodeTemplates. I was able to delete my one ec2 nodeTemplate but I can't delete anything else and none of these nodeTemplates are in use...

There is no special logic for blocking node template removal. Could you provide the reproduce steps? If you hit it, could you try to refresh the page?

@davidnuzik if you want to get this fixed, we need to fix it in backend. I think refresh will work.
Backend did send the upgraded nodetemplate change via websocket. So UI still thinks the nodetemplate is in use.

I have reproduced this again. Yeah my bad this is an API issue not UI.
@deniseschannon probably not a huge deal for v2.3 but just want to make it clear that this prevents me from deleting cloudCredentials. My Linode cluster in my second test is removed and the node template is not used but API still blocks me from deleting this unused nodeTempalte so I also can't delete my cloudCredential.
Not sure if this would impact any customers (or if we can deal with this later if it comes up).

I feel like there are many places in rancher where behavior like this would occur. For example- if you make a cluster role A, then cluster role B which inherits from A and refresh you will see that you cannot delete A because it is a parent of B. If you then delete B, A is still missing delete until you refresh. The same behavior would happen in both scenarios when it comes to removing links- links aren't removed even once the criteria has been met until the page has been refresh. This leads to it appearing you can delete resources that you cannot.

I would also guess that this would happen in 2.2.8 since the logic for node template links has remained the same.

Solving this is fairly complex and it is a general problem across many resources in Rancher. LOE is another 2ish weeks.


Fix/sentence case commits

This adds a rule to the .commitlintrc.json file that allows for subjects to have capitalization and punctuation (I hope)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: jlacivita:white_check_mark: cletustboone:x: semantic-release-botYou have signed the CLA already but the status is still pending? Let us recheck it.


when file is large, seek is very slow

In stream.py, seek function is
    def seek(self, offset: int, whence: int = 0) -> int:  # noqa: C901
        """Seek the file object."""
        if whence == 0:
            loc = offset
        elif whence == 1:
            if offset >= 0:
                self.read(offset)
                return self.loc
            loc = self.loc + offset
        elif whence == 2:
            if not self.size:
                raise ValueError("cannot seek to the end of file")
            loc = self.size + offset
        else:
            raise ValueError(f"invalid whence ({whence}, should be 0, 1 or 2)")
        if loc < 0:
            raise ValueError("Seek before start of file")
        if loc and not self.supports_ranges:
            raise ValueError("server does not support ranges")

        self.close()
        self._cm = iter_url(self.client, self.url, pos=loc, chunk_size=self.chunk_size)
        #  pylint: disable=no-member
        _, self._iterator = self._cm.__enter__()
        self.loc = loc
        return loc

when whence == 1 and offset > 0, the seek will read to the offset
            if offset >= 0:
                self.read(offset)
                return self.loc
            loc = self.loc + offset

to seek 1G later will read 1G content first, which is very inefficient
If I comment out the if statement, the seek operation works too, it will create a new iterator, use Range header to fast locate the position

I think it was added assuming that on SEEK_CUR, the offsets are small, and might be already cached in our buffer and that I wanted to reset the iterator as much as possible (not all webdav servers support ranges).
Feel free to propose a PR. 🙂


Revamp time everybody!

honestly not sure why we don't currently have a PR open for the control system revamp, so here's one

Its revamp time into the Master branch.


As I can't use the function syntax {{ ux_icon('favorite') }} to embedd my stimulus data, I try to use the HTML syntax. I don't know if it's due to ux-icons or twig component project, but some behaviors can be changed to improve DX, around stimulus functions and title attribute management. Please see below,
Example
this is my original icon, stimuled:
<button
    type="button"
    class="transparent"
    {{ stimulus_action('replay-favorite', 'toggle') }}
    {{ stimulus_controller('replay-favorite', {
        'add-path': path('app_user_replay_favorite_add', {id}),
        'remove-path': path('app_user_replay_favorite_remove', {id})
    }) }}
>

</button>

Then, here's what I try with twig syntax...
<twig:UX:Icon
    name="custom:unfavorite"
    {{ stimulus_target('replay-favorite', 'icon') }}
    title="{{ isFavorite ? 'Remove from favorite' : 'Add to favorite' }}"
    data-state="{{ isFavorite ? 1 : null }}"
/>

...But it triggers a SyntaxError: Expected attribute name when parsing the "<twig:UX:Icon" syntax.
Then I tweak a bit my twig component to remove stimulus function:
<twig:UX:Icon
    name="custom:unfavorite"
    data-replay-favorite-target="icon"
    title="{{ isFavorite ? 'Remove from favorite' : 'Add to favorite' }}"
    data-state="{{ isFavorite ? 1 : null }}"
/>

But it triggers another error: Error rendering "UX:Icon" component: Invalid value type for attribute "data-state". Boolean or string allowed, "int" provided.
Ok, let's tweak to get a near final version:
<twig:UX:Icon
    name="{{ isFavorite ? 'custom:favorite' : 'custom:unfavorite' }}"
    data-replay-favorite-target="icon"
    title="{{ isFavorite ? 'Remove from favorite' : 'Add to favorite' }}"
    data-state="{{ isFavorite }}"
/>

This works and render; It works interestingly, with the stimulus function working well. Only the title attribute is rendered differently and doesn't work this way.

How twig component syntax renders:

<svg width="1.13em" height="1em" viewBox="0 0 576 512" fill="currentColor" data-replay-favorite-target="icon" title="Remove from favorite" data-state=""><path fill="currentColor" d="M316.9 svg stuff"></path></svg>

How original i tag renders:

<svg class="svg-inline--fa fa-star" data-replay-favorite-target="icon" data-state="1" aria-labelledby="svg-inline--fa-title-GKRKa00WHbm5" data-prefix="fas" data-icon="star" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" data-fa-i2svg=""><title id="svg-inline--fa-title-GKRKa00WHbm5">Remove from favorite</title><path fill="currentColor" d="M316.9 svg stuff"></path></svg>

We see how title attribute is managed (or how Font awesome manages it?), a way that it works, where my current twig component implementation doesn't.

In fact you probably don't want to use stimulus_* functions, AFAIK the preferred way is to use the Stimulus Jetbrains plugin, which can gave you a nice autocomplete in your templates and controllers

Hum, usually you would like to wrap your icon with a <button type="button">:

it will allows you to use whatever attributes you want (e.g.: data-replay-favorite-target, data-state)
it will improve your app accessibility

For <twig:UX:Icon>/ <svg>, IMO only some aria-* (and maybe title) attributes could be added, e.g. aria-label or aria-labelledby

There is another workaround possible, by using the "fake" spread operator, so if you want to keep using the helper, you could do it like this:
{% set icon_attr = {
  name: 'custom:unfavorite',
  ...stimulus_target('replay-favorite', 'icon'),
  title: isFavorite ? 'Remove from favorite' : 'Add to favorite',
  'data-state': isFavorite ? 1 : null
} %}
<twig:UX:Icon {{ ...icon_attr }} />

This is afaik the only way to make the parser work, if you have some complex twig markup to determine the value for an attribute

My recommandation: you really should write "classic" HTML with the component or you will probably won't profit from cache / performance optimisation.
<twig:UX:Icon name="custom:unfavorite"  data-replay-favorite-target="icon" title="{{ isFavorite ? 'foo' : 'bar' }}"  />

If you need more attributes you should wrap a span/div around i think

My recommandation: you really should write "classic" HTML with the component or you will probably won't profit from cache / performance optimisation.
<twig:UX:Icon name="custom:unfavorite"  data-replay-favorite-target="icon" title="{{ isFavorite ? 'foo' : 'bar' }}"  />

If you need more attributes you should wrap a span/div around i think

That's a smart point.
I shall remove a lot of attributes from the twig tag, and finish to a nice:
<button
    type="button"
    class="transparent"
    title="{{ isFavorite ? 'Remove from favorite' : 'Add to favorite' }}"
    {{ stimulus_action('replay-favorite', 'toggle') }}
    {{ stimulus_controller('replay-favorite', {
        'add-path': path('app_user_replay_favorite_add', {id}),
        'remove-path': path('app_user_replay_favorite_remove', {id})
    }) }}
    data-state="{{ isFavorite }}"
>
    <twig:UX:Icon
        class="favorite__icon"
        name="{{ isFavorite ? 'custom:favorite' : 'custom:unfavorite' }}"
        data-replay-favorite-target="icon"
    />
</button>

But few points:
About the optimal cache/perf optimization, I have 3 possibilities:
{# first with twig component #}
<twig:UX:Icon
        class="favorite__icon"
        name="{{ isFavorite ? 'custom:favorite' : 'custom:unfavorite' }}"
        data-replay-favorite-target="icon"
    />
{# second with function #}
{{ ux_icon(isFavorite ? 'custom:favorite' : 'custom:unfavorite', {'data-replay-favorite-target': 'icon', class: 'favorite__icon'}) }}
{# third with cache optimization from documentation #}
{% set favoriteIcons = {"1": 'custom:favorite', "0": 'custom:unfavorite'} %}
{{ ux_icon(favoriteIcons[isFavorite], {'data-replay-favorite-target': 'icon', class: 'favorite__icon'}) }}

I suppose the 3rd choice is the right one?
Also, with this system, I struggle to swap my icon from favorite to unfavorite (and the other way), because I actually swap a class with JS to change my icon, but with ux-icons, the svg is not a class but server rendered. So I'm wondering what should be the right tool for such a common case, I think about a live component, but WDYT?

With this situation, they should be equivalent in term of performance, as the "twig component" is transformed back to a twig function after parsing 🥷

Also, with this system, I struggle to swap my icon from favorite to unfavorite (and the other way), because I actually swap a class with JS to change my icon, but with ux-icons, the image doesn't come from a class managed by browser, but instead is server rendered.

@Nayte91 you can look how the dark/light mode switcher work on ux.symfony.com (source code is available in this repo), but i felt the safest way was to have both icons in HTML, and a parent div would play the "toggle" role.

 This is in fact 75% back 25% front, so I will try to solve it with live component

Yep it seems a very good usecase :)

I’m closing as sub-parsing will not be possible but if you have any other question / problem / suggestion feel free to open another one :)


Push notifications

A bit further down the line, I'd like to add this so, for example, you can get notified when there's new themes/emojis/filters to try

In retrospect, I was putting tech demonstration before UX. I can make another demo for push notifications. I can revisit this in Snapwat later if there's an actual need.


 : Adding lcm and gcd for unsigned integer.

 : feature/test
Checklist

[x] New Extension
[x] New Test
[ ] Changed more than one extension, but all changes are related
[ ] Trivial change (doesn't require changelog)

          2 Messages

:book:
Executed 163 tests, with 0 failures (0 unexpected) in 4.571 (4.767) seconds

:book:
Executed 151 tests, with 0 failures (0 unexpected) in 3.975 (4.244) seconds

  Generated by :no_entry_sign: danger

Add entry to changelog please, I forgot to merge rule from danger branch into master

Cool. I will add it after we pull in https://github.com/goktugyil/EZSwiftExtensions/pull/348. I wont merge till then.

Current coverage is 38.38% (diff: 100%)

Merging #347 into master will increase coverage by 0.23%

@@             master       #347   diff @@
==========================================
  Files            46         46
  Lines          2131       2139     +8
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            813        821     +8
  Misses         1318       1318
  Partials          0          0

Powered by Codecov. Last update 0202814...67206a7

Hm, I thought about that we do not actually need labels for each parameter, because they don't give any sense.
Also, what's the best way to find gcd of three or more elements? Like, Int.gcd(x1,x2,x3...)?
What do you think?

gcd(a,b,c)=gcd(a,(gcd(b,c)) but if I have to introduce a var arg way of getting gcd, I will introduce it as a separate method.
Euclid's algo solves only for 2 numbers. I don't know any algorithm on the top of my head with better computational complexity than it.

Done.


4.x - Archetype: include an SLF4J provider when SLF4J is used

Environment Details

Helidon Version: 4.0.9

Problem Description
Some generated applications are missing an SLF4J provider. The following logs can be seen when starting the application:
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.

In this particular case, com.zaxxer:HikariCP is the one dependency using SLF4J.
[INFO] +- io.helidon.integrations.cdi:helidon-integrations-cdi-datasource-hikaricp:jar:4.0.0-SNAPSHOT:runtime
[INFO] |  +- io.helidon.integrations.cdi:helidon-integrations-cdi-datasource:jar:4.0.0-SNAPSHOT:runtime
[INFO] |  |  \- io.helidon.integrations.cdi:helidon-integrations-cdi-configurable:jar:4.0.0-SNAPSHOT:runtime
[INFO] |  \- com.zaxxer:HikariCP:jar:5.0.1:runtime
[INFO] |     \- org.slf4j:slf4j-api:jar:2.0.9:runtime

We need to identify all the third-party dependencies supported by the archetype that may include org.slf4j:slf4j-api and add an SLF4J provider dependency in the generated pom:
<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-jdk-platform-logging</artifactId>
</dependency>

We need to make sure that we add it only once.
Steps to reproduce
helidon init --batch -Dflavor=mp -Dapp-type=database
cd database-mp
mvn package -DskipTests
java -jar target/database-mp.jar

Does this mean that services that DO have the implementation properly resolved (example logback or log4j2) will have to now add an exclusion for the platform logging dependency?

My $.02: I believe it is the responsibility of the final service integrator to select and manage an SLF4J implementation appropriate to their logging needs. And adding one in an intermediate library dependency will just muddy that water...

Does this mean that services that DO have the implementation properly resolved (example logback or log4j2) will have to now add an exclusion for the platform logging dependency?

Short answer: No.
The change is to our example archetypes -- the code that handles project creation when you use the helidon CLI or the mvn archetypes.  The generated project (pom.xml) will now contain  the slf4j dependency if needed. This change does not alter the transitive dependencies of Helidon artifacts.


Slate doesn't print extra metadata for parameter or response field methods

In the documentation it says:

This method takes a name, a description, and an optional hash of extra metadata that can be displayed in Raddocs as extra columns.

Currently the Slate template does not take into consideration additional metadata for parameter or response_field methods.

Can you give an example of what this extra metadata might look like? Especially in context of the parameter method in RAD? I am unsure what this extra metadata includes, so I am not sure how to display it on Slate. If you can help me with that, then I can probably get this added.


Hotfix GetWriteContracts

ARC.GetWriteContracts previously failed, when two studies contained the same assay. Fixed this misbehaviour and added tests.

Please first review and merge #177


adding compiled websources for Two Relays feature

This should fix issue #337  and add the multiple relays feature to the web frontend

Thanks 👍

MQTT need to be updated for multiple relays other way you will get multiple messages for each relay allowed and denied.