Extended architecture compatibility (ARM and more)

Switching the prisma base image to openjdk:8-slim maintains compatability with anapsix/alpine-java (glibc), instantly enables multi-arch docker images (yay ARM!), and increases future stability and security by depending on an official image.
In terms of testing, PG's image also comes with ARM support out of the box, so I've replaced timms/postgres-logging with the official PG image and added the old image's logging script.
PG's tests maintain current coverage on amd64 and armhf. There are no official MySQL or Mongo docker images for ARM, so I'll leave that be for now.
In terms of CI for ARM images, running cross builds like @balena-io does has worked wonders for me, but I'll leave that to the prisma team.
In the interim, pckzs/prisma is multi-arch compatible image on the prisma/prisma@617c80d release. I will make it an automated build if this PR doesn't get traction.

[ ] Is there a reason prisma depended on the Oracle JDK?
[ ] The ARM build needs further (live) testing.

Addresses #2909 and #2207.

@mavilein, can this be revisited now?

I also faced with the problem on Raspberry PI. Hope this PR can be finally merged in the nearest future. @kazazes, thank you for this PR!

Hey @kazazes 👋 ,
sorry we did not have the chance yet to look into this. A colleague will try to look into it over the coming days. However right now i can't promise we will be able to do it. We are currently reimplementing Prisma in Rust and are therefore very busy. But ARM support is on our list of things we will definitely support with our Rust version!

@kazazes this is exactly what I am looking for! has there been any progress on having it merged?

Bumping 😬

Bumping :)


Title prop on Multipicker and Singlepicker should be optional

Having these pickers without title shouldn't show a warning. This is a normal use case.

@hectahertz All good here?

Looks good to me! 👍


Make endpoint selector policies per-candidate-set

This allows us to filter IEndpointSelectorPolicy instance based on
whether the apply to a given candidate set. This should allow us to
remove some HAXXX from MVC.
The idea here is the ESP becomes much more pay-for-play if you can
statically eliminate many of the cases where it would usually no op.

This will require a reaction PR in MVC

Note: I deleted a category of perf tests that have largely become redundant. I haven't run these in months, and they are a subset of some other tests that I use more often.


Looking for feedbacks

Please share your ideas here, if you find any bugs, you could open a separate issue.

Please Add Multi-Select to choose multiple languages. (Idea)

I have same idea but have not finalise visual yet. Do you have any idea/reference on how should the interaction work?

@mghtinlynn I have same idea but have not finalise visual yet. Do you have any idea/reference on how should the interaction work?

Show bookmarks on new tab and/or allow the option to toggle the extension on/off

would be good if I can go to the user profile when clicking on the user avatar, because currently the whole box is linking to the repo

I would like to have a changing background image from Unsplash


C# IntelliSense problem

.NET Command Line Tools (1.0.0-preview2-003133)
Product Information:
Version:            1.0.0-preview2-003133
Commit SHA-1 hash:  74df06500c
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.14393
OS Platform: Windows
RID:         win10-x64
VS Code version: 1.10.2
C# Extension version: 1.8
How to fix this? Width block or smth

Unfortunately, we don't have control over the actual hover tooltip UI from C# for VS Code. We just provide data and VS Code decides how to display it. It looks like there's a request for this on VS Code already: https://github.com/Microsoft/vscode/issues/14165.


Fix: Overlapping of Link icon

Signed-off-by: janvi01<EMAIL_ADDRESS>Description
This PR fixes #5917
Notes for Reviewers
I couldn't apply margin-left to anchorlink, I wonder what was the reason, so adjusted the link icon below the bullet icon.

Current implementation -

Also, the link icon points the heading to the top of the page, maybe it should point to the actual link.
Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit 3a150732dad8a9a9aee9840ab0ead1771cc0dc72 at: https://634fa9d831538368fef9511b--meshery-docs-preview.netlify.app

Thanks, @janvi01. Here's a recording of the behavior as seen in Safari.
https://user-images.githubusercontent.com/7570704/197621810-4d1d53b1-e715-4401-bd64-c9a10c8ce237.mov

🚀 Preview for commit be4798a239c0570e03fba72ad6667fcf07545d45 at: https://6357bfad3bbf744631c7fd46--meshery-docs-preview.netlify.app

This change negatively impacts the placement of the anchor on other documentation pages.

What should be the viable solution then? maybe placing it on the right side?

This change negatively impacts the placement of the anchor on other documentation pages.

What should be the viable solution then? maybe placing it on the right side? @leecalcote

@janvi01, yes, that will work.

@janvi01 Let's discuss this on the Meshery Dev call. Please add this as an agenda item in the meeting minutes


Cryptonator API broken

It seems the implementation with the Cryptonator API is no longer functional, because Cryptonator has incorrectly (or perhaps in response to some attack) configured their CloudFlare DDOS-protection.
This is broken on the API's server and there's nothing we can do about it. I have attempted to notify them by email, but for now old version of the plugin will no longer work.
In a browser you would pass the Cloudflare check and be redirected to the data. But requests from REST clients (and applications) were only returning the HTML of the Cloudflare splash page, making it impossible to request data outside of a browser.

I have fixed this in a PR


colab cpu inference

great work, is it possible to due inference on cpu in colab?

It's mostly a method for training generators, and the training takes an unreasonably long time on CPU.
If you're aiming at something for Gradio, I could maybe provide you with some pre-trained models and those could be used to just run the generation step / edit real images?

@rinongal yes that would be great, also sorry if I was not clear did not mean the training part*

Hey AK - I tested training on a CPU and it takes roughly an hour. I feel like this might be too long to be useful for Gradio, but let me know if you think it's good enough with the queue feature and I'll work on setting up something.
On implementing just inference - is there any inversion model you already have set up in Gradio that you know works well on CPU? Even an optimization-based method? If not, I'll try to convert a few to CPU and see if I can get them to run in reasonable time.

Does Re-Style inversion work with CPU?  I am also looking for a way to do pure CPU inference.

As far as I am aware, there official version of Re-Style (which we clone) does not currently support running on CPU. It shouldn't be impossible to do the conversion though. You're likely going to need to use the native pytorch implementation of StyleGAN2 (rather than the Rosinality version which uses custom CUDA kernels for some of the ops). You can find a native pytorch version, for example, in the StyleCLIP repo.
You could also have a look at some of AK's spaces on Huggingface and see what he did there. I think the new spaces do run on GPUs, but maybe he has CPU based inversion code for JoJoGAN or GANs 'N Roses.

@rinongal : thank you so much for your insights.


display solution for hi rend="double-underline" needed

so far, only encountered with mathematical operations as here:
https://github.com/auden-in-austria-digital/aad-data/blob/882ef5e637b08f7e88a19fea1bb6cee623946d44/data/xml/editions/aad-transcript__0024.xml#L242

hi rend="double-underline" is not double-underlined, but now hi rend="underline" is double-underlined
solution needed:

hi rend="underline" -> like we had it (simple underlines)
hi rend="double-underline" -> double underlines

problem not yet solved (fetched built and published 11 mins ago):
https://github.com/auden-in-austria-digital/aad-data/blob/1fc35c1176c394eb1d8a319ab62a5e7ea7d4ca96/data/xml/editions/aad-transcript__0024.xml#L249
-> hi rend="underline" displayed as double-underline
https://github.com/auden-in-austria-digital/aad-data/blob/1fc35c1176c394eb1d8a319ab62a5e7ea7d4ca96/data/xml/editions/aad-transcript__0024.xml#L250
-> hi rend="double-underline" displayed with no underline


Direct port connections using AMI or CORBA connectors can have spurious CDP connections

This was found while test AXCIOMA support, but has since been found in the original ATCD support, too. To reproduce:

define a CORBAInterface with at least one method. Set the interface to be declared Asynchronous.
define two monolithic components. On each, define a port, setting the port type to the above interface. Set one of the ports to be a 'conjugate'. Mark both parts as 'asynchronous'.
In an AXIOMA model, set each port to use the 'AMI4CCM_Connector'.
define an assembly. Add both components, and make a connection between the components.
create a deployment plan, domain and node. Deploy all of these, plus the assembly in the plan.
Generate descriptors for the plan.

In this case, we expect the tool to generate multiple connects:

uses-port to client-side-AMI-connector (sendc -> ami_provides)
uses-port to client-side-AMI-connector (use port -> sync_provides)
client-side-AMI-connector to provides port (ATCD)
client-side-AMI-connector to server-side-AMI-connector (AXCIOMA)
server-side-AMI-connector to provides-port (AXCIOMA)

However, depending on which direction we created the 'connector' line, one my also see:

uses-port to provides-port

Similar behaviour is observed in AXCIOMA mode with a synchronous (CORBA4CCM_Connector).
Root cause is that the code generator is dependent on the order of the 'connectorEnds' in the connection.

For AXCIOMA I would expect in the second list of expectations:
4. client-side-AMI-connector to server-side-CORBA-connector (AXCIOMA)
5. server-side-CORBA-connector to provides-port (AXCIOMA)
The AMI4CCM connector on the client side should be connected to a CORBA4CCM connector on the server side, AMI4CCM is a pure client side feature.

