text:
In issue view, tabs in underlying pane view show though

Something to do with opacity in he style of the tabs and i guess a browser bug

Easiest fix seems to be to specify e.g. z-index:100 for the overlay when it is created, e.g. as part of the OVERFLOW_STYLE.
https://github.com/solid/issue-pane/blob/340d2c2b09e366b042f86679b6063dd69d513bd9/issuePane.js#L25
https://github.com/solid/issue-pane/blob/340d2c2b09e366b042f86679b6063dd69d513bd9/issuePane.js#L572
In tracking this down I learnt that apparently the behaviour is specified by the CSS spec (https://www.w3.org/TR/css-color-3/#transparency): "If an element with opacity less than 1 is not positioned, then it is painted on the same layer, within its parent stacking context, as positioned elements with stack level 0."
The parent stacking context seems to be the root element, the overlay is the only other positioned element, and without a z-index it has stack level 0.
This fix can maybe combined with others in a single PR.

authors: josephguillaume timbl

repo: solid/issue-pane


text:
Test on latest Node.js

This pull request runs the Travis CI tests on Node.js 8 and the latest Node.js version.

Coverage remained the same at 88.803% when pulling 5faf85ede0f53d1c8a1022817e693f6e6237e378 on RubenVerborgh:feature/node8 into 3beec13457af6913d1379345874dfcd8466ffdb5 on solid:master.

Coverage remained the same at 88.803% when pulling 09bd49ebc130b253a07729cfd42468d15531609c on RubenVerborgh:feature/node8 into 3beec13457af6913d1379345874dfcd8466ffdb5 on solid:master.

source: gharchive/pull-request

authors: RubenVerborgh coveralls

repo: solid/solid-auth-client

license: mit

license_type: permissive

license_source: bigquery


text:
Consider stating the terms in definitions/terminology as SKOS Concepts

This issue extracts suggestions from @csarven originally in #118 and #134
If someone decides that it's worth their time, I would suggest looking into Bikeshed: Definitions data model and exploring the possibility of contributing SKOS output there.
Personally, I don't see a clear benefit for implementers and other spec writers from having it stated as SKOS Concepts. @csarven could you please provide a few real-world examples of how it proves benefiting based on experience with other specs which already do it?

No, I believe I formulated my question rather clearly:

could you please provide a few real-world examples of how it proves benefiting based on experience with other specs which already do it?

I don't ask about hypothetical benefits. I see implementers and spec writers as the primary audience of solid specifications. If you have examples of them using SKOS annotations from other specs which include them, it is more likely that someone would get motivated to prioritize it in their planned contributions.

source: gharchive/issue

repo: solid/solid-oidc

license: MIT

license_source: github-api


text:
Design app tutorial layout

design the content page that Vincent put together on https://github.com/solid/solid.github.io/issues/4

Starting page link: https://solid.github.io/Build-on-Solid/writing-solid-applications
Some items in particular:

Ordered lists do not show the list numbers, and the font is disproportionately large:

Syntax highlighting on code snippets would be nice, although that's not really a design issue, I guess.
The font size for tables is disproportionately large:

does this work? https://solid.github.io/learn-about-solid/what-is-solid

Starting page link: https://solid.github.io/Build-on-Solid/writing-solid-applications

@Vinnl can i find this at another link now? getting a 404 at that one.

design the content page that Vincent put together on #4

@Mitzi-Laszlo not sure if this is a design ticket or a development one. the secondary page style that you linked in the last comment should support the design that you suggested in the original comment. it looks like in @Vinnl's comment that he was pointing out some specific issues with that template, but the example cited brings me to a broken link. if it's a matter of fixing the template then this would fall into the developer bucket rather than design. either is fine, just want to make sure that we scope it to the right resources.

@justinwb Sorry, we moved stuff around. The starting page is https://solid.github.io/build/apps/first-app (though click "Start" below to move through the full tutorial).
Design is the primary thing the content team can't really do themselves :)

authors: Mitzi-Laszlo Vinnl justinwb


text:
Table of content is not rendered in the index.html

The TOC is missing.

Since the sections numbers will change (e.g. adding in a conformance section and one on solid:community), I suggest we leave this until later.

Closing as this appear to be resolved

repo: solid/webid-profile


text:
Multiple errors related to parcel when starting a new solid-start project: npm ERR gyp ERR

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
Multiple node/gyp errors related to Parcel running 'npm install' when creating a new solid-start project. See output below.
[host@myhost site]$ npm install
npm ERR! code 1
npm ERR! path /home/host/site/node_modules/@parcel/watcher
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@10.0.1
npm ERR! gyp info using node@20.11.0 | linux | x64
npm ERR! gyp info find Python using Python version 3.11.6 found at "/sbin/python3"
npm ERR! gyp info spawn /sbin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/home/host/.nvm/versions/node/v20.11.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/host/site/node_modules/@parcel/watcher/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/host/.nvm/versions/node/v20.11.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/host/.cache/node-gyp/20.11.0/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/home/host/.cache/node-gyp/20.11.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/host/.nvm/versions/node/v20.11.0/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/home/host/.cache/node-gyp/20.11.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/host/site/node_modules/@parcel/watcher',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp: binding.gyp not found (cwd: /home/host/site/node_modules/@parcel/watcher) while trying to load binding.gyp
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: gyp failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess. (/home/host/.nvm/versions/node/v20.11.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:271:18)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:518:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm ERR! gyp ERR! System Linux 6.7.3-arch1-1
npm ERR! gyp ERR! command "/home/host/.nvm/versions/node/v20.11.0/bin/node" "/home/host/.nvm/versions/node/v20.11.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /home/host/site/node_modules/@parcel/watcher
npm ERR! gyp ERR! node -v v20.11.0
npm ERR! gyp ERR! node-gyp -v v10.0.1
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in: /home/host/.npm/_logs/2024-02-05T14_27_16_860Z-debug-0.log
Expected behavior 🤔
Complete 'npm install' when creating a new solid-start project.
Steps to reproduce 🕹
Steps:

$ npm init solid@latest
$ cd my-app
$ npm install

Context 🔦
No response
Your environment 🌎
$ node –version
v20.11.0
$ node-gyp –version
v10.0.1
$ npm –version
10.4.0
$ uname -a
Linux 6.7.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 01 Feb 2024 10:30:35 +0000 x86_64 GNU/Linux

why was there a Parcel

@lxsmnsyc I'm not sure I understand the question. @parcel/watcher was referenced based on the error output. I edited the title slightly to hopefully make it more intuitive.

adding this into package.json worked for me:
  "overrides": {
    "@parcel/watcher": "2.1.0"
  }

Hmm it looks like @vinxi/listhen@1.5.6 uses @parcel/watcher. That being said if a version issue is happening that is upstream. I haven't seen this issue and I don't imagine it is related to our package locks. It looks like the current version we install for @parcel/watcher is 2.4.0
Looking further I see certain combinations seem to be having some issues with npm/node versions. https://github.com/parcel-bundler/watcher/issues/156
I don't think there is much for us to do here. If Vinxi needs to reconsider libraries I suppose we could look that but it seems that there are some challenges with this package.

Please try @parcel/watcher v2.4.1, which should fix this issue with npm 10.4.0. See https://github.com/parcel-bundler/watcher/issues/156#issuecomment-1961552001 for details.

Closing in favor or @devongovett's comment (https://github.com/solidjs/solid-start/issues/1310#issuecomment-1961559146). If its still an issue, reopen this.

authors: componentscience darrenswhite devongovett lxsmnsyc nksaraf ryansolid

repo: solidjs/solid-start


text:
Some weird bug while rendering elements

Describe the bug

Your Example Website or App
https://stackblitz.com/edit/solid-vite-rimzwc?file=src/index.tsx
Steps to Reproduce the Bug or Issue
Create one component and put another component inside it. It renders the first element which is the child then it renders the parent one. It should be inverse.
Expected behavior
It should render A then B.
Screenshots or Videos

Platform

OS: Linux
Browser: Firefox]
Version: Latest 104

Additional context
No response

You are destructuring, it prompts children to be constructed first.
To explain:
// Since props are a bunch of getters, and `children` is a getter,
// destructuring, or any form of synchronous access, will cause `children`
// to render first.
function A({ children }) {
  console.log('A');
  return <>{children}</>;
}

function B({ children }) {
  console.log('B');
  return <>{children}</>;
}

  Hello world

// compiled as
A({
  get children() {
    return B({ children: 'Hello world' })
  },
})

Thanks, guys. It works when I remove the destructuring.

repo: solidjs/solid


text:
Update README.md

Fixes #29

Thanks!

authors: charliebruce eduplus

repo: solinor/react-native-bluetooth-status


text:
Register

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/96184
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 17d83ed13f669e1c3e6e770fd825f1e70adc81be
git push origin v0.1.0

authors: JuliaRegistrator YiboK


text:
🛑 petsmart.kz is down

