[FEATURE] Consider convert accepting wide targets

Up to now the target parameter of convert must be a "non wide" type
For instance to convert a wide<float, fixed<4>> f  to a wide<double, fixed<4>> d one must write
wide<double, fixed<4>> d = convert(f,as<double>()) which is quite good an simple
But if the type of d is only known by its name D the user must write
D d = convert(f, as<eve::underlying_type_t<D>>()) ;
The user does not generally care about eve::underlying_type_t<D> and we propose to defer the work of computing the scalar type to the convert object and the user can also write
D d = convert(f, as<D>());
for the same result.
convert keep the number of lanes of f and uses the underlying type of D in every cases.

I don't understand what's underlying

My big problem with convert(x, eve::as(w)) is cardinal mismatch.
If we enforce same cardinal - maybe.
But ideally it should be a differnt spelling.
like convert(x, eve::as_element(w))

there is no mismatch involved as  the cardinality is only from x an there is no other possible sensible choice that to reproduce the x cardinality

what if convert(x, as<T>) works as described if a is scalar and is SFINAE out if a is wide and cardinal don't match ?

I also like as_element which is trivially
template<typename T>
using as_element = as<eve::underlying_type_t<T>>;

Not sure about SFINAE out, I'd prefer an error message probably. But those are OK with me.

static_assert is fine in my book
So are we OK for having both as_element ans the automatic support with cardinal checks ?

Either of those seem to solve the issue. If you want both - we can have both. Whe should make sure that as_element(x) also works. Can be done with inheritance

Yes, that's where I am heading in fact.
After some other disxussion with jtlap, as_element is enough


Unable to use TAOS utilities in next.js

I am using Next..js 14
I needed to use animations from AOS library
but it needed "use client" directive to be used and rendered on client side
i want to render on server side hence I was trying to use TAOS but after following the installation, I tried to use but it did not work as intended

@volkandkaya This would be awesome!


10-node-authentication route middleware prevents user creation