For AXCIOMA I would expect in the second list of expectations:
4. client-side-AMI-connector to server-side-CORBA-connector (AXCIOMA)
5. server-side-CORBA-connector to provides-port (AXCIOMA)
The AMI4CCM connector on the client side should be connected to a CORBA4CCM connector on the server side, AMI4CCM is a pure client side feature.

@jwillemsen : I have described the situation incorrectly. In an async connection, the tool generates an AMI connector on the client side, and a CORBA connector on the server side. I am in the process of creating an example that demonstrates the implemented behaviour. I'll attach it once I'm done so as to get your feedback.

The issue is fixed for both ATCD and AXCIOMA generation.


Deployment scenario: asp.net web site

Porting this from https://github.com/akkadotnet/akka.net/issues/655 as it's more germane here.
Initial issue text below.

On the Deployment Scenarios page, I noticed there is an empty section for ASP.NET.
Adding it here in case someone wants to take it on (may do so myself).

Made a PR #41

Closing this per PR #41 being merged.


CONTENTdm Export: File Name

It would be great if Brays can create a File Name column and plug the file name into it during CDM export.

It does now, just doesn't have a header for it. If this is for metadata should this be apart of the map?

There will need to be two columns with the file name for CDM ingest:

File Name for metadata display
Object File Name so CDM knows which file to associate with the item

It's an open question as to whether or not we should bake that into Brays or treat it as a post-process. I'm leaning toward not including File Name in the MAP. It seems not very useful for end users.

On second thought, we may not need the additional File Name column for display at all if we're migrating transition collections in the new collection workflow. The last column with the file name will definitely need to have the Object File Name header.


Add time-regex switch for easier parsing of time in strings/filenames

related with issue https://github.com/jgehrcke/timegaps/issues/4
also updated some test for newer python and modules for tests

Relates to https://github.com/jgehrcke/timegaps/issues/4


Switch font to Open Sans stylistic set 2

This is to bring the DS inline with the brand guidelines which advises use of set 1 (rather than set 2) to include both the open 'g' and the more accessible 'I'.
See: https://ons-design.notion.site/Typography-97f2f60558f040f7899eb28e5f1b932c

May require a fresh Open Sans font and the use of font-feature-settings: "ss02" 1;

If set that is linked is correct then this will be less work, if not, will be 2


ci: remove not needed workflow

This PR removes not needed golang workflow.
This change will optimize github actions runtime.
Thanks to this line the file I just removed will not be created here by bot again.

@anandsunderraman hey, can you approve? The change is valid


Permission denied scriptrunner apk

I

have an issue, and if you can help me you would be the best hacker! You know ive had an otg cable issue, and i made 2 scripts, after that loaded them to scriptrunner, put the root mark and clicked run, after that he said to me: an error has occured in sub: main_vv1(java line: 574) java.io.filenotfoundexception:/system/OTG/otg on : open failed:EACCESS (permition denied)

Closing as spam.


update travis build to 4.2 and remove Swift 3 build

@ddunn2 Can you track down which (if any) of our repos still use Bridging?


Remove semaphore acquire from span

To compute more precise timing on the execution of HandleStream and allow monitoring semaphore operation using other instrumentation, move the span start in HandleStream after semaphore acquisition.
This prevents the context to be rewritten when passed to sem.Acquire.

Closing this PR in favor of #190


Running Errors with ngAnnotate Meteor 1.3

I'm trying to implement uiRouter into my project.
Similar to Angular 1.x Tutorial step 5
import angular from 'angular';
import angularMeteor from 'angular-meteor';
import uiRouter from 'angular-ui-router';

import topBar from '../topBar/top-bar';
import mainHeader from '../mainHeader/mainHeader';
import mainNavigation from '../mainNavigation/mainNavigation';
import footerMain from '../footerMain/footer';
import './marAzul.html';

class MarAzul {}

const name = 'marAzul';

export default angular.module(name, [
  angularMeteor,
  uiRouter,
  topBar.name,
  mainHeader.name,
  mainNavigation.name,
  footerMain.name,
])
.component(name,{
  templateUrl: `imports/components/${name}/${name}.html`,
  controller: MarAzul
})
.config(config);

function config($locationProvider, $urlRouterProvider) {
  'ngInject';

  $locationProvider.html5mode(true);

  $urlRouterProvider.otherwise('/');
}

Running into these Errors:
Error: [$injector:strictdi] config is not using explicit annotation and cannot be invoked in strict mode http://errors.angularjs.org/1.5.3/$injector/strictdi?p0=config
Using Meteor 1.3.1 and these is my packages file
meteor-base             # Packages every Meteor app needs to have
mobile-experience       # Packages for a great mobile UX
mongo                   # The database Meteor supports right now
reactive-var            # Reactive variable for tracker
jquery                  # Helpful client-side library
tracker                 # Meteor's client-side reactive programming library

ecmascript
standard-minifier-css   # CSS minifier run for production mode
standard-minifier-js    # JS minifier run for production mode
es5-shim                # ECMAScript 5 compatibility for older browsers.

autopublish             # Publish all data to the clients (for prototyping)
insecure                # Allow all DB writes from clients (for prototyping)
angular-templates

Here is my code on the uirouter branch giving me the error.
https://github.com/donedgardo/marAzul/tree/uirouter
I assume the problem is with ngAnnotate not being present or something to do with strict-di.
Thank you in advance.
Edit: Also my package.json
{
  "name": "marAzul",
  "private": true,
  "scripts": {
    "start": "meteor run"
  },
  "dependencies": {
    "angular": "^1.5.3",
    "angular-meteor": "^1.3.9",
    "angular-ui-router": "^0.2.18",
    "get-style-property": "^0.1.1",
    "jquery": "^2.2.2",
    "jquery-hammerjs": "^2.0.0",
    "meteor-node-stubs": "~0.2.0"
  }
}

Going to Close,
Found that type in line $locationProvider.html5Mode not html5mode
Also started using
config.$inject = ['$locationProvider', '$urlProvider'];