In f60ea7d, petsmart.kz (https://petsmart.kz/) was down:

HTTP code: 500
Response time: 13816 ms

Resolved: petsmart.kz is back up in d1bef0c.


text:
🛑 server.h-24871.kz is down

In 3663979, server.h-24871.kz (185.121.81.43) was down:

HTTP code: 0
Response time: 0 ms

Resolved: server.h-24871.kz is back up in 5094bfb.


text:
[Section Lead]

New block, see screenshot from figma

Can this work with this block? LMK

These can probably be handled with the section-metadata block.
Eg;

section metadata

style
grid-half , justify-between

the style classes must be defined with proper value.

Created block with section lead. Just in case if the section needs to add in javascript in future.

authors: saugatmalla snowiewdev solomon71


text:
Not working on gatsby v2

Hey guys, I can't make this plugin to work...
When I import sal.css from node_modules every div with data-sal properties just disappear. Am I missing something?
import React from "react"
import Images from '../images'
import '../../../node_modules/sal.js/dist/sal.css'

const ProjectsBox = props => (

        <Images filename="test.jpg"/>

);

export default ProjectsBox;

Have you configured your gatsby-config.js?

Have you configured your gatsby-config.js? And btw you don't have to import sal.css. It should work from the get go when configured properly.

Yes, I added it in gatsby-config.js and tried configuring it with and without any options with no luck..

Oh. I think you forgot to export ProjectsBox. I assumed it is used somewhere else in the project, correct?

Hey @vlinas! Can you share your gatsby-config.js file?

Hey @vlinas! Can you share your gatsby-config.js file?

Hey @solubletech , here's my gatsby-config.js
module.exports = {   siteMetadata: {     title: Linas,     description: webdev,     author: @linasv,   },   plugins: [     gatsby-plugin-react-helmet,     {       resolve: gatsby-source-filesystem,       options: {         name: images,         path: ${__dirname}/src/images,       },     },     {       resolve: "gatsby-source-filesystem",       options: {         path: ${__dirname}/src/pages,         name: "pages"       }     },     gatsby-transformer-sharp,     gatsby-plugin-sharp,     gatsby-plugin-sass,     'gatsby-plugin-dark-mode',     gatsby-plugin-scroll-reveal,     {       resolve: gatsby-plugin-manifest,       options: {         name: gatsby-starter-default,         short_name: starter,         start_url: /,         background_color: #663399,         theme_color: #663399,         display: minimal-ui,         // icon: src/images/gatsby-icon.png, // This path is relative to the root of the site.       },     },     // this (optional) plugin enables Progressive Web App + Offline functionality     // To learn more, visit: https://gatsby.dev/offline     // gatsby-plugin-offline,   ], }

@solubletech I found the issue here. Scroll reveal doesn't work if div is wrapped in react-lazyload component

I'm having the same issue as well.
Gatsby Config:
module.exports = {   siteMetadata: {     title: Dylan's portfolio,     description: Dylan Davenport's portfolio,     author: Dylan Davenport,   },   plugins: [     gatsby-plugin-sass,     gatsby-plugin-react-helmet,     gatsby-plugin-scroll-reveal,     {       resolve: gatsby-plugin-typography,       options: {         pathToConfigModule: src/utils/typography,       },     },     {       resolve: gatsby-source-filesystem,       options: {         name: images,         path: ${__dirname}/src/images,       },     },     gatsby-transformer-sharp,     gatsby-plugin-sharp,     {       resolve: gatsby-plugin-manifest,       options: {         name: Dylan's portfolio,         short_name: portfolio,         start_url: /,         background_color: #663399,         theme_color: #663399,         display: minimal-ui,         // icon: src/images/gatsby-icon.png, // This path is relative to the root of the site.       },     },     // this (optional) plugin enables Progressive Web App + Offline functionality     // To learn more, visit: https://gatsby.dev/offline     // gatsby-plugin-offline,   ], }
I am using Styled Components, wasn't sure if that could be a possible issue?

@vlinas @DRD161  You might have better luck with a different solution. There's nothing Gatsby-specific about this behavior, and the dependency doing the heavy lifting uses a very non-React approach, leading to some of the issues you're experiencing with client-side rendered elements (e.g. LazyLoad) or JS-based CSS solutions (StyledComponents).
Here's an example using a lightweight Intersection Observer wrapper:
import { useInView } from "react-intersection-observer"

const AnimateIn = ({ threshold = 0.15, triggerOnce = false, ...remainingProps }) => {
  const [ref, inView] = useInView({ threshold, triggerOnce })

  return (
    <div
      style={{
        // adjust these as desired
        transition: "opacity 300ms, transform 300ms",
        opacity: inView ? 1 : 0,
        transform: `translateY(${inView ? 0 : 100}px)`,
      }}
      {...remainingProps}
    />
  )
}

Then just wrap any components you want entrance animations on with this component, overriding the default threshold and triggerOnce values as desired:
<AnimateIn triggerOnce={true}>

Hi Mom!

</AnimateIn>

This is much easier to reason about, doesn't couple itself to Gatsby, and you can easily extend or modify it to do anything else you need, all without adding a bunch of additional dependencies to your client-side code. You can even use this approach to auto-play videos when they're in view and pause them when they're not:
import { useInView } from "react-intersection-observer"

const AutoPlayingVideo = ({ threshold = 0.15, ...playerProps }) => {
  const [ref, inView] = useInView({ threshold })

  useEffect(() => {
    if (inView) {
      ref.current?.play()
    } else {
      ref.current?.pause()
    }
  }, [ref, inView])

  return (
    <video
      style={{
        transition: "opacity 300ms, transform 300ms",
        opacity: inView ? 1 : 0,
        transform: `translateY(${inView ? 0 : 100}px)`,
      }}
      ref={ref}
      autoPlay
      playsInline
      muted
      loop
      {...playerProps}
    />
  )
}

authors: DRD161 barjuandavis coreyward solubletech vlinas


text:
URL parser for Ausländer

I read in this comment that you may have tried working on it https://www.reddit.com/r/berlin/comments/ppxaqr/comment/huda954/?utm_source=share&utm_medium=web2x&context=3
I'm wondering if instead of dealing with the form you can just parse the URL of the pre-filled form, for example https://otv.verwalt-berlin.de/ams/TerminBuchen/wizardng/6efbab98-b17e-4dc0-8015-4db0f0f2ad6b?dswid=1173&dsrid=486&st=2&v=1652861470436
I'd love to try working on it but not sure how to deploy a bot, any info would be appreciated. Thank you for your effort so far ☀

hey there, thanks! if it ended up working - that would be cool! I had trouble debugging the happy path and lack of motivation to work on it further.
regarding deployment - I normally was deploying it from my machine, but I'll try to add GitHub action here that will be doing that automatically on merge

I started PR #8

authors: rosano sonac

repo: sonac/burgerbot


text:
New: Ask about browserslist when generating config

Fix #446
I'm currently working on adding tests, but feedback on the options are welcome:
I checked out a few dependents of browserslist to see what queries are most often used. last 2 versions show up frequently, but a lot of them simply provide an interface to pass their users' queries to browserslist, which means they use browserslist's default if not defined. Here in this PR, we have 4 options in the beginning:

Default list from browserslist
Last 2 versions of all browsers
Add by percentage of usage statistics. (e.g., >= 5%, 5% by default)
Add by specific browser type and version number range. (e.g., IE 6-8)

The users can define the value of usage percentage, browser type and the version numbers. Also the dialogue will be prompted in a recursive manner so if a user wants to add additional query he/she will be able to do so.

Specify custom query (+ a link to the browserslist docs)

Problem with that is that I think we should validate it and I really don't want to. It would be the only field where we would accept any input. If we decide to go forward, maybe just add the property in the file and let the users know they have to update it?
Also, what happens if the formation not valid? If browserslist doesn't break then I'm OK with just those 2.

Problem with that is that I think we should validate it and I really don't want to.
Also, what happens if the formation not valid? If browserslist doesn't break then I'm OK with just those 2.

browserslist does the validation automatically, for example for eddge 15:
{ BrowserslistError: Unknown browser eddge
    at checkName (/Users/alrra/projects/sonar/node_modules/browserslist/index.js:339:20)
    at Function.select (/Users/alrra/projects/sonar/node_modules/browserslist/index.js:680:18)
    at /Users/alrra/projects/sonar/node_modules/browserslist/index.js:226:33
    at Array.forEach (native)
    at browserslist (/Users/alrra/projects/sonar/node_modules/browserslist/index.js:208:11)
    at process (/Users/alrra/projects/sonar/a.js:6:24)
    at Object.<anonymous> (/Users/alrra/projects/sonar/a.js:14:13)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
  name: 'BrowserslistError',
  message: 'Unknown browser eddge',
  browserslist: true }

@molant @alrra so it looks like browserslist does break on invalid queries. What do you think if we have the two options as @alrra suggested, but catch the error in the code if it breaks and provides the error message along with the browserslist doc link so that the user can fix it in .sonarrc?

What do you think if we have the two options as @alrra suggested,
OK

Let's put something like:

What browsers are you targeting?

Default: last 2 versions with more than 1% of market share (is this exactly what the defaults are?)
Custom (use browserslist format: https://github.com/ai/browserslist#queries)

We catch an exception as @qzhou1607 proposes and if it breaks then we ask the question again with a message saying Invalid format, please try again.

@molant The default of browserslist is last 2 versions,  >1 %, and plus Firefox ESR . See Ref.

Default: last 2 versions with more than 1% of market share (is this exactly what the defaults are?)

Just to clarify: It won't break when we set the value when running init. The error will only be thrown when we run sonar with the invalid queries. So technically we can't try again immediately. The user will have to go to .sonarrc to fix it with the correct query and then run sonar again.

if it breaks then we ask the question again with a message saying Invalid format, please try again.

We catch an exception as @qzhou1607 proposes and if it breaks then we ask the question again with a message saying Invalid format, please try again.

Also, say exactly what is invalid, browserslist provides that info.

Just to clarify: It won't break when we set the value when running init

You can do something like to test things out:

try {
    browserslist(theCustomQueryTheUserEntered) `
} catch (e) {
    // handle failure, and re ask question
}

authors: alrra molant qzhou1607

repo: sonarwhal/sonar


text:
New: Add online scanner configuration link to scan results summary

Pull request checklist
Make sure you:

[x] Signed the Contributor License Agreement
[x] Followed the commit message guidelines

Short description of the change(s)
Here is the front-end part of #309.
Added scanner config tile with link to scan overview section

How the changes look. We can update the link to read whatever makes sense.


text:
fix error binary op info in 'Expected expression after {biop}'

current error infomation:

after fix:

Thanks, will add regression-test for this as well in a few minutes.

@EricSmekens publish a new release in npm please

authors: EricSmekens Frezc

repo: soney/jsep


text:
The windows example can't run

I use openvpn install the tap driver on my windows
C:\Program Files\TAP-Windows\bin
λ  .\tapinstall.exe hwids tap0901
ROOT\NET\0000
    Name: TAP-Windows Adapter V9
    Hardware IDs:
        tap0901
1 matching device(s) found.

Then I copy the code and run the program
 go run .\main.go

It always show me the error
2018/03/30 19:09:41 Failed to find the tap device in registry with specified ComponentId(), TAP driver may be not installed
exit status 1

I think we should update the README file, change the config parameter in the example code,
water.Config{ 		DeviceType: water.TAP, 		PlatformSpecificParams: water.defaultPlatformSpecificParams() }

Ah I see; looks like I had a bug here where it didn't automatically populate defaultPlatformSpecificParams(). Will fix. Thanks.

@pencil001 would you mind trying it again with latest master?

@songgao Yes, it's worked.

repo: songgao/water


text:
File name "xlib.modeling_tf_auto" not found

When preprocessing and model training, I met this error.
I think xlib doesn't include  modeling_tf_auto.py .
Commands
python bertoverbert.py --do_train --encoder_model ./pretrained_models/bert/bert-base-uncased/
--decoder_model ./pretrained_models/bert/bert-base-uncased/ --decoder2_model ./pretrained_models/bert/bert-base-uncased/ --save_model_path checkpoints/ConvAI2/bertoverbert --dataset_type convai2 --dumped_token ./data/ConvAI2/convai2_tokenized/ --learning_rate 7e-6 --batch_size 32
Error Message.
Traceback (most recent call last):
File "bertoverbert.py", line 26, in
from xlibs import AdamW
File "PATH\BoB\xlibs_init_.py", line 126, in
from .pipelines import (
File "PATH\BoB\xlibs\pipelines.py", line 48, in
from .modeling_tf_auto import (
ModuleNotFoundError: No module named 'xlibs.modeling_tf_auto'

This issue is caused by the TensorFlow environment. I guess that you run this project under an environment where both PyTorch and TensorFlow are installed. If TensorFlow is available, the xlib/pipelines.py will initialize the tf-related libs. These libs were removed from this PyTorch project for simplicity.  Therefore, here are two solutions:

run this project under a no-TensorFlow environment, or
replace the xlib/pipelines.py with the updated one, which has removed all tf lib initializations.

repo: songhaoyu/BoB


text:
[Comb] Change hash map to vector of pair to increase readability.

Keyword Check:
divya@eonms3vm12:~/new_code/sonic-buildimage/src/sonic-p4rt/sonic-pins$ ~/keyword_checks.sh .
Keyword check Passed.
Build Results:
divya@e9e9b2e05579:/sonic/src/sonic-p4rt/sonic-pins$ bazel build $BAZEL_BUILD_OPTS ...
INFO: Analyzed 387 targets (1 packages loaded, 23 targets configured).
INFO: Found 387 targets...
...
INFO: Elapsed time: 63.638s, Critical Path: 24.58s
INFO: 34 processes: 11 internal, 23 linux-sandbox.
INFO: Build completed successfully, 34 total actions
Test Results:
divya@e9e9b2e05579:/sonic/src/sonic-p4rt/sonic-pins$ bazel test $BAZEL_BUILD_OPTS --cache_test_results=no ...
INFO: Analyzed 387 targets (0 packages loaded, 289 targets configured).
INFO: Found 252 targets and 135 test targets...
INFO: Elapsed time: 81.632s, Critical Path: 25.83s
INFO: 140 processes: 147 linux-sandbox, 17 local.
INFO: Build completed successfully, 140 total actions
//gutil:collections_test                                                 PASSED in 0.5s
//gutil:io_test                                                          PASSED in 0.5s
//gutil:proto_matchers_test                                              PASSED in 0.7s
//gutil:proto_ordering_test                                              PASSED in 0.5s
//gutil:proto_test                                                       PASSED in 0.5s
//gutil:status_matchers_test                                             PASSED in 0.5s
//gutil:test_artifact_writer_test                                        PASSED in 0.5s
//gutil:testing_test                                                     PASSED in 0.5s
//gutil:version_test                                                     PASSED in 1.5s
//lib:basic_switch_test                                                  PASSED in 0.8s
//lib:ixia_helper_test                                                   PASSED in 1.1s
//lib/basic_traffic:basic_p4rt_util_test                                 PASSED in 0.9s
//lib/gnmi:gnmi_helper_test                                              PASSED in 2.8s
//lib/gnoi:gnoi_helper_test                                              PASSED in 0.5s
//lib/p4rt:p4rt_port_test                                                PASSED in 0.6s
//lib/p4rt:p4rt_programming_context_test                                 PASSED in 0.8s
//lib/utils:generic_testbed_utils_test                                   PASSED in 1.2s
//lib/utils:json_utils_test                                              PASSED in 0.5s
//lib/validator:validator_backend_test                                   PASSED in 0.5s
//lib/validator:validator_lib_test                                       PASSED in 25.8s
//p4_fuzzer:constraints_util_integration_test                            PASSED in 0.9s
//p4_fuzzer:fuzz_util_test                                               PASSED in 1.0s
//p4_fuzzer:fuzzer_showcase_test                                         PASSED in 0.9s
//p4_fuzzer:switch_state_test                                            PASSED in 0.6s
//p4_fuzzer:table_entry_key_test                                         PASSED in 0.1s
//p4_pdpi:built_ins_test                                                 PASSED in 0.6s
//p4_pdpi:entity_keys_test                                               PASSED in 0.5s
//p4_pdpi:ir_tools_test                                                  PASSED in 0.7s
//p4_pdpi:p4_runtime_matchers_test                                       PASSED in 0.6s
//p4_pdpi:reference_annotations_test                                     PASSED in 0.9s
//p4_pdpi:sequencing_util_test                                           PASSED in 0.6s
//p4_pdpi/netaddr:ipv4_address_and_network_address_test                  PASSED in 0.5s
//p4_pdpi/netaddr:ipv6_address_test                                      PASSED in 0.5s
//p4_pdpi/netaddr:mac_address_test                                       PASSED in 0.5s
//p4_pdpi/packetlib:packetlib_fuzzer_test                                PASSED in 16.5s
//p4_pdpi/packetlib:packetlib_matchers_test                              PASSED in 0.5s
//p4_pdpi/packetlib:packetlib_test                                       PASSED in 0.1s
//p4_pdpi/packetlib:packetlib_test_runner                                PASSED in 0.1s
//p4_pdpi/packetlib:packetlib_unit_test                                  PASSED in 1.1s
//p4_pdpi/string_encodings:bit_string_test                               PASSED in 0.5s
//p4_pdpi/string_encodings:byte_string_test                              PASSED in 0.5s
//p4_pdpi/string_encodings:decimal_string_test                           PASSED in 0.0s
//p4_pdpi/string_encodings:decimal_string_test_runner                    PASSED in 0.0s
//p4_pdpi/string_encodings:hex_string_test                               PASSED in 0.0s
//p4_pdpi/string_encodings:hex_string_test_runner                        PASSED in 0.0s
//p4_pdpi/string_encodings:readable_byte_string_test                     PASSED in 0.5s
//p4_pdpi/testing:helper_function_test                                   PASSED in 0.6s
//p4_pdpi/testing:info_test                                              PASSED in 0.3s
//p4_pdpi/testing:info_test_runner                                       PASSED in 0.1s
//p4_pdpi/testing:main_pd_test                                           PASSED in 0.0s
//p4_pdpi/testing:mock_p4_runtime_server_test                            PASSED in 0.7s
//p4_pdpi/testing:packet_io_test                                         PASSED in 0.1s
//p4_pdpi/testing:packet_io_test_runner                                  PASSED in 0.3s
//p4_pdpi/testing:rpc_test                                               PASSED in 0.1s
//p4_pdpi/testing:rpc_test_runner                                        PASSED in 0.1s
//p4_pdpi/testing:sequencing_test                                        PASSED in 0.1s
//p4_pdpi/testing:sequencing_test_runner                                 PASSED in 0.1s
//p4_pdpi/testing:sequencing_util_test                                   PASSED in 0.2s
//p4_pdpi/testing:sequencing_util_test_runner                            PASSED in 0.0s
//p4_pdpi/testing:table_entry_gunit_test                                 PASSED in 1.0s
//p4_pdpi/testing:table_entry_test                                       PASSED in 0.3s
//p4_pdpi/testing:table_entry_test_runner                                PASSED in 0.1s
//p4_pdpi/utils:annotation_parser_test                                   PASSED in 0.5s
//p4_pdpi/utils:ir_test                                                  PASSED in 0.6s
//p4rt_app/event_monitoring:app_state_db_port_table_event_test           PASSED in 1.0s
//p4rt_app/event_monitoring:app_state_db_send_to_ingress_port_table_event_test PASSED in 0.9s
//p4rt_app/event_monitoring:config_db_cpu_queue_table_event_test         PASSED in 1.0s
//p4rt_app/event_monitoring:config_db_node_cfg_table_event_test          PASSED in 0.9s
//p4rt_app/event_monitoring:config_db_port_table_event_test              PASSED in 1.1s
//p4rt_app/event_monitoring:debug_data_dump_events_test                  PASSED in 1.0s
//p4rt_app/event_monitoring:state_verification_events_test               PASSED in 1.1s
//p4rt_app/p4runtime:cpu_queue_translator_test                           PASSED in 0.5s
//p4rt_app/p4runtime:ir_translation_test                                 PASSED in 0.8s
//p4rt_app/p4runtime:p4info_verification_schema_test                     PASSED in 0.8s
//p4rt_app/p4runtime:p4info_verification_test                            PASSED in 0.9s
//p4rt_app/p4runtime:packetio_helpers_test                               PASSED in 0.9s
//p4rt_app/p4runtime:resource_utilization_test                           PASSED in 0.7s
//p4rt_app/sonic:app_db_acl_def_table_manager_test                       PASSED in 0.8s
//p4rt_app/sonic:app_db_manager_test                                     PASSED in 0.9s
//p4rt_app/sonic:app_db_to_pdpi_ir_translator_test                       PASSED in 0.8s
//p4rt_app/sonic:hashing_test                                            PASSED in 0.7s
//p4rt_app/sonic:packet_replication_entry_translation_test               PASSED in 1.3s
//p4rt_app/sonic:packetio_impl_test                                      PASSED in 0.6s
//p4rt_app/sonic:packetio_port_test                                      PASSED in 0.6s
//p4rt_app/sonic:response_handler_test                                   PASSED in 0.7s
//p4rt_app/sonic:state_verification_test                                 PASSED in 0.7s
//p4rt_app/sonic:vrf_entry_translation_test                              PASSED in 0.7s
//p4rt_app/sonic/adapters:fake_sonic_db_table_test                       PASSED in 0.1s
//p4rt_app/tests:acl_table_test                                          PASSED in 1.5s
//p4rt_app/tests:action_set_test                                         PASSED in 1.1s
//p4rt_app/tests:api_access_test                                         PASSED in 1.0s
//p4rt_app/tests:arbitration_test                                        PASSED in 1.1s
//p4rt_app/tests:cpu_queue_name_and_id_test                              PASSED in 1.6s
//p4rt_app/tests:debug_data_dump_test                                    PASSED in 1.1s
//p4rt_app/tests:fixed_l3_tables_test                                    PASSED in 2.6s
//p4rt_app/tests:forwarding_pipeline_config_test                         PASSED in 3.9s
//p4rt_app/tests:grpc_behavior_test                                      PASSED in 5.5s
//p4rt_app/tests:p4_constraints_test                                     PASSED in 0.2s
//p4rt_app/tests:p4_constraints_test_runner                              PASSED in 0.2s
//p4rt_app/tests:p4_programs_test                                        PASSED in 1.6s
//p4rt_app/tests:packetio_test                                           PASSED in 3.7s
//p4rt_app/tests:port_name_and_id_test                                   PASSED in 2.4s
//p4rt_app/tests:resource_limits_test                                    PASSED in 5.6s
//p4rt_app/tests:response_path_test                                      PASSED in 2.9s
//p4rt_app/tests:role_test                                               PASSED in 1.3s
//p4rt_app/tests:state_verification_test                                 PASSED in 1.8s
//p4rt_app/tests:vrf_table_test                                          PASSED in 1.6s
//p4rt_app/tests/lib:app_db_entry_builder_test                           PASSED in 0.0s
//p4rt_app/utils:event_data_tracker_test                                 PASSED in 0.0s
//p4rt_app/utils:table_utility_test                                      PASSED in 0.7s
//sai_p4/instantiations/google:clos_stage_test                           PASSED in 0.5s
//sai_p4/instantiations/google:fabric_border_router_p4info_up_to_date_test PASSED in 0.0s
//sai_p4/instantiations/google:middleblock_p4info_up_to_date_test        PASSED in 0.1s
//sai_p4/instantiations/google:sai_p4info_fetcher_test                   PASSED in 0.6s
//sai_p4/instantiations/google:sai_p4info_test                           PASSED in 0.9s
//sai_p4/instantiations/google:sai_pd_proto_test                         PASSED in 0.0s
//sai_p4/instantiations/google:sai_pd_util_test                          PASSED in 0.5s
//sai_p4/instantiations/google:tor_p4info_up_to_date_test                PASSED in 0.0s
//sai_p4/instantiations/google:union_p4info_up_to_date_test              PASSED in 1.2s
//sai_p4/instantiations/google:wbb_p4info_up_to_date_test                PASSED in 0.0s
//sai_p4/instantiations/google/test_tools:table_entry_generator_helper_test PASSED in 1.1s
//sai_p4/instantiations/google/test_tools:test_entries_test              PASSED in 1.7s
//sai_p4/instantiations/google/tests:p4_constraints_integration_test     PASSED in 0.8s
//sai_p4/tools:p4info_tools_test                                         PASSED in 0.5s
//sai_p4/tools:packetio_tools_test                                       PASSED in 0.7s
//thinkit:bazel_test_environment_test                                    PASSED in 0.5s
//thinkit:generic_testbed_test                                           PASSED in 1.1s
//thinkit:mock_control_device_test                                       PASSED in 1.0s
//thinkit:mock_generic_testbed_test                                      PASSED in 0.7s
//thinkit:mock_mirror_testbed_test                                       PASSED in 0.6s
//thinkit:mock_ssh_client_test                                           PASSED in 0.0s
//thinkit:mock_switch_test                                               PASSED in 1.0s
//thinkit:mock_test_environment_test                                     PASSED in 0.1s
//thinkit:switch_test                                                    PASSED in 0.7s
//sai_p4/instantiations/google/test_tools:table_entry_generator_test     PASSED in 13.0s
Stats over 5 runs: max = 13.0s, min = 2.3s, avg = 8.2s, dev = 4.9s
Executed 135 out of 135 tests: 135 tests pass.
INFO: Build completed successfully, 140 total actions
divya@e9e9b2e05579:/sonic/src/sonic-p4rt/sonic-pins$

Co-authored-by: Robert Halstead rhalstea@google.com

@kishanps , Could you please review

authors: bibhuprasad-hcl divyagayathri-hcl

repo: sonic-net/sonic-pins


text:
[SAIP4] Model disable_vlan_checks table.

Keyword Check:
sdivya@eonms6vm1:~/sonic_sep6/sonic-buildimage/src/sonic-p4rt/sonic-pins$ ~/keyword_check.sh .
Keyword check Passed.
Build and Test Results:
sdivya@e25b91aea928:/sonic/src/sonic-p4rt/sonic-pins$ bazel test $BAZEL_BUILD_OPTS --cache_test_results=no ...
INFO: Analyzed 411 targets (0 packages loaded, 302 targets configured).
INFO: Found 411 targets...
...
INFO: Elapsed time: 940.449s, Critical Path: 78.77s
INFO: 897 processes: 907 linux-sandbox, 18 local.
INFO: Build completed successfully, 897 total actions
//gutil:collections_test                                                 PASSED in 0.5s
//gutil:io_test                                                          PASSED in 0.5s
//gutil:proto_matchers_test                                              PASSED in 0.6s
//gutil:proto_ordering_test                                              PASSED in 0.5s
//gutil:proto_test                                                       PASSED in 0.5s
//gutil:status_matchers_test                                             PASSED in 0.5s
//gutil:test_artifact_writer_test                                        PASSED in 0.7s
//gutil:testing_test                                                     PASSED in 0.5s
//gutil:timer_test                                                       PASSED in 5.0s
//gutil:version_test                                                     PASSED in 1.4s
//lib:basic_switch_test                                                  PASSED in 0.9s
//lib:ixia_helper_test                                                   PASSED in 1.2s
//lib/basic_traffic:basic_p4rt_util_test                                 PASSED in 0.9s
//lib/basic_traffic:basic_traffic_test                                   PASSED in 15.0s
//lib/gnmi:gnmi_helper_test                                              PASSED in 2.9s
//lib/gnoi:gnoi_helper_test                                              PASSED in 0.5s
//lib/p4rt:p4rt_port_test                                                PASSED in 0.5s
//lib/p4rt:p4rt_programming_context_test                                 PASSED in 0.9s
//lib/utils:generic_testbed_utils_test                                   PASSED in 1.3s
//lib/utils:json_utils_test                                              PASSED in 0.5s
//lib/validator:validator_backend_test                                   PASSED in 0.5s
//lib/validator:validator_lib_test                                       PASSED in 25.8s
//p4_fuzzer:constraints_util_integration_test                            PASSED in 0.7s
//p4_fuzzer:fuzz_util_test                                               PASSED in 0.7s
//p4_fuzzer:fuzzer_showcase_test                                         PASSED in 0.9s
//p4_fuzzer:oracle_util_test                                             PASSED in 0.7s
//p4_fuzzer:switch_state_test                                            PASSED in 0.6s
//p4_fuzzer:table_entry_key_test                                         PASSED in 0.1s
//p4_pdpi:built_ins_test                                                 PASSED in 0.5s
//p4_pdpi:entity_keys_test                                               PASSED in 0.5s
//p4_pdpi:ir_properties_test                                             PASSED in 0.5s
//p4_pdpi:ir_to_ir_test                                                  PASSED in 0.6s
//p4_pdpi:ir_tools_test                                                  PASSED in 0.8s
//p4_pdpi:names_test                                                     PASSED in 0.7s
//p4_pdpi:p4_runtime_matchers_test                                       PASSED in 1.0s
//p4_pdpi:reference_annotations_test                                     PASSED in 0.7s
//p4_pdpi:references_test                                                PASSED in 0.6s
//p4_pdpi:sequencing_util_test                                           PASSED in 0.7s
//p4_pdpi/netaddr:ipv4_address_and_network_address_test                  PASSED in 0.6s
//p4_pdpi/netaddr:ipv6_address_test                                      PASSED in 0.5s
//p4_pdpi/netaddr:mac_address_test                                       PASSED in 1.0s
//p4_pdpi/packetlib:packetlib_fuzzer_test                                PASSED in 16.4s
//p4_pdpi/packetlib:packetlib_matchers_test                              PASSED in 0.6s
//p4_pdpi/packetlib:packetlib_test                                       PASSED in 0.1s
//p4_pdpi/packetlib:packetlib_test_runner                                PASSED in 0.1s
//p4_pdpi/packetlib:packetlib_unit_test                                  PASSED in 3.3s
//p4_pdpi/string_encodings:bit_string_test                               PASSED in 0.5s
//p4_pdpi/string_encodings:byte_string_test                              PASSED in 0.5s
//p4_pdpi/string_encodings:decimal_string_test                           PASSED in 0.0s
//p4_pdpi/string_encodings:decimal_string_test_runner                    PASSED in 0.1s
//p4_pdpi/string_encodings:hex_string_test                               PASSED in 0.0s
//p4_pdpi/string_encodings:hex_string_test_runner                        PASSED in 0.0s
//p4_pdpi/string_encodings:readable_byte_string_test                     PASSED in 0.5s
//p4_pdpi/testing:helper_function_test                                   PASSED in 0.6s
//p4_pdpi/testing:info_test                                              PASSED in 0.1s
//p4_pdpi/testing:info_test_runner                                       PASSED in 0.1s
//p4_pdpi/testing:main_pd_test                                           PASSED in 0.0s
//p4_pdpi/testing:mock_p4_runtime_server_test                            PASSED in 1.7s
//p4_pdpi/testing:old_get_entries_unreachable_from_roots_with_matchfield_reference_test PASSED in 0.1s
//p4_pdpi/testing:old_get_entries_unreachable_from_roots_with_matchfield_reference_test_runner PASSED in 0.1s
//p4_pdpi/testing:packet_io_test                                         PASSED in 0.1s
//p4_pdpi/testing:packet_io_test_runner                                  PASSED in 0.3s
//p4_pdpi/testing:references_test                                        PASSED in 0.1s
//p4_pdpi/testing:references_test_runner                                 PASSED in 0.1s
//p4_pdpi/testing:rpc_test                                               PASSED in 0.2s
//p4_pdpi/testing:rpc_test_runner                                        PASSED in 0.1s
//p4_pdpi/testing:sequencing_test                                        PASSED in 0.1s
//p4_pdpi/testing:sequencing_test_runner                                 PASSED in 0.2s
//p4_pdpi/testing:sequencing_util_test                                   PASSED in 0.1s
//p4_pdpi/testing:sequencing_util_test_runner                            PASSED in 0.0s
//p4_pdpi/testing:table_entry_gunit_test                                 PASSED in 0.7s
//p4_pdpi/testing:table_entry_test                                       PASSED in 0.2s
//p4_pdpi/testing:table_entry_test_runner                                PASSED in 0.1s
//p4_pdpi/utils:annotation_parser_test                                   PASSED in 0.6s
//p4_pdpi/utils:ir_test                                                  PASSED in 0.6s
//p4rt_app/event_monitoring:app_state_db_port_table_event_test           PASSED in 0.9s
//p4rt_app/event_monitoring:app_state_db_send_to_ingress_port_table_event_test PASSED in 1.0s
//p4rt_app/event_monitoring:config_db_cpu_queue_table_event_test         PASSED in 2.2s
//p4rt_app/event_monitoring:config_db_node_cfg_table_event_test          PASSED in 1.0s
//p4rt_app/event_monitoring:config_db_port_table_event_test              PASSED in 1.0s
//p4rt_app/event_monitoring:debug_data_dump_events_test                  PASSED in 1.4s
//p4rt_app/event_monitoring:state_verification_events_test               PASSED in 1.0s
//p4rt_app/p4runtime:cpu_queue_translator_test                           PASSED in 0.5s
//p4rt_app/p4runtime:ir_translation_test                                 PASSED in 0.8s
//p4rt_app/p4runtime:p4info_verification_schema_test                     PASSED in 1.4s
//p4rt_app/p4runtime:p4info_verification_test                            PASSED in 0.9s
//p4rt_app/p4runtime:packetio_helpers_test                               PASSED in 0.9s
//p4rt_app/p4runtime:resource_utilization_test                           PASSED in 0.9s
//p4rt_app/sonic:app_db_acl_def_table_manager_test                       PASSED in 1.3s
//p4rt_app/sonic:app_db_manager_test                                     PASSED in 0.8s
//p4rt_app/sonic:app_db_to_pdpi_ir_translator_test                       PASSED in 0.7s
//p4rt_app/sonic:hashing_test                                            PASSED in 0.7s
//p4rt_app/sonic:packet_replication_entry_translation_test               PASSED in 0.7s
//p4rt_app/sonic:packetio_impl_test                                      PASSED in 0.7s
//p4rt_app/sonic:packetio_port_test                                      PASSED in 1.0s
//p4rt_app/sonic:response_handler_test                                   PASSED in 0.8s
//p4rt_app/sonic:state_verification_test                                 PASSED in 1.1s
//p4rt_app/sonic:vrf_entry_translation_test                              PASSED in 0.8s
//p4rt_app/sonic/adapters:fake_sonic_db_table_test                       PASSED in 0.1s
//p4rt_app/sonic/adapters:fake_warm_boot_state_adapter_test              PASSED in 0.0s
//p4rt_app/tests:acl_table_test                                          PASSED in 2.0s
//p4rt_app/tests:action_set_test                                         PASSED in 1.3s
//p4rt_app/tests:api_access_test                                         PASSED in 1.2s
//p4rt_app/tests:arbitration_test                                        PASSED in 1.4s
//p4rt_app/tests:cpu_queue_name_and_id_test                              PASSED in 2.4s
//p4rt_app/tests:debug_data_dump_test                                    PASSED in 1.3s
//p4rt_app/tests:fixed_l3_tables_test                                    PASSED in 3.8s
//p4rt_app/tests:forwarding_pipeline_config_test                         PASSED in 6.9s
//p4rt_app/tests:grpc_behavior_test                                      PASSED in 5.5s
//p4rt_app/tests:p4_constraints_test                                     PASSED in 0.2s
//p4rt_app/tests:p4_constraints_test_runner                              PASSED in 0.4s
//p4rt_app/tests:p4_programs_test                                        PASSED in 2.2s
//p4rt_app/tests:packet_replication_table_test                           PASSED in 2.2s
//p4rt_app/tests:packetio_test                                           PASSED in 4.4s
//p4rt_app/tests:port_name_and_id_test                                   PASSED in 3.4s
//p4rt_app/tests:resource_limits_test                                    PASSED in 2.2s
//p4rt_app/tests:response_path_test                                      PASSED in 4.5s
//p4rt_app/tests:role_test                                               PASSED in 1.4s
//p4rt_app/tests:state_verification_test                                 PASSED in 2.6s
//p4rt_app/tests:vrf_table_test                                          PASSED in 2.0s
//p4rt_app/tests/lib:app_db_entry_builder_test                           PASSED in 0.0s
//p4rt_app/utils:event_data_tracker_test                                 PASSED in 0.0s
//p4rt_app/utils:table_utility_test                                      PASSED in 0.7s
//sai_p4/instantiations/google:clos_stage_test                           PASSED in 0.5s
//sai_p4/instantiations/google:fabric_border_router_p4info_up_to_date_test PASSED in 0.0s
//sai_p4/instantiations/google:middleblock_p4info_up_to_date_test        PASSED in 0.0s
//sai_p4/instantiations/google:sai_p4info_fetcher_test                   PASSED in 0.7s
//sai_p4/instantiations/google:sai_p4info_test                           PASSED in 0.9s
//sai_p4/instantiations/google:sai_pd_proto_test                         PASSED in 0.0s
//sai_p4/instantiations/google:sai_pd_util_test                          PASSED in 0.5s
//sai_p4/instantiations/google:tor_p4info_up_to_date_test                PASSED in 0.0s
//sai_p4/instantiations/google:union_p4info_up_to_date_test              PASSED in 0.1s
//sai_p4/instantiations/google:wbb_p4info_up_to_date_test                PASSED in 0.0s
//sai_p4/instantiations/google/test_tools:table_entry_generator_helper_test PASSED in 1.9s
//sai_p4/instantiations/google/test_tools:test_entries_test              PASSED in 0.8s
//sai_p4/instantiations/google/tests:p4_constraints_integration_test     PASSED in 0.8s
//sai_p4/tools:p4info_tools_test                                         PASSED in 0.5s
//sai_p4/tools:packetio_tools_test                                       PASSED in 0.7s
//thinkit:bazel_test_environment_test                                    PASSED in 0.5s
//thinkit:generic_testbed_test                                           PASSED in 0.8s
//thinkit:mock_control_device_test                                       PASSED in 0.6s
//thinkit:mock_generic_testbed_test                                      PASSED in 1.7s
//thinkit:mock_mirror_testbed_test                                       PASSED in 0.6s
//thinkit:mock_ssh_client_test                                           PASSED in 0.0s
//thinkit:mock_switch_test                                               PASSED in 0.7s
//thinkit:mock_test_environment_test                                     PASSED in 0.1s
//thinkit:switch_test                                                    PASSED in 0.6s
//sai_p4/instantiations/google/test_tools:table_entry_generator_test     PASSED in 24.7s
Stats over 5 runs: max = 24.7s, min = 1.0s, avg = 12.6s, dev = 9.9s
Executed 148 out of 148 tests: 148 tests pass.
There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these aINFO: Build completed successfully, 897 total actions

@kishanps , could you please review.


text:
[Thinkit] Enable FCS and IPV6 test. Fix test case id

PR Description:
Enable FCS and IPV6 test. Fix test case id
Keyword Check:
bibhuprasad@bibhuprasad9136:~/Sonic_Build_20_11/sonic-buildimage/src/sonic-p4rt/sonic-pins$ sh ~/keyword_check.sh ./
Keyword check Passed.
Build Results:
bibhuprasad@0d913d59fd9f:/sonic/src/sonic-p4rt/sonic-pins$ bazel build $BAZEL_BUILD_OPTS ...
INFO: Analyzed 617 targets (0 packages loaded, 0 targets configured).
INFO: Found 617 targets...
INFO: Elapsed time: 0.333s, Critical Path: 0.01s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
bibhuprasad@0d913d59fd9f:/sonic/src/sonic-p4rt/sonic-pins$
UT Results:
bibhuprasad@0d913d59fd9f:/sonic/src/sonic-p4rt/sonic-pins$ bazel test $BAZEL_BUILD_OPTS --cache_test_results=no ...
INFO: Analyzed 617 targets (0 packages loaded, 360 targets configured).
INFO: Found 413 targets and 204 test targets...
INFO: Elapsed time: 169.109s, Critical Path: 121.69s
INFO: 258 processes: 309 linux-sandbox, 18 local.
INFO: Build completed successfully, 258 total actions
//dvaas:port_id_map_test                                                 PASSED in 1.4s
//dvaas:test_run_validation_golden_test                                  PASSED in 0.2s
//dvaas:test_run_validation_test                                         PASSED in 1.6s
//dvaas:test_run_validation_test_runner                                  PASSED in 0.2s
//dvaas:test_vector_stats_diff_test                                      PASSED in 0.2s
//dvaas:test_vector_stats_test                                           PASSED in 0.2s
//dvaas:test_vector_test                                                 PASSED in 1.9s
//dvaas:user_provided_packet_test_vector_diff_test                       PASSED in 0.2s
//dvaas:user_provided_packet_test_vector_test                            PASSED in 0.2s
//gutil:collections_test                                                 PASSED in 0.9s
//gutil:io_test                                                          PASSED in 1.1s
//gutil:proto_matchers_test                                              PASSED in 1.8s
//gutil:proto_ordering_test                                              PASSED in 1.0s
//gutil:proto_test                                                       PASSED in 1.7s
//gutil:status_matchers_test                                             PASSED in 1.1s
//gutil:test_artifact_writer_test                                        PASSED in 1.4s
//gutil:testing_test                                                     PASSED in 1.3s
//gutil:timer_test                                                       PASSED in 5.2s
//gutil:version_test                                                     PASSED in 2.5s
//lib:basic_switch_test                                                  PASSED in 2.3s
//lib:ixia_helper_test                                                   PASSED in 2.9s
//lib/basic_traffic:basic_p4rt_util_test                                 PASSED in 1.8s
//lib/basic_traffic:basic_traffic_test                                   PASSED in 15.9s
//lib/gnmi:gnmi_helper_test                                              PASSED in 3.6s
//lib/gnoi:gnoi_helper_test                                              PASSED in 0.9s
//lib/p4rt:p4rt_port_test                                                PASSED in 0.9s
//lib/p4rt:p4rt_programming_context_test                                 PASSED in 1.5s
//lib/utils:generic_testbed_utils_test                                   PASSED in 2.5s
//lib/utils:json_utils_test                                              PASSED in 0.9s
//lib/validator:validator_backend_test                                   PASSED in 1.2s
//lib/validator:validator_lib_test                                       PASSED in 26.6s
//p4_fuzzer:constraints_test                                             PASSED in 3.6s
//p4_fuzzer:fuzz_util_test                                               PASSED in 121.5s
//p4_fuzzer:fuzzer_config_test                                           PASSED in 2.6s
//p4_fuzzer:oracle_util_test                                             PASSED in 5.2s
//p4_fuzzer:switch_state_assert_entry_equality_test                      PASSED in 3.6s
//p4_fuzzer:switch_state_assert_entry_equality_test_runner               PASSED in 3.6s
//p4_fuzzer:switch_state_test                                            PASSED in 1.5s
//p4_pdpi:built_ins_test                                                 PASSED in 1.9s
//p4_pdpi:entity_keys_test                                               PASSED in 1.5s
//p4_pdpi:ir_properties_test                                             PASSED in 1.0s
//p4_pdpi:ir_to_ir_test                                                  PASSED in 1.1s
//p4_pdpi:ir_tools_test                                                  PASSED in 1.6s
//p4_pdpi:names_test                                                     PASSED in 1.1s
//p4_pdpi:p4_runtime_matchers_test                                       PASSED in 1.2s
//p4_pdpi:reference_annotations_test                                     PASSED in 2.3s
//p4_pdpi:references_test                                                PASSED in 1.7s
//p4_pdpi:sequencing_util_test                                           PASSED in 1.2s
//p4_pdpi/netaddr:ipv4_address_and_network_address_test                  PASSED in 2.4s
//p4_pdpi/netaddr:ipv6_address_test                                      PASSED in 0.9s
//p4_pdpi/netaddr:mac_address_test                                       PASSED in 1.7s
//p4_pdpi/packetlib:packetlib_fuzzer_test                                PASSED in 17.7s
//p4_pdpi/packetlib:packetlib_matchers_test                              PASSED in 1.1s
//p4_pdpi/packetlib:packetlib_test                                       PASSED in 0.2s
//p4_pdpi/packetlib:packetlib_test_runner                                PASSED in 0.3s
//p4_pdpi/packetlib:packetlib_unit_test                                  PASSED in 2.0s
//p4_pdpi/string_encodings:bit_string_test                               PASSED in 1.1s
//p4_pdpi/string_encodings:byte_string_test                              PASSED in 0.9s
//p4_pdpi/string_encodings:decimal_string_test                           PASSED in 0.2s
//p4_pdpi/string_encodings:decimal_string_test_runner                    PASSED in 0.1s
//p4_pdpi/string_encodings:hex_string_test                               PASSED in 0.1s
//p4_pdpi/string_encodings:hex_string_test_runner                        PASSED in 0.3s
//p4_pdpi/string_encodings:readable_byte_string_test                     PASSED in 1.0s
//p4_pdpi/testing:helper_function_test                                   PASSED in 1.2s
//p4_pdpi/testing:info_test                                              PASSED in 0.3s
//p4_pdpi/testing:info_test_runner                                       PASSED in 0.3s
//p4_pdpi/testing:main_pd_test                                           PASSED in 0.1s
//p4_pdpi/testing:mock_p4_runtime_server_test                            PASSED in 1.6s
//p4_pdpi/testing:old_get_entries_unreachable_from_roots_with_matchfield_reference_test PASSED in 0.4s
//p4_pdpi/testing:old_get_entries_unreachable_from_roots_with_matchfield_reference_test_runner PASSED in 0.2s
//p4_pdpi/testing:packet_io_test                                         PASSED in 0.3s
//p4_pdpi/testing:packet_io_test_runner                                  PASSED in 0.4s
//p4_pdpi/testing:references_test                                        PASSED in 0.4s
//p4_pdpi/testing:references_test_runner                                 PASSED in 0.2s
//p4_pdpi/testing:rpc_test                                               PASSED in 0.3s
//p4_pdpi/testing:rpc_test_runner                                        PASSED in 0.3s
//p4_pdpi/testing:sequencing_test                                        PASSED in 0.2s
//p4_pdpi/testing:sequencing_test_runner                                 PASSED in 0.2s
//p4_pdpi/testing:sequencing_util_test                                   PASSED in 0.3s
//p4_pdpi/testing:sequencing_util_test_runner                            PASSED in 0.2s
//p4_pdpi/testing:table_entry_gunit_test                                 PASSED in 2.0s
//p4_pdpi/testing:table_entry_test                                       PASSED in 0.5s
//p4_pdpi/testing:table_entry_test_runner                                PASSED in 0.4s
//p4_pdpi/utils:annotation_parser_test                                   PASSED in 1.6s
//p4_pdpi/utils:ir_test                                                  PASSED in 1.1s
//p4_symbolic:z3_util_test                                               PASSED in 1.4s
//p4_symbolic/bmv2:ipv4_routing_exact_test                               PASSED in 0.2s
//p4_symbolic/bmv2:ipv4_routing_subset_test                              PASSED in 4.0s
//p4_symbolic/bmv2:port_hardcoded_exact_test                             PASSED in 0.2s
//p4_symbolic/bmv2:port_hardcoded_subset_test                            PASSED in 4.4s
//p4_symbolic/bmv2:port_table_exact_test                                 PASSED in 0.1s
//p4_symbolic/bmv2:port_table_subset_test                                PASSED in 4.5s
//p4_symbolic/bmv2:reflector_exact_test                                  PASSED in 0.2s
//p4_symbolic/bmv2:reflector_subset_test                                 PASSED in 4.0s
//p4_symbolic/bmv2:set_invalid_exact_test                                PASSED in 0.2s
//p4_symbolic/bmv2:set_invalid_subset_test                               PASSED in 4.3s
//p4_symbolic/bmv2:table_hit_1_exact_test                                PASSED in 0.1s
//p4_symbolic/bmv2:table_hit_1_subset_test                               PASSED in 3.1s
//p4_symbolic/bmv2:table_hit_2_exact_test                                PASSED in 0.2s
//p4_symbolic/bmv2:table_hit_2_subset_test                               PASSED in 3.1s
//p4_symbolic/ir:cfg_test                                                PASSED in 1.2s
//p4_symbolic/ir:complex_conditional_test                                PASSED in 0.1s
//p4_symbolic/ir:conditional_sequence_test                               PASSED in 0.2s
//p4_symbolic/ir:default_transition_test                                 PASSED in 0.1s
//p4_symbolic/ir:extract_parser_operation_test                           PASSED in 0.2s
//p4_symbolic/ir:hex_string_transition_test                              PASSED in 0.1s
//p4_symbolic/ir:ipv4_routing_test                                       PASSED in 0.0s
//p4_symbolic/ir:port_hardcoded_test                                     PASSED in 0.1s
//p4_symbolic/ir:port_table_test                                         PASSED in 0.1s
//p4_symbolic/ir:reflector_test                                          PASSED in 0.2s
//p4_symbolic/ir:sai_parser_test                                         PASSED in 0.1s
//p4_symbolic/ir:set_invalid_test                                        PASSED in 0.2s
//p4_symbolic/ir:set_parser_operation_test                               PASSED in 0.2s
//p4_symbolic/ir:table_hit_1_test                                        PASSED in 0.1s
//p4_symbolic/ir:table_hit_2_test                                        PASSED in 0.1s
//p4_symbolic/packet_synthesizer:packet_synthesis_criteria_test          PASSED in 1.8s
//p4_symbolic/packet_synthesizer:util_test                               PASSED in 8.7s
//p4_symbolic/symbolic:conditional_sequence_test_output                  PASSED in 0.1s
//p4_symbolic/symbolic:condtional_test_output                            PASSED in 0.1s
//p4_symbolic/symbolic:ipv4_routing_test_output                          PASSED in 0.0s
//p4_symbolic/symbolic:port_hardcoded_test_output                        PASSED in 0.2s
//p4_symbolic/symbolic:port_table_test_output                            PASSED in 0.2s
//p4_symbolic/symbolic:reflector_test_output                             PASSED in 0.2s
//p4_symbolic/symbolic:values_test                                       PASSED in 2.3s
//p4_symbolic/tests:sai_p4_component_test                                PASSED in 2.5s
//p4rt_app/event_monitoring:app_state_db_port_table_event_test           PASSED in 1.6s
//p4rt_app/event_monitoring:app_state_db_send_to_ingress_port_table_event_test PASSED in 2.9s
//p4rt_app/event_monitoring:config_db_cpu_queue_table_event_test         PASSED in 2.9s
//p4rt_app/event_monitoring:config_db_node_cfg_table_event_test          PASSED in 2.3s
//p4rt_app/event_monitoring:config_db_port_table_event_test              PASSED in 2.4s
//p4rt_app/event_monitoring:debug_data_dump_events_test                  PASSED in 3.4s
//p4rt_app/event_monitoring:state_verification_events_test               PASSED in 1.7s
//p4rt_app/p4runtime:cpu_queue_translator_test                           PASSED in 1.6s
//p4rt_app/p4runtime:ir_translation_test                                 PASSED in 3.3s
//p4rt_app/p4runtime:p4info_verification_schema_test                     PASSED in 1.9s
//p4rt_app/p4runtime:p4info_verification_test                            PASSED in 2.2s
//p4rt_app/p4runtime:packetio_helpers_test                               PASSED in 1.8s
//p4rt_app/p4runtime:resource_utilization_test                           PASSED in 2.2s
//p4rt_app/sonic:app_db_acl_def_table_manager_test                       PASSED in 1.6s
//p4rt_app/sonic:app_db_manager_test                                     PASSED in 1.9s
//p4rt_app/sonic:app_db_to_pdpi_ir_translator_test                       PASSED in 2.5s
//p4rt_app/sonic:hashing_test                                            PASSED in 2.5s
//p4rt_app/sonic:packet_replication_entry_translation_test               PASSED in 2.5s
//p4rt_app/sonic:packetio_impl_test                                      PASSED in 1.7s
//p4rt_app/sonic:packetio_port_test                                      PASSED in 1.4s
//p4rt_app/sonic:response_handler_test                                   PASSED in 2.6s
//p4rt_app/sonic:state_verification_test                                 PASSED in 2.4s
//p4rt_app/sonic:vrf_entry_translation_test                              PASSED in 2.0s
//p4rt_app/sonic/adapters:fake_sonic_db_table_test                       PASSED in 0.2s
//p4rt_app/sonic/adapters:fake_warm_boot_state_adapter_test              PASSED in 0.1s
//p4rt_app/tests:acl_table_test                                          PASSED in 1.8s
//p4rt_app/tests:action_set_test                                         PASSED in 1.3s
//p4rt_app/tests:api_access_test                                         PASSED in 1.1s
//p4rt_app/tests:arbitration_test                                        PASSED in 1.2s
//p4rt_app/tests:cpu_queue_name_and_id_test                              PASSED in 2.2s
//p4rt_app/tests:debug_data_dump_test                                    PASSED in 1.3s
//p4rt_app/tests:fixed_l3_tables_test                                    PASSED in 3.6s
//p4rt_app/tests:forwarding_pipeline_config_test                         PASSED in 5.6s
//p4rt_app/tests:grpc_behavior_test                                      PASSED in 5.4s
//p4rt_app/tests:p4_constraints_test                                     PASSED in 0.8s
//p4rt_app/tests:p4_constraints_test_runner                              PASSED in 0.3s
//p4rt_app/tests:p4_programs_test                                        PASSED in 2.0s
//p4rt_app/tests:packet_replication_table_test                           PASSED in 2.3s
//p4rt_app/tests:packetio_test                                           PASSED in 4.2s
//p4rt_app/tests:port_name_and_id_test                                   PASSED in 3.5s
//p4rt_app/tests:resource_limits_test                                    PASSED in 4.5s
//p4rt_app/tests:response_path_test                                      PASSED in 4.3s
//p4rt_app/tests:role_test                                               PASSED in 1.4s
//p4rt_app/tests:state_verification_test                                 PASSED in 2.4s
//p4rt_app/tests:vrf_table_test                                          PASSED in 2.0s
//p4rt_app/tests/lib:app_db_entry_builder_test                           PASSED in 0.1s
//p4rt_app/utils:event_data_tracker_test                                 PASSED in 0.1s
//p4rt_app/utils:table_utility_test                                      PASSED in 1.1s
//sai_p4/instantiations/google:clos_stage_test                           PASSED in 1.2s
//sai_p4/instantiations/google:fabric_border_router_p4info_up_to_date_test PASSED in 0.1s
//sai_p4/instantiations/google:middleblock_p4info_up_to_date_test        PASSED in 0.1s
//sai_p4/instantiations/google:sai_nonstandard_platforms_build_test      PASSED in 0.1s
//sai_p4/instantiations/google:sai_nonstandard_platforms_cc_test         PASSED in 1.7s
//sai_p4/instantiations/google:sai_p4info_fetcher_test                   PASSED in 1.4s
//sai_p4/instantiations/google:sai_p4info_test                           PASSED in 2.2s
//sai_p4/instantiations/google:sai_pd_proto_test                         PASSED in 0.2s
//sai_p4/instantiations/google:sai_pd_util_test                          PASSED in 1.5s
//sai_p4/instantiations/google:tor_p4info_up_to_date_test                PASSED in 0.1s
//sai_p4/instantiations/google:union_p4info_up_to_date_test              PASSED in 0.1s
//sai_p4/instantiations/google:wbb_p4info_up_to_date_test                PASSED in 0.1s
//sai_p4/instantiations/google/test_tools:table_entry_generator_helper_test PASSED in 1.9s
//sai_p4/instantiations/google/test_tools:test_entries_test              PASSED in 1.5s
//sai_p4/instantiations/google/tests:p4_fuzzer_integration_test          PASSED in 5.0s
//sai_p4/tools:p4info_tools_test                                         PASSED in 1.0s
//sai_p4/tools:packetio_tools_test                                       PASSED in 1.5s
//tests:thinkit_gnmi_interface_util_tests                                PASSED in 2.7s
//tests/qos:gnmi_parsers_test                                            PASSED in 0.2s
//tests/qos:gnmi_parsers_test_runner                                     PASSED in 0.1s
//thinkit:bazel_test_environment_test                                    PASSED in 0.9s
//thinkit:generic_testbed_test                                           PASSED in 1.8s
//thinkit:mock_control_device_test                                       PASSED in 1.3s
//thinkit:mock_generic_testbed_test                                      PASSED in 1.2s
//thinkit:mock_mirror_testbed_test                                       PASSED in 1.7s
//thinkit:mock_ssh_client_test                                           PASSED in 0.1s
//thinkit:mock_switch_test                                               PASSED in 2.5s
//thinkit:mock_test_environment_test                                     PASSED in 0.2s
//thinkit:switch_test                                                    PASSED in 2.9s
//sai_p4/instantiations/google/tests:p4_constraints_integration_test     PASSED in 1.8s
Stats over 5 runs: max = 1.8s, min = 1.4s, avg = 1.6s, dev = 0.1s
//sai_p4/instantiations/google/test_tools:table_entry_generator_test     PASSED in 45.6s
Stats over 50 runs: max = 45.6s, min = 1.3s, avg = 3.4s, dev = 6.1s
Executed 204 out of 204 tests: 204 tests pass.
INFO: Build completed successfully, 258 total actions
bibhuprasad@0d913d59fd9f:/sonic/src/sonic-p4rt/sonic-pins$

Co-authored-by: Srikishen Pondicherry Shanmugam kishanps@google.com


text:
New Pull Request

This is second pull request

pull request done


text:
Travel Mug 2+ Unable to Connect (HA with ESPHome)

Home Assistant Version (eg. 2023.11): Core 2024.11.1 | Front End 20241106.2 (running in Docker)
Ember Mug Component Version (eg. 0.8.0): 1.2.0-beta-3
Which device(s) are you using for Bluetooth (e.g. Bluetooth Dongle / ESPHome Proxy): ESPHome Proxy
Ember Mug Firmware version: 47/47

Description
Device connected via the Integration, but I could not write (forgot to pair with iOS app first)... so factory reset the mug and followed the correct process... But now getting errors from the Integration and it will not work correctly. This is a warranty replacement mug that I just received. The original mug is still working fine for the last year or so with the HA Ember HACS Integration and ESP Home. Any help is much appreciated.
What I Did
Added via Integration without first pairing in iOS app... connected but unable to write.
Factory reset mug and followed correct process, but now Integration fails.
Restarted ESPHome devices
Updated ESPHome device (that Mug is trying to connect to) to latest version.
Re-installed Ember Integration via HACS.
Restarted Home Assistant.
Logs / Errors
ESPHome Log:
[14:03:55][D][esp32_ble_client:110]: [0] [C6:FC:A9:1A:E1:01] ESP_GATTC_NOTIFY_EVT
[14:03:55][D][esp32_ble_client:110]: [0] [C6:FC:A9:1A:E1:01] ESP_GATTC_NOTIFY_EVT
[14:03:57][D][esp32_ble_client:306]: [0] [C6:FC:A9:1A:E1:01] Event 39
[14:03:57][I][esp32_ble_client:084]: [0] [C6:FC:A9:1A:E1:01] Disconnecting.
[14:03:57][D][esp-idf:000][BTU_TASK]: W (602601) BT_HCI: hci cmd send: disconnect: hdl 0x0, rsn:0x13
[14:03:57][D][esp-idf:000][BTU_TASK]: W (602605) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x16
[14:03:57][D][esp-idf:000][BTU_TASK]: W (602608) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x16
[14:03:57][D][esp-idf:000][BTU_TASK]: W (602615) BT_APPL: gattc_conn_cb: if=5 st=0 id=5 rsn=0x16
[14:03:57][D][esp32_ble_client:110]: [0] [C6:FC:A9:1A:E1:01] ESP_GATTC_CLOSE_EVT
[14:03:57][D][esp-idf:000][BTU_TASK]: W (602657) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x16

Home Assistant Logs:
Ember Travel Mug 2
No devices or entities
Failed setup, will retry: An error occurred updating TM19: e=BleakError('esphome-ed6328 [08:D1:F9:ED:63:28]: Ember Travel Mug 2 - C4:DB:D1:2E:C6:A6 is not connected')

Logger: ember_mug.mug
Source: custom_components/ember_mug/coordinator.py:71
integration: Ember Mug ([documentation](https://github.com/sopelj/hass_ember_mug), [issues](https://github.com/sopelj/hass_ember_mug/issues))
First occurred: 2:02:03 PM (2 occurrences)
Last logged: 2:02:09 PM
Failed to subscribe to state attr: Not connected

Logger: homeassistant.config_entries
Source: config_entries.py:635
First occurred: 1:58:05 PM (2 occurrences)
Last logged: 1:59:59 PM
Error setting up entry Ember Travel Mug 2 for ember_mug
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aioesphomeapi/client.py", line 584, in bluetooth_device_connect
    await connect_future
TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/ember_mug/__init__.py", line 106, in async_setup_entry
    await mug_coordinator.async_config_entry_first_refresh()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 308, in async_config_entry_first_refresh
    if await self.__wrap_async_setup():
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 321, in __wrap_async_setup
    await self._async_setup()
  File "/config/custom_components/ember_mug/coordinator.py", line 71, in _async_setup
    await self.mug.update_initial()
  File "/usr/local/lib/python3.12/site-packages/ember_mug/mug.py", line 400, in update_initial
    return await self._update_multiple(INITIAL_ATTRS)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ember_mug/mug.py", line 411, in _update_multiple
    await self._ensure_connection()
  File "/usr/local/lib/python3.12/site-packages/ember_mug/mug.py", line 150, in _ensure_connection
    client = await establish_connection(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/bleak_retry_connector/__init__.py", line 363, in establish_connection
    await client.connect(
  File "/usr/local/lib/python3.12/site-packages/habluetooth/wrappers.py", line 311, in connect
    connected = await super().connect(**kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/bleak/__init__.py", line 615, in connect
    return await self._backend.connect(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/bleak_esphome/backend/client.py", line 78, in _async_wrap_bluetooth_operation
    return await func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/bleak_esphome/backend/client.py", line 299, in connect
    await self._client.bluetooth_device_connect(
  File "/usr/local/lib/python3.12/site-packages/aioesphomeapi/client.py", line 600, in bluetooth_device_connect
    not await self._bluetooth_device_disconnect_guard_timeout(
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aioesphomeapi/client.py", line 625, in _bluetooth_device_disconnect_guard_timeout
    await self.bluetooth_device_disconnect(address, timeout=timeout)
  File "/usr/local/lib/python3.12/site-packages/aioesphomeapi/client.py", line 676, in bluetooth_device_disconnect
    await self._bluetooth_device_request(
  File "/usr/local/lib/python3.12/site-packages/aioesphomeapi/client.py", line 730, in _bluetooth_device_request
    [response] = await self._get_connection().send_messages_await_response_complex(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "aioesphomeapi/connection.py", line 833, in aioesphomeapi.connection.APIConnection.send_messages_await_response_complex
asyncio.exceptions.CancelledError

Integration Debug:
2024-11-10 14:05:25.004 DEBUG (MainThread) [ember_mug.mug] Push event received from TM19 (7) - Data: bytearray(b'\x07').
2024-11-10 14:05:31.405 DEBUG (MainThread) [ember_mug.mug] Push event received from TM19 (7) - Data: bytearray(b'\x07').
2024-11-10 14:05:31.491 DEBUG (MainThread) [custom_components.ember_mug.coordinator] Updating
2024-11-10 14:05:31.491 DEBUG (MainThread) [ember_mug.mug] Updating the following attributes: {'battery_voltage', 'liquid_level', 'name', 'temperature_unit', 'volume_level', 'liquid_state', 'battery', 'current_temp', 'target_temp'}
2024-11-10 14:05:31.623 DEBUG (MainThread) [ember_mug.mug] Read attribute 'fc540011-236c-4c94-8fa9-944a3e5353fa' with value 'bytearray(b'')'
2024-11-10 14:05:31.706 DEBUG (MainThread) [ember_mug.mug] Read attribute 'fc540005-236c-4c94-8fa9-944a3e5353fa' with value 'bytearray(b'\x0e')'
2024-11-10 14:05:31.919 DEBUG (MainThread) [ember_mug.mug] Read attribute 'fc540001-236c-4c94-8fa9-944a3e5353fa' with value 'bytearray(b'ROSS')'
2024-11-10 14:05:32.044 DEBUG (MainThread) [ember_mug.mug] Read attribute 'fc540004-236c-4c94-8fa9-944a3e5353fa' with value 'bytearray(b'\x00')'
2024-11-10 14:05:32.215 DEBUG (MainThread) [ember_mug.mug] Read attribute 'fc540009-236c-4c94-8fa9-944a3e5353fa' with value 'bytearray(b'\x02')'
2024-11-10 14:05:32.328 DEBUG (MainThread) [ember_mug.mug] Read attribute 'fc540008-236c-4c94-8fa9-944a3e5353fa' with value 'bytearray(b'\x06')'
2024-11-10 14:05:32.443 DEBUG (MainThread) [ember_mug.mug] Read attribute 'fc540007-236c-4c94-8fa9-944a3e5353fa' with value 'bytearray(b'\x0c\x01\xdb\x11\x03\x02\x01\x00')'
2024-11-10 14:05:32.626 DEBUG (MainThread) [ember_mug.mug] Read attribute 'fc540002-236c-4c94-8fa9-944a3e5353fa' with value 'bytearray(b'j\x18')'
2024-11-10 14:05:32.739 DEBUG (MainThread) [ember_mug.mug] Read attribute 'fc540003-236c-4c94-8fa9-944a3e5353fa' with value 'bytearray(b'j\x18')'
2024-11-10 14:05:32.739 DEBUG (MainThread) [ember_mug.mug] Firing callbacks: {<bound method MugDataUpdateCoordinator._async_handle_callback of <custom_components.ember_mug.coordinator.MugDataUpdateCoordinator object at 0x7f82f80b1d90>>: <function EmberMug.register_callback.<locals>.unregister_callback at 0x7f83068c34c0>}
2024-11-10 14:05:32.739 DEBUG (MainThread) [custom_components.ember_mug.coordinator] Callback called in Home Assistant
2024-11-10 14:05:32.740 DEBUG (MainThread) [custom_components.ember_mug] Manually updated ember-travel-mug-c6fca91ae101 data
2024-11-10 14:05:32.741 DEBUG (MainThread) [ember_mug.mug] Attributes updated: [Change(attr='liquid_level', old_value=20, new_value=14)]
2024-11-10 14:05:32.742 DEBUG (MainThread) [custom_components.ember_mug.coordinator] [Full Update] Changed: [Change(attr='liquid_level', old_value=20, new_value=14)]
2024-11-10 14:05:32.743 DEBUG (MainThread) [custom_components.ember_mug] Finished fetching ember-travel-mug-c6fca91ae101 data in 1.251 seconds (success: True)
2024-11-10 14:05:33.555 DEBUG (MainThread) [ember_mug.mug] Push event received from TM19 (3) - Data: bytearray(b'\x03').
2024-11-10 14:05:33.555 DEBUG (MainThread) [ember_mug.mug] Firing callbacks: {<bound method MugDataUpdateCoordinator._async_handle_callback of <custom_components.ember_mug.coordinator.MugDataUpdateCoordinator object at 0x7f82f80b1d90>>: <function EmberMug.register_callback.<locals>.unregister_callback at 0x7f83068c34c0>}
2024-11-10 14:05:33.556 DEBUG (MainThread) [custom_components.ember_mug.coordinator] Callback called in Home Assistant
2024-11-10 14:05:33.556 DEBUG (MainThread) [custom_components.ember_mug] Manually updated ember-travel-mug-c6fca91ae101 data
2024-11-10 14:05:36.948 DEBUG (MainThread) [ember_mug.mug] Push event received from TM19 (7) - Data: bytearray(b'\x07').
2024-11-10 14:05:39.794 DEBUG (MainThread) [ember_mug.mug] Push event received from TM19 (2) - Data: bytearray(b'\x02').
2024-11-10 14:05:39.794 DEBUG (MainThread) [ember_mug.mug] Firing callbacks: {<bound method MugDataUpdateCoordinator._async_handle_callback of <custom_components.ember_mug.coordinator.MugDataUpdateCoordinator object at 0x7f82f80b1d90>>: <function EmberMug.register_callback.<locals>.unregister_callback at 0x7f83068c34c0>}
2024-11-10 14:05:39.794 DEBUG (MainThread) [custom_components.ember_mug.coordinator] Callback called in Home Assistant
2024-11-10 14:05:39.794 DEBUG (MainThread) [custom_components.ember_mug] Manually updated ember-travel-mug-c6fca91ae101 data
2024-11-10 14:05:43.380 DEBUG (MainThread) [ember_mug.mug] Push event received from TM19 (7) - Data: bytearray(b'\x07').
2024-11-10 14:05:54.430 DEBUG (MainThread) [ember_mug.mug] Push event received from TM19 (7) - Data: bytearray(b'\x07').
2024-11-10 14:05:54.492 DEBUG (MainThread) [custom_components.ember_mug.coordinator] Updating
2024-11-10 14:05:54.492 DEBUG (MainThread) [ember_mug.mug] Updating queued attributes: {'battery', 'liquid_level'}
2024-11-10 14:05:54.643 DEBUG (MainThread) [ember_mug.mug] Read attribute 'fc540007-236c-4c94-8fa9-944a3e5353fa' with value 'bytearray(b'\x0c\x01\xcd\x11\x03\x02\x01\x00')'
2024-11-10 14:05:54.744 DEBUG (MainThread) [ember_mug.mug] Read attribute 'fc540005-236c-4c94-8fa9-944a3e5353fa' with value 'bytearray(b'\x06')'
2024-11-10 14:05:54.744 DEBUG (MainThread) [ember_mug.mug] Firing callbacks: {<bound method MugDataUpdateCoordinator._async_handle_callback of <custom_components.ember_mug.coordinator.MugDataUpdateCoordinator object at 0x7f82f80b1d90>>: <function EmberMug.register_callback.<locals>.unregister_callback at 0x7f83068c34c0>}
2024-11-10 14:05:54.744 DEBUG (MainThread) [custom_components.ember_mug.coordinator] Callback called in Home Assistant
2024-11-10 14:05:54.745 DEBUG (MainThread) [custom_components.ember_mug] Manually updated ember-travel-mug-c6fca91ae101 data
2024-11-10 14:05:54.746 DEBUG (MainThread) [custom_components.ember_mug.coordinator] [Partial Update] Changed: [Change(attr='liquid_level', old_value=14, new_value=6)]
2024-11-10 14:05:54.747 DEBUG (MainThread) [custom_components.ember_mug] Finished fetching ember-travel-mug-c6fca91ae101 data in 0.255 seconds (success: True)

Hi! Thanks for all the information. That's very helpful.
So, just to understand. Does it not connect at all now? Because, except for the one error, the logs seem to show it correctly connecting and fetching data. Did you remove the device from Home Assistant when you factory reset and re-added it? After pairing it with your phone did you disable Bluetooth or unpair it to ensure it is not trying to connect to the mug at the same time the integration is?
Do you have multiple proxies or other Bluetooth devices that might be causing interference?
Are you using both mugs at the same time with Home Assistant?
Thanks!

What I found today is that the new Travel Mug 2 showed up as a new discovered item and it paired OK with Home Assistant (after I had powered off the old mug earlier in the day). Later on I turned the old mug back on and they both seem to work fine at the same time..
To answer your questions in case they are of use to anyone:
I have 3 ESPHome devices w/ BT Proxy, but all of the pairing attempts were in the office within range of only one of them. The other 2 BT Proxies didn't show any log entries for the new mug.
Yes, removed the new mug from HA after factory reset.
Yes, unpaired the new mug from iOS after the initial setup using the iOS Ember App, and then tried pairing w/ HA.

What I found today is that the new Travel Mug 2 showed up as a new discovered item and it paired OK with Home Assistant (after I had powered off the old mug earlier in the day). Later on I turned the old mug back on and they both seem to work fine at the same time..
To answer your questions in case they are of use to anyone:
I have 3 ESPHome devices w/ BT Proxy, but all of the pairing attempts were in the office within range of only one of them. The other 2 BT Proxies didn't show any log entries for the new mug.
Yes, removed the new mug from HA after factory reset.
Yes, unpaired the new mug from iOS after the initial setup using the iOS Ember App, and then tried pairing w/ HA.

Thank you! I appreciate the extra information.
You may need to put the mugs into pairing mode in proximity to the other proxies. They may need to be paired individually to certain ones.

Thank you! I appreciate the extra information.
You may need to put the mugs into pairing mode in proximity to the other proxies. They may need to be paired individually to certain ones.

Only had to pair once in HA and the mug is connecting to all three ESPHome BT Proxies.
Don't know how seamless the process is, or if the mug times-out after a while and connects to a closer BT Proxy. Have not been watching close enough to tell. But I have noticed that the mug does connect to more than one BT Proxy as the MAC shows up in the logs on multiple devices at different points of time. Either way, it works well enough for my use case - thx for the integration/component and the feedback.

repo: sopelj/hass-ember-mug-component


text:
As an unregistered user, I want to be able to register as a user with my chosen credentials (i.e., username and password that are both not empty words) to leverage/use services and information that are exclusively available to registered users.

Acceptance Criteria:

[x] Upon successful user registration, the platform's overview is shown and the user is automatically logged in.
[x] Upon failure, an error is displayed, and the user is redirected (back) to the register screen. A register error is when a - user name is already taken.
[x] The creation date of a user is saved to the database record.
[x] Logged-in users can log out and log back into their registered profile.

development tasks:

[x] sopra-fs23-group-26/server#113
[x] sopra-fs23-group-26/client#13
[x] sopra-fs23-group-26/client#14
[x] sopra-fs23-group-26/server#44
[x] sopra-fs23-group-26/server#45
[x] sopra-fs23-group-26/server#46

91d08550393643574d8e6c17561cea4de0346cb4


text:
Postgres

Implemented connection to postgres server in google cloud. Credentials are stored in repository secrets or environment variables when you want to use the cloud database on your local machine.

deployment probably does not work. Solution could be to use a newer version of the deployment action and use env_vars


text:
refactor: pinpoint 적용

👩💻 Contents

pinpoint를 적용했습니다.
현재는 일단 test 용도로 dev 서버를 모니터링 하고 있습니다. 추후에는 dev 서버 제외, prod 서버만 모니터링할 예정입니다.
일단 pinpoint 연결하는데 품을 너무 많이 써서 이 부분 일단 컨펌받고, 신고 기능 구현 완료 후에 다시 작업 진행해도 괜찮을까요??

정상동작 로그

위 로그와 같이 pinpoint 활성화 후에 저희가 알고 있는 spring 로그가 뜨면 pinpoint 정상 연결을 의미합니다.

구현 화면 (현재 접속 가능)
url 링크 : https://www.notion.so/sopt-makers/cafbe8421e1144b9a4e63357d1ba75c5?pvs=4

위 사진과 같이 API 요청시간(각 요청마다도 트레이스가 가능합니다) 을 확인할 수 있으며, 프로메테우스처럼 기본적인 모니터링도 제공해줍니다!
자세한 기능은 아래 블로그를 참고해도 좋을 것 같아요!
https://jojoldu.tistory.com/573
📝 Review Note

현재 pinpoint 내의 hbase 사용함에 있어 이슈가 있습니다. 해당 이슈는 노션에 간단히 적어뒀습니다!
https://www.notion.so/sopt-makers/e8cdd66c9b804516b088c3b0508e9ef0?pvs=4

📣 Related Issue

closed #369

✅ 점검사항

[ ] docker-compose.yml 파일에 마이그레이션 한 API의 포워딩을 변경해줬나요?
[ ] Spring Secret 값을 수정하거나 추가했다면 Github Secret에서 수정을 해줬나요?
[ ] Nestjs Secret 값을 수정하거나 추가했다면 Docker-Compose.yml 파일 및 인스턴스 내부의 .env 파일을 수정했나요?

고생하셨습니다 민규님! 말씀하신대로 신고 기능 구축 후 pinpoint 작업 이어나가는게 좋을 것 같다는 생각이 듭니다.
이번에 구축하신 방법이 Pinpoint 서버(Collector + Web)는 별도의 서버에서 관리하고, 애플리케이션 서버는 Spring 서버 + Pinpoint 에이전트를 같은 컨테이너에서 띄우도록 구성하신 걸까요?
제가 이해한게 맞는지 궁금해서 질문드립니다!

정확히 이해하셨습니다 !!

repo: sopt-makers/sopt-crew-backend


text:
Shadow remains after window move with keys

If a window is moved using keybindings (e.g. Meta+Right), the shadow remains on old place.

It looks like something isn't being damaged enough but this would not be the responsibility of the decoration plugin, it should be fixed in whatever plugin you have configured to use i.e. Meta+Right. By default, it would be grid plugin. However it might not happen with other decoration plugins because they do not render shadows. Are you using the shadow plugin to render shadows or pixdecor with 'rounded corners' option?

I do not use shadow plugin. Here are the settings:
[core]
plugins = alpha autostart command expo fast-switcher grid move oswitch place resize switcher vswitch
 window-rules wm-actions scale scale-title-filter foreign-toplevel kbdd pixdecor

[pixdecor]
always_decorate = none
animate = false
bg_color = \#1C1F21FF
bg_text_color = \#B3B3B3FF
border_size = 1
csd_titlebar_height = 32
effect_color = \#E01C24FF
effect_type = none
enable_shade = true
fg_color = \#31363BFF
fg_text_color = \#FFFFFFFF
icons_path = /home/alex/.config/wayfire/icons/window-%s.png
ignore_views = none
maximized_borders = true
maximized_shadows = false
overlay_engine = rounded_corners
rounded_corner_radius = 8
shade_duration = 1000ms sigmoid
shade_modifier = <ctrl> <super>
shade_toggle =
shadow_color = \#00000040
shadow_radius = 0
title_font = Noto Sans, 16
title_text_align = 1
titlebar = true

[grid]
duration = 300ms circle
restore = <super> KEY_DOWN | <super> KEY_KP0
slot_b = <super> KEY_KP2
slot_bl = <super> KEY_KP1
slot_br = <super> KEY_KP3
slot_c = <super> KEY_UP | <super> KEY_KP5
slot_l = <super> KEY_LEFT | <super> KEY_KP4
slot_r = <super> KEY_RIGHT | <super> KEY_KP6
slot_t = <super> KEY_KP8
slot_tl = <super> KEY_KP7
slot_tr = <super> KEY_KP9
type = none

In your config, you have shadow_radius = 0, which means there are no shadows. Also in your screenshot, the window appears as if maybe it was wobbling or some other transform that make the lines not parallel to the edges of the shot. I am not able to reproduce this problem, so I feel like I'm missing something.

I used a phone, because an attempt to make a screenshot erases the artifact

Actually, when I set shadow_radius to a non-zero value, I can reproduce the problem. I'll look into it.

I think it was late when I tested with different shadow size, and set it to zero late night, and today just copied a part of config without recheking again. sorry. The shadow must be greater than zero. This is how I found it is shadow, not a border.

Yes, the patch helps. The issue has gone with the patch applied. Thanks

I was able to fix the problem in pixdecor, thanks for the report. This issue should close automatically when track-wlroots-0.18 is merged, so it will work without the wayfire/grid patch.

authors: AlexJakeGreen soreau

repo: soreau/pixdecor


text:
query params on path

Hi,  how i can use path like this:
I start in home with this path:
/
Good!
Next step is;
/?page=utility
And other is:
/?page=other
At this moment, all steps with GET parameters are ignored because elements doesn't exists... on path /
I hope that you'll help me!!!
Thanks!

Hi @realves ,
This kind of links look like Single page app links.
But single page apps are not supported yet !

authors: ousram realves