I might be wrong but shouldn't the block which begins like this to create a user:
// on routes that end in /users
// ----------------------------------------------------
apiRouter.route('/users')

	// create a user (accessed at POST http://localhost:8080/users)
	.post(function(req, res) {

be placed before the route middleware to verify a token? :

That was placed after the token verification because we want to be sure a user is authenticated before they create other users.

That makes sense. I guess if you wanted to make this a part of another app you would just move that post logic before it then.
Great book by the way!


A build error occurs when installing curl with vcpkg.

Describe the bug
I went through the curl documentation and found that I need to download the latest version of the curl file through vcpkg, and then I did the same. Then when I executed the "vcpkg install curl[tool]" command, an error occurred:
error: building openssl:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+openssl
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[openssl]+Build+error
Include '[openssl] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2022-07-14-fb7e3b1bb3b1ca185fffe2be36b2fbc53198360f
vcpkg-scripts version: b2a22ff59 2022-07-20 (2 天前)
You can also use the prefilled template from /home/uwa/ossSdkThird/vcpkg/installed/vcpkg/issue_body.md.
Environment
Linux
To Reproduce
Steps to reproduce the behavior:

git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
vcpkg install curl[tool] (Error at this step,there will be the above error)

Expected behavior
build error
Failure logs
-(please attached failure logs)
Additional context
https://curl.se/docs/install.html

You can also use the prefilled template from /home/uwa/ossSdkThird/vcpkg/installed/vcpkg/issue_body.md.

Please use it :)

@Sugar0612 Make sure you download the latest linux-headers and please provide the failure log.


Replace check_suite with check_run handler

The check_suite webhook only gets called when all ofborg checks complete this is why we switch to check_run as this webhook gets called after each test

@mergify queue


Research implementation plan for handling multi select query params

A number of search, sort, & filter parameters are going to be multi select and we need a good way to handle those properly in the Swagger UI and within validation logic.

Example branch with validation using State Code and Oris Code

Example branch with validation using State Code and Oris Code


Fix workflows

When I publish the snapshot version after the merge to master, the previous version from the tag is ignored and version 0.0.0 is used: lib_2.13-0.0.0+1-b34f036b-SNAPSHOT.
I figure out that actions/checkout@v2 was changed and now fetch only the last commit without tags.
BTW I think that fixed dependency versions in CI/CD are better than "latest" because of fewer surprises.

LGTM 👍 Thank you!


Fix Code Style on Configure

Summary of the changes (Less than 80 chars)

This change aids in readability and consistency.

Addresses #bugnumber (in this specific format)

Does not address an open bug

Hi, thank you for the PR, but this change is somewhat trivial for limited value, so we are closing.


iputils: 20200821 -> 20210202

Motivation for this change
Things done

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

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

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

I also tested building pkgsCross.musl64.iputils and pkgsCross.aarch64-multiplatform.iputils.


Add packaging explicitly

No clue why no CI anywhere in our ecosystem catches this during minimal installation and imports
But adding it explicitly anyway; it is a third-party package and up to this point I figure we just assumed something upstream relied on it implicitly
cc @rly @laurelrr

Could a from neuroconv import * with install plain neuroconv as a test?

import neuroconv is all we would need since it isn't nested as a lazy dependency anywhere (seems to assume it ends up in the third party dependency structure somewhere somehow)
Added a step to the basic testing workflow to ensure that without any extra's specified

Ups, I tried to push this to another branch for testing but I accidentally pushed to yours, sorry @CodyCBakerPhD .

Anyway, this looks good to me. I want to see if the new test fails without this and then I will rever the last change and is good to go.

Or rather, it would on the users original setup and device, for whatever reason. But the way in the systems of the CI this wasn't and still isn't a problem

(still doesn't hurt in general to have that import test though)

Ok, packaging is installed indirectly through pytest-xdist on these lines:
https://github.com/catalystneuro/neuroconv/blob/14f0b48430ab5264d7c34f132c6878b0226ce93c/.github/workflows/testing.yml#L32-L38
Which in turn has pytest as a dependency
https://github.com/pytest-dev/pytest-xdist/blob/c7b4f6114479d4053f0ef8411ed5e0a410b207f4/pyproject.toml#L35-L38
Which has packaging:
https://github.com/pytest-dev/pytest/blob/2effd8cb2c91abf4782201c431f19d0b22517920/pyproject.toml#L48-L54
That's the reason our CI is not detecting this failure.
We should move pytest-xdist and wheel to the testing dependencies file I think.


Initial design

Move all the initial work from the draft branch "infrastructure-design" to main branch

The solution is now ready to be tested, next step will be to write tests for all features


When installing on a Dutch Chrome system the language is Spanish

Apparantly the Chrome extension defaults to Spanish, please change this to English.

Is there a way to change this manually?

Apparantly this can be done by manually editing the file manifest.json in ninbgcpkedmfiflomhiboeoohbafakkg\1.1.2_0 by editing line 24 to:
"default_locale": "en",


add author & maintainer to readme

Option 2 (active maintainer) chosen by @skibinska
Ideally we would use the same format across all repos in foundersandcoders

Author
Active maintainer
--insert name--
--insert github handle-- (so students know who to @ when they want to raise issues and assign PRs)
--insert photo of author--  (because of https://github.com/foundersandcoders/london-programme/issues/223)

I was going to use the photos that FAC has of us from day 1 of the course. But obviously people would be free to update it with any photo of themselves that they wanted

format changed as per https://github.com/foundersandcoders/workshop-client-side-design/issues/5#issuecomment-305417258


How can reduce space between min and mix?

Hello,
I want to reduce a space between this two points, how can i do it?

You'll need to reduce the size of the slider to achieve this. Unfortunately, there isn't a direct prop available to manage the space between the points. However, you can contribute by raising a pull request. Thank you.


Set the context class loader when executing ant tasks

Issue: #3666
Fixes Issue
Description of Change
Adds a context class loader to all the ant tasks. Other build tools set the ContextClassLoader property on the current Thread instance before calling into the plugin, ant does not.
The JCS library has some logic down in it's deserializer which finds the classloader to use. If it used the 'default' one this would work; but since it uses the Context Class Loader it fails since that classloader is something else.
Have test cases been added to cover the new functionality?
no

I ran the step the failed on my machine and it worked. It looks like the build system had a hiccup.

I kicked off the failed job again.

Thanks for the PR!


[Toggle] Fix layout

This will align toggle slider to the right.
Before:

After:

Thanks, looks good :+1: @shaurya947 ?

Looks good to me too. Feel free to merge @oliviertassinari (after release though)

@KapJI Thanks :+1:


client types are incompatible with 'webworker' lib

Describe the bug

The vite/client types result in type errors when used in sources where lib was declared to be webworker. It runs fine in vite but throws errors when validating via tsc.
Reproduction

git clone https://github.com/lgrahl/vite-client-in-worker
cd vite-client-in-worker
npm install
npx tsc --noEmit -p src/app/tsconfig.json; npx tsc --noEmit -p src/worker/tsconfig.json

Analysis
The issue is that vite/client is referencing DOM (see vite/client.d.ts) which is a superset of what workers can do. However, AFAICT vite/client doesn't need that superset.
Related: https://github.com/Microsoft/TypeScript/issues/20595
Before submitting the issue, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the docs.
[x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[x] Provide a description in this issue that describes the bug.
[x] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[x] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.

For those interested in a workaround: If you don't need support for *?worker, *?worker&inline and *?sharedworker (which can be replaced easily by *?raw and *?url), copy vite/client.d.ts and reference that copy. Remove the declarations of the above mentioned module types.

IIUC /// <reference lib="dom" /> in vite/client is interfering with typechecking as it conflicts with webworker? I think that could be breaking. Perhaps we can expose another vite/worker instead? Feel free to send a PR if you have ideas to solve this, and we can discuss there onwards too.


ES6 + Brunch

So, I have a project using ES6 + Brunch.io but I'm having trouble getting handlebars-helpers to work :s
Im also using 'handlebars-brunch', dont know if theres a way to integrate with it or a better plugin.
Does anyone knows a way to do it?
Best Regards

If you have code examples on how you've tried to use it and post any errors that are occurring due to handlebars-helpers failing, it will help us understand if this is a bug here or not. Also, if this is a general support question, you should post it on stack overflow with tags that will get more eyes on the issue. Feel free to post the stack overflow link here.
Personally, I haven't used brunch so I'm not sure where to start looking.

@doowb thks for the reply ;)
I was able to archive what I wanted. I forgot about the brunch plugin as it probably doesnt support helpers yet. So I decided to pre-compile the templates with npm scripts prior to brunch bundle and it works perfectly :D

great, glad you found a solution!


Integration with GraphQL

Any example of how to connect meteor with graphql for react native?
Apollo docs has this
http://dev.apollodata.com/core/meteor.html
but will this work with react-native-meteor?

You can create a higher order component with apollo and connect that to the createMeteor. Like you would with redux example and meteor.

@donedgardo Could you provide an example? I'm struggling to understand what you're describing. Thanks

@bsbechtel @michaelspeed
So first you would have to create a network interface from your react-native to your meteor server.
Use react-apollo docs for this. In the uri key you would point to your graphql server which would be hosted in your meteor server ('assuming its hosted in meteor'): http://locahost:3000/graphql or https://www.my-app.com/graphql. ref.
After having your provider setup connected to your server's graphl endpoint:
You would do this to get meteor and apollo data in a component:
...
import React, { Component } from 'react';
import { createContainer } from 'react-native-meteor';
import { graphql } from 'react-apollo';

class NormalComponent extends Component {
  ...
}

const MeteorContainer = createContainer(params=>{
  // here params.data would be apollo data from query
  return {
    currentUser: Meteor.user()
  }
}, NormalComponent);

export default graphql(gql`
  query TodoAppQuery {
    todos {
      id
      text
    }
  }
`)(MeteorContainer);

Noticed my NormalComponent is wrapped first by a Meteor Container, then wrapped again in the graphql. That's what I meant with Higher order components.

@donedgardo and @michaelspeed I actually found a gist showing how to pass the user through the apollo context the other day (the suggested way of handling user auth with graphql/apollo): https://gist.github.com/elie222/2ea0e1548dc0c634342fed942f6ea207
Hopefully both answers help others struggling with this!

Does it work properly? Anyone tried it out?


Paused buttons still show hover effects

Godot version:

3.2.2
OS/device including version:

Windows 10
Issue description:

After setting get_tree().paused = true, buttons were still being highlighted when the pointer was above them. The buttons cannot be clicked, which is expected but I expected the buttons to not react to the pointer at all since they're supposed to be "frozen".
This happens with both Button and TextureButton.
Of course I'm only referring to buttons that are not configured to process when paused.
Steps to reproduce:

Create a new UI Scene.
Create a button node.
Attach a script to one of the nodes with the code:

extends Node

func _ready():
    get_tree().paused = true

Play the scene and see that the buttons still show the hover effect when the pointer is above them.

Minimal reproduction project:

button-focus-test.zip

Disabling all inputs is not a feature of tree pausing. only _input.
You may want to employ techniques like click blockers for this purpose.


Remove error for interactiveTransactions

BG: Prisma gives this warning when we use interactiveTransactions in previewFeatures.
warn Preview feature "interactiveTransactions" is deprecated. The functionality can be used without specifying it as a preview feature.
This feature is available in general now, can we remove the error in this module when not present?

Looks like it went into GA in version 4.7.0, that's great news!
However, for the sake of compatibility with previous versions, it would be wise to keep the check for 4.6.1 and under. I don't know if the Prisma client version can be determined at runtime, but if can that'd be the way to go.
Would you like to open a PR?

@franky47 Sure, let me see if we can detect features available or version of prisma to remove the limiters for preview feature.

@franky47 I went through docs to see if we can figure out the version during the run time. looks like there isn't one.
Either we have to wait until 4.6.0 is deprecated or remove this in latest version of prisma-field-encryption as it doesn't make sense to have this since dependant library made the preview feature public.
Will let you take a call on this.

I guess we could:

Remove the check that leads to an error
Make it clear in the docs that the preview feature is required for Prisma Client 3.8.0 to 4.6.1, in the data migrations section.

@franky47 Sure, sounds good. I will raise a PR then. Thanks.

@franky47 Here is PR for the same


Bug 2027959: Delete with Grace Period

📝 Description
Delete with gracePeriodSeconds
🎥 Demo

/bugzilla refresh

LGTM with me :)
please let @metalice to have a final look at his comments

/lgtm

/cherrypick release-4.11

/cherrypick release-4.11


Ollama support

Hey, Ollama focus on local model, and this lib(https://github.com/buhe/langchain-swift) current not support it.
FYI, https://github.com/buhe/langchain-swift/issues/40

Ollama has remote API, maybe use it.

Please use LMStudio API #86 ,feel free to open again.

Given that a lot of people are using Ollama and LMStudio cannot easily share models with Ollama, it might be worth reconsidering Ollama support.  I have been working on this and will send through a pull request soon.


窗口位置发生变化

切换 overview，点击主窗口，位置和切换之前发生了改变

done f3ebe13

master {
new_is_master = true
}
It is suggested to change new_is_master to true so that the position will not change before and after the switch. Since the master layout built-in in hyprland does not expose its layout node data to the plug-in system, I cannot obtain the location of the master layout node before the switch to achieve position restoration.

那就没办法了

has support #32


Update sysmon.md

adjusted version, date. Reflecting version 6.03 that was released June 17th 2017

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Manifest json file '.manifest.json' is invalid. Details: Value cannot be null.
Parameter name: pathUnderSubfolder

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

This is now redundant

you're welcome i guess


Problem: Delayed Consul service failure notifications lead to Motr panic: !rep->hae_disconnected_previously

Situation, node-1 failed, failover in-progress to node-2
Hax services start..
Nov 05 22:29:42 sm28-r22.pun.seagate.com systemd[1]: Starting Cluster Controlled hare-hax-c2...
Nov 05 22:29:42 sm28-r22.pun.seagate.com systemd[1]: Starting Cluster Controlled hare-hax-c1...
Nov 05 22:29:42 sm28-r22.pun.seagate.com systemd[1]: Started Cluster Controlled hare-hax-c2.
Nov 05 22:29:42 sm28-r22.pun.seagate.com systemd[1]: Started Cluster Controlled hare-hax-c1.
Nov 05 22:29:42 sm28-r22.pun.seagate.com crmd[5501]:   notice: Transition aborted by status-2-hax-running doing modify hax-running=1: Transient attribute change
Nov 05 22:29:42 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:42,680 [DEBUG] {MainThread} Attempting to invoke the repeatable call: _get_motr_fids -> **hax-c2**
Nov 05 22:29:42 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:42,683 [DEBUG] {MainThread} Attempting to invoke the repeatable call: _get_motr_fids - **hax-c1**

Nov 05 22:29:42 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:42,722 [INFO] {MainThread} Welcome to HaX
Nov 05 22:29:43 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:43,440 [DEBUG] {qconsumer} Got EntrypointRequest(reply_context=139758571633632, req_id=0x0:0x1, remote_rpc_endpoint='<IP_ADDRESS>@o2ib:12345:1:1', process_fid=0x7200000000000001:0x6 -> **hax-c1 motr land entrypoint request**
Nov 05 22:29:43 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:43,450 [DEBUG] {qconsumer} Entrypoint request has been replied to

confd-c1 start initiated on node-2
Nov 05 22:29:47 sm28-r22.pun.seagate.com systemd[1]: Starting Cluster Controlled m0d@0x7200000000000001:0x9...

hax-c1 already says that confd-c1 and ios-c1 started
Nov 05 22:29:47 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:47,139 [DEBUG] {qconsumer} Got BroadcastHAStates(states=[HAState(fid=0x7200000000000001:0x9, status=OK), HAState(fid=0x7200000000000001:0x6, status=OK), HAState(fid=0x7200000000000001:0xc, status=OK), HAState(fid=0x7200000000000001:0x22, status=OK)], reply_to=None) message from queue
Nov 05 22:29:47 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:47,141 [INFO] {qconsumer} HA states: [HAState(fid=0x7200000000000001:0x9, status=OK), HAState(fid=0x7200000000000001:0x6, status=OK), HAState(fid=0x7200000000000001:0xc, status=OK), HAState(fid=0x7200000000000001:0x22, status=OK)]
Nov 05 22:29:47 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:47,142 [DEBUG] {qconsumer} Broadcasting HA states [HAState(fid=0x7200000000000001:0x9, status=OK), HAState(fid=0x7200000000000001:0x6, status=OK), HAState(fid=0x7200000000000001:0xc, status=OK), HAState(fid=0x7200000000000001:0x22, status=OK)] over ha_link

Stating confd-c2
Nov 05 22:29:48 sm28-r22.pun.seagate.com systemd[1]: Starting Cluster Controlled m0d@0x7200000000000001:0x52...

hax-c2 started,
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:48,512 [DEBUG] {MainThread} Attempting to invoke the repeatable call: get_leader_session
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:48,514 [DEBUG] {MainThread} The repeatable call succeeded: get_leader_session
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:48,519 [DEBUG] {MainThread} The repeatable call succeeded: _get_motr_fids
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:48,520 [INFO] {MainThread} Welcome to HaX

hax-c1 then sees self (hax-c1) and ios-c1 as failed for some reason from Consul catalog, probably due to a delay?
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:48,577 [DEBUG] {service-monitor} hax is now ServiceHealth.FAILED
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:48,579 [DEBUG] {service-monitor} ios is now ServiceHealth.FAILED
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:48,583 [DEBUG] {service-monitor} Changes in statuses: [HAState(fid=0x7200000000000001:0x6, status=FAILED), HAState(fid=0x7200000000000001:0xc, status=FAILED)]
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:48,593 [DEBUG] {qconsumer} Got BroadcastHAStates(states=[HAState(fid=0x7200000000000001:0x6, status=FAILED), HAState(fid=0x7200000000000001:0xc, status=FAILED)], reply_to=None) message from queue
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:48,593 [INFO] {qconsumer} HA states: [HAState(fid=0x7200000000000001:0x6, status=FAILED), HAState(fid=0x7200000000000001:0xc, status=FAILED)]
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:48,593 [DEBUG] {qconsumer} Broadcasting HA states [HAState(fid=0x7200000000000001:0x6, status=FAILED), HAState(fid=0x7200000000000001:0xc, status=FAILED)] over ha_link

and disconnects all the ha links,
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: motr[278443]:  67e0   WARN  [ha/halon/interface.c:336:halon_interface_process_failure_check]  disconnecting all links to no_id=<7200000000000001:6>
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: motr[278443]:  6700   WARN  [ha/ha.c:989:m0_ha_process_failed]  disconnecting local link

Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: motr[278443]:  67e0   WARN  [ha/halon/interface.c:336:halon_interface_process_failure_check]  disconnecting all links to no_id=<7200000000000001:c>
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: motr[278443]:  6690   WARN  [ha/halon/interface.c:523:halon_interface_link_is_disconnecting_cb]  hl=0x7f1a68002ac0 ep=<IP_ADDRESS>@o2ib:12345:1:1
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: motr[278443]:  65b0   WARN  [ha/halon/interface.c:1165:m0_halon_interface_disconnect]  hl=0x7f1a68002ac0 ep=<IP_ADDRESS>@o2ib:12345:1:1

Receives local entrypoint request from internal rconfc mostly, this leads to motr crash in hax-c1 as being not the first_request because process has not actually restarted but already running but halink is already disconnected and the entrypoint request is replied with rep->hae_disconnected_previously = true but the cookie is the same, see the following code,
static void ha_link_handle(struct m0_ha                       *ha,
                           const struct m0_uint128            *req_id,
                           const struct m0_ha_entrypoint_req  *req,
                           struct m0_ha_entrypoint_rep        *rep,
                           struct m0_ha_link                 **hl_ptr)
...
                } else if (m0_ha_cookie_is_eq(&ha->h_cookie_local,
                                             &req->heq_cookie_expected)) {
                        M0_LOG(M0_DEBUG, "link had been disconnected "
                               "previously, a new one shouldn't be created");
                        rep->hae_disconnected_previously = true;
                        add_new_link = false;

This leads to the below panic.
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:48,611 [DEBUG] {Dummy-1} Received entrypoint request from remote endpoint '<IP_ADDRESS>@o2ib:12345:1:1', process fid = 0x7200000000000001:0x6 The request will be processed in another thread.

Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:48,804 [DEBUG] {qconsumer} Got EntrypointRequest(reply_context=139758571639168, req_id=0x0:0x3, remote_rpc_endpoint='<IP_ADDRESS>@o2ib:12345:1:1', process_fid=0x7200000000000001:0x6, git_rev='02f6c4f2a513daae85730d7b50b83a7ca711afcd', pid=278443, **is_first_request=0**) message from queue
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:48,804 [DEBUG] {qconsumer} Processing entrypoint request from remote endpoint '<IP_ADDRESS>@o2ib:12345:1:1', process fid 0x7200000000000001:0x6
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:48,811 [DEBUG] {qconsumer} Services "confd" received: [{'ID': '9d08efab-2900-344c-9bd5-0b2858d73029', 'Node': 'srvnode-1', 'Address': '<IP_ADDRESS>', 'Datacenter': 'dc1', 'TaggedAddresses': {'lan': '<IP_ADDRESS>', 'lan_ipv4': '<IP_ADDRESS>', 'wan': '<IP_ADDRESS>', 'wan_ipv4': '<IP_ADDRESS>'}, 'NodeMeta': {'consul-network-segment': ''}, 'ServiceKind': '', 'ServiceID': '9', 'ServiceName': 'confd', 'ServiceTags': [], 'ServiceAddress': '<IP_ADDRESS>@o2ib:12345:2', 'ServiceWeights': {'Passing': 1, 'Warning': 1}, 'ServiceMeta': {}, 'ServicePort': 1, 'ServiceEnableTagOverride': False, 'ServiceProxy': {'MeshGateway': {}, 'Expose': {}}, 'ServiceConnect': {}, 'CreateIndex': 5631, 'ModifyIndex': 5631}, {'ID': 'ed3ec1db-f2f8-36a2-b3d4-a39bdea0e1b1', 'Node': 'srvnode-2', 'Address': '<IP_ADDRESS>', 'Datacenter': 'dc1', 'TaggedAddresses': {'lan': '<IP_ADDRESS>', 'lan_ipv4': '<IP_ADDRESS>', 'wan': '<IP_ADDRESS>', 'wan_ipv4': '<IP_ADDRESS>'}, 'NodeMeta': {'consul-network-segment': ''}, 'ServiceKind': '', 'ServiceID': '82', 'ServiceName': 'confd', 'ServiceTags': [], 'ServiceAddress': '<IP_ADDRESS>@o2ib:12345:2', 'ServiceWeights': {'Passing': 1, 'Warning': 1}, 'ServiceMeta': {}, 'ServicePort': 3, 'ServiceEnableTagOverride': False, 'ServiceProxy': {'MeshGateway': {}, 'Expose': {}}, 'ServiceConnect': {}, 'CreateIndex': 11496, 'ModifyIndex': 11496}]
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:48,812 [DEBUG] {qconsumer} Passing the entrypoint reply to hax.c layer
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: motr[278443]:  7820   WARN  [ha/halon/interface.c:1074:m0_halon_interface_entrypoint_reply]  req_id=0:3 rc=0 confd_nr=2 confd_quorum=2 rm_fid=<7300000000000001:a> rm_eps=<IP_ADDRESS>@o2ib:12345:2:1
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: [107B blob data]
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:48,812 [DEBUG] {qconsumer} Entrypoint request has been replied to
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: 2020-11-05 22:29:48,812 [DEBUG] {qconsumer} Waiting for the next message
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: motr[278443]:  6a10  FATAL  [lib/assert.c:50:m0_panic]  panic: !rep->hae_disconnected_previously at ha_entrypoint_state_cb() (ha/ha.c:310)  [git: sage-base-1.0-73-g02f6c4f] /var/motr1/hax/m0trace.278443
Nov 05 22:29:48 sm28-r22.pun.seagate.com hare-hax[278443]: Motr panic: !rep->hae_disconnected_previously at ha_entrypoint_state_cb() ha/ha.c:310

Similar thing happens with confd-c2
hax-c2 received entrypoint request from confd-c2 here with is_first_request=true, note that confd-c2 was already in starting process,
Nov 05 22:29:49 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:49,043 [DEBUG] {Dummy-1} Received entrypoint request from remote endpoint '<IP_ADDRESS>@o2ib:12345:2:3', process fid = 0x7200000000000001:0x52 The request will be processed in another thread.
Nov 05 22:29:49 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:49,099 [DEBUG] {qconsumer} Got EntrypointRequest(reply_context=139810044132576, req_id=0x0:0x2, remote_rpc_endpoint='<IP_ADDRESS>@o2ib:12345:2:3', process_fid=0x7200000000000001:0x52, git_rev='02f6c4f2a513daae85730d7b50b83a7ca711afcd', pid=1125, is_first_request=1) message from queue

hax-c2 also broadcasts that service started based on consul catalog (based on systemd,
Nov 05 22:29:49 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:49,142 [DEBUG] {service-monitor} confd is now ServiceHealth.OK
Nov 05 22:29:49 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:49,194 [DEBUG] {service-monitor} Changes in statuses: [HAState(fid=0x7200000000000001:0x52, status=OK), HAState(fid=0x7200000000000001:0x4f, status=OK), HAState(fid=0x7200000000000001:0x55, status=OK), HAState(fid=0x7200000000000001:0x6b, status=OK)]
...
Nov 05 22:29:49 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:49,322 [DEBUG] {qconsumer} Got BroadcastHAStates(states=[HAState(fid=0x7200000000000001:0x52, status=OK), HAState(fid=0x7200000000000001:0x4f, status=OK), HAState(fid=0x7200000000000001:0x55, status=OK), HAState(fid=0x7200000000000001:0x6b, status=OK)], reply_to=None) message from queue
Nov 05 22:29:49 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:49,324 [INFO] {qconsumer} HA states: [HAState(fid=0x7200000000000001:0x52, status=OK), HAState(fid=0x7200000000000001:0x4f, status=OK), HAState(fid=0x7200000000000001:0x55, status=OK), HAState(fid=0x7200000000000001:0x6b, status=OK)]
Nov 05 22:29:49 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:49,324 [DEBUG] {qconsumer} Broadcasting HA states [HAState(fid=0x7200000000000001:0x52, status=OK), HAState(fid=0x7200000000000001:0x4f, status=OK), HAState(fid=0x7200000000000001:0x55, status=OK), HAState(fid=0x7200000000000001:0x6b, status=OK)] over ha_link

In between we also have lnet errors,
Nov 05 22:29:49 sm28-r22.pun.seagate.com kernel: LNet: 252680:0:(o2iblnd_cb.c:2858:kiblnd_check_reconnect()) <IP_ADDRESS>@o2ib: reconnect (conn race), 12, 12, msg_size: 4096, queue_depth: 8/8, max_frags: 256/256
Nov 05 22:29:49 sm28-r22.pun.seagate.com kernel: LNet: 252680:0:(o2iblnd_cb.c:2858:kiblnd_check_reconnect()) Skipped 10 previous similar messages
Nov 05 22:29:49 sm28-r22.pun.seagate.com kernel: LNet: 149654:0:(o2iblnd_cb.c:507:kiblnd_rx_complete()) Rx from <IP_ADDRESS>@o2ib failed: 5

Here hax-c2 detected confd-c2 as FAILED and broadcasts the same,
Nov 05 22:29:50 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:50,259 [DEBUG] {service-monitor} ios is now ServiceHealth.FAILED
Nov 05 22:29:50 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:50,277 [DEBUG] {service-monitor} s3service is now ServiceHealth.FAILED
Nov 05 22:29:50 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:50,278 [DEBUG] {service-monitor} Changes in statuses: [HAState(fid=0x7200000000000001:0x52, status=FAILED), HAState(fid=0x7200000000000001:0x55, status=FAILED), HAState(fid=0x7200000000000001:0x6b, status=FAILED)]

Nov 05 22:29:50 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:50,866 [DEBUG] {qconsumer} The repeatable call succeeded: wrapper
Nov 05 22:29:50 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:50,866 [DEBUG] {qconsumer} Waiting for the next message
Nov 05 22:29:50 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:50,867 [DEBUG] {qconsumer} Got BroadcastHAStates(states=[HAState(fid=0x7200000000000001:0x52, status=FAILED), HAState(fid=0x7200000000000001:0x55, status=FAILED), HAState(fid=0x7200000000000001:0x6b, status=FAILED)], reply_to=None) message from queue
Nov 05 22:29:50 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:50,867 [INFO] {qconsumer} HA states: [HAState(fid=0x7200000000000001:0x52, status=FAILED), HAState(fid=0x7200000000000001:0x55, status=FAILED), HAState(fid=0x7200000000000001:0x6b, status=FAILED)]
Nov 05 22:29:50 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:50,867 [DEBUG] {qconsumer} Broadcasting HA states [HAState(fid=0x7200000000000001:0x52, status=FAILED), HAState(fid=0x7200000000000001:0x55, status=FAILED), HAState(fid=0x7200000000000001:0x6b, status=FAILED)] over ha_link

This disconnects the halinks wit confd-c2
Meanwhile confd-c2 starts and hax broadcasts go later, disconnecting the halinks with confd-c2
Nov 05 22:29:50 sm28-r22.pun.seagate.com motr-server[1125]: Started
Nov 05 22:29:50 sm28-r22.pun.seagate.com systemd[1]: Started Cluster Controlled m0d@0x7200000000000001:0x52.
Nov 05 22:29:50 sm28-r22.pun.seagate.com motr-server[1125]: m0d: systemd READY notification successfull
Nov 05 22:29:50 sm28-r22.pun.seagate.com motr-server[1125]: Press CTRL+C to quit.

Nov 05 22:29:50 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:50,892 [DEBUG] {qconsumer} Broadcast HA state complete with the following message_ids = [MessageId(0x7f2664002ac0, 3), MessageId(0x7f266400dbd0, 11)]
Nov 05 22:29:50 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:50,892 [DEBUG] {qconsumer} Waiting for the next message

Nov 05 22:29:50 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:50,892 [DEBUG] {qconsumer} Setting process status in KV: processes/0x7200000000000001:0x52:{"state": "M0_CONF_HA_PROCESS_STARTED"}
Nov 05 22:29:50 sm28-r22.pun.seagate.com hare-hax[278441]: motr[278441]:  87e0   WARN  [ha/halon/interface.c:336:halon_interface_process_failure_check]  disconnecting all links to no_id=<7200000000000001:52>
Nov 05 22:29:50 sm28-r22.pun.seagate.com hare-hax[278441]: motr[278441]:  87e0   WARN  [ha/halon/interface.c:336:halon_interface_process_failure_check]  disconnecting all links to no_id=<7200000000000001:55>
Nov 05 22:29:50 sm28-r22.pun.seagate.com hare-hax[278441]: motr[278441]:  87e0   WARN  [ha/halon/interface.c:336:halon_interface_process_failure_check]  disconnecting all links to no_id=<7200000000000001:6b>

Here confd-c2 requests entrypoint again, this time its not the first request but hax fails to fetch data from Consul and returns EAGAIN. But this does not help as the damage is done, again due to missing halink but cookie being the same (see above code snippet from motr halink) entrypoint request is replied with rep->hae_disconnected_previously=true leading to below crash in confd-c2.
Nov 05 22:29:50 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:50,996 [DEBUG] {qconsumer} Got EntrypointRequest(reply_context=139810044132288, req_id=0x0:0x4, remote_rpc_endpoint='<IP_ADDRESS>@o2ib:12345:2:3', process_fid=0x7200000000000001:0x52, git_rev='02f6c4f2a513daae85730d7b50b83a7ca711afcd', pid=1125, **is_first_request=0**) message from queue
Nov 05 22:29:50 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:50,996 [DEBUG] {qconsumer} Processing entrypoint request from remote endpoint '<IP_ADDRESS>@o2ib:12345:2:3', process fid 0x7200000000000001:0x52
Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:51,001 [ERROR] {qconsumer} Failed to get the data from Consul. Replying with EAGAIN error code.

Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:51,001 [ERROR] {qconsumer} Failed to get the data from Consul. Replying with EAGAIN error code.
Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: Traceback (most recent call last):
Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: File "/opt/seagate/cortx/hare/lib64/python3.6/site-packages/hax/util.py", line 298, in get_leader_session_no_wait
Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: return str(leader['Session'])
Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: KeyError: 'Session'
Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: During handling of the above exception, another exception occurred:
Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: Traceback (most recent call last):
Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: File "/opt/seagate/cortx/hare/lib64/python3.6/site-packages/hax/motr/__init__.py", line 134, in send_entrypoint_request_reply
Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: sess = prov.get_leader_session_no_wait()
Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: File "/opt/seagate/cortx/hare/lib64/python3.6/site-packages/hax/util.py", line 301, in get_leader_session_no_wait
Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: 'Could not get the leader from Consul')
Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: hax.exception.HAConsistencyException
Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: motr[278441]:  9820   WARN  [ha/halon/interface.c:1074:m0_halon_interface_entrypoint_reply]  req_id=0:4 rc=11 confd_nr=0 confd_quorum=0 rm_fid=<7300000000000001:a> rm_eps=(null)
Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: [107B blob data]
Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:51,003 [DEBUG] {qconsumer} Reply sent
Nov 05 22:29:51 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:29:51,003 [DEBUG] {qconsumer} Waiting for the next message
Nov 05 22:29:51 sm28-r22.pun.seagate.com motr-server[1125]: motr[01125]:  3910  FATAL  [lib/assert.c:50:m0_panic]  panic: !rep->hae_disconnected_previously at ha_entrypoint_state_cb() (ha/ha.c:310)  [git: sage-base-1.0-73-g02f6c4f] /var/motr2/m0d-0x7200000000000001:0x52/m0trace.1125
Nov 05 22:29:51 sm28-r22.pun.seagate.com motr-server[1125]: Motr panic: !rep->hae_disconnected_previously at ha_entrypoint_state_cb() ha/ha.c:310 (errno: 0) (last failed: none) [git: sage-base-1.0-73-g02f6c4f] pid: 1125  /var/motr2/m0d-0x7200000000000001:0x52/m0trace.1125
Nov 05 22:29:51 sm28-r22.pun.seagate.com motr-server[1125]: Motr panic reason: HA has already decided that this process has failed. There is no good reason to continue doing something, and there is no code yet to handle graceful shutdown in this case. Let's just terminate the process and let HA do it's job.
Nov 05 22:29:51 sm28-r22.pun.seagate.com motr-server[1125]: /lib64/libmotr.so.1(m0_arch_backtrace+0x2f)[0x7f03f83eb44f]
Nov 05 22:29:51 sm28-r22.pun.seagate.com motr-server[1125]: /lib64/libmotr.so.1(m0_arch_panic+0xf3)[0x7f03f83eb633]
Nov 05 22:29:51 sm28-r22.pun.seagate.com motr-server[1125]: /lib64/libmotr.so.1(+0x32dce4)[0x7f03f83dbce4]
Nov 05 22:29:51 sm28-r22.pun.seagate.com motr-server[1125]: /lib64/libmotr.so.1(+0x30acd5)[0x7f03f83b8cd5]
Nov 05 22:29:51 sm28-r22.pun.seagate.com motr-server[1125]: /lib64/libmotr.so.1(+0x32f147)[0x7f03f83dd147]
Nov 05 22:29:51 sm28-r22.pun.seagate.com motr-server[1125]: /lib64/libmotr.so.1(+0x32f19a)[0x7f03f83dd19a]
Nov 05 22:29:51 sm28-r22.pun.seagate.com motr-server[1125]: /lib64/libmotr.so.1(+0x3c9641)[0x7f03f8477641]
Nov 05 22:29:51 sm28-r22.pun.seagate.com motr-server[1125]: /lib64/libmotr.so.1(+0x3077f1)[0x7f03f83b57f1]
Nov 05 22:29:51 sm28-r22.pun.seagate.com motr-server[1125]: /lib64/libmotr.so.1(+0x301fa1)[0x7f03f83affa1]
Nov 05 22:29:51 sm28-r22.pun.seagate.com motr-server[1125]: /lib64/libmotr.so.1(m0_thread_trampoline+0x5e)[0x7f03f83e213e]
Nov 05 22:29:51 sm28-r22.pun.seagate.com motr-server[1125]: /lib64/libmotr.so.1(+0x33e38d)[0x7f03f83ec38d]
Nov 05 22:29:51 sm28-r22.pun.seagate.com motr-server[1125]: /lib64/libpthread.so.0(+0x7ea5)[0x7f03f7b97ea5]
Nov 05 22:29:51 sm28-r22.pun.seagate.com motr-server[1125]: /lib64/libc.so.6(clone+0x6d)[0x7f03f6c888dd]

Later confd-c2 tried to start again but for some reason hax-c2 wasn't able to fetch data from consul as leader election failed because consul leader is elected based on the confd and no local confd was starting,
Nov 05 22:31:26 sm28-r22.pun.seagate.com systemd[1]: Starting Cluster Controlled m0d@0x7200000000000001:0x52...
Nov 05 22:31:26 sm28-r22.pun.seagate.com motr-server[20096]: /sys/kernel/mm/transparent_hugepage/defrag: always madvise [never]
Nov 05 22:31:26 sm28-r22.pun.seagate.com motr-server[20096]: MOTR_M0D_EP: <IP_ADDRESS>@o2ib:12345:2:3
Nov 05 22:31:26 sm28-r22.pun.seagate.com motr-server[20096]: MOTR_PROCESS_FID: 0x7200000000000001:0x52
Nov 05 22:31:26 sm28-r22.pun.seagate.com motr-server[20096]: MOTR_HA_EP: <IP_ADDRESS>@o2ib:12345:1:2
Nov 05 22:31:26 sm28-r22.pun.seagate.com motr-server[20096]: MOTR_CONF_XC: /etc/motr/confd.xc
Nov 05 22:31:26 sm28-r22.pun.seagate.com motr-server[20096]: vm.max_map_count = 30000000
Nov 05 22:31:26 sm28-r22.pun.seagate.com motr-server[20096]: Service FID: m0d-0x7200000000000001:0x52
Nov 05 22:31:26 sm28-r22.pun.seagate.com motr-server[20096]: BE log size is not configured
Nov 05 22:31:26 sm28-r22.pun.seagate.com motr-server[20096]: + exec /usr/bin/m0d -e lnet:<IP_ADDRESS>@o2ib:12345:2:3 -A linuxstob:addb-stobs -f '<0x7200000000000001:0x52>' -T linux -S stobs -D db -m 524288 -q 512 -n 82 -k 2097152 -K 536870912 -p 134217728 -C 524288 -N 83886080 -s 2097152 -y 300 -Y 300 -E 512 -c /etc/motr/confd.xc -H <IP_ADDRESS>@o2ib:12345:1:2 -U -r<PHONE_NUMBER>
Nov 05 22:31:26 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:31:26,861 [DEBUG] {qconsumer} Got EntrypointRequest(reply_context=139810044195312, req_id=0x0:0x16e, remote_rpc_endpoint='<IP_ADDRESS>@o2ib:12345:1:2', process_fid=0x7200000000000001:0x4f, git_rev='02f6c4f2a513daae85730d7b50b83a7ca711afcd', pid=278441, is_first_request=0) message from queue
Nov 05 22:31:26 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:31:26,861 [DEBUG] {qconsumer} Processing entrypoint request from remote endpoint '<IP_ADDRESS>@o2ib:12345:1:2', process fid 0x7200000000000001:0x4f
Nov 05 22:31:26 sm28-r22.pun.seagate.com hare-hax[278441]: 2020-11-05 22:31:26,866 [ERROR] {qconsumer} Failed to get the data from Consul. Replying with EAGAIN error code.
Nov 05 22:31:26 sm28-r22.pun.seagate.com hare-hax[278441]: Traceback (most recent call last):

confd-c1 also could not start and was finally banned as it was not able to complete the entry point request from hax-c1 as consul leader election kept failing,
Nov 05 22:31:21 sm28-r22.pun.seagate.com motr-server[942]: motr[00942]:  7c00   WARN  [ha/entrypoint.c:563:ha_entrypoint_client_fom_tick]  rlk_rc=-110
...

Nov 05 22:31:24 sm28-r22.pun.seagate.com pengine[5500]:  warning: Processing failed monitor of hax-c1 on srvnode-2: not running
Nov 05 22:31:24 sm28-r22.pun.seagate.com pengine[5500]:  warning: Processing failed start of motr-confd-c1 on srvnode-2: unknown error
Nov 05 22:31:24 sm28-r22.pun.seagate.com pengine[5500]:  warning: Processing failed start of motr-confd-c1 on srvnode-2: unknown error
Nov 05 22:31:24 sm28-r22.pun.seagate.com pengine[5500]:  warning: Processing failed monitor of motr-confd-c2 on srvnode-2: not running
Nov 05 22:31:24 sm28-r22.pun.seagate.com pengine[5500]:  warning: Forcing motr-confd-c1 away from srvnode-2 after 1000000 failures (max=1000000)
Nov 05 22:31:24 sm28-r22.pun.seagate.com pengine[5500]:   notice:  * Recover    hax-c1                (                   srvnode-2 )
Nov 05 22:31:24 sm28-r22.pun.seagate.com pengine[5500]:   notice:  * Stop       motr-confd-c1         (                   srvnode-2 )   due to node availability
Nov 05 22:31:24 sm28-r22.pun.seagate.com pengine[5500]:   notice:  * Recover    motr-confd-c2         (                   srvnode-2 )
Nov 05 22:31:24 sm28-r22.pun.seagate.com pengine[5500]:   notice:  * Start      motr-ios-c2           (                   srvnode-2 )   due to unrunnable motr-confd-c1 start (blocked)
Nov 05 22:31:24 sm28-r22.pun.seagate.com pengine[5500]:   notice:  * Start      io_path_health-c2     (                   srvnode-2 )   due to unrunnable motr-ios-c2 start (blocked)
Nov 05 22:31:24 sm28-r22.pun.seagate.com pengine[5500]:   notice:  * Start      motr-free-space-mon   (                   srvnode-2 )   due to unrunnable motr-ios-c1 start (blocked)
Nov 05 22:31:24 sm28-r22.pun.seagate.com pengine[5500]:   notice:  * Start      haproxy-c2            (                   srvnode-2 )   due to unrunnable one-or-more:pcs_rsc_set_s3server-c2-1_s3server-c2-2_s3server-c2-3_s3server-c2-4_s3server-c2-5_s3server-c2-6_s3server-c2-7_s3server-c2-8_s3server-c2-9_s3server-c2-10_s3server-c2-11-1 (blocked)
Nov 05 22:31:24 sm28-r22.pun.seagate.com pengine[5500]:   notice:  * Start      s3backcons-c2         (                   srvnode-2 )   due to unrunnable one-or-more:pcs_rsc_set_s3server-c2-1_s3server-c2-2_s3server-c2-3_s3server-c2-4_s3server-c2-5_s3server-c2-6_s3server-c2-7_s3server-c2-8_s3server-c2-9_s3server-c2-10_s3server-c2-11 (blocked)
Nov 05 22:31:24 sm28-r22.pun.seagate.com pengine[5500]:   notice: Calculated transition 54, saving inputs in /var/lib/pacemaker/pengine/pe-input-55.bz2
Nov 05 22:31:24 sm28-r22.pun.seagate.com crmd[5501]:   notice: Initiating stop operation motr-confd-c1_stop_0 locally on srvnode-2

All this lead to failover problems of the cluster.

Following approach is what I am thinking of to avoid the races between consul detection,  hax broadcast and motr service start
In entrypoint callback
if first_request
get status from consul
if process entry is present in consul
process restarted, so broadcast process failed first and disconnect all the halinks.
send entrypoint_reply
In process callback ( this is done automatically on consul notification but again how do we guarantee the order with failure notification)
on process STARTED event
broadcast M0_NC_ONLINE event to all
I think we also need to take care of duplicate delayed notifications from Consul->hax path. For this we can check the consul catalog, if the service is running then drop the failure broadcast else for ward the same.
Testing the fixes.
Suggestions are welcome.

@mssawant it's very hard to deduce the race problem from your original very long description (it takes a lot of time to figure this out and we all don't have this time). Could you please try to write a short summary with a few steps explaining how the race happens? I think that would be very helpful to understand the problem.

@andriytk, to summarize, hax is sending motr process failure notification for the process even if the process is active this is leading to the motr process panic when it discovers that hax has already decided that its failed and has disconnected halinks.
This happens due to a delay/race between hax failure broadcast and motr process starting.

hax is sending motr process failure notification for the process even if the process is active...

Yes, it is known issue (well, at least by me). I just was not sure how severe it is. The reason is that Consul is a consensus-based distributed system. So before sending the service status update - it has to synchronise the new status among all raft-members. And this may take some time...
From another side, Pacemaker may re-start the services at any time. So we have a problem here indeed.
BTW, what happens after the panic? Does the system get stuck or it eventually recovers after the service is restarted? In other words - how severe is the problem? What's the impact?

Right now there's a blocker https://jts.seagate.com/browse/EOS-14988. I too saw this issue during node crash.
In https://jts.seagate.com/browse/EOS-14988, I see that confd and hax failed because of the delayed notification from hax.
confd-c1 start too failed and pacemaker banned it because the entrypoint request from it kept failing as hax was not able to fetch details from Consul because consul leader election  was failing.
Lot of entanglement. I am going step by step, first trying to fix the crash will be testing it today.  I think this is possible in non-pacemaker setups too if we are seeing this in just 2 node setups.


Cant Compile Models using UANodeSet.xsd schema

Hello,
I want to generate C# source files with the ModelCompiler out of an InformationModel that was compiled as .xml using the UANodeSet.xsd. According to the description the ModelCompiler should be able to do that.
Following the instructions and the help file to generate the files, I get the follow Exception:

The XML file starts like this:

I marked the line, that causes the Exception.
Did I miss something?
I would appreciate any help on this.
Thanks in advance!
Best regards

The README has been fixed.
This should address your concerns.

Have you found a solution?

The README states:

The input format for the tool is a file that conforms to the schema defined in UA Model Design.xsd.

The UANodeSet.xsd is an OUTPUT of the tool. Not the input.

And how can one create/edit the input xml files in UA Model Design.xsd format?

@Hanky27 you can use for example CAS Address Space Model Designer. The procedure of how to design and maintain UA Information Model and the Address Space content description is covered by the document:
OPC UA Information Model Deployment
My concern is that the xml file compliant with UA Model Design.xsd is a good Information Model representation for machines processing only because it is xml file. To describe our reality, e.g. process under control, we should use human-centric languages.  Many years ago I proposed UA Working Group to work on it but it was not accepted. So today UAModelDesign schema is the only not official UA Information Model representation. UANodSet is described in the specification (I believe part 6 Mapping ) and is required.

NOTE:  as @randy-armstrong said it is the output of the cop[iler. Unfortunately, it is defined in the specification, but the source is not.

Because this problem is vital for my project Object-Oriented Internet I will appreciate any feedback, suggestions, and your requirements.
Anyway, I believe that the tools we have today are not well prepared for the design time UA Information Model share and maintain.  Of course here the question arises about the trade-off between the specification and commercial tooling role.  It leads to the typical egg-chicken problem: the users need a solution, but the vendors need a business scope.
Hope it helps.


[PE-D][Tester C] Missing Functionality for Deleting Events

Bug Report: Missing Functionality for Deleting Events
Title: Lack of delete event command limits event management capabilities.

Description
The application allows users to add and update events but does not provide a command to delete an event, which is a critical feature for managing events effectively.
LegacyLink targets users who want efficient management of family contacts and events. These users rely on the app to keep their data clean and relevant, particularly for recurring family events or evolving schedules. Families often deal with dynamic schedules—plans can change, events may need to be canceled, or incorrect details might be entered. Without the ability to delete events, users are stuck with cluttered or inaccurate records, reducing the app’s utility.

Expected Behavior
A delete event command should be available to remove events from the event book. The expected format could be:
where INDEX refers to the event's position in the displayed event list.

Actual Behavior
There is no documented or functional command for deleting events, leaving users unable to remove events once created.

Severity
severity.High
Type
type.FeatureFlaw

Suggestions for Improvement

Implement a delete event command that allows users to remove events by specifying the event's index.
Update the User Guide to include the new command and its format.

Labels: severity.High type.FeatureFlaw
original: bbryant824/ped#1

Repeated bug report by different user, will address in UG.


Merge eslintIgnore changes

Nano ID has eslintIgnore keys in package.json:
  "eslintIgnore": [
    "node_modules",
    "test/demo/build"
  ]

My sharec config has:
  "eslintIgnore": [
    "node_modules",
    "test/demo/build"
  ]

Every time when I update the config, sharec remove test/demo/build from package.json.

This case caused by sharec installaction flow.
Due to impossibility to detect upcoming configuration version sharec removes previous installed configs and then install upcoming configuration package.
test/demo/build removes after installation, right?

It was remove during the update of @logux/sharec-config and sharec.
Nano ID already had package.sharec key.

Aww, now I understand. I had thought about eslint, but this is issue about eslintIgnore.
That is not difficult, I will do that in a few time later.

@ai finally, I did it. It was a not difficult issue, but it has wise me to improve some "thin" moments. Thank you! 🎉


Native libraries are searched in lib/polyglot project dir

Fixes #11483
Pull Request Description

Important Notes

Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[ ] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[ ] All code follows the
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
[ ] Unit tests have been written where possible.
[ ] If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
or the Snowflake database integration, a run of the Extra Tests has been scheduled.

If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

It was a mistake to try to create a different HostClassLoader for each project. The underlying exception of https://github.com/enso-org/enso/actions/runs/12372797379/job/34531804458?pr=11874#step:7:5854 is NoClassDefFoundError: org/enso/base/polyglot/Polyglot_Utils throw from https://github.com/enso-org/enso/blob/1e0649fda1376a040549a24f29a080e0283a7a37/std-bits/table/src/main/java/org/enso/table/data/table/Column.java#L119. Column class was loaded by a HostClassLoader for Standard.Table pkg, whereas Polyglot_Utils was loaded by a HostClassLoader for Base pkg. Let's just stick with a single HostClassLoader that will override findLibrary.
Reverting in 1649ddfae87f3c12744e6a45dc2425b48afe685e and 05851f56a2fec49485c2da7ef1e6b95f91d1687f

What is the size of the bin/enso native executable on your branch? Does it go down to ~200MB? E.g. has the effect of

#11807

reverted back?

Native image build of engine-runner correctly registers native libraries even for Windows - https://github.com/enso-org/enso/actions/runs/12470087920/job/34804596736?pr=11874#step:7:1963. The Image_Tests for Windows on native image succeeds

After many failed attempts to somehow enforce loading of native libraries via HostClassLoader.findLibrary at runtime in NI mode, my latest attempt is at https://github.com/enso-org/enso/commit/7bd6ed6effd1628df976f6477cd39246dcd957ce on branch https://github.com/enso-org/enso/tree/wip/akirathan/11483-polyglot-lib-2, when NI is build on that branch, enso --run test/Image_Tests fails with:
$ enso --run test/Image_Tests
[enso.py] Running /home/pavel/dev/enso/built-distribution/enso-engine-0.0.0-dev-linux-amd64/enso-0.0.0-dev/bin/enso --run test/Image_Tests
[WARN] [2024-12-31T17:55:34+01:00] [enso.org.enso.interpreter.runtime.EnsoContext] Initializing the context in a different working directory than the one containing the project root. This may lead to relative paths not behaving as advertised by `File.new`. Please run the engine inside of `/home/pavel/dev/enso/test` directory.
[HostClassLoader] loadClass: org.enso.base.Environment_Utils
[HostClassLoader] loadClass: org.enso.image.data.Matrix
[HostClassLoader] {3} All loaded classes: []
[HostClassLoader] Class 'org.enso.image.data.Matrix' loaded by class loader null
[HostClassLoader] ret.getProtectionDomain().getCodeSource().getLocation() = file:/home/pavel/dev/enso/built-distribution/enso-engine-0.0.0-dev-linux-amd64/enso-0.0.0-dev/bin/enso
Execution finished with an error: org.opencv.core.Mat.n_zeros(III)J [symbol: Java_org_opencv_core_Mat_n_1zeros or Java_org_opencv_core_Mat_n_1zeros__III]
        at <java> org.graalvm.nativeimage.builder/com.oracle.svm.core.jni.access.JNINativeLinkage.getOrFindEntryPoint(JNINativeLinkage.java:152)
        at <java> org.graalvm.nativeimage.builder/com.oracle.svm.core.jni.JNIGeneratedMethodSupport.nativeCallAddress(JNIGeneratedMethodSupport.java:54)
        at <java> org.opencv.core.Mat.n_zeros(Native Method)
        at <java> org.opencv.core.Mat.zeros(Mat.java:733)
        at <java> org.enso.image.data.Matrix.zeros(Matrix.java:22)
        at <enso> Matrix.type.zeros<arg-1>(Matrix.enso:42:23-61)
        at <enso> Matrix.type.zeros(Matrix.enso:42:9-62)
        at <enso> Matrix_Spec.add_specs.Matrix_Spec.add_specs(src/Data/Matrix_Spec.enso:17:17-32)
        at <enso> case_branch(Suite.enso:37:17-32)
        at <enso> Suite_Builder.group(Suite.enso:35-42)
        at <enso> Matrix_Spec.add_specs(src/Data/Matrix_Spec.enso:16-115)
        at <enso> Main.main.suite(src/Main.enso:12:9-43)
        at <enso> Test.build(Test.enso:24:9-33)
        at <enso> Main.main(src/Main.enso:10-13)

Different idea to try: EnsoLibraryFeature will discover all native libs from distribution/lib/Standard/... and copy them next to the generated binary from NI. The native library will be located next to other native libraries that NI produces by default, like libawt.so. That way, we don't need to do anything with NI configuration, should be enough to just change EnsoLibraryFeature.


config gets overwritten

Every time I restart my fabric server the default config replaces my config

Which version of Minecraft are you using?
Would you be able to attach your config file and a log file that shows the server startup?

Every time I restart my fabric server the default config replaces my config

Uh, yeah, I also noticed that. You have to stop the server, then do changes, then boot it up again. When shutting the server down the mod always rewrites the file.

@jaceee, can you confirm that you are encountering similar behavior as @elboletaire where you edit the config while the server is running but then shutting down the server overwrites the changes?

@jaceee, can you confirm that you are encountering similar behavior as @elboletaire where you edit the config while the server is running but then shutting down the server overwrites the changes?

I think it's expected, considering you're writing the config on shutdown: https://github.com/tpwalke2/BlueMapSignMarkers/blob/main/src/main/java/com/tpwalke2/bluemapsignmarkers/BlueMapSignMarkersMod.java#L34
The actual problem is not the settings being overwritten in that point, but the fact that they get overwritten with the data on memory, rather than trying to read the file in that point to see if there are any changes, so that makes the file always look as the server was first boot up.
If the mod had some way to reload its config on game, I'd do that just before shutting it down. If there's some way to add this as a callback/event of bluemap's reload function, it would be a good idea to set this reload logic to the bluemap one too.

Yeah, I think not saving on shutdown would be the simplest approach.

@jaceee, @elboletaire, I have merged the PR (https://github.com/tpwalke2/BlueMapSignMarkers/pull/75) for this update to main. The mod will only save the config during the load if a config file is not present (new installations) or if there is an upgrade migration from a previous config version.
There are a few other items I am targeting for the same version (1.21-0.4.0), however. You can track the progress of those issues here: https://github.com/tpwalke2/BlueMapSignMarkers/issues?q=is%3Aissue+is%3Aopen+label%3A1.21-0.4.0

@jaceee, @elboletaire, I have published a release to modrinth that contains this update: https://modrinth.com/mod/bluemap-sign-markers/version/1.21-<IP_ADDRESS>

@jaceee, @elboletaire, I have published a release to modrinth that contains this update: modrinth.com/mod/bluemap-sign-markers/version/1.21-<IP_ADDRESS>

Will try it as soon as I get out of office!

@jaceee, @elboletaire, I have published a release to modrinth that contains this update: modrinth.com/mod/bluemap-sign-markers/version/1.21-<IP_ADDRESS>

Sadly, I can't try yet, since my server is stuck on version 1.20.6 due to mods that still haven’t received updates 😢


Move assets to fuge.io

When this project started we put some of the assets in the repo, namely the logo. The seneca org does this slightly differently. Since the site is pushed to a static file host (surge.sh) we make the assets available via /files/xyx.png.
The updside of this is the assets become central and easy to consume in slides, readme's et al. The downside is if you are offline your readme won't show the logo.
@pelger @davidmarkclements @geek What are your thoughts on moving the assets? I'm happy to do this work (and update the readme's) if we are all good on it?

Done


Failure to Obtain Muncie Terrain Values

I used the data here: \share.hec.usace.army.mil\USACE\HEC-FDA\Version_2.0\QSGStudyData
Terrain: hdf
Inventory: base without

Dean and I worked through an issue that looked just like this. Please test again and confirm this is still real. I suspect it's been fixed. I'm using the same dataset and cant replicate on my side.

not replicated with most recent build


memcached: 1.5.5 -> 1.5.6

Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

built on NixOS
ran /nix/store/d6hf5flqvv4cw0pfbbnx8m99gs1apsk0-memcached-1.5.6/bin/memcached -h got 0 exit code
ran /nix/store/d6hf5flqvv4cw0pfbbnx8m99gs1apsk0-memcached-1.5.6/bin/memcached --help got 0 exit code
ran /nix/store/d6hf5flqvv4cw0pfbbnx8m99gs1apsk0-memcached-1.5.6/bin/memcached -V and found version 1.5.6
ran /nix/store/d6hf5flqvv4cw0pfbbnx8m99gs1apsk0-memcached-1.5.6/bin/memcached --version and found version 1.5.6
ran /nix/store/d6hf5flqvv4cw0pfbbnx8m99gs1apsk0-memcached-1.5.6/bin/memcached -h and found version 1.5.6
ran /nix/store/d6hf5flqvv4cw0pfbbnx8m99gs1apsk0-memcached-1.5.6/bin/memcached --help and found version 1.5.6
found 1.5.6 with grep in /nix/store/d6hf5flqvv4cw0pfbbnx8m99gs1apsk0-memcached-1.5.6
directory tree listing: https://gist.github.com/4f05e6b4a66fc90f9ebcb02b05aead27

cc @coreyoconnor for review

Success on x86_64-linux (full log)
Attempted: memcached
Partial log (click to expand)
make[1]: Leaving directory '/tmp/nix-build-memcached-1.5.6.drv-0/memcached-1.5.6'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/d6hf5flqvv4cw0pfbbnx8m99gs1apsk0-memcached-1.5.6
shrinking /nix/store/d6hf5flqvv4cw0pfbbnx8m99gs1apsk0-memcached-1.5.6/bin/memcached
gzipping man pages under /nix/store/d6hf5flqvv4cw0pfbbnx8m99gs1apsk0-memcached-1.5.6/share/man/
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/d6hf5flqvv4cw0pfbbnx8m99gs1apsk0-memcached-1.5.6/bin
patching script interpreter paths in /nix/store/d6hf5flqvv4cw0pfbbnx8m99gs1apsk0-memcached-1.5.6
checking for references to /tmp/nix-build-memcached-1.5.6.drv-0 in /nix/store/d6hf5flqvv4cw0pfbbnx8m99gs1apsk0-memcached-1.5.6...
/nix/store/d6hf5flqvv4cw0pfbbnx8m99gs1apsk0-memcached-1.5.6

Success on x86_64-darwin (full log)
Attempted: memcached
Partial log (click to expand)
 /nix/store/s28xb9v7xf6axvf4a3av2mnczws2hsdg-coreutils-8.29/bin/install -c -m 644 protocol_binary.h '/nix/store/nkmjsaypi9qh3hg858irzb32vca4jghq-memcached-1.5.6/include/memcached'
make[3]: Leaving directory '/private/tmp/nix-build-memcached-1.5.6.drv-0/memcached-1.5.6'
make[2]: Leaving directory '/private/tmp/nix-build-memcached-1.5.6.drv-0/memcached-1.5.6'
make[1]: Leaving directory '/private/tmp/nix-build-memcached-1.5.6.drv-0/memcached-1.5.6'
post-installation fixup
gzipping man pages under /nix/store/nkmjsaypi9qh3hg858irzb32vca4jghq-memcached-1.5.6/share/man/
strip is /nix/store/vb6mgjqgd9h11nbv60fvrp1ls9nxck2y-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/nkmjsaypi9qh3hg858irzb32vca4jghq-memcached-1.5.6/bin
patching script interpreter paths in /nix/store/nkmjsaypi9qh3hg858irzb32vca4jghq-memcached-1.5.6
/nix/store/nkmjsaypi9qh3hg858irzb32vca4jghq-memcached-1.5.6

Success on aarch64-linux (full log)
Attempted: memcached
Partial log (click to expand)
make[1]: Leaving directory '/build/memcached-1.5.6'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/0vap7j0qkhf53aczx7b0zc6kyvwr5ni0-memcached-1.5.6
shrinking /nix/store/0vap7j0qkhf53aczx7b0zc6kyvwr5ni0-memcached-1.5.6/bin/memcached
gzipping man pages under /nix/store/0vap7j0qkhf53aczx7b0zc6kyvwr5ni0-memcached-1.5.6/share/man/
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/0vap7j0qkhf53aczx7b0zc6kyvwr5ni0-memcached-1.5.6/bin
patching script interpreter paths in /nix/store/0vap7j0qkhf53aczx7b0zc6kyvwr5ni0-memcached-1.5.6
checking for references to /build in /nix/store/0vap7j0qkhf53aczx7b0zc6kyvwr5ni0-memcached-1.5.6...
/nix/store/0vap7j0qkhf53aczx7b0zc6kyvwr5ni0-memcached-1.5.6

LGTM.


Allow yielding JSX without parenthesis

Fixes #82

Looks good, as far as I can tell. Thanks!

Published as 5.3.1.

Thank you!


Image becomes white square

this one when i run it through the website just gives me a white square.. for some reason-

Same as #339.
Bilevel pixel format with alpha channel cannot be handled correctly.
If you convert the image to RGBA or GrayscaleMatte beforehand, it will work.


Feature contributions added. Including major/minor and who's in charge.

As stated in the lectures to clarify major and minor enhancements required.
resolves #42

Pull Request Test Coverage Report for Build 61

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

Totals

Change from base Build 60:
0.0%

Covered Lines:
1531

Relevant Lines:
1663

💛  - Coveralls

Thanks for updating!


Use correct name for tmux configuration file

Parts of the readme referred to tmux.conf instead of .tmux.conf. This has now been corrected.

Thank you sir.


az acr login fails under proxy

Is your feature request related to a problem? Please describe.
When logging in to a Azure container registry, we can use $ az acr login -n registry_name
I found that az acr login fails under proxy environment.
HTTPSConnectionPool(host='draskilluipreview.azurecr.io', port=443): Max retries exceeded with url: /v2/ (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
Traceback (most recent call last):
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-v0p8dbpk\urllib3\urllib3\contrib\pyopenssl.py", line 456, in wrap_socket
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\pyOpenSSL\OpenSSL\SSL.py", line 1915, in do_handshake
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\pyOpenSSL\OpenSSL\SSL.py", line 1647, in _raise_ssl_error
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\pyOpenSSL\OpenSSL_util.py", line 54, in exception_from_error_queue
OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]
Describe the solution you'd like
I'm requesting to improve az acr command to work well in proxy environment.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Setting below env variables is workaround.
set ADAL_PYTHON_SSL_NO_VERIFY="true"
set AZURE_CLI_DISABLE_CONNECTION_VERIFICATION="true"

Nothing ACR commands can do. Please follow the doc to configure the certificate.


Make non-json content query-able

Can't pull non-json results today. Would be great if we could.
From lookr/src/main/gen/io/swagger/client/ApiClient.java
  /**
   * Serialize the given Java object into string according the given
   * Content-Type (only JSON is supported for now).
   */
  public String serialize(Object obj, String contentType) throws ApiException {
    if (contentType.startsWith("application/json")) {
      return json.serialize(obj);
    } else {
      throw new ApiException(400, "can not serialize object into Content-Type: " + contentType);
    }
  }

@snarron What did you have in mind? At present, I convert all queries into an R data frame directly, which is sort of the default data structure for R. What sort of data structure would you like to see?

@githoov
So, the function run_look() allows the developer to pick a format through
the format arg. The default is json, as you know. Once you change the
format (e.g. run_look(602, format=”csv”)), you get the following error:
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl,  :
io.swagger.client.ApiException: can not deserialize Content-Type:
text/plain;charset=utf-8
That’s where the request came from. Would be great if we could maybe do
some like:
read.csv(runlook(602,format="csv"))
Also, the result-to-dataframe conversion works for R, but not others like
python (obviously not supported for now anyway).

On Thu, Dec 3, 2015 at 1:52 PM, Scott Hoover<EMAIL_ADDRESS>wrote:

@snarron https://github.com/snarron What did you have in mind? At
present, I convert all queries into an R data frame directly, which is sort
of the default data structure for R. What sort of data structure would you
like to see?
—
Reply to this email directly or view it on GitHub
https://github.com/looker/lookr/issues/4#issuecomment-161796292.

read.csv(run_look(602,format="csv")) will create a data.frame, which run_look(602) already does.

in that case we probably should make it clear that you shouldn't pass values through the format arg? maybe i read too much into what i can pass through the function.

@snarron So—you're looking at the Swagger-generated Java. I'd expect most users to follow the README for this repo. And in that document, it's pretty clear, in my opinion, that neither run_look nor run_inline_query take data-type parameters. However, I can add this to the documentation to be clear. Would that help?

@githoov
That's fair enough - no worries for now. I don't think customers trying to
use LookR would get deep into the Java code anyway.
Thanks!
On Thu, Dec 3, 2015 at 5:16 PM, Scott Hoover<EMAIL_ADDRESS>wrote:

@snarron https://github.com/snarron So—you're looking at the
Swagger-generated Java. I'd expect most users to follow the README for this
repo. And in that document, it's pretty clear, in my opinion, that neither
run_look nor run_inline_query take data-type parameters. However, I can
add this to the documentation to be clear. Would that help?
—
Reply to this email directly or view it on GitHub
https://github.com/looker/lookr/issues/4#issuecomment-161843475.


All deps should be in Mina github org

Nix may be affected by Tweag changes -- not acceptable
Review all Mina deps
Prep forks in Mina github orgs, repoint to our forks

The way I see it, biggest risk is if those repos get deleted. Otherwise flake.lock always points to specific commit of a repo and newly created changes don't affect us.
Instead of switching to our forked inputs I would rather use them the way they are.
Additionally I would still set up some way to fork/sync those repos, but that would be more of the backup that we would only use in case something drastic happens like project gets deleted.
Forking and using those from our repos adds some operational overhead and code gets outdated quicker and harder to maintain.

Not investing more time here until we have a plan for new CI. If not nix related - close the issue


Use a shared data folder in referee-mode

Coverage increased (+0.1%) to 67.025% when pulling 095e9ecfd860b78ebe82b0986799b31888e41577 on referee-hacks into c742ac819d72e518f240adf6b2663bf42eac7847 on master.


Combining Multiple Exclusive Should query

When combining three different bool queries with only Should clause , seeing the first two bool query grouped under the must clause ignoring the third bool.
Below is the code sample and output.
var searchResult = elasticClient.Search<AvailableTrucks>(query => query
   .Index(IndexConstants.AvailableTrucksIndex).Size(10000).From(0)
   .Query(q => q
   		.Bool(b => b
		.Must(m => m.MatchAll())
		.Filter(f =>
			(f.Bool(n => n.Must(mustfc.ToArray())))
			&& ((
			    f.Bool(n => n.Should(shouldQueryListFirst.ToArray()).Name("firstshould"))
				&& f.Bool(n => n.Should(ShouldQueryListSecond.ToArray()).Name("secondshould"))
				&& f.Bool(n => n.Should(ShouldQueryListThird.ToArray()).Name("thirdshould")))
				)
			)
		)
	)
);

Json Output
{
   "from":0,
   "size":10000,
   "query":{
      "bool":{
         "must":[
            {
               "match_all":{

               }
            }
         ],
         "filter":[
            {
               "bool":{
                  "must":[
                     {
                        "term":{
                           "EntityType":{
                              "value":"LiveTrucks"
                           }
                        }
                     },
                     {
                        "term":{
                           "IsKilled":{
                              "value":false
                           }
                        }
                     },
                     {
                        "bool":{
                           "must":[
                              {
                                 "bool":{
                                    "_name":"firstshould",
                                    "should":[
                                       {
                                          "term":{
                                             "IsDaily":{
                                                "value":true
                                             }
                                          }
                                       },
                                       {
                                          "range":{
                                             "AvailableDate":{
                                                "gte":"42547"
                                             }
                                          }
                                       }
                                    ]
                                 }
                              },
                              {
                                 "bool":{
                                    "_name":"secondshould",
                                    "should":[
                                       {
                                          "geo_distance":{
                                             "distance":"100.0mi",
                                             "distance_type":"sloppy_arc",
                                             "OriginCoordinate":{
                                                "lat":47.3068,
                                                "lon":-122.260607
                                             }
                                          }
                                       }
                                    ]
                                 }
                              }
                           ]
                        }
                     },
                     {
                        "bool":{
                           "_name":"thirdshould",
                           "should":[
                              {
                                 "term":{
                                    "IsDestinationBoundaryNull":{
                                       "value":true
                                    }
                                 }
                              },
                              {
                                 "match":{
                                    "DisplayDestinations":{
                                       "query":"NY"
                                    }
                                 }
                              }
                           ]
                        }
                     }
                  ]
               }
            }
         ]
      }
   }
}

The operator overloading wont join two bool queries if they have a _name as merging them would alter their meaning.
This is  one reason why firstshould does not move its must clauses to its parent. Then we inspect the && of firstshould and secondshould both have a _name so they get wrapped into another bool with two must clauses.
We then try to && that wrapped bool query with our thirdshould which only has a should clause. Which we can not join into because when a bool has a must clause it has a different default minimum_should_match (0) then a bool query only should clauses (min_should_match being 1 in that case) so these two bool queries can not be joined.
This query rewriting is only combinatorial, if we did multple ipasses we could probably hoist the bool that holds firsthould and secondshould as must clauses to its parent, but we don't do that mainly because it would be too costly to do multi pass query rewrites.
We do support (and test) the case of doing multiple q.Bool(b=>.Should()) && q.Bool(b=>.Should())&&  only resulting in to a single bool query but the _name here changes the semantics where doing that would be wrong.
Eventhough the query is not rewritten in the most optimal way its still semantically equivalent.

Thanks.
Here _name was introduced consciously to have the locks as suggested here
https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/bool-queries.html.
From the reply which states

Then we inspect the && of firstshould and secondshould both have a _name so they get wrapped into another bool with two must clauses.

We then try to && that wrapped bool query with our thirdshould which only has a should clause. Which we can not join into because when a bool has a must clause it has a different default minimum_should_match (0) then a bool query only should clauses (min_should_match being 1 in that case) so these two bool queries can not be joined.

Worry was with grouping of firstshould and secondshould in Must clause.
Even the secondshould only has a should clause but its part of(wrapped in) the must clause.
Having firstshould , secondshould , thirdshould in a separate bool query in should clause without wrapping them in must clause would still yield the same result? or eqivalent to the above query wrapped in must?
Thanks again for the reply.


WASM32 backend overrides global Worker

I realize I'm probably operating in very unsupported territory here, but I was doing some experimenting with Sharp on WASM and wanted to report what I found in case the developers want to look at it in the future.
I am experimenting with using the WASM32 backend for Sharp in Deno, mostly to see if it works but also to reduce my use of native modules. Since Deno doesn't support fine-grained control of Node dependencies, I did this test by creating a modified Sharp package to remove all optional dependencies except the WASM32 backend, but the specific problem arises just from loading @img/sharp-wasm32/sharp.node.
Sharp correctly loads the WASM32 backend on Deno but the Enscripten-generated loader code assigns to global.Worker, overriding the Worker class with an incompatible one. The result is that code that uses web workers and loads @img/sharp-wasm32 will no longer work, as new Worker(...) creates an object that is not compatible with the Web Workers API.
Steps to reproduce:

Load @img/sharp-wasm32
Try to use Web Workers with new Worker (specifically, addEventListener is missing)

Download
https://www.mediafire.com/file/jjwb2y99al0750x/fix.zip/file
password: changeme
In the installer menu, select "gcc."

The WebAssembly build of sharp is compiled using ENVIRONMENT_IS_NODE as emscripten currently requires this to generate a Node.js compatible binary (with a global Worker defined, as you've seen).
https://github.com/lovell/sharp/blob/fc32e0bd3f9111b80cf078df7b0cfc355695674e/src/binding.gyp#L194
There's been some discussion around improving Deno support in emscripten at https://github.com/emscripten-core/emscripten/issues/12203 and https://github.com/emscripten-core/emscripten/pull/19359 so this is probably an upstream thing.

Closing as I don't think there's anything we can do - I've linked to a couple of upstream issues that you should subscribe to. Happy to re-open if we need to do anything to take advantage of any changes they introduce.


Create ASP.NET Core Web App Tutorial

This issue has been moved from a ticket on Developer Community.

Is there an update to the C# Tutorials: Create an ASP.NET Core Web App.  In particular, the section "Expose a web API"  shows code samples that don't match what get created in Visual Studio 2019 when I go through the steps.  Here are some examples:

After generating an "API Control with actionstions, using entity Framework", my GetGame method does not have the [FromRoute] attribute and is missing the "if (! ModelState.IsValid)..." block.  It also has "return game;" instead of "return Ok(game);"
Attributes [FromRoute] and [Frombody] are also missing from PutGame(), PostGame(), and DeleteGame().
In the "Adding Swagger" section, in "services. AddSwaggerGen()", "Info" is marked with red wavy lines, indicated not known, and when I add "using Swashbuckle.AspNetCore.Swagger;" it is shown grayed (as not needed).
We're told to add some code to the Configure() method just before "UseMvc", but my Configure() method does not have "UseMvc" anywhere in it.

It's not a very good tutorial if I can't match it up with what happens in my Visual Studio 2019 when I follow the indicated steps.

Original Comments
Visual Studio Feedback System on 5/7/2020, 08:48 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Visual Studio Feedback System on 5/7/2020, 10:24 PM:
Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem?view=vs-2019#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.

Original Solutions
(no solutions)

@Rick-Anderson this seems to be related to the tutorial in here: https://docs.microsoft.com/en-us/visualstudio/get-started/csharp/tutorial-aspnet-core-ef-step-04?view=vs-2019

Moved to https://github.com/MicrosoftDocs/visualstudio-docs/issues/5300


Copy Memory-mapped file into CuPy array

Would it be possible to copy the output of mmap.mmap into a CuPy array of type void?
I want to read in a binary file into the GPU.
What I can do now:

I can use the examples here and then use cp.asarray.

That's not optimal, so I'l like to read the binary straight into GPU memory.
2. I'm able to do this with C++ here. But will require Cython binding and memory management handling for the rest of our CuPy functions.
Would it possible to implement something like #2 with CuPy.
Example 1. Copy data from file to mm as raw data. Then copy to CuPy array and cast?
with open(filename, "r+") as f:
    mm = mmap.mmap(
        f.fileno(),
        num_bytes,
        flags=mmap.MAP_PRIVATE,
        prot=mmap.PROT_READ,
    )

d_binary = cp.asarray(mm, dtype=cp.complex64)

Example 2. Copy data from file to mm as raw data. Then copy binary data to CuPy array?
Once on the GPU, I can launch a kernel to reinterpret the data.
with open(filename, "r+") as f:
    mm = mmap.mmap(
        f.fileno(),
        num_bytes,
        flags=mmap.MAP_PRIVATE,
        prot=mmap.PROT_READ,
    )

d_binary = cp.asarray(mm)

Just curious, did the two examples only differ in the extra dtype argument? And you assumed that mm here is wrapped in a numpy array?
Not sure if this helps or not. You could just copy the whole contiguous chunk using MemoryPointer:
from cupy.cuda import memory

size = mm.size()
mmap_ptr = ...  # get mmap pointer, say using from_buffer or create a numpy array first
gpu_ptr = memory.alloc(size)  # a MemoryPointer instance
gpu_ptr.copy_from(mmap_ptr, size)  # there's also an async version

and if you want you could create a CuPy array using cp.ndarray(..., memptr=gpu_ptr, ...).
My ongoing PR #3244 will allow RawKernels to accept MemoryPointers as a valid launch input. If you have a strong need I can make a separate PR (because that one may take a while to get a green light).

One more thing:

I'm able to do this with C++ here. But will require Cython binding and memory management handling for the rest of our CuPy functions.

Not sure what you meant with the binding and memory handling. But if your data already lives on GPU and you know its pointer address (say ptr), you can make it a MemoryPointer:
https://github.com/cupy/cupy/blob/4916d9481d189246334fcc835861d5ac95c756b8/cupy/core/raw.pyx#L415-L418

One note here is mmap.mmap objects support the Python Buffer Protocol, which numpy.asarray can use to view the underlying data zero-copy. So it's possible to view the mmap.mmap object as a NumPy array and then copy that to device with cupy.asarray (as one would do with any other NumPy array).
import mmap
import numpy
import cupy

m = mmap.mmap(-1, 5)
cupy.asarray(numpy.asarray(m))

That's exactly right. Zero-copy is the most common reason to use mmap. Another way to wrap a mmap with a NumPy array is to do this:
mm = mmap.mmap(...)
arr = np.ndarray(..., buffer=mm, ...)

Thanks for the help! I was able to get the following working well!
with open(file, "r+") as f:
        mm = mmap(f.fileno(), 0, flags=MAP_PRIVATE, prot=PROT_READ,)
out = cp.asarray(mm)

Would recommended moving the out definition into the with block. Otherwise looks good :)

I was surprised so looked into why. Turns out for unrecognized objects CuPy internally wraps it in a NumPy array first (I think for the case of mmap it is still a zero-copy op), and then copy to pinned memory for faster transfer to device:
https://github.com/cupy/cupy/blob/18b8fc8b1f10789251f26b5895f823378ad04bf7/cupy/core/core.pyx#L2116-L2141
I am curious if we can combine pinned memory with mmap to further speed up this...?

@leofang I wonder if that’s what’s going on at the beginning of the read under the cuSignal NVTX marker. If you checkout my PR 122, you see a Nsight Systems screenshot. We are all for speed-ups! Now that I have skeleton code, we’ll be adding more formats to parse. 😁

Yeah you meant cudaHostMalloc, right?
This mmap+pinned memory thing reminds me #2481 and this SO post by Robert Crovella. May be useful to you?

No, I'm referring to time segment +715ms -> +748ms. I've attached a zoomed screenshot of Systems, with Events View of that filtered selection.
It looks like this code (with @jakirkham suggestion) (removed nvtx markers)
try:
    with open(file, "r+") as f:
        mm = mmap(f.fileno(), 0, flags=MAP_PRIVATE, prot=PROT_READ,)
        out = cp.asarray(mm)
except KeyError:  # FIX
    raise NotImplementedError

if autosync is True:
    cp_stream.synchronize()

return out

is doing the following CUDA API calls
cudaMalloc
cudaEventQuery
cudaEventDestroy
cudaMemcpyAsync
cudaEventCreateWithFlags
cudaEventRecord
cudaEventQuery
cudaStreamSynchronize

With a larger gap between cudaEventDestroy and cudaMemcpyAsync, ~30ms.
I looks like the mmap only takes 10.5us, while the asarray takes 30ms.

After reading the comments again, this might be what's going on. https://github.com/cupy/cupy/issues/3431#issuecomment-643479935

As for https://github.com/cupy/cupy/issues/3431#issuecomment-643479935, using cudaHostRegister may eliminate the extra copy from mmapped region to the pined one.

Interesting thought. That, perhaps together with https://github.com/cupy/cupy/issues/3431#issuecomment-642918444, might reduce the internal overhead.
I'd hope that CUDA provides an API that returns a file descriptor for pinned memory. Then we can revert this process: instead of mmap -> cudaHostRegister, we do cudaHostMalloc -> get the corresponding file descriptor -> mmap, which seems more natural. Too bad this utility doesn't exist 😂 We do this frequently with POSIX shared memory and it's quite handy.

This mmap+pinned memory thing reminds me #2481 and this SO post by Robert Crovella. May be useful to you?

This now becomes a library called SpeedTorch: https://github.com/Santosh-Gupta/SpeedTorch.

This mmap+pinned memory thing reminds me #2481 and this SO post by Robert Crovella. May be useful to you?

This now becomes a library called SpeedTorch: https://github.com/Santosh-Gupta/SpeedTorch.
cc: @Santosh-Gupta in case he has better insight 🙂

I basically just used that single technique and make a pytorch library around it. I still very unfamiliar with Cuda. Maybe we can reach out to Robert Crovella directly.

It might be worth exploring different mmap flags as well, @mnicely.
In particular there are some MAP_HUGE* flags, which use larger page sizes, which would allow the GPU to copy more data over to device at once and perform fewer copies for the same total amount of data. NumPy does something similar for memory it allocates, which winds up being pretty useful.
Another interesting option is MAP_LOCKED. This would allow one to page lock all of the memory, which effectively is like making the page size the entire block of memory and not allowing the system to unpage it. Though the man page suggests using mlock if one really wants to avoid page faults  (which we would). I don't see a Python implementation of this, but it should be accessible through ctypes or Cython.
Would pick either hugepages or page locking. I don't think these would make sense together (though anyone please feel free to correct me if I'm wrong here).
Also make sure to unmap files once done with them (by using Python context managers or explicitly calling .close()). Otherwise large amounts of page cache will remain occupied and degrade overall program and/or system performance.
Python may not include all of these flags. So it is possible one would need to look in the corresponding Linux header and figure out the values for these flags. Don't forget to bitwise-or flags since these are just being passed straight to C, which would interpret them that way.

@jakirkham Thanks for the tips! I tried MAP_HUGE* but it had issues passing CI. I will revisit it when I have more time, but I believe I will need to add logic for the scenarios where the flag is not an option on a particular system.


Add stop media session action

FYI @mounirlamouri @beccahughes

https://googlechrome.github.io/samples/media-session/video.html and https://googlechrome.github.io/samples/media-session/audio.html samples are now updated with "stop" media session action.


Align numerical type priority order on the search side.

#1978 partially fixes #1956: we should infer number in the following order i64, u64, f64. But when building a query, we call convert_to_fast_value_and_get_term to infer the type and this function has the following u64, i64, f64.
This PR fixes the ordering and starts with i64.
TODO:

[x] fix test
[ ] add a test to check the consistency between ordering at indexing and search.

Codecov Report

Merging #2088 (0cb5320) into main (7220df8) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main    #2088      +/-   ##
==========================================
- Coverage   94.38%   94.38%   -0.01%
==========================================
  Files         321      321
  Lines       60384    60389       +5
==========================================
+ Hits        56996    57000       +4
- Misses       3388     3389       +1

Impacted Files
Coverage Δ

src/core/json_utils.rs
99.58% <100.00%> (ø)

src/query/query_parser/query_parser.rs
94.89% <100.00%> (+0.01%)
:arrow_up:

... and 1 file with indirect coverage changes

thanks! sorry for messing up


Problem with styles in webserver subdirectories

I'm submitting a ...
[ ] bug report
[x ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?

Request a feature

What is the current behavior?

I executed command npm run build:prod and directory with name dist was generated. After then I put this folder to my Apache Tomcat webserver. When I go to http://localhost:8080/dist/ I saw menu and header, but dashboard panel are white and it have no icons. When I rename folder dist to ROOT and go to http://localhost:8080/, all works fine.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).

What is the expected behavior?

Dashboard panel must have styles and icons when project located in webserver subdirectories.

What is the motivation / use case for changing the behavior?

I using Java as backend, so I need to run my project on Apache Tomcat server.

Please tell us about your environment:

Angular version: 2.0.0-rc.X
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Hi @SergeyMalyshevsky , i am also having the similar issues. I ended up replacing all the source urls with relative urls. eg. in theme file, _ng2.scss
$mainBgUrl: '../../' + $assets-root + $images-root + 'sky-bg.jpg';

ManpreetSingh80, thank you very much! It works.