@donedgardo manual annotation looks like this (I haven't got ng-annotate to work either)
class SuperDuperClass {
  constructor($scope, $reactive) {
    $reactive(this).attach($scope);
    // more stuff
  }
}

SuperDuperClass.$inject = ['$scope', '$reactive'];

@donedgardo You're using ecmascript package which doesn't include ng-annotate, unlike the pbastwoski:angular-babel.

for me it works with the /** @ngInject **/ on the functions  and for classes on the constructor

but of course with pbastowski:angular-babel.

@mxab && @kamilkisiela Thank you it was the compiler, was following first the angular-meteor tutorial on oficial site  of meteor, then jumped on the tutorials of angular-material socially,
Thanks.
Solved


JS and CSS files Import

Load on each page only the JS and CSS files needed & delete all external sources files to be local.

Done in #28


How to call methods with array of objects with keys

On the Meteor side, there's some code similar to this:
const data = [{
            item: 1,
            email: "something",
            name: "John Doe"
          }];

connector.ddpclient.call('method', data, (err, success) => {
	// Code
}

The method will check the items in the array just like:
data.item, data.email, data.name ....
How can I call that method with the named items?
The current call method only accepts a simple array of objects, so I cannot use a HashMap or something :/
Thanks in advance

In JavaScript you don’t have that HashMap / map / dictionary / object only, either. You first have an array and then, inside that, your map. Why not do the same on Android? The data types are documented in the README.


Panel should receive the same render options than the wrapped widget

Is your feature request related to a problem? Please describe 🙏
The current implementation of panel receives the raw results inside the hidden option. It makes it very difficult for users to implement the removed option autoHideContainer.
Describe the solution you'd like 🤔
We should investigate how we could provide the render options of the connector directly rather than the raw results.
Describe alternatives you've considered ✨
None at the moment.
Additional context

https://secure.helpscout.net/conversation/741036895/113536

This is actually done now with the addition of getWidgetRenderState (https://github.com/algolia/instantsearch.js/blob/master/CHANGELOG.md#490-2020-12-01), however the documentation still needs to be updated: https://www.algolia.com/doc/api-reference/widgets/panel/js/#widget-param-hidden


How to notify server of image upload?

Hi, sorry in advance; I'm pretty new to web development.
I have a nodejs server running, and every time an image is uploaded by the client I would like to notify the server of the image URL so it can store it in a postgresql database. How would I go about doing this?

@pmazumder3927 : You need to make use of onFinish callback and notify server about the file/image upload.


acado: 1.2.1-6 in 'hydro/distribution.yaml' [bloom]

Increasing version of package(s) in repository acado to 1.2.1-6:

upstream repository: https://github.com/clearpathrobotics/acado.git
release repository: https://github.com/clearpath-gbp/acado-release.git
distro file: hydro/distribution.yaml
bloom version: 0.5.16
previous version for package: 1.2.1-4

Sorry about all the PRs for this. I think I actually got it this time.


Verify mul, div, rem constraints with z3

Let's try to use tactic and to involve more lemma to make the z3 run faster.


PHP Fatal error:  Class 'PHPCI\\Controller' not found

New install of PHPCI and builds cannot run. I have updated the installation and tried to debug the routing like in a previous case. I get this in my web server error log
PHP Fatal error:  Class 'PHPCI\\Controller' not found in /var/www/html/phpci/vendor/block8/b8framework/b8/Application.php on line 93
How do i fix it?

+1 on osx yosemite

got the same issue.
PHP Fatal error:  Class 'PHPCI\\Controller' not found in /phpci/vendor/block8/b8framework/b8/Application.php on line 93

I also get this issue on Apache (haven't tried on nginx yet). I am sure this is a duplicate  another issue that has been logged, but I cannot actually find the original now...

got the same issue on nginx too.

Is this gonna be fixed

@mlewis-everley I went looking and found the following, possibly duplicate/related issues:
#642
#410
#246

Seen those. None of them provide a solution. Im on the latest version

The common thread through those issues seems to be "routing issues" which could be caused by a number of factors. Can you share your apache/nginx config and folder layout? Is PHPCI in a subfolder or subdomain? Platform? Versions?

Cannot give config at the moment, will have a look on Monday (when I am
back in work).
All issues for me have been using Apache 2.2 and 2.4, on CentOS 6.5 and
Ubuntu 12.
All times I was using PHP 5.4.x.
Have tried both as a sub directory and as a sub domain (phpci.xxx.co.uk).
Hope that helps a little...
Cheers,
Mo
On 15 Aug 2015 04:05, "Adam Henley"<EMAIL_ADDRESS>wrote:

The common thread through those issues seems to be "routing issues" which
could be caused by a number of factors. Can you share your apache/nginx
config and folder layout? Is PHPCI in a subfolder or subdomain? Platform?
Versions?
—
Reply to this email directly or view it on GitHub
https://github.com/Block8/PHPCI/issues/1023#issuecomment-131284643.

See https://github.com/Block8/PHPCI/pull/976.

I am also having this issue, on Ubuntu Server 14.04, running Lighttpd and PHP 5.5.9. PHPCI's front-end is running, and builds seem to trigger my Phing build file, leave logs behind, etc. Builds show up as completed in the front-end, but in the back they have not been copied to their final destination. My error message is identical to the OP here.
#410 seems to imply that this is a routing issue of some kind. I have cloned the repo and will take a look myself if the software owner doesn't beat me to it.

Confirming that the issue still exists, Ubuntu 14.04, PHP 5.5.9, Apache. Build seems to be created, but no stats or data are visible and it's triggered as "pending".

Have anybody fixed that?

I don't know if this is anyhow related to the subject but as I find that in most of these cases the error is thrown as a result of routing issues, I will just post my nginx configuration below as this solved the same error in my case:
server {
    listen 80;
    server_name ci.server.tld;
    root /var/www/phpci/public;
    index index.php;

    location / {
        try_files $uri $uri/ /index.php?$args;
    }

    location ~ [^/]\.php(/|$) {
        fastcgi_split_path_info ^(.+?\.php)(/.*)$;
        if (!-f $document_root$fastcgi_script_name) {
            return 404;
        }
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_pass unix:/var/run/php5-fpm.sock;
    }
}

Closed as it seems like nobody maintains this. Moved on to other solutions.

So there are two separate problems here, one is that builds are not running and the other is that there's an error coming up in the error log.
Problem 1 - PHP Fatal error: Class 'PHPCI\Controller' not found in phpci/vendor/block8/b8framework/b8/Application.php on line 93
Whilst annoying, this is effectively a non-issue. This comes up on English language installations as there's a file included that does not exist (/assets/js/plugins/datepicker/locales/bootstrap-datepicker.en.js) This has been fixed for v1.7, the patch can be found here: https://github.com/Block8/PHPCI/commit/c474a5c73a388b93a4daad1d9fcce03fc664f4c1#diff-4c3dcb804d8e696bfa0db20c8e5c6860
Problem 2 - Builds not running
In order for builds to run, you need to set up PHPCI to run them. In v1.6 (the current stable release) and below, there are two ways to do this:

Run PHPCI as a daemon: https://www.phptesting.org/wiki/Run-Builds-Using-a-Daemon - This continuously checks the database for new builds and executes them as and when they become available.

Run PHPCI as a cron-job: https://www.phptesting.org/wiki/Run-Builds-Using-Cron - This will execute all pending builds when it is run, and then exit.

In v1.7, coming soon - there's also the option to run PHPCI as a worker against a Beanstalkd queue. This will be the preferred method going forward. This will be documented in due course.
Hope this helps, please open a new issue if the above does not solve your specific problems.


chore: bdd-spring-1585017596 to 0.0.1

chore: Promote bdd-spring-1585017596 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


created() hook is running on server-side AND client-side

Version
v2.4.5
Reproduction link
https://github.com/HapLifeMan/nuxt-ssr-created-issue
Steps to reproduce

Clone and install the repo
Run yarn run dev and see an error in full page
Run yarn run build && yarn run start and see that works but throws an error in the console

What is expected ?
It is expected that the created hook is only executed once (from the SSR only) if the page is loaded from the server.
What is actually happening?
The created hook is running on server-side AND client-side when loading a page.
If we mutate a variable in the created, the server-side will do it correctly, but when the client-side will do it, as the variable has been already mutated, it will not recognize it and throw an error.
It throws a full-page error in dev environment but only displays an error in the console in prod.
Additional comments?
Thanks!

This bug report is available on Nuxt community (#c8843)

This is intended behavior. beforeCreate and created are called on server and on client side :wink:
Further read:

https://blog.lichter.io/posts/the-guide-to-write-universal-ssr-ready-vue-compon/
https://ssr.vuejs.org/guide/universal.html#component-lifecycle-hooks

Hi @manniL, then I will change the way I developed it, thanks for your reply! 😊


feat(getByText): add ignore option which defaults to 'script'

What: add ignore option to *ByText which defaults to 'script'
Why:
In our app at PayPal we're testing with Cypress and our localization content is set in a script tag on the page when it's rendered by the server. When using getByText with cypress-testing-library, we were getting that script tag before the app had a chance to render.
I'm pretty confident that 99.999% of the time people wont want to get a script tag with getByText, so the default makes sense to me.
How:
Added another layer of filtering to queryAllByText to filter nodes which return true for .matches(ignore). Feel pretty flexible. Happy that DOM API exists!

Checklist:

[x] Documentation
[x] Tests
[x] Ready to be merged
[ ] Added myself to contributors table N/A

More explanation here: https://www.youtube.com/watch?v=LYB0SEYaBlE

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Migrate to Quilt Loader, auto-generate quilt.mod.json

Draft until a release of Quilt Loader is published, and I update documentation.
This PR takes the following precautions to ensure that QMJ is generated as often as possible:

generateQmj is ran after every sync in IDEA
the generated quilt.mod.json is placed in a folder that is a part of a module's resources, so that even if the task is not ran before build the QMJ will be present
When building with gradle, generateQmj will be called before compileJava.

Advice on the best approach for Eclipse users is wanted.

Changed this PR's triage category to new api, because these changes aren't internal. Anyone using QSL will have to migrate to Quilt Loader.


TeachingTip: update beak placement and remove top highlight

Description

This PR removes top highlight and updates general placement of the beak (arrow looking polygon) to correctly draw rounded corners.
Motivation and Context

Previously, the corners of the teaching tip were a little "cut off" on the side where the beak was located. Now they're nice and rounded.
Top highlight was removed as design decided we do not need it anymore.
How Has This Been Tested?

Manually.
Screenshots (if appropriate):

Solid background (when lightDismissEnabled = false)

Acrylic background (when lightDismissEnabled = true)

/azp run

/azp run

Can you make sure the V1 style still works?


MudButton: fix focus style button when open dialog

Description
The style file for the MudButton components has been updated to include the :focus and :focus-visible pseudo-classes, applying them to the respective buttons.
How Has This Been Tested?
I made a style modification to ensure that the focus on the button is correctly applied when the dialog opens.
This modification addresses several issues, such as:
https://github.com/MudBlazor/MudBlazor/issues/4283
https://github.com/MudBlazor/MudBlazor/issues/8451
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Before:
https://github.com/MudBlazor/MudBlazor/assets/79289665/16df6948-94d7-459b-b290-3b0fe947b336
After:
https://github.com/MudBlazor/MudBlazor/assets/79289665/e0609b70-9899-48c0-90de-61f2d585b468
https://github.com/MudBlazor/MudBlazor/assets/79289665/6877c9d1-dd11-496f-bdbf-9cd41498c8b5
https://github.com/MudBlazor/MudBlazor/assets/79289665/07386ced-3695-427b-bacd-10e03e15cabd
Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

Just fyi your sound is on in the clips

lol
Sorry, I hadn't seen it but it's okay

Nice work, again. Thanks for looking into this.
I do wonder why focus-visible is used alone in so many controls though? Must be a reason. @Garderoben may know.
https://github.com/search?q=repo%3AMudBlazor%2FMudBlazor focus-visible&type=code

I want @Garderoben to double check this to be sure.

When using the :focus-visible pseudo-class, the applied style will only be visible if the focused element is via keyboard, such as when pressing the "Tab" key to toggle between buttons.

@LiZzeira Do you think we should be looking at any of the other components that use focus-visible, or is the button enough? https://github.com/search?q=repo%3AMudBlazor%2FMudBlazor focus-visible&type=code

@danielchalmers I'll conduct some tests on these additional components, and if needed, I'll update and push a new PR


Issue/36

Duplicate a PR exists to address same issue . https://github.com/redhat-service-assurance/smart-gateway/pull/37#issuecomment-534290877

Whoops, I did not notice your PR Aneesh. Looking at it I don't think it fixes Leif's issue though. IMO we need to get rid of the Replacer, because that is the piece which is causing the issue and there's a high chance, that it will happen again once we will connect Ceilometer to SG.

I'm not sure I love either of the fixes proposed :) It looks like specific sections are being called out and sanitized with logic specific to those fields/parameters. I do like the extra unit tests being added though.

I'm not sure I love either of the fixes proposed :) It looks like specific sections are being called out and sanitized with logic specific to those fields/parameters. I do like the extra unit tests being added though.

Well, the problem with generic json sanitizer will not help you fix the problem with "ves" key. String is a valid value, so value for "ves" gonna stay as string. So unless we are ok as output of Sanitize, we need to specifically implement logic for "ves" to change the value to json.

@paramite @aneeshkp ok, so how about instead of making VES and summary, etc all special fields, we look for the VES field, strip it out (store it as it came in, or run it through a separate sanitizer function), then run a generic JSON sanitizer that fixes any other issues, and then replace the VES with our internally sanitized format?
I feel like we've identified the summary field here, but there is a non-zero chance of running into a similar issue with other fields that we haven't identified yet. If we just assume the VES field is "special" and and then sanitize everything else as generic JSON, then we're going to end up with a more robust function.
Thoughts?

@leifmadsen , how are you going to extract ves only field?  In this PR var rexForVes = regexp.MustCompile("ves":"{(.*)}")  I think will not work . ves for connectivity has child object   stateChangeFields":{ }"  and provEvent doesn't have  stateChangeFields  field. OVS event doesn't have ves object itself.

We need to make these cases added to SanitizeTestMatrix as a start. I'm going to jump on this again once I'll finish sensubility and QDR external port opening.

This will need to be rebased against master now that we have unit testing, formatting, linting, and vetting checks running. A handful of code changes were checked in as well to satisfy for the errors.


The scribble model dataset

"First of all, thank you very much for your excellent code. The scribble model was trained on 500,000 scribble-image and caption pairs. The scribble images were generated using HED boundary detection along with a set of data augmentations, including thresholds, masking, morphological transformations, and non-maximum suppression. May I ask if it is possible to make the processed dataset public? Thank you very much!"

"Given the current complicated situation outside research community, we refrain from disclosing more details about data. Nevertheless, researchers may take a look at that dataset project everyone know."

https://github.com/lllyasviel/ControlNet/issues/93#issuecomment-1436077011

Thank you


[suggestion]Orchard.Search module should support muti-indexdb

SearchController.cs
in the current, searchSetting is from the global setting, if i have many index-db should i how to assign which index-db i use?
i think search widget should has a setting that can assign index-db .
sorry  , i am poor in english ...

The Search Form widget has an option called Override Search Index that allows you to specify the index to search.


Confirm List of Queues will be available

Hey there,
we are currently evaluating if we want to use terraform-compliance in our application. One of our use cases is to ensure all necessary Servicebus Queues will be available after performing the terraform apply.
Our queue resources are generated by following TF code:
resource "azurerm_servicebus_queue" "sb" {
  for_each            = toset(var.servicebus_queue_list)
  name                = each.value
  resource_group_name = ".."
  namespace_name      = "..."
  enable_partitioning = true
  dead_lettering_on_message_expiration = true
  default_message_ttl = "P14D"
}

Where we pass a list of queues and expect them to be created.
We would like to write a scenario for each essential queue e.g. app-error
  Scenario: App Error queue exists
    Given I have azurerm_servicebus_queue defined
    Then it must contain name
    Then its value must contain app-error

This fails because we have multiple queues that have different names:
 Scenario: App Error queue exists
        Given I have azurerm_servicebus_queue defined
        Then it must contain name
        Then its value must contain app-error
          AssertionError: name property in azurerm_servicebus_queue did not contain app-error, it is set to ['another-queue']

We tried to add the name to the WHEN clause but it resulted in skipping test:
Scenario: ServiceBus configuration
        Given I have azurerm_servicebus_queue defined
	SKIPPING: Can not find app-error defined in target terraform plan.
        When its name is "app-error" regex
        ...

Could you guide us how we can test if the different queues exist after the apply?
Kind Regards,
Daniel

Hi,
Had a similar situation and I think that name would be 'sb' as it's the resource name rather than the name setting and index should be app-error.
Hope this helps
Andy

Hi,
Sorry for the late response on this. Typical hectic work-life before xmas break.
I think the approach that @ajmahoney wrote is suitable here, you either need to use address ( to address exactly terraform reference ) or use index instead of the name. This really depends on the Azure Terraform Provider.
Would it be possible to share the plan.out (or plan.out.json) on this issue for me to dive a bit more deeper please ?
I will also try to create the problem on my local meanwhile.

Hello again,
Reproduced the problem on my local. I think now I understand what you mean :)
Currently I am creating 3 servicebus queues via ;
variable "servicebus_queue_list" {
  default = [
      "something",
      "somethingelse",
      "somethingdifferent"
  ]
}

resource "azurerm_servicebus_queue" "sb" {
  for_each            = toset(var.servicebus_queue_list)
  name                = each.value
  resource_group_name = "testgroup"
  namespace_name      = "testnamespace"
  enable_partitioning = true
  dead_lettering_on_message_expiration = true
  default_message_ttl = "P14D"
}

Of course the resource definition could be a bit different. Let's assume we normally want to ensure enable_partitioning must be set to true unless the somethingdifferent servicebus queue. The example HCL above sets ALL of them to true, so the tests must fail.
Here is my test ;
Feature: Test Scenario
    Scenario Outline: App Error queue exists
        Given I have azurerm_servicebus_queue defined
        When its index is <name>
        Then it must contain enable_partitioning
        And its value must be <partitioning>

    Examples:
        | name               | partitioning |
        | something          | true         |
        | somethingelse      | true         |
        | somethingdifferent | false        |

and according to this test, here is the failure message I got, as expected ;
-          Failure: enable_partitioning property in azurerm_servicebus_queue.sb["somethingdifferent"] resource does not match with ^false$ regex. It is set to True.

Hope this helps ? Please let me know if you have any question about anything that I couldn't explain properly.

Hi @eerkunt thanks for looking into this issue!
The problem we have is that if a queue is not there the test is aborted and the test run is not marked as failed.
To emulate this the test case would have to look like this:
´´´
Feature: Test Scenario
Scenario Outline: App Error queue exists
Given I have azurerm_servicebus_queue defined
When its index is
Then it must contain enable_partitioning
And its value must be
Examples:
    | name               | partitioning |
    | notexisting | true |
    | something          | true         |
    | somethingelse      | true         |
    | somethingdifferent | false        |

´´´
and the set up would stay the same:
´´´
variable "servicebus_queue_list" {
default = [
"something",
"somethingelse",
"somethingdifferent"
]
}
resource "azurerm_servicebus_queue" "sb" {
for_each            = toset(var.servicebus_queue_list)
name                = each.value
resource_group_name = "testgroup"
namespace_name      = "testnamespace"
enable_partitioning = true
dead_lettering_on_message_expiration = true
default_message_ttl = "P14D"
}
´´´
We need the test case to fail in order to detect missing queues. Any advise is appreciated!

Thanks for the explanation! :tada:
Now I understood your problem, sorry for the confusion so far.
It looks like this requires a small change in then is value  contain  step. I will make the change within #196.
After this change, you can achieve what you need by ;
  Scenario Outline: App Error queue exists
    Given I have azurerm_servicebus_queue defined
    Then it must contain name
    And its value must contain <name>

    Examples:

      | name                |
      | notexisting         |
      | something           |
      | somethingelse       |
      | somethingdifferent  |

  Scenario Outline: App Error queue have right partitioning
    Given I have azurerm_servicebus_queue defined
    When its index is <name>
    Then it must contain enable_partitioning
    And its value must be <partitioning>

    Examples:

    | name                | partitioning |
    | notexisting         | true         |
    | something           | true         |
    | somethingelse       | true         |
    | somethingdifferent  | false        |

Test, where you both ensure the queue name is created.

This issue was conflicting with #174, since different use cases were tried to be used within the same test steps. Additionally, there are other internal restrictions where some steps must run per resource. Due to this problem, I introduced a new step which will help this kind of use cases, where someone might filter out some values from multiple-resources and flatten/merge them within one place.
According to this development, the example I gave above will be obsolete, here is the working example with 1.1.0 ;
  Scenario Outline: App Error queue exists
    Given I have azurerm_servicebus_queue defined
    Then it must contain name
    And I flatten all values found
    And its value must contain <name>

    Examples:

      | name                |
      | notexisting         |
      | something           |
      | somethingelse       |
      | somethingdifferent  |

  Scenario Outline: App Error queue have right partitioning
    Given I have azurerm_servicebus_queue defined
    When its index is <name>
    Then it must contain enable_partitioning
    And its value must be <partitioning>

    Examples:

    | name                | partitioning |
    | notexisting         | true         |
    | something           | true         |
    | somethingelse       | true         |
    | somethingdifferent  | false        |

The only different is on the first Scenario.
    And I flatten all values found

This step will allow anyone to flatten all values found per resources into once place where further steps (either filtering or matching) can be applied against.

1.1.0 (and even 1.1.1) is released. Can you please have a try ? 🎉

Closing the issue due to inactivity. Please do not hesitate to open a new issue if the problem still persists.
Thanks!


Package with Traveling Ruby

Not all of your users are Ruby programmers, and those who are not Ruby programmers may have trouble installing Nanoc. Maybe you can package Nanoc with Traveling Ruby to solve this problem.

This has been proposed before (see nanoc/nanoc.ws#72, and the Trello card). I’ll close this issue, but feel free to comment on the Trello card.


Root CA certs lookup in /opt/pyca/cryptography/openssl/certs

Hello,
When using pyOpenSSL/crytpography in a venv (cp36-cp36m-manylinux1_x86_64.whl) ssl_cert_dir defaults to /opt/pyca/cryptography/openssl/certs. After some digging, it seems to be related to a little miss in src/OpenSSL/SSL.py (_ffi.string return bytes and a later condition involves strings).
@@ -731,8 +731,12 @@ class Context(object):
             _lib.X509_get_default_cert_file_env()
         ).decode("ascii")
         if not self._check_env_vars_set(dir_env_var, file_env_var):
-            default_dir = _ffi.string(_lib.X509_get_default_cert_dir())
-            default_file = _ffi.string(_lib.X509_get_default_cert_file())
+            default_dir = _ffi.string(
+                _lib.X509_get_default_cert_dir()
+            ).decode("ascii")
+            default_file = _ffi.string(
+                _lib.X509_get_default_cert_file()
+            ).decode("ascii")
             # Now we check to see if the default_dir and default_file are set
             # to the exact values we use in our manylinux1 builds. If they are
             # then we know to load the fallbacks

Regards.

This issue should be reported the pyca/cryptography project (https://github.com/pyca/cryptography) rather than here.

My bad, thought I was in the pyopenssl repo.


Handling assets manifest files with a multi-server setup

On a multi-server setup with separate web and app nodes, assets do not seem to work. The page is served without css and javascript.
I'm working with a minimal scaffolded rails 4 app. Here is how the generated links to css and js files look like:
<link data-turbolinks-track="true" href="/stylesheets/application.css" media="all" rel="stylesheet" />
<script data-turbolinks-track="true" src="/javascripts/application.js"></script>

I investigated this and the reason for this seems to be: assets aren't pre-compilated on the app servers so there's no asset manifest file on those nodes and they generate wrong css & js references.
Fixing this is relatively simple:

capistrano-rails pre-compiles assets on the web node by default. Manifest file is also present there.
copying the manifest file from web node to app nodes manually and restarting unicorn processes did the trick. See below how the generated css & js references now look like.
asset files are now served from the web role, directly from the disk which seems right

<link data-turbolinks-track="true" href="/assets/application-cf0b4d12cded06d61176668723302161.css" media="all" rel="stylesheet" />
<script data-turbolinks-track="true" src="/assets/application-10faafa06109fa14582542ac1852f5c5.js"></script>

@rhomeister how did you handle this in your setup?
I wonder why noone handled this in capistrano-rails? Not even an issue was opened related to this so I'm worried I'm missing something.

I think the ideal scenario is to place these files on the web (load balancer) nodes. It's the only part I can tell that's missing from this package!

I had to remove the no_release option for the assets to compile on the web node. Which required nodesjs (or a JS runtime) and PostgreSQL dependencies. Definitely not ideal, but precompiling locally would work as well (not ideal either).


Use cname_to_slug() helper in SubdomainMiddleware

This makes sense to me. @ericholscher any reason to avoid this change?

LGTM.


debian docker

Docker image based on debian.
Tested with CPU inference. Image size 1.24GB. I probably missed some flag but I thought I used the same flags as the official tensorflow_cpu.
FROM python:3.10.4-slim-bullseye

# Value will be appended to .bazelrc Can be used to set no-avx.
# Example: "build --copt=-mno-avx"
ARG bazelrc=""

# Bazel options.
ARG bazel_opts="--config=release_base --config=avx_linux --config=noaws --config=nogcp --config=nohdfs --config=nonccl"

# Build Bazel and TensorFlow CPU.
 The Tensorflow object detection API is really part of the big one. I may remove that.

Does the ARM builds fail on compile time or runtime?
Why is the image so big? Does it include the object detection api by default?

The default builds are mostly whatever the tensorflow people ship with their image. Like the gpu image includes the Nvidia drivers which is also huge. The Arm builds require all sorts of hand compiling libraries for support. The Tensorflow object detection library is also huge and slow. I could possibly leave that one out.

Moving this to #41
btw, add a license to this repo.


Paid drop improvements

we will change some things and add warning box into the modal

since its paid, we need to ensure user has ED
and its a plus when user has already for listing fees

Design
updated in figma file: https://www.figma.com/file/JXNtryaNYhY0XJNArzvPQx/Handoff?type=design&node-id=1458-19091&mode=design&t=OQiw3j5B40sVvje5-11

How it works

its divided into two main possible cases

user has more than 0.5 dot on wallet -> don't show anything and continue like normally
user has less than 0.5

autoteleport is available -> show autoteleport and also change copy in the warning to the message with autoteleport
no funds on other chains -> show add funds and change copy in the warning box to: "Please add funds to proceed."

Warning box

icon is from fontawesome and has name: circle-exclamation-check

please also check the colors - some are new, would like to reuse in other UI elements, the other yellow was too aggressive
after hovering over "why?" it shows a tooltip

learn more redirects to our hello page about existential deposit

Dark mode

in the figma as well

How it looks on the drop page UI?

we will just change the copy of the button to "Mint for 0.3 DOT"

👋


[Feature]. Improve DeltaWriter's performance.

Proposed changes
Improve DeltaWriter's performance, detail in #7214

Support batch write for DeltaWriter.

Use mutex instead of SpinLock.

Types of changes
What types of changes does your code introduce to Doris?

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
[ ] Code refactor (Modify the code structure, format the code, etc...)
[x] Optimization. Including functional usability improvements and performance improvements.
[ ] Dependency. Such as changes related to third-party components.
[ ] Other.

Checklist

[x] I have created an issue on (Fix #7214) and described the bug/feature there in detail
[x] Compiling and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[ ] If these changes need document changes, I have updated the document
[ ] Any dependent changes have been merged

Hi @killxdcj , please fix BE ut.

@morningman BE ut fixed~


bugtool: Dump iptables-legacy rules

In bugtools, we dump the configuration from iptables and ip6tables. We should also dump the content of any iptables-legacy (and ip6tables-legacy) in case there are any rules. Such rules can introduce unintended behavior that is hard to debug without a dump.

I would like to take up this issue

I had a doubt .
I tried dumping iptables inside my cilium pod using :
kubectl -n kube-system exec cilium-wx8gg -- iptables -L and using
kubectl -n kube-system exec cilium-wx8gg -- iptables-legacy  -L
and they both  were identical .
Also i tried running kubectl -n kube-system exec cilium-wx8gg -- iptables -V. Output being ### iptables v1.8.4 (legacy)
So why are we explicitly trying to dump iptables-legacy ? Please correct me if i understood anything wrong

Ah, I see. Depending on the system, we will map iptables to either iptables-legacy or iptables-nft. In that case, we probably want to dump both, just to be sure we always have a dump of all possible rules.

Thanks . I got it


Bug: too many colons in address

Proxify version:
0.0.8
Current Behavior:
╰─➤  proxify -socks5-proxy 'socks5://<IP_ADDRESS>:10002' -output "$(date +%Y%m%d)"                                                                                130 ↵

                       _ ___
   ___  _______ __ __ (_) _/_ __
  / _ \/ __/ _ \\ \ // / _/ // /
 / .__/_/  \___/_\_\/_/_/ \_, /
/_/                      /___/  v0.0.8

                projectdiscovery.io

[INF] HTTP Proxy Listening on <IP_ADDRESS>:8888
[INF] Socks5 Proxy Listening on <IP_ADDRESS>:10080
[INF] Saving proxify traffic to 20221125
[INF] Using upstream SOCKS5 proxies: ["socks5://<IP_ADDRESS>:10002"]
2022/11/25 08:19:57 [002] WARN: Cannot read TLS response from mitm'd server socks connect tcp: dial tcp: address socks5://<IP_ADDRESS>:10002: too many colons in address
2022/11/25 08:19:57 [004] WARN: Cannot read TLS response from mitm'd server socks connect tcp: dial tcp: address socks5://<IP_ADDRESS>:10002: too many colons in address
2022/11/25 08:19:57 [006] WARN: Cannot read TLS response from mitm'd server socks connect tcp: dial tcp: address socks5://<IP_ADDRESS>:10002: too many colons in address
2022/11/25 08:19:57 [008] WARN: Cannot read TLS response from mitm'd server socks connect tcp: dial tcp: address socks5://<IP_ADDRESS>:10002: too many colons in address
2022/11/25 08:19:57 [010] WARN: Cannot read TLS response from mitm'd server socks connect tcp: dial tcp: address socks5://<IP_ADDRESS>:10002: too many colons in address
2022/11/25 08:19:58 [012] WARN: Cannot read TLS response from mitm'd server socks connect tcp: dial tcp: address socks5://<IP_ADDRESS>:10002: too many colons in address
2022/11/25 08:19:58 [014] WARN: Cannot read TLS response from mitm'd server socks connect tcp: dial tcp: address socks5://<IP_ADDRESS>:10002: too many colons in address
2022/11/25 08:19:58 [016] WARN: Cannot read TLS response from mitm'd server socks connect tcp: dial tcp: address socks5://<IP_ADDRESS>:10002: too many colons in address
2022/11/25 08:19:58 [018] WARN: Cannot read TLS response from mitm'd server socks connect tcp: dial tcp: address socks5://<IP_ADDRESS>:10002: too many colons in address
2022/11/25 08:19:58 [020] WARN: Cannot read TLS response from mitm'd server socks connect tcp: dial tcp: address socks5://<IP_ADDRESS>:10002: too many colons in address
2022/11/25 08:20:00 [024] WARN: Cannot read TLS response from mitm'd server socks connect tcp: dial tcp: address socks5://<IP_ADDRESS>:10002: too many colons in address
2022/11/25 08:20:00 [026] WARN: Cannot read TLS response from mitm'd server socks connect tcp: dial tcp: address socks5://<IP_ADDRESS>:10002: too many colons in address

Expected Behavior:
A colon should not be appended to the end of the address. As you see, I did not include it in my invocation.
Steps To Reproduce:
See command I ran
Anything else:
Thanks for making awesome tools :)

The issue seems to be the docs? https.go makes it appear the format should be host:ip, no protocol prefix. If I am correct, let me know so I can submit a PR. <3


Update unifier script

What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

@Yantom1 Please run the following:
pip install -U ruff
make style

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

https://github.com/HabanaAI/optimum-habana-fork/pull/231


Reuse common point of override for labels

We know the product_name (via application_name helper method) is
going to be overridden every time.  So let's not force the users to
override additional labels that also hardcode the same "Hyrax" string.
See: https://github.com/projecthydra-labs/hyku/issues/904

Ah, crap, that didn't work.  Not sure why %{application_name} is not being interpreted like in other labels.


Cover Post

There is a problem with selecting the image from file picker for "Cover" in the "New post".
but it works in the "Edit Post".

Fixed.


[wallet] Validate data on JSON-RPC requests

When handing a json-rpc API call we should validate that the data being passed in params is the correct shape and format.
We could leverage a validation library like https://github.com/oussamahamdaoui/forgJs but that might be overkill.

After looking at this, I've settled on defining API inputs/ouputs using JSON schema. (https://json-schema.org/)
Beyond validating data it allows us to specify exactly what the API will accept. Since JSON schema is a standardized specification there are validators in many different languages, allowing clients of all kind to use it for validation.
Since JSON schema allows for annotations, we can use the JSON schema as documentation as well. There exists tools that can transform JSON schema into MD files (see https://github.com/adobe/jsonschema2md)
There is a PoC PR here: #500


[core, identity] examine our token refresh logic and code to ensure consistency with other languages

We have a token cycler that handles access token refresh https://github.com/Azure/azure-sdk-for-js/blob/25942d3d85d811f540adc87e8365a5c36ff36565/sdk/core/core-rest-pipeline/src/util/tokenCycler.ts#L56.
There's also concern that under some condition, the while loop could potentially be running for a long time
https://github.com/Azure/azure-sdk-for-js/blob/25942d3d85d811f540adc87e8365a5c36ff36565/sdk/core/core-rest-pipeline/src/util/tokenCycler.ts#L84-L88
/cc @schaabs

Fixed via #29638


Challenge in interactive mode does not work

When account is flagged, it is impossible to verify it in interactive mode:
ERROR: Please verify your account at /challenge/183432073/Cv8o3kmUOG/
Choose a challenge mode (0 - SMS, 1 - Email): 1
Whatever is chosen, nothing is sent from Instagram. This used to work, yesterday we know that Instagram changed format of its responses and so on...
We believe that update is required for this functionality to work again.
Until that, this functionality is broken.

Seams that it is impossible to login at all, tried different accounts, all real ones.
What about headers that are sent? Seams that Instagram seams those as Windows NT or whatever... is it possible to setup headers for client?

False positive - something is wrong with my environment.

I have the same issue. What was wrong with you environment?

Hello, sorry, I am ill so not working for few days now... We kinda dropped usage of scraper, so I have stopped to work on debugging, sorry. I don't have any useful info for you.

@TheCelavi do you mean you dropped usage of instagram or there is a tool that overcome the issue?

We are going to try to use FB graph api for Instsa business accounts - that could help us a lot.


critest attach test fails

The critest conformance test runtime should support attach [Conformance] fails by timing out:
https://github.com/kubernetes-sigs/cri-tools/blob/1a0b272405a694d7d82606c5a7eddd7905321c4b/pkg/validate/streaming.go#L109-L122
Right now the test got excluded by CRI-O: https://github.com/cri-o/cri-o/blob/db76322414a7888c7642b707e07dbb9905aa969f/.github/workflows/integration.yml#L57
We either have to fix that on the CRI-O or the conmon-rs side. From the logs I see that conmonrs gets the data from the test:
May 11 10:41:06 nixos conmonrs[504862]: Got a attach container request
May 11 10:41:06 nixos conmonrs[504862]: Creating attach socket: /var/lib/containers/storage/overlay-containers/c16e58ee6177513959550004b949d71472b0cca52ca603bd3764195d22590b59/userdata/ee14eb08f450ffda35dd689411663b8b19d3d7947e695844e49ecca5ce32dc0d/attach
May 11 10:41:06 nixos conmonrs[504862]: Start listening on attach socket
May 11 10:41:06 nixos conmonrs[504862]: Got new attach stream connection
May 11 10:41:07 nixos conmonrs[504862]: Read 14 stdin bytes from client
May 11 10:41:07 nixos conmonrs[504862]: fd:23:read 5 bytes
May 11 10:41:08 nixos conmonrs[504862]: Wrote stdout packet to client

@saschagrunert Do we have steps to reproduce the test in local ? Because I see this should be triggerred in github action.

@kangclzjc yeah I was able to reproduce it with the CRI-O PoC. You can point the CRI-O configuration to use conmon-rs (runtime_type = "pod") and then run critest locally by focusing on that single test.

do you mean configure like below ?
[crio.runtime.runtimes.runc]
  runtime_type = "pod"

@kangclzjc yes, you can also specific the conmon path to point to a dedicated location 👍

@saschagrunert I can reproduce this issue in local. And I find the root cause now. This loop will continue get EAGAIN if no data is ready, so that this loop can't reture. But I am curious why it didn't enter the code block of n == 0. Could you give some suggestions here ?
       loop {
            match reader.read(&mut buf).await {
                Ok(n) if n > 0 => {
                        debug!("fd:{}:read {} bytes", fd, n);
                    let data = &buf[..n];

                    let mut locked_logger = logger.write().await;
                    locked_logger
                        .write(pipe, data)
                        .await
                        .context("write to log file")?;

                    attach
                        .write(pipe, data)
                        .await
                        .context("write to attach endpoints")?;

                    message_tx
                        .send(Message::Data(data.into()))
                        .context("send data message")?;
                }
                Ok(n) if n == 0 => {
                    debug!("fd:{}:No more to read", fd);

                    message_tx
                        .send(Message::Done)
                        .context("send done message")?;
                    return Ok(());
                }
                Err(e) => match Errno::from_i32(e.raw_os_error().context("get OS error")?) {
                    Errno::EIO => {
                        debug!("Stopping read loop");

                        message_tx
                            .send(Message::Done)
                            .context("send done message")?;
                        return Ok(());
                    }
                    Errno::EBADF => {
                        return Err(Errno::EBADFD.into());
                    }
                    Errno::EAGAIN => {
                        continue;
                    }
                    _ => error!(
                        "Unable to read from file descriptor: {} {}",
                        e,
                        e.raw_os_error().context("get OS error")?
                    ),
                },
                _ => {
                }
            }
        }

@kangclzjc I think the intention was to stop reading when no data is available any more. Beware that this seems to be the logic from container_io.rs, where the attach piece should happen in attach.rs.


Unexclude java/foreign/StdLibTest.java from OpenJ9 jdk19 and 20

Fixed via
https://github.com/ibmruntimes/openj9-openjdk-jdk19/pull/75
https://github.com/ibmruntimes/openj9-openjdk-jdk20/pull/22
https://github.com/ibmruntimes/openj9-openjdk-jdk/pull/557

Reviewer: @llxia
FYI: @ShelleyLambert, @tajila


[yugabyte/yugabyte-db#18076] Fix test errors

Problem
In the recent runs of the test pipeline, a few test failures have been observed as follows:
2023-07-04T10:01:43.7848787Z [ERROR] Failures:
2023-07-04T10:01:43.7849820Z [ERROR]   SourceInfoTest.isSchemaCorrect:95 [field name: null] expected:<..., "default" : null}}[]]}'> but was:<..., "default" : null}}[, {"name" : "partition_id", "index" : "14", "schema" : {"type" : "STRING", "optional" : "false", "default" : null}}]]}'>
2023-07-04T10:01:43.7850678Z [ERROR]   MergerTest.addAndPollTest:52 Merger tried to set tablet safetime to a lower value. Tablet: 3fe122ffe3f24ad39c2cf8a57fa124b3 Current safetime value:<PHONE_NUMBER>495259648 Attempted set value:<PHONE_NUMBER>477519872
2023-07-04T10:01:43.7851355Z [ERROR]   MergerTest.throwExceptionIfRecordOutOfOrder:131 expected: <true> but was: <false>
2023-07-04T10:01:43.7851743Z [ERROR] Errors:
2023-07-04T10:01:43.7852587Z [ERROR]   YugabyteDBStreamConsistencyTest.consistencyWithColocatedTables:946 » Runtime org.postgresql.util.PSQLException: ERROR: database "colocated_database" is being accessed by other users
2023-07-04T10:01:43.7853263Z   Detail: There are 3 other sessions using the database.
2023-07-04T10:01:43.7853545Z [INFO]
2023-07-04T10:01:43.7853819Z [ERROR] Tests run: 196, Failures: 3, Errors: 1, Skipped: 3

Solution
Upon investigation, it was found that all of these were test related failures, to mitigate the issues, the following changes have been made in the PR:

Moves a failing consistency test to a separate class
Added missing schema field in the SourceInfo object
Fixed error message to assert for the correct exception message

This PR closes yugabyte/yugabyte-db#18076

Looks good


Fix verb sub

Mapping casualty, verbs are weird.
Didn't get published so nothing player-facing.

what exactly does this thing fix?

what exactly does this thing fix?

merge conflict + verb menu not openin.


Add info about "Generic parameter defaults"

While working with generic types, I noticed that information about "Generic parameter defaults" is missing in handbook.
I found it in update notes of TypeScript 2.3.
I copied this section and added it to Generics chapter.
Here's the original section:
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-3.html#generic-parameter-defaults

Hi @orta, do you think it could be merged soon? I think this is quite important section that is currently missing from handbook :D

This was a dupe of #2263, which I merged yesterday.


Added get_md_text method to MdUtils class.

get_md_text will return the md text as a string instead of writing a new file.

Please can you rebase didix21:master?


Networking broken by one of these PR's

Before these PR's merged, all tests were passing.  Afterwards 19 e2e tests fail consistently, with networking errors:
(Jun 19, 2015 3:31:07 PM)
https://github.com/GoogleCloudPlatform/kubernetes/commit/9ed9bd1c4ffe766acb6720326671feb33af4ef3b Add a generation number to the object meta of all objects, and status of rcs — beeps /
(Jun 19, 2015 3:25:08 PM)
https://github.com/GoogleCloudPlatform/kubernetes/commit/f96a8d09357b7ff23ead829739b44fb2c534c16d Kubelet: record the initial pod processing latency — yjhong / githubweb
(Jun 19, 2015 3:19:48 PM)
https://github.com/GoogleCloudPlatform/kubernetes/commit/ee4cd972e0688675a5153d607b28b53bf6549a99 Validate port protocol case strictly — jliggitt / githubweb
(Jun 19, 2015 3:17:08 PM)
https://github.com/GoogleCloudPlatform/kubernetes/commit/9449a61b1a1af8a56c43306767553ac629c3a6f8 exclude the port number when checking a request in "kubectl proxy" — xuchao / githubweb
(Jun 19, 2015 3:13:08 PM)
https://github.com/GoogleCloudPlatform/kubernetes/commit/36441998bd131c2d51f1b22141503649ade30df1 Adding Perl client to list of User Libs — dave / githubweb
(Jun 19, 2015 2:57:08 PM)
https://github.com/GoogleCloudPlatform/kubernetes/commit/c204d8656ab1e95ba0eada1ab28fef66b8eb30ce Log suspicious kubelet latency metrics from density e2e — beeps / githubweb
https://github.com/GoogleCloudPlatform/kubernetes/commit/8a2b76662ab9e5da6d8ba9caece55cc6cea30e7d Fix environment document about DNS and service IP — deyuan / githubweb
https://github.com/GoogleCloudPlatform/kubernetes/commit/f40fce4598a906efd98fb685986d8c61f8dd57fa kubectl log->logs in bash completions — eparis / githubweb
(Jun 19, 2015 2:27:08 PM)
https://github.com/GoogleCloudPlatform/kubernetes/commit/3800fe18846647868e8dbc7cc30b38a5acda2223 Updating heapster to v0.14.3. — Vishnu Kannan / githubweb
(Jun 19, 2015 2:23:08 PM)
https://github.com/GoogleCloudPlatform/kubernetes/commit/7940c96b1606cbc6a706d3dbba7efdb00108aa0a Revert "Merge pull request #9447 from GoogleCloudPlatform/revert-9390-bump_ectd_client" — Filip Grzadkowski / githubweb
https://github.com/GoogleCloudPlatform/kubernetes/commit/4c0c7dd8793aa5b0fde172f5e441f26e26a40442 Fix intializing IP/Port allocators when etcd is not reachable. — Filip Grzadkowski / githubweb
=====================
Test Result (19 failures / +18)

Kubernetes e2e suite.Addon update should propagate add-on file changes
Kubernetes e2e suite.Etcd failure should recover from SIGKILL
Kubernetes e2e suite.Etcd failure should recover from network partition with master
Kubernetes e2e suite.Proxy version v1beta3 should proxy through a service and a pod
Kubernetes e2e suite.Proxy version v1 should proxy logs on node
Kubernetes e2e suite.ReplicationController should serve a basic image on each replica with a private image
Kubernetes e2e suite.EmptyDir volumes should have the correct mode
Kubernetes e2e suite.Proxy version v1beta3 should proxy logs on node
Kubernetes e2e suite.Proxy version v1beta3 should proxy to cadvisor
Kubernetes e2e suite.Pods should be schedule with cpu and memory limits
Kubernetes e2e suite.Kubectl client Update Demo should do a rolling update of a replication controller
Kubernetes e2e suite.Nodes Network Uncontactable nodes, have their pods recreated by a replication controller, and can host new pods after rejoining.
Kubernetes e2e suite.Services should correctly serve identically named services in different namespaces on different external IP addresses
Kubernetes e2e suite.Pods should be restarted with a /healthz http liveness probe
Kubernetes e2e suite.Events should be sent by kubelets and the scheduler about pods scheduling and running
Kubernetes e2e suite.Kubectl client Update Demo should create and stop a replication controller
Kubernetes e2e suite.Docker Containers should be able to override the image's default arguments (docker cmd)
Kubernetes e2e suite.Downward API should provide pod name and namespace as env vars
Kubernetes e2e suite.Pod Disks should schedule a pod w/ a readonly PD on two hosts, then remove both.
This build was not claimed. Claim it.
Identified problems
Addon update should propagate add-on file changes
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/addon_update.go:321
Expected error:
<*errors.errorString | 0xc2080298a0>: {
s: "timed out waiting for the condition",
}
timed out waiting for the condition
not to have occurred
Etcd failure should recover from SIGKILL
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/etcd_failure.go:67
Expected error:
<*errors.StatusError | 0xc208d40600>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Get http://<IP_ADDRESS>:4001/v2/keys/registry/pods/e2e-tests-etcd-failure-1l2hm?quorum=false&recursive=true&sorted=true: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Get http://<IP_ADDRESS>:4001/v2/keys/registry/pods/e2e-tests-etcd-failure-1l2hm?quorum=false&recursive=true&sorted=true: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred
Etcd failure should recover from network partition with master
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/etcd_failure.go:47
Expected error:
<*errors.StatusError | 0xc2085a3700>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-etcd-failure-9r8m0?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-etcd-failure-9r8m0?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred
Proxy version v1beta3 should proxy through a service and a pod
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/framework.go:47
Expected error:
<*errors.StatusError | 0xc208469f80>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-proxy-xrha2?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-proxy-xrha2?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred
Proxy version v1 should proxy logs on node
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/framework.go:47
Expected error:
<*errors.StatusError | 0xc2088d7d80>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-proxy-wzfcc?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-proxy-wzfcc?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred
ReplicationController should serve a basic image on each replica with a private image
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/rc.go:56
Expected error:
<*errors.StatusError | 0xc20849b380>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/controllers/default/my-hostname-private-91a9457c-16da-11e5-84f1-42010af01555?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/controllers/default/my-hostname-private-91a9457c-16da-11e5-84f1-42010af01555?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred
EmptyDir volumes should have the correct mode
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/framework.go:47
Expected error:
<*errors.StatusError | 0xc208bafb00>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-emptydir-8u7gg?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-emptydir-8u7gg?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred
Proxy version v1beta3 should proxy logs on node
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/framework.go:47
Expected error:
<*errors.StatusError | 0xc2085a3880>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-proxy-sv6mp?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-proxy-sv6mp?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred
Proxy version v1beta3 should proxy to cadvisor
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/framework.go:47
Expected error:
<*errors.StatusError | 0xc208468d80>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-proxy-8tlak?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-proxy-8tlak?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred
Pods should be schedule with cpu and memory limits
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/pods.go:195
Error creating a pod: 501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/pods/default/pod-update-9227d6df-16da-11e5-84f1-42010af01555?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
Kubectl client Update Demo should do a rolling update of a replication controller
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/kubectl.go:59
Expected error:
<*errors.StatusError | 0xc208384a00>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-kubectl-vvf1c?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-kubectl-vvf1c?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred
Nodes Network Uncontactable nodes, have their pods recreated by a replication controller, and can host new pods after rejoining.
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/resize_nodes.go:373
Expected error:
<*errors.StatusError | 0xc20849ad00>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-resize-nodes-8fnq1?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-resize-nodes-8fnq1?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred
Services should correctly serve identically named services in different namespaces on different external IP addresses
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/service.go:57
Expected error:
<*errors.StatusError | 0xc20827ac80>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-service-0-qbybz?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-service-0-qbybz?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred
Pods should be restarted with a /healthz http liveness probe
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/pods.go:542
creating namespace e2e-test-92afb943-16da-11e5-84f1-42010af01555
Expected error:
<*errors.StatusError | 0xc2085a2300>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-test-92afb943-16da-11e5-84f1-42010af01555?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-test-92afb943-16da-11e5-84f1-42010af01555?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred
Events should be sent by kubelets and the scheduler about pods scheduling and running
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/events.go:134
Failed to create pod: 501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/pods/default/send-events-92f2b7d3-16da-11e5-84f1-42010af01555?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
Kubectl client Update Demo should create and stop a replication controller
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/kubectl.go:59
Expected error:
<*errors.StatusError | 0xc20849bb00>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-kubectl-27fs6?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-kubectl-27fs6?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred
Docker Containers should be able to override the image's default arguments (docker cmd)
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/docker_containers.go:39
Expected error:
<*errors.StatusError | 0xc20827b000>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-containers-joix4?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-containers-joix4?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred
Downward API should provide pod name and namespace as env vars
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/downward_api.go:41
Expected error:
<*errors.StatusError | 0xc20849b000>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-downward-api-iehlo?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Put http://<IP_ADDRESS>:4001/v2/keys/registry/namespaces/e2e-tests-downward-api-iehlo?prevExist=false: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred
Pod Disks should schedule a pod w/ a readonly PD on two hosts, then remove both.
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/pd.go:63
Failed to list nodes for e2e cluster.
Expected error:
<*errors.StatusError | 0xc208468080>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Get http://<IP_ADDRESS>:4001/v2/keys/registry/minions?quorum=false&recursive=true&sorted=true: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Get http://<IP_ADDRESS>:4001/v2/keys/registry/minions?quorum=false&recursive=true&sorted=true: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred

cc @satnam6502

All tests that ran before the Etcd SIGKILL test succeeded, and everything after that failed.  So apparently Etcd never came back after the SIGKILL. I'm going to turn off that test for now.  It's not clear why it suddenly started failing so dramatically and consistently, after having passed fairly well up to now.
Perhaps?
Jun 19, 2015 2:23:08 PM)
7940c96 Revert "Merge pull request #9447 from GoogleCloudPlatform/revert-9390-bump_ectd_client" — Filip Grzadkowski / githubweb
4c0c7dd Fix intializing IP/Port allocators when etcd is not reachable. — Filip Grzadkowski / githubweb
Etcd failure should recover from SIGKILL
================================
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/etcd_failure.go:67
Expected error:
<*errors.StatusError | 0xc20879d280>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Get http://<IP_ADDRESS>:4001/v2/keys/registry/pods/e2e-tests-etcd-failure-nf4uw?quorum=false&recursive=true&sorted=true: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]",
Reason: "",
Details: nil,
Code: 500,
},
}
501: All the given peers are not reachable (failed to propose on members [http://<IP_ADDRESS>:4001] twice [last error: Get http://<IP_ADDRESS>:4001/v2/keys/registry/pods/e2e-tests-etcd-failure-nf4uw?quorum=false&recursive=true&sorted=true: dial tcp <IP_ADDRESS>:4001: connection refused]) [0]
not to have occurred

Remarkably, after 3 catastrophic failure runs, the tests are all passing again.
So rather than disable the Etcd SIGKILL test, I'm going to leave it enabled and watch for a while..

https://github.com/GoogleCloudPlatform/kubernetes/commit/4c0c7dd8793aa5b0fde172f5e441f26e26a40442 merged at precisely the time that the errors started to occur, and contains new code to handle etcd failures, but it all looks correct to me.

To clean up cross-references, I believe this to be caused by #9862, specifically the above commit portion of it.

@mikedanese has a proposed fix in  #10201

Correction.  #10201 does not address the problem described in this issue.  @mikedanese is still working on this one.

This is fixed.


[5.2] Added localization in ValidationException constructor

Warning:
Requires a new line in https://github.com/laravel/laravel/blob/master/resources/lang/en/validation.php
'exception'     => 'The given data failed to pass validation.',

Linked to PR https://github.com/laravel/laravel/pull/3779

Exceptions messages aren't localized. If you need to localize a response, I'd recommend handling this higher up.


How to get access to MLOps Architecture Deep Dive- YouTube

How to get access to MLOps Architecture Deep Dive- YouTube?

Fixed!


[WIP] PARQUET-767: Add release scripts

Based on the release scripts from Apache Aurora (as we don't have the luxury of the Maven release plugin, we need a bit more code). Kudos to @StephanErb for pointing me to them.

[x] Rename JIRA release tag from cpp-0.1 to cpp-0.1.0 ( @julienledem can you take care of this?) This is then in line with all other Apache Parquet artifacts.
[x] Test the scripts with dry-run mode (needs the above point)
[x] Reference Apache Aurora in LICENSE/NOTICE
[ ] Add Guides
[ ] Add script to verify the release

@xhochy I just renamed the JIRA release tag. We still need to reference Impala in the LICENSE

As a sidenote: The fixed Travis image will be released somewhere in the next ~12h, then we are hopefully back to green Parquet builds.

I would recommend to also include a short documentation how to use the scripts. Here are the docs we have been using so far: https://github.com/apache/aurora/blob/master/docs/development/committers-guide.md#creating-a-release

That's the TODO Add Guides above ;)

+1. It's kind of an unbelievable amount of code


Youtube playlist download

This is a feature request!
I am not sure weather youtube playlist download option is available or not!
If it is not there then i would like to request the developer to add this feature!
@ShiSheng233  @kannagi0303

Mentioned on #28


[FLINK-2404]Primitive add methods for Accumulators

Adds primitive add value methods to Double, Int and Long counter.
Benchmark: Run independently of Flink on the LongCounter accumulator.

No Add
Long Add
long Add

1458.9
2785.7
2169.7

[Time for 1e+9 additions]

Thanks for repeating your experiment isolated without the whole Flink stack. Here we can clearly see the performance impact of the Long auto unboxing.
I will merge your changes later this day.

Should we add some kind of annotation to suggest the usage of the primitive functions? We can't deprecate the older ones probably.

We can add a comment that the new ones are faster on primitives. It is not possible to deprecate the older ones because they are inherited from the Accumulator interface which uses Generics. It's just an optimization.

No one will actually find out unless they specifically went through the documentation for these. Most people would only ever see the docs for Accumulator interface.
I agree though. We can't deprecate them obviously. I'll add the suggestion in docs.

For the cases, where we add a primitive type on a Long/Int/DoubleCounter, the optimization will automatically be used.

Thanks for the pull request!

Sure. :)


Support BF16 in Frontend

Signed-off-by: chentong319<EMAIL_ADDRESS>Add the case for BF16 type in frontend helper.

A simple test to cover the new option would be nice.

We do not have an easy way to add frontend test yet. We use onnx/backend to test onnx-mlir frontend, but we do want our test cases into onnx. That's a work item for us.
I tested a simple model. onnx-mlir passed the llvm IR generation but got an error after that. I will open an issue.

Jenkins Linux ppc64le Build #2930 [push] Support BF16 in Frontend... started at 13:10

Jenkins Linux amd64 Build #3824 [push] Support BF16 in Frontend... started at 12:04

Jenkins Linux s390x Build #3815 [push] Support BF16 in Frontend... started at 13:04

Jenkins Linux s390x Build #3815 [push] Support BF16 in Frontend... passed after 42 min

Jenkins Linux ppc64le Build #2930 [push] Support BF16 in Frontend... passed after 54 min

Jenkins Linux amd64 Build #3824 [push] Support BF16 in Frontend... passed after 54 min