build(deps): bump go.opentelemetry.io/otel/sdk from 1.42.0 to 1.43.0 in /xpumd/receiver#132
Closed
dependabot[bot] wants to merge 586 commits into
Closed
Conversation
Instead of having two os.h, one in Linux and one in Windows folders within the oal folder, we now have a common os.h which has common data structures and macros for both OSs. OS specific macros can still stay within their respective folder header files but those headers have been renamed to oslin.h and oswin.h. This is part of a fix for XPUM-945. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
This allows other sections of the code to also use thread class. It should not be just AMC specific. This is part of a fix for XPUM-945. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
This patch makes the code more streamlined as it removes downcasting which isn't really required. Fixes XPUM-883.
This function initializes AMC related functionality and should be called from preUpdate once. It should be different from amcEnumerate which will simply enumerate how many AMC capable cards there are. This is part of a fix for XPUM-945. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
Previously this list just carried string path of the amcDevice. Now, it is a list of data structure called amcCardInfo which holds both the string path of the amcDevice but also its gpuParent. The reason for this change is because we will need to identify which device is associated with an AMC (and which AMC) at a later point. This is part of a fix for XPUM-945. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
While creating the amcDeviceList, we also figured out the parent GPU for it. So at device initialization time, we can now go through this list to see if a particular device has an AMC or not by matching the GPU BDFs. This is part of a fix for XPUM-945. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
Some firmware updates can take several minutes to finish. If the user has specified that they want multiple cards to be updated, then instead of serially updating them, create threads for each one and update them in parallel to speed things up. This is part of a fix for XPUM-945. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
Not all devices have AMC controller. For example, a system could have one BMG B60 and another BMG NX2 and only NX2 has an AMC in it. So, while updating AMC firmware, we need to track which device has AMC on it and provide to amcupd class only the AMC firmware index otherwise it may not update the right device. This is part of a fix for XPUM-945. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
This patch finally lets the user see progress on a per device basis. For example, if 2 AMC devices will be updating their firmware, it will show something like: Firmware update progress for device 1: ###### 50 % Firmware update progress for device 2: #### 40 % In order to update multiple lines simultaneously, we have to keep track of the current and total number of threads (lines to print). This is part of a fix for XPUM-945. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
This patch adds the capability for XPU manager to collect system logs and create a tar ball including all of these logs. The following logs are collected: cpuinfo meminfo /proc/modules /proc/version /proc/pci /proc/iomem /proc/mtrr /proc/cmdline syslog kernel logs In order to collect some of these logs, external 3rd party apps are needed. They are: dpkg - For Debian based systems rpm - For Redhat/Suse based systems lspci dmidecode lsusb clinfo vainfo This fixes XPUM-958. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
Previously, we were searching only for digits and were missing out on some devices that have a hex number in them. For example, 0000:0a:00.0. This patch fixes this problem. This fixes XPUM-995. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
json alphabetizes the output which isn't desired in our case. We would like to print values in the way that they were inserted. This is part of a fix for XPUM-996. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
One of the things that discovery command should print is whether a device is physical or virtual. This patch prints it. This is part of a fix for XPUM-996. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
drm device path can be found by going through /sys/class/drm and looking for card0/1/... Then going into that directory and finding the device symlink. The basename $(realpath of this device symlink) is the bdf. If this bdf matches our card's bdf, then we have found a match and the corresponding drm device path is /dev/dri/card*. This is of course only available for Linux so for Windows it will return nothing. This is part of a fix for XPUM-996. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
Instead of printing something like this: pci_bdf_address: 0000:57:00.0 It is better to print: PCI BDF Address: 0000:57:00.0 This helper function contains a keymap that converts from json format to proper display name. This is part of a fix for XPUM-996. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
These options are not needed as we now have a special oob command for any devices that need to be discovered through the redfish protocol. This is part of a fix for XPUM-996. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
- Implemented PLDM commands to get FRU Table Metadata and FRU Table. - Implemented parsers to parse FRU table metadata and FRU table records. - New AMC and FRU APIs to get Serial Number and AMC Version from FRU Table. - Updated main to get and print Serial Number and AMC Version for each card. This is part of a fix for XPUM-994.
There were several issues reported by valgrind around potentially reaching codepaths without proper initializations. This patch fixes these issues. This is part of a fix for XPUM-994. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
This feature required a tweak to how we call getFWversion as we now have to pass the GPU BDF. If this is for the AMC firmware, we will use amcGetCardInfo to get the serialnumber and version info. This required us to introduce two new functions in amclib class to find out which AMC device belongs to which GPU and also get FRU data for that device. This is part of a fix for XPUM-994. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
If we are updating the firmware through one instance of XPUM, we can't allow another instance (process) to try doing another update. This is due to the fact that for certain firmwares like AMC, XPUM has to initialize the i2c child device driver and this can interfere with an ongoing firmware update. In order to prevent another instance from trying to do a firmware update, we had to create Windows and Linux based files whose presence will be checked by each XPUM instance before starting any firmware updates. This is part of a fix for XPUM-945. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
When we get FRU response, we check for the command type in header to match the command that we sent. However, we don't get this command back. For example, we sent a 1 for cmdType but we get back 4. Similarly other PLDM and MCTP command checks are relaxed to overcome FW issues. This is part of a fix for XPUM-945. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
Instead of having these macros defined in oslin.h and oswin.h, if they resolve to common functions, then move them into the common os.h This is part of a fix for XPUM-945. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
The way that FW update progress is reported is different between Windows and Linux as using Linux way on Windows shows some visual artifacts. This patch removes the setProgress function from device class and instead adds it in OS specific files. This is part of a fix for XPUM-945. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
Instead of a per class instance flag, we need to use a single static instance so that we can provide the total number of cards to each class instance and check if we are going above the limit. With this commit, we can finally update the AMC FW of multiple cards simultaneously now! This is part of a fix for XPUM-945. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
One of the firmware types that some cards like BMG support is called Option ROM (OPROM). There are two parts of this OPROM which are code and data. This patch allows the user to update both parts via XPUM updatefw command. It utilizes IGSC library to do so. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
This PR removes a performance-impacting Sysman test call from the CLI initialization code. The call was only intended for testing Sysman functions but was causing significant execution delays due to the high number of metrics-related calls XPUM makes into Sysman. Removes the arg.sm.run() call and its error handling from the main function Improves XPUM execution time by 300-400ms on average Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
Adjusts the Github Runner tag for Linux runners to have a platform specific name. Remove aggressive caching as it was causing failed builds due to stale data Fixes XPUM-1002 Signed off by: <sean.avery@intel.com>
Windows does not support a GETLOGS definition, so a function parameter only being fed into the macro may cause false positive warnings. Adds the annotation to prevent the warning prior to implementing a proper logging interface. Fixes XPUM-1002 Signed off by: <sean.avery@intel.com>
Windows CI to cover: - Compiliation - Testing on a BMG device (no tests currently exist) - Uploading prebuilt binaries for debug and release as Github artifacts
In some areas, we were erroneously using Ze device handle instead of Zes device handle (although it wasn't causing any functionality issues). In some other areas, device handle was just not needed. This patch cleans up all of this code. Signed-off-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
Dev-SHA: 56bd6ad59b4ae3471d07df66f1f673ab71ffd2b9
Dev-SHA: bdede1698b9806bac7cf6ad2d3834d09bb71145e
Dev-SHA: 1d13caa4339757d39018b414ebae286bb7e52dd7
Dev-SHA: 88b16f4c472ed6a617249523a27a2f741d028355
Dev-SHA: 7ba2b8529dd5f90aae6ff786b11f549ecae62b28
Dev-SHA: 5b804ef4a3fa45bd0430173bbca78fc5048bd35e
Dev-SHA: 634a8352fee015fca225b70ac9bbb5091ce25876
Dev-SHA: 6dd02d4f9eb411d44bf42b6b7bc3f9bf1760ccd8
Dev-SHA: c8c196e1e621d28d4e521672c141e8732d0fb3dc
Dev-SHA: 64db395a3b0299fd0e3d81bb9aa56f14a082e4d7
Dev-SHA: ffc496802a56f89e576589f1d8ca6a88b19575ff
Dev-SHA: 1c9009d1bc97642d8db741186bbe3008d0437c86
Dev-SHA: 0f30335ecfcf057c83dbfa8fb1357dc302f661b9
Dev-SHA: c187c2170e6c4cfc0e27568242f2505f88c5cdfb
Dev-SHA: 8d22225c341a8dc889f94887f1ba6748b2dbd1d1
Dev-SHA: 10640cd19d7a64b91eb13bb7b18e5c075aa352f2
Dev-SHA: 2791607bc02fef797ac3676e738fbf76e4163455
Dev-SHA: 7b3adb4c4f12f88588ad0c8b613b9bc6d8311ff6
Dev-SHA: a48fdcdcbd99ee97bbe8d8900671bf34f0a5263a
Dev-SHA: 42b1cd5d6df7f074fb885b10b4c12a5d26b212b1
Dev-SHA: 9a5c624efed2a78c329cbcebb0822a58274272e3
Dev-SHA: 8fd4607a6c9e0d8521813ff6c490ac972a1aaff0
Dev-SHA: 54d440cac9308367303bf3359c202ec35b1af28e
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.42.0 to 1.43.0. - [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md) - [Commits](open-telemetry/opentelemetry-go@v1.42.0...v1.43.0) --- updated-dependencies: - dependency-name: go.opentelemetry.io/otel/sdk dependency-version: 1.43.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
Author
|
Looks like go.opentelemetry.io/otel/sdk is no longer a dependency, so this is no longer needed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps go.opentelemetry.io/otel/sdk from 1.42.0 to 1.43.0.
Changelog
Sourced from go.opentelemetry.io/otel/sdk's changelog.
Commits
9276201Release v1.43.0 / v0.65.0 / v0.19.0 (#8128)61b8c94chore(deps): update module github.com/mattn/go-runewidth to v0.0.22 (#8131)97a086echore(deps): update github.com/golangci/dupl digest to c99c5cf (#8122)5e363delimit response body size for OTLP HTTP exporters (#8108)35214b6Use an absolute path when calling bsd kenv (#8113)290024cfix(deps): update module google.golang.org/grpc to v1.80.0 (#8121)e70658efix: support getBody in otelploghttp (#8096)4afe468fix(deps): update googleapis to 9d38bb4 (#8117)b9ca729chore(deps): update module github.com/go-git/go-git/v5 to v5.17.2 (#8115)69472ecchore(deps): update fossas/fossa-action action to v1.9.0 (#8118)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.